From owner-freebsd-mips@FreeBSD.ORG Sun Jun 21 00:26:22 2015 Return-Path: Delivered-To: freebsd-mips@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4D1FA912; Sun, 21 Jun 2015 00:26:22 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B74E0327; Sun, 21 Jun 2015 00:26:21 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id t5L0Pu2e080307 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 21 Jun 2015 02:25:57 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id t5L0PsFl052887 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 21 Jun 2015 02:25:54 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id t5L0PsQt044313; Sun, 21 Jun 2015 02:25:54 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id t5L0PrrB044312; Sun, 21 Jun 2015 02:25:53 +0200 (CEST) (envelope-from ticso) Date: Sun, 21 Jun 2015 02:25:53 +0200 From: Bernd Walter To: Hans Petter Selasky Cc: ticso@cicely.de, Adrian Chadd , Bernd Walter , Ian Lepore , "freebsd-mips@freebsd.org" Subject: Re: also USB problems Message-ID: <20150621002553.GC43644@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <1434749655.1415.105.camel@freebsd.org> <20150619225933.GF34133@cicely7.cicely.de> <20150620142830.GA41261@cicely7.cicely.de> <20150620165536.GB41261@cicely7.cicely.de> <20150620174509.GD41261@cicely7.cicely.de> <20150620182656.GE41261@cicely7.cicely.de> <5585FB59.90805@selasky.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5585FB59.90805@selasky.org> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jun 2015 00:26:22 -0000 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 http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.