All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alessandro Suardi <alessandro.suardi@oracle.com>
To: linux-kernel@vger.kernel.org
Subject: xircom_tulip_cb reports wrong stats in /proc/net/dev
Date: Tue, 23 Jan 2001 11:59:35 +0100	[thread overview]
Message-ID: <3A6D6417.2C6AD35@oracle.com> (raw)

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      <alessandro.suardi@oracle.com> <asuardi@uninetcom.it>

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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

                 reply	other threads:[~2001-01-23 11:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A6D6417.2C6AD35@oracle.com \
    --to=alessandro.suardi@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.