From owner-freebsd-usb@FreeBSD.ORG Mon Mar 28 15:43:27 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B502A1065670 for ; Mon, 28 Mar 2011 15:43:27 +0000 (UTC) (envelope-from znek@mulle-kybernetik.com) Received: from muller.mulle-kybernetik.com (port-212-202-151-204.static.qsc.de [212.202.151.204]) by mx1.freebsd.org (Postfix) with ESMTP id EA0C48FC0C for ; Mon, 28 Mar 2011 15:43:26 +0000 (UTC) Received: (qmail 45657 invoked from network); 28 Mar 2011 15:43:24 -0000 Received: from unknown (HELO zoidberg.z.net) (znek@212.202.151.205) by mail.mulle-kybernetik.com with AES128-SHA encrypted SMTP; 28 Mar 2011 15:43:24 -0000 Mime-Version: 1.0 (Apple Message framework v1084) From: =?iso-8859-1?Q?Marcus_M=FCller?= In-Reply-To: Date: Mon, 28 Mar 2011 17:43:23 +0200 Message-Id: <3B32B96D-955A-4FFC-8F3C-CC9776400D23@mulle-kybernetik.com> References: <201103212223.58729.hselasky@c2i.net> To: Hans Petter Selasky X-Mailer: Apple Mail (2.1084) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-usb@freebsd.org Subject: Re: Request for testing X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 15:43:27 -0000 On 24.03.2011, at 16:05, Marcus M=FCller wrote: > Hi, >=20 >> Can people with 3G modems and USB HighSpeed harddisks test the = following patch=20 >> and see if it solves any problems: >>=20 >> http://svn.freebsd.org/viewvc/base?view=3Drevision&revision=3D219845 >=20 > wow, this totally saved the day for me! ;-) >=20 > I've applied the diff from ehci.c@219845 to my 8.2-STABLE and can now = confirm, that my D-Link DUB-E100 Fast Ethernet USB 2.0 adapter now = delivers the expected 20MBit downstream throughput (see an earlier post = from me on this subject). I'm using this EHCI adapter on an NVidia ION = board.=20 Unfortunately after a reboot the situation is back to what it used to be = before I reported success. With a second noname USB Ethernet adapter I = get pretty constant 10MBit downstream throughput, with the D-Link it's = an average of 5.8 MBit. I never got more than 10MBit with the noname = adapter, thus I suspect that's probably a hardware imposed limit, = despite its claims that it can do 100baseTX: ugen1.2: at usbus1 aue0: on usbus1 miibus2: on aue0 ukphy0: PHY 1 on miibus2 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ue1: on aue0 This is the dmesg output for the D-Link adapter: ugen3.2: at usbus3 axe0: on usbus3 miibus1: on axe0 rlphy0: PHY 3 on miibus1 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ue0: on axe0 Everything USB related from dmesg: usbus0: 12Mbps Full Speed USB v1.0 usbus1: 480Mbps High Speed USB v2.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on = usbus0 ugen1.1: at usbus1 uhub1: on = usbus1 ugen2.1: at usbus2 uhub2: on = usbus2 ugen3.1: at usbus3 uhub3: on = usbus3 I've unloaded/loaded if_axe several times to see if this remedies the = throughput problem, but that failed to provide any speed improvements. I = don't know what else to try, please advise! Thanks, Marcus --=20 Marcus Mueller . . . crack-admin/coder ;-) Mulle kybernetiK . http://www.mulle-kybernetik.com Current projects: http://www.mulle-kybernetik.com/znek/