Matt-
Try the enclosed patch. It corrects two issues, actually - it
fixes the one whereby the dependency isn't right for ide-scsi, and it also
should correct the issue of using USB compiled into the kernel and module
support is turned off (because the SCSI entrypoints for modules aren't
built if modules are turned off).
-Eric
"The world was a library, and its books were the stones, leaves,
brooks, grass, and the birds of the earth. We learned to do what only
a student of nature ever learns, and that was to feel beauty."
Chief Luther Standing Bear - Teton Sioux
On Wed, 15 Mar 2000, Matthew Dharm wrote:
> When using 2.3.99pre1, the configuration programs let you choose ide-scsi
> to be compiled in when compiling scsi as a module. Attempting to modprobe
> the scsi module causes several undefined symbol errors and the module
> refuses to load.
>
> Making ide-scsi and scsi both modules makes it work.
>
> Matt Dharm
>
> --
> Matthew Dharm Home: [EMAIL PROTECTED]
> Engineer, Qualcomm, Inc. Work: [EMAIL PROTECTED]
>
> It was a new hope.
> -- Dust Puppy
> User Friendly, 12/25/1998
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to [EMAIL PROTECTED]
>
Index: drivers/ide/Config.in
===================================================================
RCS file: /home/eric/CVSROOT/linux/drivers/ide/Config.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Config.in
--- drivers/ide/Config.in 2000/03/14 01:14:39 1.1.1.1
+++ drivers/ide/Config.in 2000/03/16 03:14:58
@@ -16,7 +16,7 @@
dep_tristate ' Include IDE/ATAPI CDROM support' CONFIG_BLK_DEV_IDECD
$CONFIG_BLK_DEV_IDE
dep_tristate ' Include IDE/ATAPI TAPE support' CONFIG_BLK_DEV_IDETAPE
$CONFIG_BLK_DEV_IDE
dep_tristate ' Include IDE/ATAPI FLOPPY support' CONFIG_BLK_DEV_IDEFLOPPY
$CONFIG_BLK_DEV_IDE
- dep_tristate ' SCSI emulation support' CONFIG_BLK_DEV_IDESCSI $CONFIG_BLK_DEV_IDE
+ dep_tristate ' SCSI emulation support' CONFIG_BLK_DEV_IDESCSI $CONFIG_BLK_DEV_IDE
+$CONFIG_SCSI
comment 'IDE chipset support/bugfixes'
if [ "$CONFIG_BLK_DEV_IDE" != "n" ]; then
Index: drivers/scsi/scsi.c
===================================================================
RCS file: /home/eric/CVSROOT/linux/drivers/scsi/scsi.c,v
retrieving revision 1.33
diff -u -r1.33 scsi.c
--- drivers/scsi/scsi.c 2000/02/18 13:58:27 1.33
+++ drivers/scsi/scsi.c 2000/03/16 03:03:37
@@ -1893,7 +1893,12 @@
}
#endif
-#ifdef CONFIG_MODULES /* a big #ifdef block... */
+/*
+ * Some host adapters that are plugging into other subsystems register
+ * their hosts through the modules entrypoints, and don't use the big
+ * list in hosts.c.
+ */
+#if defined(CONFIG_MODULES) || defined(CONFIG_BLK_DEV_IDESCSI) ||
+defined(CONFIG_USB_STORAGE) /* a big #ifdef block... */
/*
* This entry point should be called by a loadable module if it is trying