From owner-freebsd-usb@FreeBSD.ORG Tue Apr 6 03:38:28 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 B9AF31065672 for ; Tue, 6 Apr 2010 03:38:28 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id 5901B8FC16 for ; Tue, 6 Apr 2010 03:38:27 +0000 (UTC) Received: by qyk11 with SMTP id 11so4655118qyk.13 for ; Mon, 05 Apr 2010 20:38:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:received :message-id:in-reply-to:references:date:subject:from:to:user-agent :mime-version:content-type:content-transfer-encoding:x-priority :importance; bh=iNWym3K39oA42Pw/+Od2GluoZdd+pCRtTOMfSY4p294=; b=XJDHJaubjy326/p3DAuUXPEHrvqYNDoNWoYGlOCLXQ3Z8Y8QPQew+3+mAXqsEJEsmk KWa2XMdEsNWGS6OxN2Qu6RJ8wjRkFvxgIRGuFNfsm7uSrytualAKl3Z5/pKpiaGtN2kq nR5wDazHDk+xNc0xf5tMIAW7EqmFfEml52EWc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:in-reply-to:references:date:subject:from:to :user-agent:mime-version:content-type:content-transfer-encoding :x-priority:importance; b=hzuquq9dGoXOMQazXKWD8IkO72zw71rN3hO11s7RBaKQbLL+nZjlwfASb1dy1Cm8CX R+4K18AHf1e+azW9VZNZKj432Kuz9JzOQBcQRUYJb4WnHXQPoHHp30/Hs9R9fPJxA8MB WI0EjEoTU+81gYjNz20rchfJWZ2K88HdeYnLA= Received: by 10.229.184.130 with SMTP id ck2mr9785375qcb.95.1270525106437; Mon, 05 Apr 2010 20:38:26 -0700 (PDT) Received: from cygnus.homeunix.com ([189.71.112.4]) by mx.google.com with ESMTPS id x34sm6028977qce.3.2010.04.05.20.38.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 05 Apr 2010 20:38:24 -0700 (PDT) Sender: Nenhum_de_Nos Received: by cygnus.homeunix.com (Postfix, from userid 80) id 84EB8B8A1E; Tue, 6 Apr 2010 00:38:07 -0300 (BRT) Received: from 10.1.1.100 (SquirrelMail authenticated user matheus) by lamneth with HTTP; Tue, 6 Apr 2010 00:38:07 -0300 (BRT) Message-ID: <38598da72f259902314671d3a5d51479.squirrel@lamneth> In-Reply-To: <20100405011256.GC1225@michelle.cdnetworks.com> References: <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> <20100403214659.fb4a19ea.matheus@eternamente.info> <20100405011256.GC1225@michelle.cdnetworks.com> Date: Tue, 6 Apr 2010 00:38:07 -0300 (BRT) From: "Nenhum_de_Nos" To: freebsd-usb@freebsd.org User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal 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: Tue, 06 Apr 2010 03:38:28 -0000 On Sun, April 4, 2010 22:12, Pyun YongHyeon wrote: > On Sat, Apr 03, 2010 at 09:46:59PM -0300, Nenhum_de_Nos wrote: >> 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 > > Due to other issues previous patch didn't have chance to make it > work. This time, PHY id started to reporting garbage again which > means all MII register access may return garbage too. Don't know > this could be related with USB subsystem though. > >> ukphy0: 10baseT-FDX >> ue0: on axe0 >> ue0: Ethernet address: 00:11:50:e7:39:e9 >> 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. >> > > Because your PHY is not recognized it's expected result. :-( waiting for any leads :) I bought a linksys axe based fast ethernet to see what happens. waiting till it arrives. thanks as usual, 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