usb write error

Hans Petter Selasky hps at selasky.org
Mon Apr 27 11:13:56 UTC 2015


On 04/27/15 13:10, kott via freebsd-usb wrote:
> root$ dd if=/dev/zero of=/dev/da0 seek=0x3bafff bs=512
>
> (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 3b af ff 00 00 01 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 3b af ff 00 00 01 00
> Jan  1 00:27:59  kernel: (da0:umass-sim0:0:0:0): CAM status: CCB request
> completed with an error
> Jan  1 00:27:59  kernel: (da0:umass-sim0:0:0:0): Retrying command
> (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 3b af ff 00 00 01 00
> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
> (da0:umass-sim0:0:0:0): Retrying command
> , Retries exhausted
> dd: /dev/da0: Input/output error
> 1+0 records in
> 0+0 records out
>
> 0 bytes transferred in 96.712889 secs (0 bytes/sec)
> , Retries exhausted
> (da0:umass-sim0:0:0:0): got CAM status 0x44
> (da0:umass-sim0:0:0:0): fatal error, failed to attach to device
> da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
> da0: < USB DISK 2.0 PMAP> s/n 7F004CFA835CDF49 detached
>
> (da0:umass-sim0:0:0:0): Periph destroyed
> (da0:umass-sim0:0:0:0): Periph destroyed
>
> would this indicate usb Hw storage is flaky?
> Thanks
> kott
>

Hi,

Is the LBA within the range of the DISK size? Can you check if the 
offset is valid:

diskinfo -v da0

--HPS



More information about the freebsd-usb mailing list