yongari nfe problems

Pyun YongHyeon pyunyh at gmail.com
Tue Mar 13 06:59:38 UTC 2007


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


More information about the freebsd-current mailing list