From owner-freebsd-wireless@FreeBSD.ORG Wed Sep 7 14:55:57 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EFF31065672; Wed, 7 Sep 2011 14:55:57 +0000 (UTC) (envelope-from emaste@freebsd.org) Received: from mail1.sandvine.com (Mail1.sandvine.com [64.7.137.134]) by mx1.freebsd.org (Postfix) with ESMTP id CD3218FC14; Wed, 7 Sep 2011 14:55:56 +0000 (UTC) Received: from labgw2.phaedrus.sandvine.com (192.168.222.22) by WTL-EXCH-1.sandvine.com (192.168.196.31) with Microsoft SMTP Server id 14.0.694.0; Wed, 7 Sep 2011 10:45:09 -0400 Received: by labgw2.phaedrus.sandvine.com (Postfix, from userid 10332) id 51B1D33C02; Wed, 7 Sep 2011 10:45:09 -0400 (EDT) Date: Wed, 7 Sep 2011 10:45:09 -0400 From: Ed Maste To: Joel Dahl Message-ID: <20110907144509.GA93951@sandvine.com> References: <09C13664-4FC0-41F3-8849-CE875B3A6CC0@vnode.se> <20110905062453.GM52426@goofy03.vnode.local> <20110906204242.GP52426@goofy03.vnode.local> <20110907105325.GQ52426@goofy03.vnode.local> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20110907105325.GQ52426@goofy03.vnode.local> User-Agent: Mutt/1.4.2.1i Cc: freebsd-wireless@freebsd.org, Bernhard Schmidt Subject: Re: BETA2 panic X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2011 14:55:57 -0000 On Wed, Sep 07, 2011 at 12:53:25PM +0200, Joel Dahl wrote: > > Can you try to comment out the call to ieee80211_beacon_miss() on line > > 2936 in if_iwn.c? If the panic no longer happens the issue is > > somewhere in the conditions before that call. > > Hm, this is with bwn(4), not iwn(4). :) For what it's worth, I've seen the same panic on occasion with a rum(4) adapter. Currently running r225223 + some minor local changes. Console log: wlan0: link state changed to DOWN panic: wrong state 1 cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper(c0f2d577,4,c0f2b58b,8cd,0,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c0f78b11,0,c0f48baf,c5611be4,0,...) at kdb_backtrace+0x2a panic(c0f48baf,1,49e5a776,4ae2b5f2,c0b2e830,...) at panic+0x117 ieee80211_swbmiss(c65f2000,0,c0f2aafa,216,c5611c24,...) at ieee80211_swbmiss+0x28 softclock(c10e5440,c10f2080,4,c0f27640,c598aa38,...) at softclock+0x29b intr_event_execute_handlers(c59bc588,c598aa00,c0f23ac4,55e,c59be5c0,...) at intr_event_execute_handlers+0x125 ithread_loop(c5a027f0,c5611d28,c0f23730,3f9,c59bc588,...) at ithread_loop+0xa9 fork_exit(c09fc930,c5a027f0,c5611d28) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc5611d60, ebp = 0 ---