public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Maybe remove request_module("scsi_hostadapter"); from ->
@ 2003-08-21 11:38 John Newbie
  2003-08-21 11:59 ` Sean Neakums
  0 siblings, 1 reply; 5+ messages in thread
From: John Newbie @ 2003-08-21 11:38 UTC (permalink / raw)
  To: linux-kernel

drivers/scsi/scsi.c ?
The main purpose of it is just adding error messages to dmesg, like this one

kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2

I saw this on most ide-based boxes.
The reason is that scsi subsystem starts before mounting
root FS, so where we can get modules.conf and insmod ?

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


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

* Re: Maybe remove request_module("scsi_hostadapter"); from ->
  2003-08-21 11:38 John Newbie
@ 2003-08-21 11:59 ` Sean Neakums
  0 siblings, 0 replies; 5+ messages in thread
From: Sean Neakums @ 2003-08-21 11:59 UTC (permalink / raw)
  To: John Newbie; +Cc: linux-kernel

"John Newbie" <john_r_newbie@hotmail.com> writes:

> The reason is that scsi subsystem starts before mounting
> root FS, so where we can get modules.conf and insmod ?

Consider IDE systems with SCSI peripherals and SCSI built modular.


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

* Re: Maybe remove request_module("scsi_hostadapter"); from ->
@ 2003-08-21 12:47 John Newbie
  2003-08-21 12:59 ` Sean Neakums
  0 siblings, 1 reply; 5+ messages in thread
From: John Newbie @ 2003-08-21 12:47 UTC (permalink / raw)
  To: sneakums; +Cc: linux-kernel


>Consider IDE systems with SCSI peripherals and SCSI built modular.

In my opinion the best solution is to surround
request_module("scsi_hostadapter");
with
#ifdef CONFIG_SCSI_MODULE
in addition to CONFIG_KMOD

Agree?

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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

* Re: Maybe remove request_module("scsi_hostadapter"); from ->
  2003-08-21 12:47 John Newbie
@ 2003-08-21 12:59 ` Sean Neakums
  0 siblings, 0 replies; 5+ messages in thread
From: Sean Neakums @ 2003-08-21 12:59 UTC (permalink / raw)
  To: John Newbie; +Cc: linux-kernel

"John Newbie" <john_r_newbie@hotmail.com> writes:

>>Consider IDE systems with SCSI peripherals and SCSI built modular.
>
> In my opinion the best solution is to surround
> request_module("scsi_hostadapter");
> with
> #ifdef CONFIG_SCSI_MODULE
> in addition to CONFIG_KMOD
>
> Agree?

There already exists a solution, which is to alias scsi_hostadapter to
off.


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

* Re: Maybe remove request_module("scsi_hostadapter"); from ->
@ 2003-08-21 13:08 John Newbie
  0 siblings, 0 replies; 5+ messages in thread
From: John Newbie @ 2003-08-21 13:08 UTC (permalink / raw)
  To: sneakums; +Cc: linux-kernel

>There already exists a solution, which is to alias scsi_hostadapter to
>off.

Ok, I have IDE box with scsi built in (not module), many people have such 
boxes,
I have alias scsi_hostadapter off, and I _have_ this annoying pseudo-error 
message.
(As I've said scsi starts before we can access modules.conf)

My solution is better. It is tested. Works perfect. All happy.
Please apply.

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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

end of thread, other threads:[~2003-08-21 13:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-21 13:08 Maybe remove request_module("scsi_hostadapter"); from -> John Newbie
  -- strict thread matches above, loose matches on Subject: below --
2003-08-21 12:47 John Newbie
2003-08-21 12:59 ` Sean Neakums
2003-08-21 11:38 John Newbie
2003-08-21 11:59 ` Sean Neakums

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox