The officially official Devuan Forum!

You are not logged in.

#1 2024-03-25 11:46:35

Altoid
Member
Registered: 2017-05-07
Posts: 1,581  

[SOLVED] modprobe: FATAL module not found

Hello:

Like I do every so often, I was having a quick look at my display printout as my box was booting this morning and noticed the dreaded FATAL.

It does not get recorded in dmesg but it does in /var/log/boot:

$ cat boot | grep -i fatal
--- snip ---
Mon Mar 25 07:54:36 2024: modprobe: FATAL: Module scsi not found in directory /lib/modules/5.10.0-0.deb10.16-amd64
$ 

I had not noticed this before today but then I cannot for the life of me recall when I last had a look at the printout.
Indeed, /lib/modules/5.10.0-0.deb10.16-amd64 has nothing scsi in it:

~$ ls /lib/modules/5.10.0-0.deb10.16-amd64 | grep -i scsi
~$ 

But a recursive listing gets me a load:

~$ ls -R /lib/modules/5.10.0-0.deb10.16-amd64 | grep -i scsi
scsi
iscsi_ibft.ko
mptscsih.ko

/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi:   
be2iscsi
esp_scsi.ko
iscsi_boot_sysfs.ko
iscsi_tcp.ko
libiscsi.ko
libiscsi_tcp.ko
scsi_debug.ko
scsi_mod.ko
scsi_transport_fc.ko
scsi_transport_iscsi.ko
scsi_transport_sas.ko
scsi_transport_spi.ko
scsi_transport_srp.ko
virtio_scsi.ko
vmw_pvscsi.ko
xen-scsifront.ko

/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/aacraid:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/aic7xxx:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/aic94xx:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/arcmsr:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/be2iscsi:
be2iscsi.ko
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/bfa:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/bnx2fc:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/bnx2i:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/csiostor:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/cxgbi:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/cxgbi/cxgb3i:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/cxgbi/cxgb4i:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/device_handler:
scsi_dh_alua.ko
scsi_dh_emc.ko
scsi_dh_hp_sw.ko
scsi_dh_rdac.ko
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/esas2r:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/fcoe:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/fnic:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/isci:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/libfc:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/libsas:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/lpfc:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/megaraid:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/mpt3sas:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/mvsas:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/pcmcia:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/pm8001:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/qedf:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/qedi:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/qla2xxx:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/qla4xxx:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/smartpqi:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/snic:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/sym53c8xx_2:
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/ufs:
iscsi
target_core_pscsi.ko
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/target/iscsi:
iscsi_target_mod.ko

/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/target/iscsi/cxgbit:
vhost_scsi.ko
xen-scsiback.ko
~$ 

The system seems to be running properly and lsmod gets me this:

~$ lsmod | grep -i scsi
mptscsih               32768  1 mptsas
mptbase                77824  2 mptsas,mptscsih
scsi_transport_sas     49152  1 mptsas
scsi_transport_spi     40960  1 aic7xxx
scsi_mod              262144  9 mptsas,scsi_transport_sas,aic7xxx,sd_mod,scsi_transport_spi,drivetemp,mptscsih,libata,sg
~$ 

Looking for the location of the loaded modules, I find them:

~$ locate mptscsih
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/message/fusion/mptscsih.ko
~$
~$ locate mptbase
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/message/fusion/mptbase.ko
~$
~$ locate scsi_tr
--- snip ---
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/scsi_transport_sas.ko
/lib/modules/5.10.0-0.deb10.16-amd64/kernel/drivers/scsi/scsi_transport_spi.ko
~$
--- snip ---

Edit:
Sorry, forgot to add this:

~$ lspci
--- snip ---
03:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1068E PCI-Express Fusion-MPT SAS (rev 08)
05:00.0 SCSI storage controller: Adaptec AIC-7870P/7881U [AHA-2940U/UW/D/S76]
--- snip ---
~$ 

If everything is working properly (seems to be but maybe it is not) the modprobe: FATAL: warning in the log file should not exist so me thinks that something is probably amiss somewhere.

Any ideas as to how to troubleshoot this?

Thanks in advance.

Best,

A.

Last edited by Altoid (2024-03-25 13:22:05)

Offline

#2 2024-03-25 16:39:30

Altoid
Member
Registered: 2017-05-07
Posts: 1,581  

Re: [SOLVED] modprobe: FATAL module not found

Hello:

Altoid wrote:

... how to troubleshoot this?

Found the problem.

A mis-read/malinterpreted sensors-detect printout leading to a misconfigured /etc/modules file which would (had it worked) got me a case temperature reading in my conky panel through temperature sensors in each of my two scsi cards.  Sensors which did not exist.  8^°

Sorry for the bother ...

Best,

A.

Offline

#3 2024-03-26 02:35:20

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 644  

Re: [SOLVED] modprobe: FATAL module not found

Hi, I also get similar module errors in the logs, but when I investigate further I find the system has loaded the module a bit later.


pic from 1993, new guitar day.

Offline

#4 2024-03-26 09:19:25

alexkemp
Member
Registered: 2018-05-14
Posts: 357  

Re: [SOLVED] modprobe: FATAL module not found

Hmm

$ less /var/log/boot
/var/log/boot: No such file or directory

Also, nothing in /var/log/ that gets close.

$ cat boot
cat: boot: No such file or directory

Ah, bugger!

Offline

Board footer