Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2015 13:14:42 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        kott <kmatpral@yahoo.com>, freebsd-usb@freebsd.org
Subject:   Re: usb write error
Message-ID:  <553E1A22.7000402@selasky.org>
In-Reply-To: <1430133010408-6007910.post@n5.nabble.com>
References:  <1430118496759-6007874.post@n5.nabble.com> <553E0EE0.60701@selasky.org> <1430133010408-6007910.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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