Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 2015 02:25:53 +0200
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        ticso@cicely.de, Adrian Chadd <adrian@freebsd.org>, Bernd Walter <ticso@cicely7.cicely.de>, Ian Lepore <ian@freebsd.org>, "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   Re: also USB problems
Message-ID:  <20150621002553.GC43644@cicely7.cicely.de>
In-Reply-To: <5585FB59.90805@selasky.org>
References:  <1434749655.1415.105.camel@freebsd.org> <20150619225933.GF34133@cicely7.cicely.de> <CAJ-VmokMs7rW5f5YUEr8=YxgWGJ0E-i8UfE%2BXDVDemJm_GjyqA@mail.gmail.com> <20150620142830.GA41261@cicely7.cicely.de> <CAJ-Vmo=q1HXD1_iguR5RvWwE_HKG_gK5zWQpcjMwxYrgucpBKg@mail.gmail.com> <20150620165536.GB41261@cicely7.cicely.de> <CAJ-Vmo=g%2Bi3vFPG5n9Qro9O_ozKnE3z5FzLhFWmZc5PXRK6nEQ@mail.gmail.com> <20150620174509.GD41261@cicely7.cicely.de> <20150620182656.GE41261@cicely7.cicely.de> <5585FB59.90805@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 21, 2015 at 01:46:33AM +0200, Hans Petter Selasky wrote:
> On 06/20/15 20:26, Bernd Walter wrote:
> >g_vfs_done():da0[WRITE(offset=351404032, length=131072)]error = 5
> >g_vfs_done():da0[WRITE(offset=351535104, length=131072)]error = 5
> 
> Hi,
> 
> Is the max I/O parameter of 64K respected here? If not, expect throuble.
> 
> maxio = 64K for all non-superspeed USB devices. If it is set to 
> something else, they will most likely break.

(da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 0a 78 00 00 00 80 00                                                                             
translates to:
Bytes 2-6 = 0x000a7800 LBA
Bytes 7-8 = 0x0080 logical blocks transfer length = 128 * 512 = 64k.

-- 
B.Walter <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



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