From owner-freebsd-mobile@FreeBSD.ORG Wed Feb 18 09:52:20 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36A0C1065670; Wed, 18 Feb 2009 09:52:20 +0000 (UTC) (envelope-from bengta@P142.sics.se) Received: from sink.sics.se (sink.sics.se [193.10.64.88]) by mx1.freebsd.org (Postfix) with ESMTP id B9F898FC28; Wed, 18 Feb 2009 09:52:19 +0000 (UTC) (envelope-from bengta@P142.sics.se) Received: from P142.sics.se (P142.sics.se [193.10.66.253]) by sink.sics.se (8.14.3/8.14.3) with ESMTP id n1I9qAR4060292 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 18 Feb 2009 10:52:10 +0100 (CET) (envelope-from bengta@P142.sics.se) Received: from P142.sics.se (localhost [127.0.0.1]) by P142.sics.se (8.14.3/8.14.3) with ESMTP id n1I9sFVN001118; Wed, 18 Feb 2009 10:54:15 +0100 (CET) (envelope-from bengta@P142.sics.se) Received: (from bengta@localhost) by P142.sics.se (8.14.3/8.14.3/Submit) id n1I9sEdk001117; Wed, 18 Feb 2009 10:54:14 +0100 (CET) (envelope-from bengta@P142.sics.se) To: Sam Leffler From: Bengt Ahlgren In-Reply-To: <499B1E7B.2030908@freebsd.org> (Sam Leffler's message of "Tue\, 17 Feb 2009 12\:30\:51 -0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) References: <20090210154047.N38905@sola.nimnet.asn.au> <4991ABA0.4050300@freebsd.org> <4991DB1F.7060809@freebsd.org> <499B1E7B.2030908@freebsd.org> Date: Wed, 18 Feb 2009 10:54:14 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-mobile@freebsd.org Subject: Re: Problems with ath at kern.hz=100 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 09:52:20 -0000 Sam Leffler writes: > Bengt Ahlgren wrote: >> Sam Leffler writes: >> >> [...] >> >> >>> You've removed all the context of the original problem; I can't recall >>> what you were trying to fix. The ps q drops might be caused by a bug >>> that was fixed (I think in RELENG_7). I don't see what version of >>> code you're running so can't tell. >>> >> >> Sorry, a summary of the problem: >> >> The system frequently comes into a state where outgoing packets are >> held somewhere. The condition persists for seconds to minutes. It >> goes away by itself, but some of the packets are usually lost. This >> occurs on ath, FreeBSD 7.1-REL, no SMP, with kern.hz=100 (but not with >> hz=1000). Original mail with description can be found here: >> >> http://lists.freebsd.org/pipermail/freebsd-mobile/2009-February/011343.html >> >> I have done some more investigation, inserting debug prints in >> ath_start (if_ath.c 1.177.2.2.2.1), one just after IFQ_DRV_DEQUEUE >> (line 1576), another just before the call to ieee80211_pwrsave (line >> 1614). >> >> Packets are dequeued, but ieee80211_pwrsave is called and nothing >> happens. Below is the output from "athdebug xmit" with these extra >> two DPRINTF:s during the queue-up. Then after a while packets are >> sent again. >> >> Bengt >> >> > <...debug output removed...> > > Did you try RELENG_7? ap mode power save was fixed post 7.1 release. I can do that, but I am not using ap mode. Will it still be useful? Bengt