Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 08:33:27 -0800
From:      Joseph Olatt <joji@eskimo.com>
To:        FreeBSD Stable <freebsd-stable@freebsd.org>
Cc:        jmzgriffin@gmail.com
Subject:   Re: CAM status: CCB request completed with an error
Message-ID:  <20131227163327.GA2190@eskimo.com>
In-Reply-To: <20131225120201.GB1446@kontrol.kode5.net>
References:  <20131223183646.GA22168@eskimo.com> <20131225120201.GB1446@kontrol.kode5.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 25, 2013 at 12:02:03PM +0000, James Griffin wrote:
> Joseph Olatt <joji@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@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@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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131227163327.GA2190>