cdrom read errors with aic7xxx/ide-scsi but not ide

Steffen Evers (mlkernel@forevers.de)
Mon, 10 Dec 2001 02:41:52 +0100


Hi!

I have experienced read errors using SCSI drivers (aic7xxx, aic7xxx_old,
ide-scsi) for two cdroms (Toshiba XM-6201TA SCSI, TEAC CD-W512EB IDE).
For testing I have used 'cat /dev/scd0 > /dev/null'. This fails on all
burned CD-Rs and CD-RWs I have found. but works for regular CDs.

Error messages always look like this:
Dec 10 02:09:38 localhost kernel: scsi0: ERROR on channel 0, id 2, lun
0, CDB: Read (10) 00 00 03 3c 22 00 00 3c 00
Dec 10 02:09:38 localhost kernel: Info fld=0x33c5d, Current sd0b:00:
sense key Medium Error
Dec 10 02:09:38 localhost kernel: Additional sense indicates Random
positioning error
Dec 10 02:09:38 localhost kernel: I/O error: dev 0b:00, sector 848244
Dec 10 02:09:38 localhost kernel: attempt to access beyond end of device
Dec 10 02:09:38 localhost kernel: 0b:00: rw=0, want=424124, limit=424122

The medias are all high quality and from different vendors burned with
several different writers containing mainly images produced by mkisofs.

I have used two different computer systems and only moved my SCSI
controller with the Toshiba drive. Motherboards: ASUS P2B-F and
ASUS A7V133

Additionally, I have tried the TEAC CD-W512EB IDE writer to test the
ide-scsi driver on the ASUS A7V133. The same errors, but running 'cat
/dev/scd1 > /dev/null' a second time on the same burned CD and than it
works!

Simply not using the ide-scsi driver and accessing the drive via
regular ide driver and 'cat /dev/hdc > /dev/null' works without any
problem (same disc, same drive).

I have tried custom compiled kernels and/or Debian kernel-images of:
2.2.18, 2.2.19, 2.2.20, 2.4.12, 2.4.16

The environment was most of the time a current Debian Woody, but I have
tested some 2.2.x on Debian Potato r3 as well.

Always the same thing.

However, I can mount all these CDs and read all data then, but this
does not help with on-the-fly copying ...

Any suggestion, hints, solution? Thanks in advance.

I was thinking of simply buying a new IDE CDROM and thereby avoiding SCSI
for reading, but that is not really a satisfying solution ...

I can provide more info, just tell me what you need ...

Bye, Steffen

-
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/