Subject: kern/27015: atw interface problems
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dan@geek.com.au>
List: netbsd-bugs
Date: 09/22/2004 10:50:45
>Number: 27015
>Category: kern
>Synopsis: performance and/or lockup problems with atw.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 22 00:52:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Daniel Carosone
>Release: NetBSD 2.0G
>Organization:
dis-
>Environment:
System: NetBSD tv 2.0G NetBSD 2.0G (_tv_) #28: Mon Sep 6 21:59:57 EST 2004 dan@tv:/home/NetBSD/obj/p4/home/NetBSD/HEAD/src/sys/arch/i386/compile/_tv_ i386
Architecture: i386
Machine: i386
$NetBSD: atw.c,v 1.79 2004/08/10 00:57:20 dyoung Exp $
$NetBSD: if_atw_pci.c,v 1.8 2004/08/21 23:48:33 thorpej Exp $
>Description:
I have a number of semi-mysterious problems with atw.
I need to spend more time tracking down exactly what's going on to
make a more useful problem report, but this PR is being filed to
capture information to date. I'll take ownership of it myself, to
remind me to spend the time testing more carefully and provide
something more concrete.
Some of these problems may in fact be issues with ipsec, or an
interaction with ipsec smoehow, and I need to isolate that too.
The problems/observations are:
- Traffic between wireless peers (mediated by an AP) is very very
slow when one of those peers is atw. Sometimes it's slow between
atw and stuff behind the AP too.
- After some amount of traffic, up to a few Gb, atw seems to get
hung. An ifconfig down/up seems to get it going again. While in
this state, there was evidence of possible bus contention,
interrupt or cpu load, or something - tv and mplayer video being
displayed on the screen was somewhat choppy and and poorly timed,
rather than its usual smooth display.
- On at least one occasion, the whole wireless network seemed to be
largely stuck until the atw machine was rebooted, though I'm not
convinced atw was at fault and in any case that was some time ago
with an early version of the driver.
Some messages from the atw driver, presumably related to when it got
stuck, though i'm not yet sure of the relative timing of these
messages to the problem. These evidently cross a couple of previous
reboots.
atw0: transmit underrun; new threshold: 160 bytes
atw0: transmit underrun; new threshold: 192 bytes
atw0: transmit underrun; new threshold: store and forward
atw0: discarding oversize frame (len=1522)
atw0: atw_si4126_write wrote a0400032, SYNCTL still busy
atw0: failed to tune channel 4
atw0: discarding oversize frame (len=1522)
atw0: discarding oversize frame (len=1522)
atw0: discarding oversize frame (len=1522)
atw0: discarding oversize frame (len=1522)
atw0: discarding oversize frame (len=1522)
atw0: discarding oversize frame (len=1522)
atw0 at pci2 dev 9 function 0: ADMtek ADM8211 802.11 MAC/BBP, revision 1.1
atw0: interrupting at irq 11
atw0: RFMD RF, RFMD BBP 802.11 address 00:e0:98:b2:ab:61
atw0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
atw0 at pci2 dev 9 function 0: ADMtek ADM8211 802.11 MAC/BBP, revision 1.1
atw0: interrupting at irq 11
atw0: RFMD RF, RFMD BBP 802.11 address 00:e0:98:b2:ab:61
atw0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: discarding oversize frame (len=1518)
atw0: transmit underrun; new threshold: 160 bytes
atw0: discarding oversize frame (len=1522)
atw0: transmit underrun; new threshold: 192 bytes
atw0: transmit underrun; new threshold: store and forward
atw0: transmit process not idle [RUNNING - transmitting]
atw0: bits 00002002 test0 08e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00118009
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00118009
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - read descriptor]
atw0: bits 00002002 test0 04e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - transmitting]
atw0: bits 00002002 test0 08e00100 stsr 00110000
atw0: transmit process not idle [RUNNING - transmitting]
atw0: bits 00002002 test0 08e00100 stsr 00110000
>How-To-Repeat:
That's what I need to find out :)
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: