LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-13-2007, 10:17 AM   #1
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
What causes overruns, and how to troubleshoot/fix?


Code:
alucard@organa:~$ sudo ifconfig
eth0      Link encap:Ethernet  HWaddr 00:01:02:77:9E:21
          inet addr:24.147.72.Z  Bcast:255.255.255.255  Mask:255.255.248.0
          inet6 addr: fe80::201:2ff:fe77:9e21/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24113931 errors:0 dropped:0 overruns:336 frame:0
          TX packets:9640256 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:434177027 (414.0 MiB)  TX bytes:1872923977 (1.7 GiB)
          Interrupt:11 Base address:0x2000

eth1      Link encap:Ethernet  HWaddr 00:08:C7:CA:34:92
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::208:c7ff:feca:3492/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2594358 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3281753 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:665139121 (634.3 MiB)  TX bytes:3106174744 (2.8 GiB)
Code:
alucard@organa:~$ lspci | grep -i eth
00:12.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74)
00:13.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 05)
I don't know how to tell which card is eth0 and which eth1 without having physical access to the box, which I don't at the moment.

This is on a Debian Etch server, 2.6.18 kernel.

The box has been up for 11 days, and has 336 overruns. This is bad, right? What are some things I can do to fix this?

Thanks for your time
 
Old 09-13-2007, 01:06 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Quote:
Originally Posted by AlucardZero View Post
I don't know how to tell which card is eth0 and which eth1 without having physical access to the box, which I don't at the moment.
You can figure out which device is which by using sysfs (assuming it is enabled in your kernel). E.g., you might get
Code:
$ ls "/sys/bus/pci/devices/0000:00:12.0" | grep net
net:eth0
$ ls "/sys/bus/pci/devices/0000:00:13.0" | grep net
net:eth1
(or vice versa).

Quote:
Originally Posted by AlucardZero View Post
The box has been up for 11 days, and has 336 overruns. This is bad, right? What are some things I can do to fix this?
I am not sure. These are overruns on the receiving end, so it could mean a flaky device connected on the other end of the line. It could also mean your NIC itself is flaky. You might diagnose the problem further by compiling the module for the affected device with whatever debugging options enabled. Then look peruse the kernel logs to see when the overruns happen.
 
Old 09-13-2007, 11:43 PM   #3
soroccoheaven
Member
 
Registered: Jul 2007
Distribution: mandrake Mandriva Redhat CentOS Slackware
Posts: 221

Rep: Reputation: 30
Quote:
RX packets:24113931 errors:0 dropped:0 overruns:336 frame:0
TX packets:9640256 errors:0 dropped:0 overruns:0 carrier:0
Receiver overruns usually occur when packets come in faster than the kernel can service the last interrupt (probably because of low memory).

Quote:
I don't know how to tell which card is eth0 and which eth1 without having physical access to the box, which I don't at the moment.
AFAIK you can know which card is eth0 or eth1 or so on as you can see interrupts by ifconfig -a
the card which gets first interrupt will be the eth0 and next will be eth1 and so on ..i cant see your eth1 interrupt but i am sure it should be more than 11..(because your eth0 already having interrupts 11)

Last edited by soroccoheaven; 09-14-2007 at 12:01 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SLOW downloads/updates ifconfig has large overruns TheWabbit Linux - Networking 3 06-21-2009 11:53 PM
eth0 overruns: jp-lack Linux - Networking 0 10-08-2006 10:19 PM
Motherload Overruns Super7 Linux - Networking 1 07-14-2006 02:38 PM
all attempts to fix the problem failed... can someone help me fix partition space? foreverdita Linux - Enterprise 2 05-11-2005 09:02 AM
IDE Software RAID 0 - overruns error nnsg Linux - General 0 11-09-2004 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration