From owner-freebsd-usb@FreeBSD.ORG Fri Jul 6 16:43:23 2007 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49CFE16A400 for ; Fri, 6 Jul 2007 16:43:23 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id C6A5013C469 for ; Fri, 6 Jul 2007 16:43:22 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so843502uge for ; Fri, 06 Jul 2007 09:43:21 -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:user-agent; b=s+o7/dSfBVJ1ePnQoCNSL+2v4GJyPPVFAFRIJcD8Aj+kikpxkw8QUN2lOk/3qRPmvvVPksaALYnyg4l/FvfaceJaA8LKzKXmQFFI9mmrOPRpWWm90OVFxRq5Kddqw4RxikFuFIPDXxf8pp2kS5YSiv8FkP2T4nYOce8GJm2M8rs= 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:user-agent; b=k3PUrWuSaSp+h1vrit8yCLmnEGiZEfmxgtetSqxgRIsXF4KDgP2yPdpC53OCN+uULGpRNkSw3kkWC5eqfKF2tW83LqQfdnXf93ZV7yGlDFf9U+Rtq0/O3FrcfHb+SpK/gu9B1LhCQ6GOdc8n7IL36WAyqU3XKve3Iw3v2Jrzvf4= Received: by 10.67.89.11 with SMTP id r11mr2839044ugl.1183740201655; Fri, 06 Jul 2007 09:43:21 -0700 (PDT) Received: from roadrunner.q.local ( [85.180.170.147]) by mx.google.com with ESMTP id b17sm25129645fka.2007.07.06.09.43.21 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 06 Jul 2007 09:43:21 -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 l66Gg29J002235; Fri, 6 Jul 2007 18:42:02 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.14.1/8.14.1/Submit) id l66Gg2nZ002234; Fri, 6 Jul 2007 18:42:02 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Fri, 6 Jul 2007 18:42:02 +0200 From: Ulrich Spoerlein To: "M. Warner Losh" Message-ID: <20070706164202.GA1426@roadrunner.q.local> Mail-Followup-To: "M. Warner Losh" , usb@FreeBSD.org References: <20070705184309.GD2749@roadrunner.q.local> <20070705.211431.-233673940.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070705.211431.-233673940.imp@bsdimp.com> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: usb@FreeBSD.org Subject: Re: umass/cam headaches X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2007 16:43:23 -0000 On Thu, 05.07.2007 at 21:14:31 -0600, M. Warner Losh wrote: > In message: <20070705184309.GD2749@roadrunner.q.local> > Ulrich Spoerlein writes: > : I'm still fighting with getting my ext. Plextor drive to read retail > : DVDs and noticed these new printfs. I don't know *what* has been done to > : CAM or cd(4) or umass(4) during the last week. But my drive is working > : way better than before. > > I'm unsure what I've done, but you are welcome. I've spoken too soon. I did not change the configuration in any way, but after rebooting am at square one again. > : Then what about 0x46 and 0x4a? Could they be the source of my problem? > : What's with the SCSI status errors? Is READ(10) telling me it's using 10 > : byte commands? The CDB is 10 bytes. > > I'm afraid I don't know your problem. What kind of retail DVDs are > you reading? Movies? Any kind of retail (== non-self burned) DVDs, be they video DVDs or data DVDs as you find frequently with PC magazines. It's not that I can get mplayer/xine working, it's that the drive refuses even the most basic ioctl once such a media is inserted. Just like non is inserted at all. Yet the driver somehow groks it, at least upon device detection umass0: on uhub3 cd0 at umass-sim0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 40.000MB/s transfers cd0: cd present [4169920 x 2048 byte records] So, its telling me the size of the disk, but then # diskinfo -v /dev/cd0 diskinfo: /dev/cd0: ioctl(DIOCGMEDIASIZE) failed, probably not a disk.: No such file or directory Exit 1 Neither cat(1), dd(1), or any other tool can do something about it. When I wrote my last mail, I did change the media several times and besides some noise error messages they would mostly work (hey, glabel found the disk label, what more can I expect!). Are there good OpenBSD or NetBSD Live CDs out there? I already confirmed that the drive is working fine under Windows and Linux, so testing under other BSDs would be the next step. Cheers, Ulrich Spoerlein -- "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