2001-11-15 15:10:05

by Igmar Palsenberg

[permalink] [raw]
Subject: [PATCH] request_module[scsi_hostadapter]: Root fs not mounted


Hi,

drivers/scsi/scsi.c : scsi_register_module() is called by drivers which
need the midlevel SCSI layer. When no hostadapters are found, it calls
request_module("scsi_hostadapter").

When scsi drivers are compiled in and not found, the request_module()
fails because the root FS is not mounted (not the case when a ramdisk is
loaded I guess), so request_module() logs a warning.

Applied fix fixes the warning by only calling request_module() when the
root FS is mounted.



Regards,


Igmar


--

Igmar Palsenberg
JDI Media Solutions

Boulevard Heuvelink 102
6828 KT Arnhem
The Netherlands

mailto: [email protected]
PGP/GPG key : http://www.jdimedia.nl/formulier/pgp/igmar


Attachments:
linux-2.4.14-scsi-kmod.patch (467.00 B)