From owner-freebsd-usb@FreeBSD.ORG Wed Mar 24 21:58:56 2010 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 8C2401065673 for ; Wed, 24 Mar 2010 21:58:56 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 0E44A8FC12 for ; Wed, 24 Mar 2010 21:58:55 +0000 (UTC) Received: by bwz8 with SMTP id 8so1570289bwz.3 for ; Wed, 24 Mar 2010 14:58:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=EL1ZLPBIAhUFwTXAmTE2yf4xMmwb4925dHfIrp1Cv/k=; b=B1+x/o49jaIwPuij54xCOguYpFWp+wOuyMIjmYzStwwYQXVIrP/0RL5SyTTuIyVaEp 6ERgVCJp9tI0mqIAbv2CLoc4TCbaAihapkopwqRysjmoJEe+l2+cWnN3FBJdM/JLVi3i TGAp2+1zzuNoeMZfTRx8gXZHOLC+fY7EQtHVk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=Pxs5ZztypqkNfBz51AI/kjaNbEDa07YxqmEriJXc2c/Jc8iKQhOSdaBMBMjhODssHZ aJ+Dh3bNW0n1KrAr7fRF8/cpVGxI4vBQdnzAs/mrzAUwapDvim0dpZM9LYWqQJB6OWJz WTkAxIw6uaJq36uNEDEOOal8wKYGgOZFp5Dd0= Received: by 10.204.34.203 with SMTP id m11mr708183bkd.173.1269467934543; Wed, 24 Mar 2010 14:58:54 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 16sm374298bwz.9.2010.03.24.14.58.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Mar 2010 14:58:53 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 24 Mar 2010 14:58:27 -0700 From: Pyun YongHyeon Date: Wed, 24 Mar 2010 14:58:27 -0700 To: Nenhum_de_Nos Message-ID: <20100324215827.GU1278@michelle.cdnetworks.com> References: <5f0d2fca99441437799bc5d7f55d6ea9.squirrel@lamneth> <20100324010107.GM1278@michelle.cdnetworks.com> <3e164e2fc77415a67bd7d22e9c51168b.squirrel@cygnus.homeunix.com> <20100324214230.GT1278@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Clx92ZfkiYIKRjnr" Content-Disposition: inline In-Reply-To: <20100324214230.GT1278@michelle.cdnetworks.com> User-Agent: Mutt/1.4.2.3i X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-usb@freebsd.org Subject: Re: 10Mbps+ throughput usb based ethernet recommendation X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2010 21:58:56 -0000 --Clx92ZfkiYIKRjnr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Mar 24, 2010 at 02:42:30PM -0700, Pyun YongHyeon wrote: > On Wed, Mar 24, 2010 at 06:16:21PM -0300, Nenhum_de_Nos wrote: > > > > On Tue, March 23, 2010 22:01, Pyun YongHyeon wrote: > > [...] > > > >> Just adding info, I keep getting these outputs from ifconfig: > > >> > > >> ue0: flags=8843 metric 0 mtu > > >> 1500 > > >> ether 00:11:50:e7:39:e9 > > >> inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > > >> media: Ethernet autoselect (1000baseT ) > > >> status: active > > >> and: > > >> ue0: flags=8843 metric 0 mtu > > >> 1500 > > >> ether 00:11:50:e7:39:e9 > > >> inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > > >> media: Ethernet autoselect (100baseTX ) > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > >> status: active > > >> > > >> and this keeps repeating over and over. iperf and on the other end an > > > > > > Maybe this is real problem. It seems PHY have trouble to establish > > > link. This is FreeBSD stable/8 right? > > > > yes. on 7.2 is even worse :( > > > > > Would you show me the output of "devinfo -rv| grep phy"? > > > > /usr/home/matheus]$ devinfo -rv| grep phy > > ukphy0 pnpinfo oui=0x1e model=0x14 rev=0x9 at phyno=1 > > axe(4) requires correct resolved speed/link status reported from > PHY driver. Otherwise it will incorrectly reprogram some registers > and this can result in unexpected result. > The OUI 0x1e from the above looks odd and I'm not aware of any PHY > vendors that reports such OUI. Because FreeBSD does not strictly > follows OUI decoding defined by IEEE it's also possible that > FreeBSD incorrectly showed wrong OUI. What is your USB ethernet > controller model? > Please try this patch and let me know the output on your console. It will show you "XXX ID1 = 0xYYYY, ID2 = 0xZZZZ". > > > > I'm trying to test it on current, but I think it will be the same (I saw > > cvs commits till releng 8 creating and all commits are the same ). > > > > Unless we fix the PHY issue you would get the same result on > stable/8. > > > still looking for better performance usb nic :) you think the slower > > linksys usb200m (axe based also) will have better luck in this link > > negotiation issue ? (I don't need gigabit, just to break the 10Mbps at > > I have no experience with usb200m so I don't know. > > > start - though breaking the 50Mpbs would be perfert). > > > > thanks, --Clx92ZfkiYIKRjnr--