From owner-freebsd-current@FreeBSD.ORG Thu Jul 23 22:09:17 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB2351065670 for ; Thu, 23 Jul 2009 22:09:17 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.swip.net [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id 451038FC1B for ; Thu, 23 Jul 2009 22:09:16 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=A6RRDJO9IM8A:10 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=LU7vJaDcdKBgrRIn9IQA:9 a=cfOkfYJK6CnUQFRTGeQA:7 a=LafRPVB69TcRHshZ4sbt67jT01sA:4 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 542402479 for current@freebsd.org; Thu, 23 Jul 2009 21:09:14 +0200 From: Hans Petter Selasky To: current@freebsd.org Date: Thu, 23 Jul 2009 21:09:02 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907232109.04094.hselasky@c2i.net> Cc: Subject: 8-current + USB CD-ROM drive + CAM layer audio extraction from CD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 22:09:17 -0000 Hi, I have a CD I want to extract audio from, giving me trouble this time. Plugging the USB CD-ROM into a MAC allows for instant audio playback. I'm pretty sure that digital audio extraction works. The USB CD-ROM drive is made by Samsung. The CD is made by forefront/EMI. At first I thought that this is another example of record labels making deals with hardware manufacturers, but I'm leaving a chance it might be a bug in the CAM layer. This is the dmesg I get: umass1: on usbus4 umass1: 8070i (ATAPI) over Bulk-Only; quirks = 0x0000 umass1:1:1:-1: Attached to scbus1 cd0 at umass-sim1 bus 1 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 40.000MB/s transfers cd0: cd present [331838 x 2048 byte records] (cd0:umass-sim1:1:0:0): READ(10). CDB: 28 0 0 5 10 3d 0 0 1 0 (cd0:umass-sim1:1:0:0): CAM Status: SCSI Status Error (cd0:umass-sim1:1:0:0): SCSI Status: Check Condition (cd0:umass-sim1:1:0:0): ILLEGAL REQUEST asc:64,0 (cd0:umass-sim1:1:0:0): Illegal mode for this track (cd0:umass-sim1:1:0:0): Unretryable error (cd0:umass-sim1:1:0:0): cddone: got error 0x6 back How should I proceed debugging this? I might be able to sniff the USB cable of the drive to figure out what the MAC is doing as a reference. --HPS