Re: Trouble with kernel 2.4.18-18.7.x

From: Chris Pascoe (
Date: Fri Dec 13 2002 - 20:26:34 EST

On 10 Dec 2002, Alan Cox wrote:

> > kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter errno = 2
> That one is a bit stranger. I'd have expected it to put the scsi adapter
> in the initrd which apparently it hasnt

Possibly not bugzilla worthy - it's /sbin/modprobe that's ENOENT, not the
scsi adapter module itself.

This message is generated when the initrd loads scsi_mod.o and then
sd_mod.o without loading any hostadapters first. init_sd does a
scsi_register_module(MODULE_SCSI_DEV, &sd_template) which causes a
request_module("scsi_hostadapter") in scsi_mod.o as the initrd hasn't yet
loaded any hostadapters. The initrd then proceeds to load some the
hostadapter drivers explicitly via insmod and everything proceeds fine.

Presumably if mkinitrd was reordered to load scsi_mod, first hostadapter,
then sd_mod, etc, the message would go away but as it stands it is purely


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:30 EST