Build Problems on a Dell r340
Bill MacAllister
bill at ca-zephyr.org
Fri Jul 31 09:46:40 CEST 2020
On 2020-07-13 08:59, Bill MacAllister wrote:
> On 2020-07-11 00:47, Thomas Lange wrote:
>>>>>>> On Fri, 10 Jul 2020 11:16:57 -0700, Bill MacAllister
>>>>>>> <bill at ca-zephyr.org> said:
>>
>> > I am trying to build a Dell r340 with an h310 perc controller
>> using FAI
>> > 5.9.4
>> > with a Buster nfsroot. There are two disks configured on the
>> h310 as a
>> > RAID1.
>> > The system is configured to do a BIOS boot. The FAI build fails
>> because
>> > there
>> > is no disk visible. That is when I do an lsblk not devices are
>> > displayed.
>> FAI is looking into /proc/partitions. It seems that the kernel does
>> not detect your disks. Do you know which kernel driver needs to be
>> loaded?
>> Have you tried to build a nfsroot with a backports kernel?
>
> Just checked and confirmed that I installed the backports kernel in
> the nfs roots. And then I confirmed that I did something wrong when I
> setup the serial consoles and cannot access them. I won't be able to
> work on this again until I go back into the work and correct my
> mistake. Thanks for the quick response.
>
> Bill
The problem appears to be that the driver for the Perc H330 is failing
to load.
Here is the relevant lines from dmesg.
[ 39.229284] megaraid_sas 0000:02:00.0: Could not get controller info.
Fail fr
om megasas_init_adapter_fusion 1847
[ 39.230649] megaraid_sas 0000:02:00.0: Failed from megasas_init_fw
6381
[ 39.266222] DMAR: [DMA Read] Request device [02:00.0] PASID ffffffff
fault ad
dr 38550000 [fault reason 06] PTE Read access is not set
This is the backport buster kernel.
# uname -r
5.5.0-0.bpo.2-amd64
This is the kernel module is:
# ls -l
/lib/modules/5.5.0-0.bpo.2-amd64/kernel/drivers/scsi/megaraid/megaraid_sas.ko
-rw-r--r-- 1 root root 315652 Apr 23 15:15
/lib/modules/5.5.0-0.bpo.2-amd64/kernel/drivers/scsi/megaraid/megaraid_sas.ko
So, then I checked to see if there were any kernel updates that could be
applied and
indeed there were.
# uname -r
5.6.0-0.bpo.2-amd64
But the problem persists:
[ 40.048619] megaraid_sas 0000:02:00.0: Could not get controller info.
Fail fr
om megasas_init_adapter_fusion 1880
[ 40.049975] megaraid_sas 0000:02:00.0: Failed from megasas_init_fw
6392
[ 40.050568] ahci 0000:00:17.0: flags: 64bit ncq sntf pm clo only pio
slum par
t ems deso sadm sds apst
[ 40.132374] usb usb1: New USB device found, idVendor=1d6b,
idProduct=0002, bc
dDevice= 5.06
[ 40.269130] scsi host1: ahci
Not sure what to try next. Fall back to the stock buster kernel maybe.
Suggestions
welcomed.
Bill
--
Bill MacAllister <bill at ca-zephyr.org>
More information about the linux-fai
mailing list