Non working USB stick in FreeBSD.
Ranjan1018 .
214748mv at gmail.com
Tue Oct 27 16:05:01 UTC 2015
I have a 64GB USB stick that works correctly in Windows and Linux but not
in FreeBSD. The problem is during the write.
In FreeBSD I have tested the stick with the command:
# dd if=/dev/zero of=/dev/daX bs=1m
and, after some time, I received these errors in i386 and amd64:
# uname -a
FreeBSD qbic 10.1-STABLE FreeBSD 10.1-STABLE #0: Sat May 9 07:53:21 CEST
2015 root at ativ:/usr/obj/i386.i386/root/TEMP/i386_SRC/src/sys/KSTACK_PAGES_4
i386
dmesg output:
ugen2.4: <USB> at usbus2
umass2: <USB USB, class 0/0, rev 2.00/1.00, addr 4> on usbus2
umass2: SCSI over Bulk-Only; quirks = 0xc100
umass2:4:2:-1: Attached to scbus4
da2 at umass-sim2 bus 2 scbus4 target 0 lun 0
da2: <USB USB PMAP> Removable Direct Access SPC-4 SCSI device
da2: Serial Number ABCDEF000000000000001B61
da2: 40.000MB/s transfers
da2: 64000MB (131072000 512 byte sectors: 255H 63S/T 8158C)
da2: quirks=0x2<NO_6_BYTE>
(da2:umass-sim2:2:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00
(da2:umass-sim2:2:0:0): CAM status: CCB request completed with an error
(da2:umass-sim2:2:0:0): Retrying command
(da2:umass-sim2:2:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00
(da2:umass-sim2:2:0:0): CAM status: CCB request completed with an error
(da2:umass-sim2:2:0:0): Retrying command
(da2:umass-sim2:2:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00
(da2:umass-sim2:2:0:0): CAM status: CCB request completed with an error
(da2:umass-sim2:2:0:0): Retrying command
(da2:umass-sim2:2:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00
(da2:umass-sim2:2:0:0): CAM status: CCB request completed with an error
(da2:umass-sim2:2:0:0): Retrying command
(da2:umass-sim2:2:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00
(da2:umass-sim2:2:0:0): CAM status: CCB request completed with an error
(da2:umass-sim2:2:0:0): Error 5, Retries exhausted
# uname -a
FreeBSD microserver 10.2-STABLE FreeBSD 10.2-STABLE #4 r289314M: Wed Oct 14
15:38:08 CEST 2015 root at microserver:/usr/obj/usr/src/sys/GENERIC amd64
dmesg output:
ugen0.4: <USB> at usbus0
umass0: <USB USB, class 0/0, rev 2.00/1.00, addr 4> on usbus0
umass0: SCSI over Bulk-Only; quirks = 0xc100
umass0:7:0:-1: Attached to scbus7
da0 at umass-sim0 bus 0 scbus7 target 0 lun 0
da0: <USB USB PMAP> Removable Direct Access SPC-4 SCSI device
da0: Serial Number ABCDEF000000000000001B61
da0: 40.000MB/s transfers
da0: 64000MB (131072000 512 byte sectors: 255H 63S/T 8158C)
da0: quirks=0x2<NO_6_BYTE>
(da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00
(da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00
(da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00
(da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00
(da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 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
# uname -a
FreeBSD ativ 11.0-CURRENT FreeBSD 11.0-CURRENT #10 r289378M: Thu Oct 15
21:57:57 CEST 2015 root at ativ:/usr/obj/usr/src/sys/GENERIC amd64
dmesg output:
ugen1.3: <USB> at usbus1
umass0: <USB USB, class 0/0, rev 2.00/1.00, addr 3> on usbus1
umass0: SCSI over Bulk-Only; quirks = 0xc100
umass0:3:0: Attached to scbus3
da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
da0: <USB USB PMAP> Removable Direct Access SPC-4 SCSI device
da0: Serial Number ABCDEF000000000000001B61
da0: 40.000MB/s transfers
da0: 64000MB (131072000 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
(da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00
(da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00
(da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00
(da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00
(da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 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
What can I do ?
Thanks in advance,
Maurizio
More information about the freebsd-usb
mailing list