Problem with nfe stability and throughput
Pyun YongHyeon
pyunyh at gmail.com
Tue Dec 25 15:47:50 PST 2007
On Sun, Dec 23, 2007 at 11:49:40PM +0100, Chris Poulsen wrote:
> Hi,
>
> I've installed CURRENT on an asus m2n-vm. My network config is giving me
> problems.
>
> Throughput seems low. I'm seeing up/download rates less than 1 Mbyte/sec
> on my local lan (100Mb). I've tried switching cables/ports in my switch etc.
>
> I've enabled device polling (hz=1000)
>
> Uploads from the box are slow but "stable". Downloads to the box are
> both slow and unstable. After a few seconds i see the following lines in
> my log and all transfers freeze. Doing ifconfig nfe0 down/up brings the
> interface back to life.
>
> nfe0: discard frame w/o leading ethernet header (len 3 pkt len 3)
> nfe0: discard frame w/o leading ethernet header (len 0 pkt len 0)
> nfe0: discard frame w/o leading ethernet header (len 8 pkt len 8)
> nfe0: discard frame w/o leading ethernet header (len 0 pkt len 0)
>
> I've tried applying the patch from this conversation:
> http://www.nabble.com/nfe-busted-on-7.0-BETA4-to14143721.html#a14143721
>
> but i still see the same error. (My dmesg/ifconfig output in the bottom
> of this mail)
>
> Could someone please give me some pointers on how to fix these things?
>
> TIA
> --
> Regards Chris
>
>
> My dmesg contains:
>
> ata3: [ITHREAD]
> nfe0: <NVIDIA nForce MCP67 Networking Adapter> port 0xd880-0xd887 mem
> 0xdfffc000-0xdfffcfff,0xdfffe400-0xdfffe4ff,0
> xdfffe000-0xdfffe00f irq 23 at device 10.0 on pci0
> miibus0: <MII bus> on nfe0
> ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
^^^^^^
It seems that ukphy(4) was picked up to serve your PHY hardware.
I guess ukphy(4) is not right phy driver for the hardware as it could
result in non-working driver. Would you show me the ukphy(4) output of
verbosed boot message?(In verbosed boot mode, ukphy(4) may have printed
OUI/model number of the PHY hardware.)
> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
> nfe0: Ethernet address: 00:1d:60:6d:73:ec
> nfe0: [FILTER]
> nfe0: [FILTER]
> nfe0: [FILTER]
> nfe0: [FILTER]
> nfe0: [FILTER]
> nfe0: [FILTER]
> nfe0: [FILTER]
> nfe0: [FILTER]
> pcib2: <ACPI PCI-PCI bridge> at device 11.0 on pci0
>
> and ifconfig -a gives:
>
> nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=48<VLAN_MTU,POLLING>
> ether 00:1d:60:6d:73:ec
> inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255
> media: Ethernet 100baseTX <full-duplex>
> status: active
>
--
Regards,
Pyun YongHyeon
More information about the freebsd-current
mailing list