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

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



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