From owner-freebsd-usb@FreeBSD.ORG Sun Apr 4 00:47:39 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 D67911065670 for ; Sun, 4 Apr 2010 00:47:39 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 7FE048FC12 for ; Sun, 4 Apr 2010 00:47:39 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so1065122qwe.7 for ; Sat, 03 Apr 2010 17:47:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:date:from:to :subject:message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=DMxdP/FssDqqF1YoadcQfhPPWAi1tn5DoE6d+HYWx8w=; b=xXAQ7P15S6pGlBBHr5Q8F9v1fU8wxdP6dN8iSsNpkMX9CWPaHcJz+ofiKFuqZGDCkU 36SiBRN4tTY2OkaS6ReE6Wqlm+S9iRu/S9hWCuWdxW2S5IXXMVZq36lNHcavUzpqhP6C iTZkFSmJbZeUMyyghUahRIEqJmjcl6Sl31eew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; b=re9Ec1VXnPJSmdot4/bOfJMrFpU5bQNWW+xmXrsYyn1/BEkT3IBS7xCmQt1kQcTw9s 2q3bE+jilA27qVF1/QB8ViAbuEfOmWCqXWqTRHGuWrP1S91wMYJWsU3GdXZeLnUWuBBT RCOFKV0INmPVJIidCZgGL6+fDAWLj+jVcjEgk= Received: by 10.229.91.16 with SMTP id k16mr6455874qcm.40.1270342058744; Sat, 03 Apr 2010 17:47:38 -0700 (PDT) Received: from cygnus.homeunix.com ([189.71.112.4]) by mx.google.com with ESMTPS id v26sm3171406qce.7.2010.04.03.17.47.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 03 Apr 2010 17:47:37 -0700 (PDT) Sender: Nenhum_de_Nos Received: from elita (unknown [10.1.1.84]) by cygnus.homeunix.com (Postfix) with ESMTP id D3D85B8A1D for ; Sat, 3 Apr 2010 21:47:24 -0300 (BRT) Date: Sat, 3 Apr 2010 21:46:59 -0300 From: Nenhum_de_Nos To: freebsd-usb@freebsd.org Message-Id: <20100403214659.fb4a19ea.matheus@eternamente.info> In-Reply-To: <20100331190631.GQ1473@michelle.cdnetworks.com> References: <20100324231833.GX1278@michelle.cdnetworks.com> <35a626b67a1556071f4c76498214581d.squirrel@cygnus.homeunix.com> <20100325173556.GA1278@michelle.cdnetworks.com> <20100326003150.GI1278@michelle.cdnetworks.com> <20100326195012.GS1278@michelle.cdnetworks.com> <6672a5444e755931f93f58f7b2df28c4.squirrel@cygnus.homeunix.com> <20100327021954.GY1278@michelle.cdnetworks.com> <4f4516c4a748aacfbd62cad9691afb90.squirrel@cygnus.homeunix.com> <20100331190631.GQ1473@michelle.cdnetworks.com> X-Mailer: Sylpheed 3.0.0 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: 10Mbps+ throughput usb based ethernet recommendation 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: Sun, 04 Apr 2010 00:47:40 -0000 On Wed, 31 Mar 2010 12:06:31 -0700 Pyun YongHyeon wrote: > On Fri, Mar 26, 2010 at 11:31:50PM -0300, Nenhum_de_Nos wrote: > > [...] > > > >> I changed and got this: > > >> > > >> miibus1: on axe0 > > >> ukphy0: PHY 1 on miibus1 > > >> ukphy0: XXX ID1 = 0x0282, ID2 = 0xf012 > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > > > This is *NOT* bogus value. It's Agere Systems' ET1011 gigabit PHY. > > > FreeBSD has truephy(4) for Agere Systems' PHY but it does not have > > > support code for the model yet. > > > > so I can think that's the issue, right ? > > Probably. But this does not explain sometimes why you get some > bogus value form PHY id registers. > > > > >> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > > >> 1000baseT-FDX, auto > > >> ue0: on axe0 > > >> ue0: Ethernet address: xxxxxxxxxxxxxx > > >> ue0: link state changed to DOWN > > >> > > >> so it didn't now. other thing is that not every time it works: > > >> > > > > > > Yeah, that is real issue here. I guess there should be some magic > > > to wakeup the PHY from deep sleep state. I'll see what can be done. > > > > ok, great it was found :) > > > > let me know if I can help in anything :) > > > > Would you try attached patch and let me know how it goes? axe0: PHYADDR 0xe0:0x01 miibus1: on axe0 ukphy0: PHY 1 on miibus1 ukphy0: XXX ID1 = 0x7949, ID2 = 0x7949 ukphy0: 10baseT-FDX ue0: on axe0 ue0: Ethernet address: 00:11:50:e7:39:e9 ue0: link state changed to DOWN ue0: link state changed to DOWN ue0: link state changed to DOWN ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP ue0: link state changed to DOWN and I can't ping the other host :( ue0: flags=8843 metric 0 mtu 1500 options=80000 ether 00:11:50:e7:39:e9 inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255 media: Ethernet none arroway# ifconfig ue0 ue0: flags=8843 metric 0 mtu 1500 options=80000 ether 00:11:50:e7:39:e9 inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255 media: Ethernet none (none ) status: active arroway# ifconfig ue0 ue0: flags=8843 metric 0 mtu 1500 options=80000 ether 00:11:50:e7:39:e9 inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255 media: Ethernet none and it is still crazy media changing. thanks, matheus -- We will call you cygnus, The God of balance you shall be A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? http://en.wikipedia.org/wiki/Posting_style