Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Oct 2008 20:14:33 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        pyunyh@gmail.com
Cc:        freebsd-current@FreeBSD.org, Norikatsu Shigemura <nork@FreeBSD.org>
Subject:   Re: Call for axe(4) testers.
Message-ID:  <70489350@bb.ipt.ru>
In-Reply-To: <20081004060942.GA76137@cdnetworks.co.kr> (Pyun YongHyeon's message of "Sat\, 4 Oct 2008 15\:09\:42 %2B0900")
References:  <20081003054756.GB71518@cdnetworks.co.kr> <47297827@bb.ipt.ru> <20081004032046.f15cca9e.nork@FreeBSD.org> <81215412@bb.ipt.ru> <20081004060942.GA76137@cdnetworks.co.kr>

next in thread | previous in thread | raw e-mail | index | archive | help
Pyun YongHyeon <pyunyh@gmail.com> writes:
> On Fri, Oct 03, 2008 at 10:31:07PM +0400, Boris Samorodov wrote:
>  > Norikatsu Shigemura <nork@FreeBSD.org> writes:
>  > > On Fri, 03 Oct 2008 21:50:52 +0400
>  > > Boris Samorodov <bsam@ipt.ru> 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: <vendor 0x0b95 product 0x7720, class 255/255, rev 2.00/0.01, addr 2> on uhub4
 axe0: AX88772, bufsz 4096, boundary 512
+axe0: PHYADDR 0xe0:0x10
 miibus0: <MII bus> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?70489350>