CAM status: CCB request completed with an error

Joseph Olatt joji at eskimo.com
Fri Dec 27 16:33:34 UTC 2013


On Wed, Dec 25, 2013 at 12:02:03PM +0000, James Griffin wrote:
> Joseph Olatt <joji at eskimo.com>:
> 
> > 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 at 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: <Lexar> at usbus6
> >   umass0: <Lexar JD Secure II +, class 0/0, rev 2.00/11.00, addr 2> 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at 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 at 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,


More information about the freebsd-stable mailing list