From owner-freebsd-usb@FreeBSD.ORG Sat Jul 14 09:28:52 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 18F8616A403 for ; Sat, 14 Jul 2007 09:28:52 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 9599A13C481 for ; Sat, 14 Jul 2007 09:28:51 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so788582uge for ; Sat, 14 Jul 2007 02:28:50 -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=BlOHU2VbWyvVD8zsMSlZY7Eocus4yYxSwQMxg7g57xfqZ/3lUpV+0UvLmqquBGd7j4n9hm6O413kORkKpt8c+T4p8jSgmyvKWu/q6OTCMxteze+DCuHkog8kt+OGuoGYm7kPe5LPih5qWtun7h3Jiw+508MT2afRpzyPfE0QR7E= 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=m/D/kbzEF2fxRQtUgFKbeu0Hz5y/5x/aCO4eA19ugLRvorVxX475rm5STQ7azg64t4HmZYiwv9iztIwGOcflJTAJWnZSIhYVnGd+t+D8Yhz/ehMTaAFnFyGFqKn1Z4piK0QJmGVvIOdcuica1He51CDlDFiOmnh1GULOG1LrJNs= Received: by 10.86.4.2 with SMTP id 2mr1980542fgd.1184405330409; Sat, 14 Jul 2007 02:28:50 -0700 (PDT) Received: from roadrunner.q.local ( [85.180.166.85]) by mx.google.com with ESMTP id v23sm5176489fkd.2007.07.14.02.28.48 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 14 Jul 2007 02:28:49 -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 l6E9ScOT002857; Sat, 14 Jul 2007 11:28:38 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.14.1/8.14.1/Submit) id l6E9ScaZ002856; Sat, 14 Jul 2007 11:28:38 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Sat, 14 Jul 2007 11:28:38 +0200 From: Ulrich Spoerlein To: "M. Warner Losh" Message-ID: <20070714092838.GB1542@roadrunner.q.local> Mail-Followup-To: "M. Warner Losh" , usb@FreeBSD.org, sos@FreeBSD.org References: <20070705184309.GD2749@roadrunner.q.local> <20070705.211431.-233673940.imp@bsdimp.com> <20070706164202.GA1426@roadrunner.q.local> <20070706.164455.-1962671190.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070706.164455.-1962671190.imp@bsdimp.com> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: usb@FreeBSD.org, sos@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: Sat, 14 Jul 2007 09:28:52 -0000 Sorry for the late reply ... On Fri, 06.07.2007 at 16:44:55 -0600, M. Warner Losh wrote: > Ulrich Spoerlein writes: > : 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. > > Chances are good that it needs some kind of quirk to make it work > right. It's not so easy, I think. To recap: Attaching the device via umass(4)/cd(4) I can read CDs and burned DVDs just fine. Retail DVDs (both video and data) dont even support ioctl, even geom_label fails to read the device label. The same can be said about the sbp(4)/cd(4) combo. Burned DVDs and all kinds of CDs work fine. No retail DVDs however. Using atausb(4)/acd(4) I can successfully read retail _data_ DVDs but still have trouble reading video DVDs. But hey, even diskinfo(1) works on those media, so acd(4) is *way* better than cd(4) in that regard. Upon attaching I get some CSW errors though (data DVD): kernel: atausb0 on uhub3 kernel: atausb0: using ATAPI over Bulk-Only kernel: ata2: on atausb0 kernel: atausb0: cannot get CSW, STALLED, retry kernel: atausb0: clear endpoint 0x81 stall kernel: acd1: DEVICE_RESET unsupported kernel: atausb0: data read count 34 failed: STALLED kernel: atausb0: clear endpoint 0x81 stall kernel: atausb0: CSWSTATUS_FAILED kernel: acd1: DVDR at ata2-master USB2 kernel: GEOM_LABEL: Label for provider acd1 is iso9660/CHIP_DVD_0507. Trying to read a video DVD results in 0 bytes being read and lots of these errors flying by: kernel: atausb0: data read count 63488 failed: STALLED kernel: atausb0: clear endpoint 0x81 stall kernel: atausb0: CSWSTATUS_FAILED kernel: acd1: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x6f ascq=0x03 kernel: atausb0: data read count 4096 failed: STALLED kernel: atausb0: clear endpoint 0x81 stall kernel: atausb0: CSWSTATUS_FAILED kernel: acd1: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x6f ascq=0x03 kernel: atausb0: data read count 63488 failed: STALLED kernel: atausb0: clear endpoint 0x81 stall kernel: atausb0: CSWSTATUS_FAILED kernel: acd1: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x6f ascq=0x03 Using mplayer(1) to open the video DVD I only get this one, which looks suspicous (off-by-one bug?) kernel: atausb0: cannot get CSW, TIMEOUT, retry kernel: atausb0: clear endpoint 0x81 stall kernel: atausb0: cannot get CSW, TIMEOUT kernel: atausb0: Bulk Reset kernel: atausb0: clear endpoint 0x81 stall kernel: atausb0: clear endpoint 0x02 stall kernel: atausb0: bad CSW tag 72273 != 72274 kernel: atausb0: Bulk Reset kernel: atausb0: clear endpoint 0x81 stall kernel: atausb0: clear endpoint 0x02 stall 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