From owner-freebsd-stable@FreeBSD.ORG Thu May 3 22:48:04 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 6928D16A400 for ; Thu, 3 May 2007 22:48:04 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id C9A3113C45A for ; Thu, 3 May 2007 22:48:03 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l43MLNSV067868; Thu, 3 May 2007 16:21:23 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <463A605D.6030806@samsco.org> Date: Thu, 03 May 2007 16:21:17 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: "Sean C. Farley" References: <20070503181646.GA1527@roadrunner.q.local> <20070503150931.G35420@thor.farley.org> In-Reply-To: <20070503150931.G35420@thor.farley.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Thu, 03 May 2007 16:21:23 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: stable@freebsd.org, Ulrich Spoerlein 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:48:04 -0000 Sean C. Farley wrote: > On Thu, 3 May 2007, Ulrich Spoerlein wrote: > >> Hi all, >> >> I'm having a hard time getting my external (USB, Firewire) Plextor >> PX-755UF to read any retail DVDs at all. I can read any kind of CDs >> and also DVD-Rs. But mastered DVDs are invisible to FreeBSD. >> >> I can not even read a single sector from such a DVD with the external >> drive, but it's working just fine with the internal one. It's really >> driving me nuts. > > > >> The NEC drive can read DVDs just fine (although it sucks). >> >> % recoverdisk /dev/cd1 >> start size len state done >> remaining % done >> 0 1048576 7411912704 0 0 7411912704 >> 0.0000000^C >> (130)% recoverdisk /dev/cd0 >> recoverdisk: DIOCGMEDIASIZE failed: No such file or directory >> (1)% dd if=/dev/cd0 bs=2048 >> 0+0 records in >> 0+0 records out >> 0 bytes transferred in 0.000093 secs (0 bytes/sec) >> >> If I attach the device via Firewire, it's just the same. Perhaps it >> requires some sort of quirk? Where should I start looking for debug >> output? Which test should I run. Any help would be greatly >> appreciated. > > 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. > > Sean Yes, there are ioctls that wind up instructing DVD players to be happy. Once they are issued, they remain in effect until the disk is changed or the device is reset. An argument could be made that every open of a DVD device should perform this magic, and not rely on the app to do it. But an argument could also be made to leave well enough alone =-) Scott