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

From: Nicholas Knight (tegeran@home.com)
Date: Wed Aug 22 2001 - 17:39:12 EST


On Wednesday 22 August 2001 03:00 pm, Ion Badulescu wrote:
> On Wed, 22 Aug 2001, Nicholas Knight wrote:
> > Here's an end-user perspective for you... I just spent 2 days trying
> > to figure out how to use my CD-RW drive to read when using ide-scsi,
> > before I finnaly realized that I had to do it by disabling ATAPI CD
> > support and enabling SCSI CD support..
>
> Just doing hdX=scsi would have been enough, however. Except it doesn't
> work (currently) if ide-scsi is a module.

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

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.

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.

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.

> I agree with Alan that the problem is the grab-on-load strategy that
> ide-scsi (and ide-cd for that matter) uses. I am willing to look into
> changing that to grab-on-open but I'm not sure if the change is an
> appropriate one for a stable series kernel -- it looks pretty
> non-trivial.
>
> Ion
-
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:51 EST