Red Hat Bugzilla – Bug 24114
failed to exec modprobe on reboot qa0116.0
Last modified: 2007-04-18 12:30:43 EDT
Dmesg output :
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno=2
/etc/modules.conf has :
alias scsi_hostadapter aic7xxx
lsmod shows the module inserted.
This defect is considered MUST-FIX for Florence Beta-3
Assigning to correct component.
This is not a modutils problem. Almost certainly there's something wrong
with the initrd.
Does the system boot normally? Is the module installed?
There is basically no information in this bug report.
This is because scsi_mod and sd_mod are loaded in the initrd regardless of whether or not there are SCSI adapters.
Created attachment 7988 [details]
Here's a patch that works for me.
variety of hardware (aic7xxx, ncr53c8xx, megaraid)
still present in dmesg:
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Yes, if you actually _have_ a scsi host adapter driver to load, then it still
happens, because sd_mod tries to load it.
I suppose the only way to fix that is to mount /proc and write '/bin/true' into
/proc/sys/kernel/modprobe, and reset it afterwards.
fixed by mkinitrd-3.0.8