Re: new scsi hardware detection in 2.4.7(pre)
Keith Owens (kaos@ocs.com.au)
Mon, 30 Jul 2001 23:39:10 +1000
On Mon, 30 Jul 2001 15:31:17 +0200,
Olaf Hering <olh@suse.de> wrote:
>On Tue, Jul 24, Keith Owens wrote:
>
>> On Mon, 23 Jul 2001 17:10:19 +0200,
>> Olaf Hering <olh@suse.de> wrote:
>> >I get this on non-scsi systems with scsi compiled into the kernel:
>> >
>> >SCSI subsystem driver Revision: 1.00
>> >request_module[scsi_hostadapter]: Root fs not mounted
>> >request_module[scsi_hostadapter]: Root fs not mounted
>> >request_module[scsi_hostadapter]: Root fs not mounted
>>
>> The SCSI midlayer is trying to load the SCSI host adapter, that is an
>> unavoidable side effect of including SCSI support. Because no adapter
>> is found, kmod tries to automatically load a module that can find a
>> host adapter. The "Root fs not mounted" message occurs when you try to
>> load any module before / is mounted.
>
>Does that make any sense? I mean, there are some scsi drivers, none of
>them found a valid device, why do we look for more drivers? It would
>make sense if there are no low level device drivers in the kernel
>binary.
There is no way for the mid layer to distinguish between "no SCSI card
configured into kernel" and "SCSI card configured but failed to detect
hardware". Even when there is a card built into the kernel, it still
makes sense to scan for modules if the initial card failed. That gives
you fallback to modules when you change your hardware.
If you boot a SCSI kernel on a non-SCSI box then you should alias
scsi_hostadapter off. You still get the 'Root fs not mounted' warning
messages, just ignore them. If you are using one kernel build for lots
of different hardware you should be using initrd, then the root fs
messages go away as well.
-
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/