Okay, here is what I tested:
(o) ide-scsi and scsi compiled as modules -- works
(o) ide-scsi and scsi compiled into the kernel -- works
(o) ide-scsi compiled as a module and scsi compiled in -- works
(o) ide-scsi compiled in and scsi compiled as a module -- config refuses
(o) usb-storage and scsi compiled as modules -- works
(o) usb-storage compiled as module and scsi compiled in -- works
So, for all my test cases, this works just fine.
I can't get usb-storage and scsi compiled in because the scsi code
implicity assumes that, if you used the module registration hooks, the
host template field module points to __this_module. It looks like there
are only one or two places where this would need to be checked/changed to
work. However, once those were done, I would expect that we could compile
usb-storage and scsi into the kernel and have it work.
So, in short, I would apply this patch. I would also look into explicitly
checking the module field -- if it is NULL, then don't try to increase or
decrease the usage count, etc.
Matt Dharm
On Wed, 15 Mar 2000, Eric Youngdale wrote:
>
> 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]
> >
>
--
Matthew Dharm Home: [EMAIL PROTECTED]
Engineer, Qualcomm, Inc. Work: [EMAIL PROTECTED]
We can customize our colonels.
-- Tux
User Friendly, 12/1/1998
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]