Re: Kernel 5.8 and 5.9 fail to boot on C8000

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2020-10-20 at 15:45 +0200, Helge Deller wrote:
> Latest Linux kernels v5.8 and v5.9 fail to boot for me on the C8000
> machines with this error:
>  mptspi: probe of 0000:40:01.0 failed with error -12
>  mptbase: ioc1: ERROR - Insufficient memory to add adapter!
>  mptspi: probe of 0000:40:01.1 failed with error -12

I think you've already figured out that this is an allocation issue. 
However, it does seem fishy, the code is

	ioc = kzalloc(sizeof(MPT_ADAPTER), GFP_KERNEL);
	if (ioc == NULL) {
		printk(KERN_ERR MYNAM ": ERROR - Insufficient memory to
add adapter!\n");
		return -ENOMEM;
	}

And MPT_ADAPTER should be just under a page which looks like a very odd
allocation to fail so early in boot.  The memory subsystem should have
also printed out a trace explaining why it failed the allocation.

James





[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux