From owner-freebsd-stable@FreeBSD.ORG Fri Dec 27 16:33:34 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF0739DC for ; Fri, 27 Dec 2013 16:33:33 +0000 (UTC) Received: from mail.eskimo.com (mail.eskimo.com [204.122.16.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B895D1D48 for ; Fri, 27 Dec 2013 16:33:33 +0000 (UTC) Received: from shellx.eskimo.com (shellx.eskimo.com [204.122.16.5]) by mail.eskimo.com (Postfix) with ESMTP id A7E4A140D; Fri, 27 Dec 2013 08:33:27 -0800 (PST) Received: by shellx.eskimo.com (Postfix, from userid 51518) id 9A46836F7; Fri, 27 Dec 2013 08:33:27 -0800 (PST) Date: Fri, 27 Dec 2013 08:33:27 -0800 From: Joseph Olatt To: FreeBSD Stable Subject: Re: CAM status: CCB request completed with an error Message-ID: <20131227163327.GA2190@eskimo.com> References: <20131223183646.GA22168@eskimo.com> <20131225120201.GB1446@kontrol.kode5.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131225120201.GB1446@kontrol.kode5.net> User-Agent: Mutt/1.5.20 (2009-12-10) X-Virus-Scanned: clamav-milter 0.98 at mail.eskimo.com X-Virus-Status: Clean Cc: jmzgriffin@gmail.com X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2013 16:33:34 -0000 On Wed, Dec 25, 2013 at 12:02:03PM +0000, James Griffin wrote: > Joseph Olatt : > > > Hi, > > > > Just upgraded from 9.2-PRERELEASE to the following: > > > > FreeBSD cognac 9.2-STABLE FreeBSD 9.2-STABLE #0 r259742: Sun Dec 22 > > 20:01:13 CST 2013 root@cognac:/usr/obj/usr/src/sys/GENERIC i386 > > > > and started seeing the following error when I insert a USB flash drive. > > This flash drive was working fine with 9.2-PRERELEASE. > > > > ugen6.2: at usbus6 > > umass0: on > > usbus6 > > umass0: SCSI over Bulk-Only; quirks = 0x4101 > > umass0:2:0:-1: Attached to scbus2 > > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 > > (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an > > error > > (probe0:umass-sim0:0:0:0): Retrying command > > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 > > (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an > > error > > (probe0:umass-sim0:0:0:0): Retrying command > > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 > > (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an > > error > > (probe0:umass-sim0:0:0:0): Retrying command > > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 > > (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an > > error > > (probe0:umass-sim0:0:0:0): Retrying command > > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 > > (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an > > error > > (probe0:umass-sim0:0:0:0): Error 5, Retries exhausted > > > > > > Anybody else seeing issues with the USB/CAM subsystem with the new the > > new 9.2-STABLE code? > > > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > Joseph, did you find out any more information about this? Last night I ripped a few DVD's and I too saw these messages on the console. I was able to rip the data but still, I'd like to know/do more about this output. > > Cheers, Jamie > > -- > James Griffin > jmzgriffin@gmail.com Jamie, I spent a little time trying to understand what was causing the above errors before I ran out of time. This is what I've found so far: 1. Of the 4 USB flash drives that I tried, the above errors occurred on only 2 of them. I was able to mount and use the other two. Of the 2, 3 were from Lexar and one from Sandisk. 2. I tried the offending 2 (Lexar) on another 9.2-STABLE (from around October 2013 time frame and I noticed that the "quirks = 0x???" was different. But, I did not see the same error on that laptop. I'm referring to the following line: umass0: SCSI over Bulk-Only; quirks = 0x4101 (I don't remember the exact hexadecimal value) 3. I started down the path to see if I could change that value. It looks like usbconfig(8) may allow.. I haven't got around to trying that. 4. I looked at the src tree to see most recent changes to the CAM src code and it appears that some changes went in on Dec 16/17. However, commit logs didn't seem to conclusively tell me anything. regards,