Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2008 10:11:42 -0800
From:      Yuri <yuri@rawbw.com>
To:        freebsd-hackers@freebsd.org
Subject:   ATAPI dvdreader always fails on a particular DVD movie title
Message-ID:  <1200679902.4790ebdee1975@webmail.rawbw.com>

next in thread | raw e-mail | index | archive | help
I tried to make a backup copy of one DVD that I own and 'dvdbackup'
always fails at a particular point.

Running it under 'truss' I discovered that particular
'read' operation always fails after successfully reading hundreds of MB.

Doesn't seem to be specific to a particular DVD drive.
Out of curiosity I ordered another copy of the same DVD and it failed
in the same manner.

Log of the relevant kernel calls:
open("/dev/acd0",O_RDONLY,05010132000)           = 3 (0x3)
<standard authentication ioctls>
<some successful reads>
lseek(3,0x132cd800,SEEK_SET)                     = 321705984 (0x132cd800)
read(3,"\0\0\^A\M-:D\0\^D\0\^D\^A\^A\M^I"...,1048576) = 1048576 (0x100000)
<more reads sequentially reading in total ~173 MB>
read(3,0x28300000,1048576)                       ERR#5 'Input/output error'

And dmesg simultaneously gets these messages:
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05

So for some reason failure occurs at ~495 MB offset on the disk.

I believe this issue is not 7.0 related since I saw it happening in 6.X
before. Also some other particular titles always have the same problem
while most titles work ok.

Is this a known issue?

Yuri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1200679902.4790ebdee1975>