[PATCH] request_module[scsi_hostadapter]: Root fs not mounted

From: Igmar Palsenberg (i.palsenberg@jdimedia.nl)
Date: Thu Nov 15 2001 - 10:08:29 EST


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: i.palsenberg@jdimedia.nl PGP/GPG key : http://www.jdimedia.nl/formulier/pgp/igmar


- 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/



This archive was generated by hypermail 2b29 : Thu Nov 15 2001 - 21:00:42 EST