usb write error

Hans Petter Selasky hps at selasky.org
Mon Apr 27 10:26:01 UTC 2015


On 04/27/15 09:08, kott via freebsd-usb wrote:
> Hello
> I am using a fixed storage usb on my board, and see this errors Write,This
> is a 2GB storage device, and on decoding the Write command the transfer
> length shows as 00 01, would this be correct ?
>
> (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
>   (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
> (da0:umass-sim0:0:0:0): Retrying command
>
> ..Retries exhausted  and comes out
>
> using FreeBSD 11,
> Any idea why this error occurs? Appreciate suggestions
>

Hi,

At SCSI level the length is number of blocks of 512 bytes typically. 
Maybe a write error. Can you DD that sector?

Sector = 0x3bafff * 512 bytes; Size = 1 * 512 bytes;

--HPS


More information about the freebsd-usb mailing list