linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG?] 2.5.71 removed request_module("scsi_hostadapter")
@ 2003-07-16 11:45 Mikael Pettersson
  2003-07-17 10:31 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Mikael Pettersson @ 2003-07-16 11:45 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-scsi

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.

/Mikael

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG?] 2.5.71 removed request_module("scsi_hostadapter")
  2003-07-16 11:45 [BUG?] 2.5.71 removed request_module("scsi_hostadapter") Mikael Pettersson
@ 2003-07-17 10:31 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2003-07-17 10:31 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: linux-kernel, linux-scsi

On Wed, Jul 16, 2003 at 01:45:36PM +0200, 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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-17 10:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-16 11:45 [BUG?] 2.5.71 removed request_module("scsi_hostadapter") Mikael Pettersson
2003-07-17 10:31 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).