Differences

This shows you the differences between two versions of the page.

Link to this comparison view

blog:ccb_request_completed_with_an_error [2018/05/28 14:43] (current)
brett
Line 1: Line 1:
 +====== CCB request completed with an error ======
 +
 +FreeNAS server was randomly crashing:
 +<​code>​
 +(da0:​umass-sim0:​0:​0:​0):​ Retrying command
 +(da0:​umass-sim0:​0:​0:​0):​ WRITE(10). CDB: 2a 00 00 24 26 9d 00 00 10 00
 +(da0:​umass-sim0:​0:​0:​0):​ CAM status: CCB request completed with an error
 +(da0:​umass-sim0:​0:​0:​0):​ Error 5, Retries exhausted
 +root@freenas:/​mnt/​data #
 +</​code>​
 +The USB drive is causing this.
 +<​code>​
 +root@wine:~ # usbconfig
 +ugen0.1: <Intel EHCI root HUB> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
 +ugen1.1: <Intel EHCI root HUB> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
 +ugen1.2: <vendor 0x8087 product 0x0024> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
 +ugen0.2: <vendor 0x8087 product 0x0024> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
 +ugen0.3: <SanDisk Cruzer Blade> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (224mA)
 +
 +root@wine:~ # usbconfig -u 0 -a 3 dump_device_desc
 +ugen0.3: <SanDisk Cruzer Blade> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (224mA)
 +
 +  bLength = 0x0012
 +  bDescriptorType = 0x0001
 +  bcdUSB = 0x0210
 +  bDeviceClass = 0x0000 ​ <Probed by interface class>
 +  bDeviceSubClass = 0x0000
 +  bDeviceProtocol = 0x0000
 +  bMaxPacketSize0 = 0x0040
 +  idVendor = 0x0781
 +  idProduct = 0x5567
 +  bcdDevice = 0x0100
 +  iManufacturer = 0x0001 ​ <​SanDisk>​
 +  iProduct = 0x0002 ​ <Cruzer Blade>
 +  iSerialNumber = 0x0003 ​ <​4C531001561109121142>​
 +  bNumConfigurations = 0x0001
 +</​code>​
 +Switched to a different USB stick and the problem went away.  ​
 +
 +Lesson: ​ Not all USB sticks are created equally.
 +
 +{{tag>​FreeNAS}}
 +
 +~~LINKBACK~~
 +