From owner-freebsd-net@FreeBSD.ORG Sun Sep 6 00:48:43 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 723031065672 for ; Sun, 6 Sep 2009 00:48:43 +0000 (UTC) (envelope-from stef-list@memberwebs.com) Received: from mail.npubs.com (mail.npubs.com [74.82.45.72]) by mx1.freebsd.org (Postfix) with ESMTP id 643148FC12 for ; Sun, 6 Sep 2009 00:48:43 +0000 (UTC) Resent-Message-Id: From: Stef Walter User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Boris Kochergin References: <4A8C3557.20002@acm.poly.edu> <4AA03A41.1080200@acm.poly.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Resent-Date: Sun, 6 Sep 2009 00:48:43 +0000 (UTC) Resent-From: stef-list@memberwebs.com Cc: freebsd-net@freebsd.org Subject: Re: kmem_map too small panics with Soekris/Atheros access point X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stef@memberwebs.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 06 Sep 2009 00:48:43 -0000 X-List-Received-Date: Sun, 06 Sep 2009 00:48:43 -0000 Boris Kochergin wrote: >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > More information: I upgraded it to a 7.2-STABLE with August 20th sources > and increased kern.ipc.nmbclusters to 65536 in hopes of getting the > panic less often. I managed to catch it in a state where there were a > bunch of "ath0: ath_rx_proc: no mbuf!" messages in the kernel buffer. > One line of "vmstat -m" stood out as the leak: > > 80211node 12677 101401K - 120901 16,512 > > "ifconfig ath0 down" freed the memory. Is there any other useful > information I can provide if I catch it again? Someone suggested the > output of "vmstat -z" off list, and I will have that next time. This might be a long shot: Back when I deployed some similar devices on FreeBSD 6.0 there was a leak when using oddball ath_rate driver. I believe it went away when I used ath_rate_sample. But according to 'man 4 ath' nothing else besides ath_rate_sample exists anymore. Cheers, Stef