hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 563008
After that vob file on third-forth attempt can be successfullyread. I
added error printouts to the program and find out that on the first
attempt css-cat in general fails during read call on some 2k block at
the very beginning of the file, on the second attempt it proceeds
farther, but around 1000-2000 block it fails again and in general the
third attempt either fails around the same offset or proceed with
calling read on each 2K block without problems. Then I tried to use
after the drive authentication something like
dd bs=2048 if=/mnt/cdrom/ of=/dev/null
it shows exactly the same behavior as css-cat.
When I use dd to read a vob file from a newly inserted DVD without any
authentication, it fails to read about 5% of all 2K file blocks with the
same error or with messages like:
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x30
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x30
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x30
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x30
hdc: DMA disabled
hdc: ATAPI reset complete
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x30
Sometimes on the second attempt it managed to read a block initially
reported as bad, but in general quite a few blocks were not accessible
at all until obtaining title key via tstdvd from the decss package. I
can understand that my RPC-2 DVD-ROM can introduce "errors" on some
sectors until issuing authentication ioctl calls but why I have the read
errors unless I tried to read the drive 3-4 times after the authentication?
I also tried to mount dvd as the udf file system instead of iso9660 or
use ide-scsi with no difference.
Regards, Igor
-
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/