From owner-freebsd-usb@FreeBSD.ORG Wed Mar 24 21:42:59 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 34C81106564A for ; Wed, 24 Mar 2010 21:42:59 +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 AF9C58FC23 for ; Wed, 24 Mar 2010 21:42:58 +0000 (UTC) Received: by bwz8 with SMTP id 8so1558656bwz.3 for ; Wed, 24 Mar 2010 14:42:57 -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=UaVkO1G9IkINYXIWp8cENh1SObbVU/s8yk6OEBZ9vjo=; b=lB2LtlOl0sxBB4OC8XuMfV9wPJb06LsXQ9tUEw7rHcVW6yNXubb8EnmO/f2lxYzEoN Fn7tU57wqrRCh7ykfkbdkZRCz2qMzI7qJj/5ox0aXi4GjPBNB+m88Unw5xWg8dT3BEnR RGShJs5BxbdCyklzl3g0ASgpMVMsbXJA4HZXQ= 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=vf4hFe/Igr/K9KSMHyfOXl6w9ehj/drdiwISMS10HhDUAi5evwMQEpUQ0yItk01X/e AW2Bx8h0rsO/RcJZcaenKcD5Z+hGfB0HMLD1U1X9pS/LNt7o0nJ3MD9NqeiQmBDDCNZE YV13SzkJcK4Fa0p7XB7yH5y3ywitl17OJ6Ifo= Received: by 10.204.85.73 with SMTP id n9mr135120bkl.71.1269466977216; Wed, 24 Mar 2010 14:42:57 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 14sm378185bwz.6.2010.03.24.14.42.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Mar 2010 14:42:55 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 24 Mar 2010 14:42:30 -0700 From: Pyun YongHyeon Date: Wed, 24 Mar 2010 14:42:30 -0700 To: Nenhum_de_Nos Message-ID: <20100324214230.GT1278@michelle.cdnetworks.com> References: <5f0d2fca99441437799bc5d7f55d6ea9.squirrel@lamneth> <20100324010107.GM1278@michelle.cdnetworks.com> <3e164e2fc77415a67bd7d22e9c51168b.squirrel@cygnus.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3e164e2fc77415a67bd7d22e9c51168b.squirrel@cygnus.homeunix.com> User-Agent: Mutt/1.4.2.3i 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:42:59 -0000 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? > > 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,