From owner-freebsd-current@FreeBSD.ORG Sat Sep 13 22:13:38 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6768516A4C0 for ; Sat, 13 Sep 2003 22:13:38 -0700 (PDT) Received: from smtp.fud.org.nz (203-79-110-29.cable.paradise.net.nz [203.79.110.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id B373143FAF for ; Sat, 13 Sep 2003 22:13:36 -0700 (PDT) (envelope-from andy@fud.org.nz) Received: from localhost (localhost [127.0.0.1]) by smtp.fud.org.nz (Postfix) with ESMTP id E3A9C5C3B; Sun, 14 Sep 2003 17:13:34 +1200 (NZST) Received: from smtp.fud.org.nz ([127.0.0.1]) by localhost (grace.fud.org.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 72610-08; Sun, 14 Sep 2003 17:13:33 +1200 (NZST) Received: from fud.org.nz (dhcp-252.fud.org.nz [192.168.10.252]) by smtp.fud.org.nz (Postfix) with ESMTP id BAB905C21; Sun, 14 Sep 2003 17:13:33 +1200 (NZST) Message-ID: <3F63F912.4000703@fud.org.nz> Date: Sun, 14 Sep 2003 17:13:54 +1200 From: Andrew Thompson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5b) Gecko/20030905 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nate Lawson References: <20030806213504.S74720@root.org> <03Aug8.140932nzst.119071@homer.fire.org.nz> <20030807200629.G77081@root.org> <1060346467.33258.3.camel@localhost> <20030808084040.C78146@root.org> <1060413953.33258.18.camel@localhost> <20030822094621.T4440@root.org> <3F629E00.7010708@fud.org.nz> <20030913072325.GT39788@funkthat.com> <20030913090314.T2176@root.org> In-Reply-To: <20030913090314.T2176@root.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at fud.org.nz cc: John-Mark Gurney cc: current@freebsd.org Subject: Re: USB da(4) quirks deprecated X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2003 05:13:38 -0000 Nate Lawson wrote: > On Sat, 13 Sep 2003, John-Mark Gurney wrote: > >>Andrew Thompson wrote this message on Sat, Sep 13, 2003 at 16:33 +1200: >> >>>I have just got around to trying this pen-drive again and have been >>>trying tracking down data corruptions. If I mount the drive, write a >>>file, umount/mount again the file is different. >>> >>Is this on an ohci controller? >> Yes, on a Compaq N1000v laptop (nothing but trouble) usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 >> >>This is wierd in that it's the second page of the second transfer. >>The ohci can do up to 8k transfers in one TD, and then chain the TD's >>together if a larger block sized is used. > > Maybe you can provide him a patch that limits transfers to a single page > as multi-page descriptors might be broken on his controller. > I have now tried the unit on my desktop at home and it works perfect, no corruptions. It seems to be related to my laptop usb controller as Nate suggests. Andy