cvs commit: src/sys/dev/nfe if_nfe.c if_nfereg.h

Pyun YongHyeon pyunyh at gmail.com
Wed May 7 00:17:59 UTC 2008


On Tue, May 06, 2008 at 03:56:18PM -0300, JoaoBR wrote:
 > On Thursday 17 April 2008 01:22:33 Pyun YongHyeon wrote:
 > > yongari     2008-04-17 04:22:33 UTC
 > >
 > >   FreeBSD src repository
 > >
 > >   Modified files:        (Branch: RELENG_7)
 > >     sys/dev/nfe          if_nfe.c if_nfereg.h
 > >   Log:
 > >   MFC if_nfe.c rev 1.28, if_nfereg.h rev 1.12 to RELENG_7.
 > >     Add support for MCP73 chips.
 > >
 > >   Revision  Changes    Path
 > >   1.21.2.5  +12 -0     src/sys/dev/nfe/if_nfe.c
 > >   1.10.2.1  +4 -0      src/sys/dev/nfe/if_nfereg.h
 > > _______________________________________________
 > > cvs-all at freebsd.org mailing list
 > > http://lists.freebsd.org/mailman/listinfo/cvs-all
 > > To unsubscribe, send any mail to "cvs-all-unsubscribe at freebsd.org"
 > >
 > 
 > 
 > 
 > Hi there
 > 
 > seems to be something wrong with the nfe drv since a couple of weeks or so, 
 > don't know exactly the date
 > 
 > happens that I get 25 CPU time stolen, top tells me 75-80% idle even if 
 > nothing is active on the machine, I do a ifconfig nfe0 down and cpu comes 
 > back
 > 

Please check the output of 'vmstat -i'. If nfe(4) is busy enough to
handle other activities you may see large number of interrupts from
the output.

 > top does not show any process using, neither toggling H nor C and no active 
 > process, everything idle. I have a hard time to debug this. Poloong or not 
 > does not make a difference
 > 
 > I do not get it on all hardware but here two I am sure:
 > 
 > nfe0: <NVIDIA nForce MCP61 Networking Adapter> port 0xec00-0xec07 mem 
 > 0xfe02d000-0xfe02dfff irq 20 at device 7.0 on pci0
 > miibus0: <MII bus> on nfe0
 > ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
 > ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
   ^^^^^^
This is odd. AFAIK all PHYs attached to nfe(4) have dedicated PHY
driver. Would you show me verbosed boot messages of this system?

 > 
 > 
 > nfe0: <NVIDIA nForce4 CK804 MCP9 Networking Adapter> port 0xd000-0xd007 mem 
 > 0xfe02b000-0xfe02bfff irq 22 at device 10.0 on pci0
 > miibus3: <MII bus> on nfe0
 > ciphy0: <Cicada CS8201 10/100/1000TX PHY> PHY 1 on miibus3
 > ciphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
 > 1000baseT-FDX, auto
 > 
 > 
 > tell me what you need I can provide any further info when you give me 
 > instructions
 > 
 > I disconnect even the cable and no change, only down gets me the cpu time back
 > 

Both MCP61 and MCP9 show the same issue?
Is there any reliable way to trigger the issue?

-- 
Regards,
Pyun YongHyeon


More information about the cvs-src mailing list