Bug 24114 - failed to exec modprobe on reboot qa0116.0
failed to exec modprobe on reboot qa0116.0
Product: Red Hat Linux
Classification: Retired
Component: anaconda (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Erik Troan
Brock Organ
Florence Beta-3
Depends On:
  Show dependency treegraph
Reported: 2001-01-16 10:48 EST by David Lawrence
Modified: 2007-04-18 12:30 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-02-15 12:12:25 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Here's a patch that works for me. (786 bytes, patch)
2001-01-22 13:01 EST, Tim Waugh
no flags Details | Diff

  None (edit)
Description Derek Tattersall 2001-01-16 10:48:48 EST
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.
Comment 1 Glen Foster 2001-01-16 11:39:36 EST
This defect is considered MUST-FIX for Florence Beta-3
Comment 2 Michael Fulbright 2001-01-16 12:46:41 EST
Assigning to correct component.
Comment 3 Bill Nottingham 2001-01-16 12:56:35 EST
This is not a modutils problem. Almost certainly there's something wrong
with the initrd.
Comment 4 Erik Troan 2001-01-17 15:13:00 EST
Does the system boot normally? Is the module installed?

There is basically no information in this bug report.
Comment 5 Tim Waugh 2001-01-22 13:01:00 EST
This is because scsi_mod and sd_mod are loaded in the initrd regardless of whether or not there are SCSI adapters.
Comment 6 Tim Waugh 2001-01-22 13:01:35 EST
Created attachment 7988 [details]
Here's a patch that works for me.
Comment 7 Matt Wilson 2001-01-23 05:12:19 EST
agreed.  building.
Comment 8 Ben Levenson 2001-02-14 17:36:43 EST
build: qa0214.0
variety of hardware (aic7xxx, ncr53c8xx,  megaraid)
still present in dmesg:
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Comment 9 Tim Waugh 2001-02-14 20:16:39 EST
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.

Comment 10 Erik Troan 2001-02-23 13:22:20 EST
fixed by mkinitrd-3.0.8

Note You need to log in before you can comment on or make changes to this bug.