Messages in this thread | | | Date | Thu, 9 May 2002 16:33:59 -0400 | From | Pete Zaitcev <> | Subject | Re: [PATCH] Fix scsi.c kmod noise |
| |
> [...] This error crops up whenever scsi.c > is compiled in (which is fairly common in 2.4, Red Hat Linux does this > as well).
> "kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2"
> --- linux/drivers/scsi/scsi.c.OLD Wed May 1 16:33:14 2002 > +++ linux/drivers/scsi/scsi.c Wed May 1 16:34:46 2002 > @@ -2389,10 +2389,18 @@
> +/* This doesn't make much sense to do unless CONFIG_SCSI is a module itself. > + * > + * ~spot <tcallawa@redhat.com> 05012002 > + */ > + > +#ifdef MODULE > #ifdef CONFIG_KMOD > if (scsi_hosts == NULL) > request_module("scsi_hostadapter"); > #endif > +#endif > return scsi_register_device_module((struct Scsi_Device_Template *) ptr);
I do not see how you suppose this should work. What if scsi.c is compiled in, and sunesp.c is not? Besides, why are you running a kernel with CONFIG_KMOD if exec returns -ENOENT? I suspect something is broken in the Aurora land.
-- Pete - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |