Re: [PATCH,RFC] make ide-scsi more selective

From: Ion Badulescu (ionut@cs.columbia.edu)
Date: Wed Aug 22 2001 - 22:54:58 EST


On Wed, 22 Aug 2001, Nicholas Knight wrote:

> Could you elaborate on this? I almost never use modules for my primary
> desktop system, SCSI emulation support and SCSI generic driver were both
> compiled in, and I had "hdc=ide-scsi" and later also tried "hdc=scsi" and

Well, hdc=ide-scsi is for 2.2 and hdc=scsi is for 2.4. Yup, yet another of
those gratuitious incompatibilities.

> I was unable to read from it with any device, /dev/sr0 /dev/sda /dev/scd0
> were all dead-ends, but I was able to WRITE just fine... I just don't
> want to reboot every time I want to write to the drive, nor reboot when I
> want to READ from it.

I'm not sure why this is happening for you, my CDR drive works for both
reading and writing using the ide-scsi driver. But it's a known fact that
ide-scsi is not perfect, so that could explain it.

> Disabling ATAPI CD-ROM support, and enabling SCSI CD-ROM (along with SCSI
> emulation support and SCSI generic support) worked, and now I just access
> both my CD-RW drive and my DVD-ROM drive through /dev/sr0 and /dev/sr1.

So now you're saying it *does* work with ide-scsi? I'm utterly confused...

> My primary concern here is other users who haven't figured this out, I
> know at least one ATAPI/IDE CD-R(W) in Linux HOWTO tells the user that
> they'll have to use two seperate kernel images, one to allow reading from
> their drive and the other for writing, infact that was my original method.

Nope. Ide-scsi should be fine for both reading and writing.

Ion

-- 
  It is better to keep your mouth shut and be thought a fool,
            than to open it and remove all doubt.

- 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 Aug 23 2001 - 21:00:53 EST