Re: Rx overruns on vortex 3com card ...possible causes??

Madhav Diwan <[email protected]> 23 Aug 2003 22:35:13 -0400
Newsgroups gmane.linux.drivers.vortex.devel
Message-ID <1061692512.2968.15.camel@shreya1>
Hi, Ruben

No mouse or Xwindows on the system.. i dont even run gpm on the console
but i do have
multiple nics and one isa modem
This is a firewall system.

# cat /proc/interrupts
           CPU0       
  0:  142694101          XT-PIC  timer
  1:          2          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  5:        643          XT-PIC  serial
  7:    3841719          XT-PIC  eth9
  8:          1          XT-PIC  rtc
 10:    1172053          XT-PIC  eth1
 11:    8503018          XT-PIC  usb-uhci, eth2, eth5
 12:   11477780          XT-PIC  eth0, eth3, eth6
 14:    1698512          XT-PIC  ide0
 15:          9          XT-PIC  ide1
NMI:          0 
LOC:  142693311 
ERR:          0
MIS:          0


Interesting .irq 12 is shared by three NIC's... i may have to switch pci
slots or do some bios configuration:  but this problem occurs on
whichever unit is primary .. its a two node system with one master and
one slave and while i have tried to keep the units as identical as
possible  i dont think i went so far as to make all the interrupts the
same. Still thanks for the pointer .

below is the result of  lspci -v

I dont see any thing that particularly sticks out other than the shared
inturrupt . but should that not cause overruns on all three interfaces
that are using it.. not just the one? 



00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and
Memory Controller Hub (rev 04)
	Subsystem: Intel Corporation 82815 815 Chipset Host Bridge and Memory
Controller Hub
	Flags: bus master, fast devsel, latency 0
	Capabilities: [88] #09 [f104]

00:02.0 VGA compatible controller: Intel Corporation 82815 CGC [Chipset
Graphics Controller]  (rev 04) (prog-if 00 [VGA])
	Subsystem: Intel Corporation 82815 CGC [Chipset Graphics Controller] 
	Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 12
	Memory at e0000000 (32-bit, prefetchable) [size=64M]
	Memory at ea000000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: [dc] Power Management version 2

