NetBSD Problem Report #27015

Received: (qmail 13655 invoked by uid 605); 22 Sep 2004 00:51:02 -0000
Message-Id: <20040922005045.161DCF969@tv.geek.com.au>
Date: Wed, 22 Sep 2004 10:50:45 +1000 (EST)
From: dan@geek.com.au
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: dan@geek.com.au
To: gnats-bugs@gnats.NetBSD.org
Subject: atw interface problems
X-Send-Pr-Version: 3.95

>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 +0000 2004
>Closed-Date:    
>Last-Modified:  Sun Apr 15 21:37:21 +0000 2012
>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:
Responsible-Changed-From-To: kern-bug-people->dan 
Responsible-Changed-By: dan 
Responsible-Changed-When: Wed Sep 22 00:52:48 UTC 2004 
Responsible-Changed-Why:  
taking this myself to prod me into providing better debug info 
Responsible-Changed-From-To: dan->kern-bug-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sun, 15 Apr 2012 21:37:21 +0000
Responsible-Changed-Why:
Back to role account, dan left


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.