Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2007 16:01:53 +0900
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Rainer Hurling <rhurlin@gwdg.de>
Cc:        darren780@yahoo.com, freebsd-current@freebsd.org
Subject:   Re: yongari nfe problems
Message-ID:  <20070313070153.GD87608@cdnetworks.co.kr>
In-Reply-To: <45F636B5.9060608@gwdg.de>
References:  <20070310074734.GC70613@cdnetworks.co.kr> <917080.87242.qm@web34701.mail.mud.yahoo.com> <20070311050627.GC79728@cdnetworks.co.kr> <45F3B94B.3030104@gwdg.de> <20070312045116.GA83433@cdnetworks.co.kr> <45F5C914.3000805@gwdg.de> <20070313004601.GA87608@cdnetworks.co.kr> <20070313005845.GB87608@cdnetworks.co.kr> <45F636B5.9060608@gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 13, 2007 at 06:29:25AM +0100, Rainer Hurling wrote:
 > Over night my systems works well, only one message from network came up:
 > 
 > nfe0: watchdog timeout (missed Tx interrupts) -- recovering
 > nfe0: watchdog timeout (missed Tx interrupts) -- recovering
 > 

I'm not sure this watchdog is related with VSC8601 PHY.
However Mr. Darren also reported watchdog errors on MCP55 so I have
to think again what makes MCP55 different.

 > In the morning I tried your patch for mii and PHY. Bootingverbose again 
 > gives me:
 > 
 > nfe0: <NVIDIA nForce MCP55 Networking Adapter> port 0xb000-0xb007 mem
 > 0xfbef3000-0xfbef3fff,0xfbefa800-0xfbefa8ff,0
 > xfbefa400-0xfbefa40f irq 22 at device 8.0 on pci0
 > nfe0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfbef3000
 > nfe0: bpf attached
 > nfe0: Ethernet address: 00:16:17:95:d9:7c
 > miibus0: <MII bus> on nfe0
 > ciphy0: <VSC8601 10/100/1000TX PHY> PHY 1 on miibus0
 > ciphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
 > 1000baseT-FDX, auto
 > nfe0: [MPSAFE]
 > nfe0: [FILTER]
 > 
 > 
 > First, all seems to be ok. Network was up and connected. After a minute 
 > I lost connection and the following messages appeared:
 > 
 > miibus0: unknown CICADA PHY model 2
 > miibus0: unknown CICADA PHY model 2
 > miibus0: unknown CICADA PHY model 2

Sorry, you can ignore this. I've ommitted a code needed in fixup code
for VSC8601.

 > nfe0: watchdog timeout (missed Tx interrupts) -- recovering
 > nfe0: watchdog timeout (missed Tx interrupts) -- recovering
 > nfe0: watchdog timeout (missed Tx interrupts) -- recovering
 > nfe0: watchdog timeout (missed Tx interrupts) -- recovering
 > ...
 > 

This is real problem. I guess ciphy(4) failed to report correct link
state so watchdog handler was activated. Apparently we **NEED** a copy
of the documentation for the PHY. :-(
You can revert the PHY changes and use ukphy(4) until the issue is
resolved.

 > 
 > Probably a little more work on the patches is needed?
 > 

Yes, ciphy(4) should be educated to access magic registers.

 > I am offline for the next ten hours. After that I could test any new 
 > version ;-)
 > 

I'll let you know if I have a patch for the watchdog errors. In these
days I have little time to focus on FreeBSD stuff so don't expect
quick reply.
Thank you very much for testing and your time.

 > Thank you very much,
 > Rainer
 > 
-- 
Regards,
Pyun YongHyeon



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