00:1e.0 PCI bridge: Intel Corporation 82801BAM PCI (rev 05) (prog-if 00
[Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=04, sec-latency=32
	I/O behind bridge: 0000a000-0000cfff
	Memory behind bridge: e4000000-e9ffffff

00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (ICH2) (rev 05)
	Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 (rev 05)
(prog-if 80 [Master])
	Subsystem: Intel Corporation: Unknown device 2442
	Flags: bus master, medium devsel, latency 0
	[virtual] I/O ports at 01f0
	[virtual] I/O ports at 03f4
	[virtual] I/O ports at 0170
	[virtual] I/O ports at 0374
	I/O ports at f000 [size=16]

00:1f.2 USB Controller: Intel Corporation 82801BA(M) USB (Hub A) (rev
05) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation 82801BA(M) USB (Hub A)
	Flags: bus master, medium devsel, latency 0, IRQ 11
	I/O ports at d000 [size=32]

00:1f.3 SMBus: Intel Corporation 82801BA(M) SMBus (rev 05)
	Subsystem: Intel Corporation: Unknown device 2442
	Flags: medium devsel, IRQ 9
	I/O ports at 5000 [size=16]

01:07.0 Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100]
(rev 08)
	Subsystem: Intel Corporation EtherExpress PRO/100+ Management Adapter
	Flags: bus master, medium devsel, latency 32, IRQ 7
	Memory at e9101000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at c400 [size=64]
	Memory at e9000000 (32-bit, non-prefetchable) [size=1M]
	Expansion ROM at <unassigned> [disabled] [size=1M]
	Capabilities: [dc] Power Management version 2

01:0c.0 Ethernet controller: 3Com Corporation 3c905C-TX [Fast Etherlink]
(rev 78)
	Subsystem: 3Com Corporation 3C905C-TX Fast Etherlink for PC Management
NIC
	Flags: bus master, medium devsel, latency 32, IRQ 12
	I/O ports at c000 [size=128]
	Memory at e9100000 (32-bit, non-prefetchable) [size=128]
	Expansion ROM at <unassigned> [disabled] [size=128K]
	Capabilities: [dc] Power Management version 2

01:0f.0 PCI bridge: Intel Corporation: Unknown device b152 (prog-if 00
[Normal decode])
	Flags: bus master, medium devsel, latency 32
	Bus: primary=01, secondary=02, subordinate=04, sec-latency=32
	I/O behind bridge: 0000a000-0000bfff
	Memory behind bridge: e5000000-e8ffffff
	Capabilities: [dc] Power Management version 2

02:0d.0 PCI bridge: Digital Equipment Corporation DECchip 21154 (rev 05)
(prog-if 00 [Normal decode])
	Flags: bus master, 66Mhz, medium devsel, latency 32
	Bus: primary=02, secondary=03, subordinate=03, sec-latency=32
	I/O behind bridge: 0000a000-0000afff
	Memory behind bridge: e5000000-e6ffffff
	Capabilities: [dc] Power Management version 1

02:0e.0 PCI bridge: Digital Equipment Corporation DECchip 21154 (rev 05)
(prog-if 00 [Normal decode])
	Flags: bus master, 66Mhz, medium devsel, latency 32
	Bus: primary=02, secondary=04, subordinate=04, sec-latency=32
	I/O behind bridge: 0000b000-0000bfff
	Memory behind bridge: e7000000-e8ffffff
	Capabilities: [dc] Power Management version 1

03:04.0 Ethernet controller: Adaptec ANA620xx/ANA69011A (rev 03)
	Subsystem: Adaptec: Unknown device 0040
	Flags: bus master, medium devsel, latency 32, IRQ 10
	Memory at e6000000 (32-bit, non-prefetchable) [size=512K]
	I/O ports at a000 [size=256]
	Expansion ROM at <unassigned> [disabled] [size=256K]
	Capabilities: [50] Power Management version 1

03:05.0 Ethernet controller: Adaptec ANA620xx/ANA69011A (rev 03)
	Subsystem: Adaptec: Unknown device 0040
	Flags: bus master, medium devsel, latency 32, IRQ 11
	Memory at e6080000 (32-bit, non-prefetchable) [size=512K]
	I/O ports at a400 [size=256]
	Expansion ROM at <unassigned> [disabled] [size=256K]
	Capabilities: [50] Power Management version 1

03:06.0 Ethernet controller: Adaptec ANA620xx/ANA69011A (rev 03)
	Subsystem: Adaptec: Unknown device 0040
	Flags: bus master, medium devsel, latency 32, IRQ 12
	Memory at e6100000 (32-bit, non-prefetchable) [size=512K]
	I/O ports at a800 [size=256]
	Expansion ROM at <unassigned> [disabled] [size=256K]
	Capabilities: [50] Power Management version 1

03:07.0 Ethernet controller: Adaptec ANA620xx/ANA69011A (rev 03)
	Subsystem: Adaptec: Unknown device 0040
	Flags: bus master, medium devsel, latency 32, IRQ 9
	Memory at e6180000 (32-bit, non-prefetchable) [size=512K]
	I/O ports at ac00 [size=256]
	Expansion ROM at <unassigned> [disabled] [size=256K]
	Capabilities: [50] Power Management version 1

04:04.0 Ethernet controller: Adaptec ANA620xx/ANA69011A (rev 03)
	Subsystem: Adaptec: Unknown device 0040
	Flags: bus master, medium devsel, latency 32, IRQ 11
	Memory at e8000000 (32-bit, non-prefetchable) [size=512K]
	I/O ports at b000 [size=256]
	Expansion ROM at <unassigned> [disabled] [size=256K]
	Capabilities: [50] Power Management version 1

04:05.0 Ethernet controller: Adaptec ANA620xx/ANA69011A (rev 03)
	Subsystem: Adaptec: Unknown device 0040
	Flags: bus master, medium devsel, latency 32, IRQ 12
	Memory at e8080000 (32-bit, non-prefetchable) [size=512K]
	I/O ports at b400 [size=256]
	Expansion ROM at <unassigned> [disabled] [size=256K]
	Capabilities: [50] Power Management version 1

04:06.0 Ethernet controller: Adaptec ANA620xx/ANA69011A (rev 03)
	Subsystem: Adaptec: Unknown device 0040
	Flags: bus master, medium devsel, latency 32, IRQ 9
	Memory at e8100000 (32-bit, non-prefetchable) [size=512K]
	I/O ports at b800 [size=256]
	Expansion ROM at <unassigned> [disabled] [size=256K]
	Capabilities: [50] Power Management version 1

04:07.0 Ethernet controller: Adaptec ANA620xx/ANA69011A (rev 03)
	Subsystem: Adaptec: Unknown device 0040
	Flags: bus master, medium devsel, latency 32, IRQ 10
	Memory at e8180000 (32-bit, non-prefetchable) [size=512K]
	I/O ports at bc00 [size=256]
	Expansion ROM at <unassigned> [disabled] [size=256K]
	Capabilities: [50] Power Management version 1






On Sat, 2003-08-23 at 21:04, Ruben van der Leij wrote:
> On Thu, 2003-08-21 at 04:49, Madhav Diwan wrote:
> 
> > eth0      Link encap:Ethernet  HWaddr 00:00:D5:5D:5F:60
> >            inet addr:10.88.88.1  Bcast:10.88.88.255 
> Mask:255.255.255.0
> >            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >            RX packets:341811 errors:0 dropped:0 overruns:5350
> frame:0
> >            TX packets:280894 errors:0 dropped:0 overruns:0 carrier:0
> >            collisions:0 txqueuelen:100
> >            RX bytes:305966651 (291.7 Mb)  TX bytes:33789603 (32.2
> Mb)
> >            Interrupt:12 Base address:0xc00
> 
> > Any ideas on how i can stop , prevent, or alleviate this issue of Rx
> > overruns?
> 
> Could you describe in some detail what other hardware you have in that
> system?
> 
> It's not your network at fault. Something or somebody is interfering
> with the 
> interrupt-handling on your system. An overrun is the situation where a
> packet
> is overwritten by the next packet without being handled by the driver.
> 
> We'd like to see the output of lspci and cat /proc/interrupts.
> 
> Interrupt 12 is normally assigned to a ps/2 mouse. Is there a mouse on
> your 
> system, and is it being used? (IE: do you run a graphical desktop on
> the same
> system?) If not: is the mouse disabled or can you check whether it can
> be 
> disabled in the BIOS?
> 
> -- 
> 
> Ruben
-- 
Madhav Diwan <[email protected]>

#####################################################################################
Note:
This message is for the named person's use only.  It may contain confidential,
proprietary or legally privileged information.  No confidentiality or privilege
is waived or lost by any mistransmission.  If you receive this message in error,
please immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender.  You must not, directly or indirectly,
use, disclose, distribute, print, or copy any part of this message if you are not
the intended recipient. Wagner-Weber Associates and any of its subsidiaries each reserve
the right to monitor all e-mail communications through its networks.

Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorized to state them to be the
views of any such entity.

Thank You.
#####################################################################################
_______________________________________________
vortex mailing list
[email protected]
http://www.scyld.com/mailman/listinfo/vortex