From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 18 18:11:57 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC76A16A418 for ; Fri, 18 Jan 2008 18:11:57 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (mail0.rawbw.com [198.144.192.41]) by mx1.freebsd.org (Postfix) with ESMTP id 90CEC13C467 for ; Fri, 18 Jan 2008 18:11:57 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (localhost [127.0.0.1]) by mail0.rawbw.com (8.13.8/8.13.8) with ESMTP id m0IIBhTh092904; Fri, 18 Jan 2008 10:11:43 -0800 (PST) Received: (from www@localhost) by mail0.rawbw.com (8.13.8/8.13.8/Submit) id m0IIBhYi092898; Fri, 18 Jan 2008 10:11:43 -0800 (PST) X-Authentication-Warning: mail0.rawbw.com: www set sender to yuri@rawbw.com using -f Received: from ip224.carlyle.sfo.ygnition.net (ip224.carlyle.sfo.ygnition.net [24.219.144.224]) by webmail.rawbw.com (IMP) with HTTP for ; Fri, 18 Jan 2008 10:11:42 -0800 Message-ID: <1200679902.4790ebdee1975@webmail.rawbw.com> Date: Fri, 18 Jan 2008 10:11:42 -0800 From: Yuri To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 24.219.144.224 X-Mailman-Approved-At: Fri, 18 Jan 2008 18:57:06 +0000 Subject: ATAPI dvdreader always fails on a particular DVD movie title X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 18:11:57 -0000 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) 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) 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