Compiling a new kernel

AmigaOne X5000 platform specific issues related to Linux only.
Post Reply
BSDHack
Posts: 5
Joined: Sun Dec 10, 2017 3:01 am

Compiling a new kernel

Post 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
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: Compiling a new kernel

Post 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
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
BSDHack
Posts: 5
Joined: Sun Dec 10, 2017 3:01 am

Re: Compiling a new kernel

Post by BSDHack »

Thank you, this will be very helpful!
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: Compiling a new kernel

Post 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
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
BSDHack
Posts: 5
Joined: Sun Dec 10, 2017 3:01 am

Re: Compiling a new kernel

Post 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!
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: Compiling a new kernel

Post 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
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
BSDHack
Posts: 5
Joined: Sun Dec 10, 2017 3:01 am

Re: Compiling a new kernel

Post 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.
Post Reply