From owner-freebsd-current@FreeBSD.ORG Sat Oct 4 16:14:44 2008 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11E86106564A; Sat, 4 Oct 2008 16:14:44 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id BF01E8FC13; Sat, 4 Oct 2008 16:14:43 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Km9mD-000CrV-HF; Sat, 04 Oct 2008 20:14:41 +0400 To: pyunyh@gmail.com References: <20081003054756.GB71518@cdnetworks.co.kr> <47297827@bb.ipt.ru> <20081004032046.f15cca9e.nork@FreeBSD.org> <81215412@bb.ipt.ru> <20081004060942.GA76137@cdnetworks.co.kr> From: Boris Samorodov Date: Sat, 04 Oct 2008 20:14:33 +0400 In-Reply-To: <20081004060942.GA76137@cdnetworks.co.kr> (Pyun YongHyeon's message of "Sat\, 4 Oct 2008 15\:09\:42 +0900") Message-ID: <70489350@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-current@FreeBSD.org, Norikatsu Shigemura Subject: Re: Call for axe(4) testers. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 16:14:44 -0000 Pyun YongHyeon writes: > On Fri, Oct 03, 2008 at 10:31:07PM +0400, Boris Samorodov wrote: > > Norikatsu Shigemura writes: > > > On Fri, 03 Oct 2008 21:50:52 +0400 > > > Boris Samorodov wrote: > > > > >> The adapter is Trendnet TU2-ET100. It works fine without the patch. > > >> Let me know if you need some more info/testing. > > > Please show us 'devinfo -rv | fgrep -A2 axe'. > > > > > > In my case(Planex GU-1000T), I got following results: > > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > > axe0 pnpinfo vendor=0x0b95 product=0x1780 devclass=0xff devsubclass=0xff release=0x0001 sernum="" intclass=0xff intsubclass=0xff at port=4 interface=0 > > > miibus0 > > > ciphy0 pnpinfo oui=0x3f1 model=0xb rev=0x1 at phyno=24 > > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > > > Here it is: > > ----- > > axe0 pnpinfo vendor=0x0b95 product=0x7720 devclass=0xff devsubclass=0xff release=0x0001 sernum="" intclass=0xff intsubclass=0xff at port=1 interface=0 > > miibus0 > > ukphy0 pnpinfo oui=0xec6 model=0x1 rev=0x1 at phyno=16 > > Thanks for your testing! > > Would you repreat the command above without applying patch and show > me the output? They are identical. > And try attached patch at the following URL. > http://people.freebsd.org/~yongari/axe.88178.patch2 After applying the patch nothing changed except boot messages: ----- diff -u dmesg.axe dmesg.axe.patch2 --- dmesg.axe 2008-10-03 20:58:06.000000000 +0400 +++ dmesg.axe.patch2 2008-10-04 19:51:27.000000000 +0400 @@ -1,5 +1,6 @@ axe0: on uhub4 axe0: AX88772, bufsz 4096, boundary 512 +axe0: PHYADDR 0xe0:0x10 miibus0: on axe0 axe0: WARNING: using obsoleted if_watchdog interface axe0: WARNING: using obsoleted IFF_NEEDSGIANT flag ----- > This patch just adds a couple of printfs to see what's going on in > link state change handling. Normally you should see "LINK UP 10Mbps" > or "LINK UP 100Mbps" message on console. If you just see "LINK DOWN" > that indicates a problem that should be resolved. But those words make me think you want me to plug/unplug the adapter (which I didn't do previously -- I've been booting the system with the plugged adapter). And I was very surprised when after plugging the adapter back I saw the line "LINK UP 100Mbps"! And I've got a working adapter! Well, with your patches my adapter don't work only if it is *plugged* while booting. Thanks for taking care! WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve