xircom_tulip_cb reports wrong stats in /proc/net/dev
Happens on 2.4.1pre10 as well. On the crossed Ethernet cable to my cheap
home ne2k-pci @ 10Mbit stats are correct. /proc/net/dev is wrong, so it doesn't matter if I use 'ifconfig' or 'ip'. Figures in "errs" are exactly the same as "carrier" and grow for example by simply pinging a remote host. Output of ifconfig/ip:
[asuardi@princess asuardi]$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:10:A4:F9:19:A0
inet addr:144.24.10.49 Bcast:144.24.10.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:9488 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:3221 dropped:0 overruns:0 carrier:3221
collisions:0 txqueuelen:100
Interrupt:11 Base address:0x1800 [asuardi@princess asuardi]$ ip -s link show eth0
2: eth0: <BROADCAST,NOTRAILERS,UP> mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:10:a4:f9:19:a0 brd ff:ff:ff:ff:ff:ff
RX: bytes packets errors dropped overrun mcast
3676327 9901 0 0 0 0
TX: bytes packets errors dropped carrier collsns
132 2 3223 0 3223 0 The other difference in respect to my home setup is that this is DHCP,
while I set up a fixed IP address at home.
Any ideas ? Thanks in advance,
--alessandro <[email protected]> <[email protected]>
Linux: kernel 2.2.19p7/2.4.1p10 glibc-2.2 gcc-2.96-69 binutils-2.10.1.0.4 Oracle: Oracle8i 8.1.7.0.0 Enterprise Edition for Linux motto: Tell the truth, there's less to remember.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/