Subject: kern/20467: timeout delayed on tl(4) and system slowdown
To: None <gnats-bugs@gnats.netbsd.org>
From: Mario Kemper <magick@bundy.zhadum.de>
List: netbsd-bugs
Date: 02/22/2003 12:50:10
>Number: 20467
>Category: kern
>Synopsis: the tl driver slows down the system
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 22 03:51:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Mario Kemper
>Release: NetBSD 1.6O Sources of feb 21 2003
>Organization:
Mario Kemper
magick@zhadum.de
>Environment:
System: NetBSD bundy 1.6O NetBSD 1.6O (BUNDY) #3: Sat Feb 22 10:25:27 CET 2003 root@bundy:/usr/netbsd-src/src-obj/sys/arch/i386/compile/BUNDY i386
Architecture: i386
Machine: i386
>Description:
i installed a Compaq Dual Port Netelligent today. The first thing
i noticed are hundreds of "timeout delayed -x" Messages. And thats a few
hundreds a minute continously.
The second thing is, that the mouse hangs when there's traffic on the line.
I use one port of the card for DSL via pppoe. The second port ist connected
to a switch.
This is what dmesg says:
tl0 at pci3 dev 0 function 0
tl0: Compaq Dual Port Netelligent 10/100 TX
tl0: Ethernet address 00:08:c7:5d:66:80
tl0: interrupting at apic 2 int 2 (irq 5)
nsphy0 at tl0 phy 1: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlphy0 at tl0 phy 31: ThunderLAN 10BASE-T media interface, rev. 5
tlphy0: 10base5
tl1 at pci3 dev 1 function 0
tl1: Compaq Dual Port Netelligent 10/100 TX
tl1: Ethernet address 00:08:c7:5d:66:00
tl1: interrupting at apic 2 int 4 (irq 9)
nsphy1 at tl1 phy 1: DP83840 10/100 media interface, rev. 1
nsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlphy1 at tl1 phy 31: ThunderLAN 10BASE-T media interface, rev. 5
tlphy1: 10base5
irq 9 and 5 are shared with the USB controllers which could explain the
mouse hangs:
tl0: interrupting at apic 2 int 2 (irq 5)
tl1: interrupting at apic 2 int 4 (irq 9)
siop0: interrupting at apic 2 int 22 (irq 9)
pciide0: using apic 2 int 23 (irq 9) for native-PCI interrupt
bktr0: interrupting at apic 2 int 21 (irq 5)
uhci1: interrupting at apic 2 int 23 (irq 9)
ohci0: interrupting at apic 2 int 21 (irq 5)
ohci1: interrupting at apic 2 int 22 (irq 9)
ehci0: interrupting at apic 2 int 23 (irq 9)
tl0: interrupting at apic 2 int 2 (irq 5)
tl1: interrupting at apic 2 int 4 (irq 9)
siop0: interrupting at apic 2 int 22 (irq 9)
pciide0: using apic 2 int 23 (irq 9) for native-PCI interrupt
bktr0: interrupting at apic 2 int 21 (irq 5)
uhci1: interrupting at apic 2 int 23 (irq 9)
I also put the card into another slot. The jumpy mouse disappeared.
I did a kernel compile and whenever there was traffic on the line
the compile job almost stopped.
The whole system feels slow when the card is active. I suppose that there
are too many interrupts and that the "timeout delayed" messages are only
a symptom. I recompiled a kernel without DEBUG. The messages disappeared but
the system behaviour remained. When i do "ifconfig tl0 down" the
messages stop.
>How-To-Repeat:
Insert a Compaq Dual Port Netelligent and use it.
>Fix:
Not known.
>Release-Note:
>Audit-Trail:
>Unformatted: