Messages in this thread | | | From | Nicholas Knight <> | Subject | Re: [PATCH,RFC] make ide-scsi more selective | Date | Wed, 22 Aug 2001 21:29:08 -0700 |
| |
On Wednesday 22 August 2001 08:54 pm, Ion Badulescu wrote: > 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.
tried both, neither worked, even with SCSI CD-ROM support enabled
> > > 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.
I've gotten the impression that ide-scsi isn't perfect :)
> > > 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...
I'll be more specific:
I've used this in 2.4.8 and 2.4.8-ac9 to read from my IDE/ATAPI CD-RW drive while also using it to write to I now have IDE/ATAPI CD-ROM support DISABLED in the ATA/* menu SCSI emulation is ENABLED in the ATA/* menu SCSI CD-ROM support is ENABLED in the SCSI menu SCSI Generic is ENABLED in the SCSI menu I do not have any parameters (such as hdX=scsi or ide-scsi) being passed to the kernel except those for my SB16 card, which doesn't have any devices hooked to its IDE port.
this appears at kernel boot: SCSI subsystem driver Revision: 1.00 scsi0 : SCSI host adapter emulation for IDE ATAPI devices Vendor: PLEXTOR Model: CD-R PX-W1610A Rev: 1.00 Type: CD-ROM ANSI SCSI revision: 02 Vendor: PIONEER Model: DVD-ROM DVD-113 Rev: 1.08 Type: CD-ROM ANSI SCSI revision: 02 Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0 sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.12 sr1: scsi3-mmc drive: 0x/0x cd/rw xa/form2 cdda tray
using 0,0,0 works for cdrecord, and using /dev/sr0 to mount discs in my CD-RW drive and /dev/sr1 using /dev/hdc and /dev/hdd does NOT work now
Without this setup, I've been unable to read from my CD-RW drive while it's also setup to write to with SCSI generic.
> > > 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.
didn't for me - 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/
| |