linux-kernel-scsi_module_problems_in_2.5_era_kernels

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



To: linux-kernel
Subject: [BUG?] 2.5.71 removed request_module("scsi_hostadapter")
From: Mikael Pettersson (mikpe@csd.uu.se)
Date: Wed Jul 16 2003 - 06:45:36 EST

While trying to figure out why my SCSI modules don't autoload
properly in 2.6.0-test1 and late 2.5 kernels, I found that
patch-2.5.71 removed scsi.c's request_module("scsi_hostadapter").
It seems that some driver model conversion changed scsi_register_device()
to scsi_register_{driver,interface}(), but the latter don't do
anything wrt autoloading the host adapter.

Is this an oversight or is it intensional?

I can probably work around this through "install" command
kludgery in /etc/modprobe.conf, but that's (a) is ugly, and
(b) probably won't work for configs with built-in SCSI core
but modular host adapter.

===

Subject: Re: [BUG?] 2.5.71 removed request_module("scsi_hostadapter")
From: Christoph Hellwig (hch@infradead.org)
Date: Thu Jul 17 2003 - 05:31:58 EST

Mikael Pettersson wrote:
> While trying to figure out why my SCSI modules don't autoload
> properly in 2.6.0-test1 and late 2.5 kernels, I found that
> patch-2.5.71 removed scsi.c's request_module("scsi_hostadapter").
> It seems that some driver model conversion changed scsi_register_device()
> to scsi_register_{driver,interface}(), but the latter don't do
> anything wrt autoloading the host adapter.
>
> Is this an oversight or is it intensional?

It's intentional.

> I can probably work around this through "install" command
> kludgery in /etc/modprobe.conf, but that's (a) is ugly, and
> (b) probably won't work for configs with built-in SCSI core
> but modular host adapter.

builtin scsi core doesn't matter for this at all, the question
is whether the highlevel drivers are compiled in or not.

modular highlevel driver(s)

        simples postinst in old-style modules.conf (or some rusty equivalent)

builtin highlevel driver(s)

        the request_module is useless anyway as it happens before root is
        mounted.

===



the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu