From owner-freebsd-current@FreeBSD.ORG Wed Jun 29 06:05:17 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E2E3106564A; Wed, 29 Jun 2011 06:05:17 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id C13578FC0C; Wed, 29 Jun 2011 06:05:16 +0000 (UTC) Received: by bwa20 with SMTP id 20so1089547bwa.13 for ; Tue, 28 Jun 2011 23:05:15 -0700 (PDT) Received: by 10.204.103.2 with SMTP id i2mr343512bko.7.1309327515406; Tue, 28 Jun 2011 23:05:15 -0700 (PDT) Received: from jessie.localnet (p5B2EC842.dip0.t-ipconnect.de [91.46.200.66]) by mx.google.com with ESMTPS id e6sm827898bka.11.2011.06.28.23.05.13 (version=SSLv3 cipher=OTHER); Tue, 28 Jun 2011 23:05:14 -0700 (PDT) Sender: Bernhard Schmidt From: Bernhard Schmidt To: freebsd-current@freebsd.org Date: Wed, 29 Jun 2011 08:03:36 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.32-32-generic; KDE/4.4.5; i686; ; ) References: <4E099EB2.7050902@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201106290803.36647.bschmidt@freebsd.org> Cc: Stefan Esser , Adrian Chadd Subject: Re: Panic in ieee80211 tx mgmt timeout X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bschmidt@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2011 06:05:17 -0000 On Wednesday, June 29, 2011 03:50:08 Adrian Chadd wrote: > This is kinda strange; that symbol doesn't exist in the net80211 or ath source. > > What the heck? > > > > adrian > > > > On 28 June 2011 17:28, Stefan Esser wrote: > > Hi, > > > > is this a known issue? > > > > My -CURRENT system (r223560M, amd64, 8GB, Atheros WLAN) panics after > > minutes to hours of uptime with the following message: > > > > Fatal trap 12: page fault while in kernel mode > > cpuid = 0; apic id = 0 > > fault virtual address = 0xffffff807f502000 > > fault code = supervisor data read, page not present > > ... > > processor eflags = interrupt enabled, resume, IOPL = 0 > > current process = 11 (swi4: clock) > > [ thread pid 11 tid 1000012 ] > > Stopped at ieee80211_tx_mgmt_timeout+0x1: movq (%rdi),%rdi > > > > db> bt > > Tracing pid 11 tid 100012 td 0xfffffe00032e0000 > > ieee80211_tx_mgmt_timeout() at ieee80211_tx_mgmt_timeout+0x1 > > intr_event_execute_handlers() at intr_event_execute_handlers+0x66 > > ithread_loop() at ithread_loop+0x96 > > fork_exit() at fork_exit+0x11d > > fork_trampoline() at fork_trampoline+0xe > > --- trap 0, rip = 0, rsp = 0xffffff8000288d00, rbp = 0 --- > > > > This panic message is manually transcribed, since the GPT-only > > partitioning prevents dumping of a kernel core. (Why, BTW?) > > I could add a swap partition on a MBR disk, if a core dump seems > > neccessary to diagnose the problem. I'm also willing to wait for that > > panic to occur again and to gather more debug output. > > > > > > Other information: The Atheros WLAN in this system is unused (not > > associated) but both ath0 and wlan0 were "UP" at the time of the panic. > > > > Initial testing shows the system to be stable with both wlan0 and ath0 > > set to "down" after boot. But still, the timeout should not panic the > > kernel, if WLAN is active but not fully configured (e.g. no SSID). > > > > Any ideas? It's name is ieee80211_tx_mgt_timeout used to track AUTH/ASSOC requests. Afaik there is even a similar PR about that. Adrian, you've got a AP set up to drop either a AUTH or ASSOC response frame? -- Bernhard