Linux-kernel mailing list archive 2000-26,: Re: ide-scsi does not work as a module

# Re: ide-scsi does not work as a module

Paolo Zeppegno (zeppegno.paolo@seat.it)
Sun, 25 Jun 2000 13:04:10 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Roberto Panerai Velloso: "Re: Events and poll()"
- Previous message: Alexander Viro: "Re: owner field in `struct fs'"

Rereading my posting I understand I did not make myself clear.

What I'm saying is that to be able to use ide-scsi with 2.4 it MUST be compiled
in, whereas in 2.2 it worked fine as a module. I'm not talking about the
difference in name (ide-scsi vs. scsi).

If you look at the source code in ide.c in 2.4 test2:

case -14: /* "scsi" */
#if defined(CONFIG_BLK_DEV_IDESCSI) && defined(CONFIG_SCSI)
drive->scsi = 1;
goto done;
#else
drive->scsi = 0;
goto bad_option;
#endif /* defined(CONFIG_BLK_DEV_IDESCSI) && defined(CONFIG_SCSI) */

In 2.2 the code was different. BUT it worked with ide-scsi as a module. That's
it.

Paolo Zeppegno

Andre Hedrick wrote:

> No the kernel is right just you have to know the revisions and if it is
> patched or not.
>
> On Sat, 24 Jun 2000, Paolo Zeppegno wrote:
>
> > I run 2.2.16 with the following command line, and ide-scsi as a module
> > (stock redhat 2.2.16-3):
> >
> > hdb=ide-scsi
> >
> > If I try to use
> >
> > hdb=scsi
> >
> > in 2.4 with ide-scsi compiled as a module here is what I get:
> >
> > Jun 24 14:14:10 zanzibar kernel: ide_setup: hdb=scsi -- BAD OPTION
> >
> >
> > I think ide_setup is wrong...
> >
> > Paolo Zeppegno
> >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.rutgers.edu
> > Please read the FAQ at http://www.tux.org/lkml/
> >
>
> Andre Hedrick
> The Linux ATA/IDE guy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: Roberto Panerai Velloso: "Re: Events and poll()"
- Previous message: Alexander Viro: "Re: owner field in `struct fs'"