[3076] in linux-scsi channel archive
Detecting scsi_read failure under generic /dev/sg?
daemon@ATHENA.MIT.EDU (squiz@clara.net)
Tue Jan 13 12:18:43 1998
From: "." <squiz@clara.net>
To: <linux-scsi@vger.rutgers.edu>
Date: Tue, 13 Jan 1998 16:54:56 -0000
Anyone else noticed this problem?
Doing a standard SCSI read on a bad disk under linux scsi generic:
under a Plextor it returns data in the sense buffer stating that the read
failed.
However, under a Phillips CDD2600 it allways returns nothing in the sense
buffer after a read - stating that the read was a success. Even doing a
"RequestSense" it returns nothing in the sense buffer.
How can I check if a read failed on a Phillips? Trying a similar operating
under DOS on the same machine, it returns CHECK_CONDITION followed by sense
data stating that the read failed.
Could this be fixed in one of the development kernels? (2.1.x?)
I'm using Kernel 2.0.32/RedHat Linux 4.2 with scsi-generic being a module
(it's only used to access the cdrom drives as all harddisks in this machine
are E-IDE)