Skip to contentSkip to conversation

IDE DVD problem under 2.4: status=0x51 { DriveReady SeekComplete Error }

DISCUSSION Igor Bukanov 2 participants 2 messages Oct 15, 2001

lore
Share & tools
lore
#0 lore raw

I tried to setup my Dell Inspiron 7500 notebook (Celeron 466/512MB) with TORiSAN DVD-ROM DRD-U62 (RPC-2 drive :-( ) to watch DVD and found the following when using decss to read the encrypted vob files (other ways to access the file eventually produce the same error) under 2.4.12 kernel, RedHat Linux 7.1. After I authenticated the drive and got a title key for some file, css-cat always fails on the first 2-3 attempts to read the file due to input-output error with kernel message:

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

#1 lore raw
Quoted 8 lines · Igor Bukanov

I tried to setup my Dell Inspiron 7500 notebook (Celeron 466/512MB) with TORiSAN DVD-ROM DRD-U62 (RPC-2 drive :-( ) to watch DVD and found the following when using decss to read the encrypted vob files (other ways to access the file eventually produce the same error) under 2.4.12 kernel, RedHat Linux 7.1. After I authenticated the drive and got a title key for some file, css-cat always fails on the first 2-3 attempts to read the file due to input-output error with kernel message:

Quoted 4 lines

hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 563008

Under the IDE/ATAPI configuration stuff in the kernel configuration select the option "Use multi-mode by default." That may solve your problem.

Signature · 4 lines
John Tobin
[email protected]; AOL IM: ogre7929
http://ogre.rocky-road.net
http://ogre.rocky-road.net/cdr.shtml