Page 1 of 1

Compiling a new kernel

Posted: Mon Dec 05, 2022 11:16 pm
by BSDHack
Hi,

Currently, I am running Fienix Linux. I would like to compile a new kernel with support for LSI 9211-4i mps raid driver. I am not finding any documentation on how to do this in Fienix Linux.

Any help would be greatly appreciated.

Kind Regards,
Al

Re: Compiling a new kernel

Posted: Tue Dec 06, 2022 6:26 am
by xeno74
BSDHack wrote: Mon Dec 05, 2022 11:16 pm Hi,

Currently, I am running Fienix Linux. I would like to compile a new kernel with support for LSI 9211-4i mps raid driver. I am not finding any documentation on how to do this in Fienix Linux.

Any help would be greatly appreciated.

Kind Regards,
Al
Hi Al,

It seems there is already a driver for the Linux kernel.

Link: https://cateee.net/lkddb/web-lkddb/SCSI_MPT2SAS.html

But CONFIG_SCSI_MPT2SAS is not set in the X5000 kernel config. I will add it to the final kernel 6.1 next week.

Cheers,
Christian

Re: Compiling a new kernel

Posted: Tue Dec 06, 2022 11:36 pm
by BSDHack
Thank you, this will be very helpful!

Re: Compiling a new kernel

Posted: Wed Dec 14, 2022 3:40 pm
by xeno74
BSDHack wrote: Tue Dec 06, 2022 11:36 pm Thank you, this will be very helpful!
Finished. Here you are: New kernels

Please test your LSI card with the final kernel 6.1.

Thanks

Re: Compiling a new kernel

Posted: Thu Feb 23, 2023 3:08 am
by BSDHack
Hi Christian,

I upgraded to the latest version of Fienix and then installed the kernel. I can see from uname -a that it is using 6.1. I am get this error in my dmesg:

[ 3.846953] mpt3sas version 43.100.00.00 loaded
[ 3.847692] mpt2sas_cm0: 64 BIT PCI BUS DMA ADDRESSING SUPPORTED, total mem (16374864 kB)
[ 3.847851] mpt2sas_cm0: unable to map adapter memory! or resource not found
[ 3.847980] mpt2sas_cm0: failure at drivers/scsi/mpt3sas/mpt3sas_scsih.c:12348/_scsih_probe()!

What do I need to do to resolve this issue?

Thank you!

Re: Compiling a new kernel

Posted: Thu Feb 23, 2023 6:03 am
by xeno74
BSDHack wrote: Thu Feb 23, 2023 3:08 am [ 3.847851] mpt2sas_cm0: unable to map adapter memory! or resource not found
Please add mem=3500M to the boot arguments and test your SAS card again.

Thanks

Re: Compiling a new kernel

Posted: Thu Feb 23, 2023 10:40 pm
by BSDHack
xeno74 wrote: Thu Feb 23, 2023 6:03 am
BSDHack wrote: Thu Feb 23, 2023 3:08 am [ 3.847851] mpt2sas_cm0: unable to map adapter memory! or resource not found
Please add mem=3500M to the boot arguments and test your SAS card again.

Thanks
Okay, retesting.