Date: Fri, 4 May 2007 00:07:04 +0200 From: Ulrich Spoerlein <uspoerlein@gmail.com> To: "Sean C. Farley" <sean-freebsd@farley.org> Cc: stable@freebsd.org, scottl@freebsd.org Subject: Re: FreeBSD vs Region Code DVDs Message-ID: <20070503220704.GA1483@roadrunner.q.local> In-Reply-To: <20070503150931.G35420@thor.farley.org> References: <20070503181646.GA1527@roadrunner.q.local> <20070503150931.G35420@thor.farley.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <PLEXTOR DVDR PX-755A, class 0/0, rev 2.00/4.35, addr 121> 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: <PLEXTOR DVDR PX-755A 1.06> 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: <PLEXTOR DVDR PX-755A, class 0/0, rev 2.00/4.35, addr 121> atausb0: using ATAPI over Bulk-Only ata2: <USB lun 0> on atausb0 acd1: DEVICE_RESET unsupported acd1: DVDR <DVDR PX-755A/1.06> at ata2-master USB2 acd1: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 cd1 at ata2 bus 0 target 0 lun 0 cd1: <PLEXTOR DVDR PX-755A 1.06> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070503220704.GA1483>