RE: ide cd-recording not working in 2.4.18-rc2-ac1

From: Tony.P.Lee@nokia.com
Date: Thu Feb 21 2002 - 15:23:43 EST


>
> On Wed, 2002-02-20 at 20:54, Alan Cox wrote:
> > > I get this on every cd I try and I've tried more than I'd
> have liked to.
> > >
> > > Performing OPC...
> > >
> > /usr/bin/cdrecord: Input/output error. write_g1: scsi
> sendcmd: no error
> > > CDB: 2A 00 00 00 00 1F 00 00 1F 00
> > > status: 0x2 (CHECK CONDITION)
> > > Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 21 00 00 00
> > > Sense Key: 0x5 Illegal Request, Segment 0
> > > Sense Code: 0x21 Qual 0x00 (logical block address out of
> range) Fru 0x0
> >
> > Thats saying that cdrecord sent the drive a bogus command.
> >
> > > Now I know every cd isn't bad because they used to work in older
> > > 2.4.17ish kernels. I have scsi-generic support compiled
> as a module as
> >
> > Does it still work with them ?
> >
> > > SCSI subsystem driver Revision: 1.00
> > > scsi0 : SCSI host adapter emulation for IDE ATAPI devices
> >
> > Right same as I am using
> >
> > > not sure what else I can get informationwize about what
> the drive is
> > > doing.
> >
> > What type of IDE controller ?
>
> VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1
>
>
> If i retry over and over sometimes it will eventually work.
> (same cd)
>
>
>

In my previous project (4 years ago), I worked on HP/Philips' CDR/W drive's
(2600 IDE, SCSI 2x drive) firmware.

OPC is Optical (P something) Calibration. If the CDR program is designed
correctly (like Easy CD Creator), it issues the the calibrated command and record
the calibrated value and that CDR(W) disk ID in the PC. So the drive
doesn't have to recalibrate again if the same CDR(W) is inserted back for
packet writing or multi-session writing. CDR disk has limited (10) "calibration
area" to perform the this calibration procedure. When all 10 calibration areas are
used, you can't calibrate for that CDR anymore and you can not write to that
CDR disk neither. If you do disk at once or just writing a few session this is not
an issue. It is only an issue for packet writing or Track and once and you have to
reject and reuse the same disk > 10 times. CDRW disk can reuse the calibrate area.
You can try that drive with CDRW disk. But like Rogier Wolff said, it is very likely
be the CDR drive issue instead of SCSI/IDE issue.

--
Tony Lee           Nokia Networks, Inc. 
-
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 : Sat Feb 23 2002 - 21:00:36 EST