From owner-freebsd-net@FreeBSD.ORG Thu Sep 17 06:31:41 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44FBF106566B for ; Thu, 17 Sep 2009 06:31:41 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 1E32B8FC1D for ; Thu, 17 Sep 2009 06:31:40 +0000 (UTC) Received: from Macintosh-4.local (selgateway.sel.cam.ac.uk [131.111.129.2]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n8H6Vafk027785 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Sep 2009 23:31:38 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <4AB1D7C2.5010403@freebsd.org> Date: Thu, 17 Sep 2009 07:31:30 +0100 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Boris Kochergin References: <4A8C3557.20002@acm.poly.edu> <4AA03A41.1080200@acm.poly.edu> <4AB1A086.4090303@acm.poly.edu> In-Reply-To: <4AB1A086.4090303@acm.poly.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-DCC-x.dcc-servers-Metrics: ebb.errno.com; whitelist Cc: freebsd-net@freebsd.org, stef@memberwebs.com Subject: Re: kmem_map too small panics with Soekris/Atheros access point [ath rate control] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2009 06:31:41 -0000 Boris Kochergin wrote: > Stef Walter wrote: >> Boris Kochergin wrote: >> > I, too, recall the days when you had multiple rate-control algorithms to > choose from, but that doesn't appear to be the case anymore. As a > workaround, I wrote a little script that checks if that part of the > driver is using more than 200 KiB of memory and run it every minute via > cron. It seems to be doing its job so far: You can still select the ath rate control module. Static kernel config is unchanged; for modules you must export ATH_RATE=onoe or similar (check modules/ath/Makefile). Please file a PR if this does not work. Sam