From owner-freebsd-stable@FreeBSD.ORG Thu May 3 22:07:12 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1EFD816A400 for ; Thu, 3 May 2007 22:07:12 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id A2C1413C44C for ; Thu, 3 May 2007 22:07:11 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so453052ugh for ; Thu, 03 May 2007 15:07:10 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=XahWK/YbYLT38dXtlop+aU7bXOiXTb1XDPASmgxrFRYWQ3UQl+BqTPZFEYu+tbALuCEosFsvtBbEacxDpZMt3GXtONzkGBEZx2Y+3RLaWh9kD739OR0cqfB/cN2gWFv33N52YpCObSIYNXonSWWaOsPtUlpyzqPSznDi+TfiPtQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=XriZ/Uz7Msyez2TmLvdpUxlIDgPohF/MVz94xRCLglM9q2P4BnRCBP953TxTa300LN3dio3+FqB0vQ1wteDvhFj0b2Ov2GdtiVUbe3uKxesFZP940QTS+OTZoHqhDAzKgk52M6FXK8aPcI8+Umj+wXoLKaq3dVeGAmYJnmthxO4= Received: by 10.66.219.11 with SMTP id r11mr257521ugg.1178230030563; Thu, 03 May 2007 15:07:10 -0700 (PDT) Received: from roadrunner.q.local ( [85.180.147.171]) by mx.google.com with ESMTP id j1sm4272068ugf.2007.05.03.15.07.08; Thu, 03 May 2007 15:07:08 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.14.1/8.14.1) with ESMTP id l43M742l016376; Fri, 4 May 2007 00:07:04 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.14.1/8.14.1/Submit) id l43M74Fx016371; Fri, 4 May 2007 00:07:04 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Fri, 4 May 2007 00:07:04 +0200 From: Ulrich Spoerlein To: "Sean C. Farley" Message-ID: <20070503220704.GA1483@roadrunner.q.local> Mail-Followup-To: "Sean C. Farley" , stable@freebsd.org, scottl@freebsd.org References: <20070503181646.GA1527@roadrunner.q.local> <20070503150931.G35420@thor.farley.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070503150931.G35420@thor.farley.org> Cc: stable@freebsd.org, scottl@freebsd.org Subject: Re: FreeBSD vs Region Code DVDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 22:07:12 -0000 Sean C. Farley wrote: > On Thu, 3 May 2007, Ulrich Spoerlein wrote: > I had an issue with ripping some DVD's to my laptop before a trip I made > (note: no distribution occurred (for the lawyers :))). I wanted to > just use dd to do it, but dd would fail after a small amount of data was > read. If I first played a little of the DVD with mplayer, then dd would > work afterwards. It probably had something to do with mplayer > whispering sweet nothings to the DVD player. Wouldn't help in my case, as the disc cannot be accessed in anyway. But ... atausb(4) to the rescue! I recompiled my kernel with atausb(4) to rule out problems inside CAM, lo' and behold: umass0: umass0: 8070i (ATAPI) over Bulk-Only; quirks = 0x0000 umass0:3:0:-1: Attached to scbus3 cd1 at umass-sim0 bus 0 target 0 lun 0 cd1: Removable CD-ROM SCSI-0 device cd1: 40.000MB/s transfers cd1: cd present [3614880 x 2048 byte records] (no glabel tasting, no reading from the device possible) umass0: at uhub3 port 1 (addr 121) disconnected (cd1:umass-sim0:0:0:0): lost device (cd1:umass-sim0:0:0:0): removing device entry umass0: detached atausb0: atausb0: using ATAPI over Bulk-Only ata2: on atausb0 acd1: DEVICE_RESET unsupported acd1: DVDR at ata2-master USB2 acd1: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 cd1 at ata2 bus 0 target 0 lun 0 cd1: Removable CD-ROM SCSI-0 device cd1: 3.300MB/s transfers cd1: Attempt to query device size failed: NOT READY, Logical unit is inprocess of becoming ready GEOM_LABEL: Label for provider acd1 is iso9660/FIREFLY_DISC2. acd1: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 acd1: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 acd1: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 acd1: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 acd1: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 Might these ILLEGAL REQUESTs give a clue to what is going wrong when trying to access this device with cd(4)? Why is it only reporting/using 3.3MB/s transfers? Why can I read and mount the DVD, but mplayer/xine are still unable to play the DVD? (It works fine on the internal, ATA attached, crappy NEC drive.) Perhaps Scott can share some SCSI wisdom on this matter. I really need to use this drive via Firewire, ie. cd(4), so atausb(4) is no permanent solution. Ulrich Spoerlein PS: why is iostat(1) not working for acd(4) devices? -- "The trouble with the dictionary is you have to know how the word is spelled before you can look it up to see how it is spelled." -- Will Cuppy