All of lore.kernel.org
 help / color / mirror / Atom feed
* IDE DVD problem under 2.4: status=0x51 { DriveReady SeekComplete Error }
@ 2001-10-15  1:32 Igor Bukanov
  2001-10-15  5:40 ` John J Tobin
  0 siblings, 1 reply; 2+ messages in thread
From: Igor Bukanov @ 2001-10-15  1:32 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-15  5:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-15  1:32 IDE DVD problem under 2.4: status=0x51 { DriveReady SeekComplete Error } Igor Bukanov
2001-10-15  5:40 ` John J Tobin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.