Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CAM status: CCB request completed with an error

1,945 views
Skip to first unread message

Joseph Olatt

unread,
Dec 23, 2013, 1:36:47 PM12/23/13
to
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...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stabl...@freebsd.org"

James Griffin

unread,
Dec 25, 2013, 7:02:03 AM12/25/13
to
Joseph Olatt <jo...@eskimo.com>:
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
jmzgr...@gmail.com

Johan Hendriks

unread,
Dec 25, 2013, 5:02:04 PM12/25/13
to
I did go from 9 pre to 10, and had a lot of those messages also.
I needed to rebuild some ports like hal, smartmontools and other ports to
notice the changes made to the cam subsystem.
Maybe some of it got backported to 9 as well and you need to rebuild them
also.
Regards
Johan
Op 23 dec. 2013 19:45 schreef "Joseph Olatt" <jo...@eskimo.com>:

Joseph Olatt

unread,
Dec 27, 2013, 11:33:27 AM12/27/13
to
> 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
> jmzgr...@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,

Marc Santhoff

unread,
Jan 8, 2014, 1:34:30 PM1/8/14
to
On Mo, 2013-12-23 at 10:36 -0800, Joseph Olatt wrote:
> 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): Error 5, Retries exhausted
>
>
> Anybody else seeing issues with the USB/CAM subsystem with the new the
> new 9.2-STABLE code?

Me too on a fresh amd64:

Jan 8 20:27:51 atom330 kernel: ugen3.2: <OCZ Technology> at usbus3
Jan 8 20:27:51 atom330 kernel: umass0: <OCZ Technology ATV, class 0/0, rev 2.00/11.00, addr 2> on usbus3
Jan 8 20:27:51 atom330 kernel: umass0: SCSI over Bulk-Only; quirks = 0x4101
Jan 8 20:27:51 atom330 kernel: umass0:6:0:-1: Attached to scbus6
Jan 8 20:27:55 atom330 kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00
Jan 8 20:27:55 atom330 kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
[...]
Jan 8 20:28:17 atom330 kernel: (probe0:umass-sim0:0:0:0): Error 5, Retries exhausted

This is:

$ uname -a
FreeBSD atom330.das.netz 9.2-STABLE FreeBSD 9.2-STABLE #0: Tue Jan 7 04:01:28 CET 2014
ro...@atom330.das.netz:/usr/obj/usr/src/sys/GENERIC amd64

$ dmesg|head -n 20
Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.2-STABLE #0: Tue Jan 7 04:01:28 CET 2014
ro...@atom330.das.netz:/usr/obj/usr/src/sys/GENERIC amd64
gcc version 4.2.1 20070831 patched [FreeBSD]
CPU: Intel(R) Atom(TM) CPU 330 @ 1.60GHz (1600.03-MHz K8-class CPU)
Origin = "GenuineIntel" Id = 0x106c2 Family = 0x6 Model = 0x1c Stepping = 2
Features=0xbfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x40e31d<SSE3,DTES64,MON,DS_CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE>
AMD Features=0x20100800<SYSCALL,NX,LM>
AMD Features2=0x1<LAHF>
TSC: P-state invariant, performance statistics
real memory = 2147483648 (2048 MB)
avail memory = 2009550848 (1916 MB)


Setup was done 2 days ago.

Another machine running i386 from yesterday can flawlessly attach the
same thumb drive.

HTH anyhow,
Marc


--
Marc Santhoff <M.San...@web.de>
0 new messages