From owner-freebsd-current@FreeBSD.ORG Wed Aug 29 19:58:11 2007 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 EF11316A41B for ; Wed, 29 Aug 2007 19:58:11 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from heff.fud.org.nz (203-109-251-39.static.bliink.ihug.co.nz [203.109.251.39]) by mx1.freebsd.org (Postfix) with ESMTP id 90F1913C461 for ; Wed, 29 Aug 2007 19:58:11 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: by heff.fud.org.nz (Postfix, from userid 1001) id 6151E1CC58; Thu, 30 Aug 2007 07:58:09 +1200 (NZST) Date: Thu, 30 Aug 2007 07:58:09 +1200 From: Andrew Thompson To: haro@kgt.co.jp Message-ID: <20070829195809.GE43049@heff.fud.org.nz> References: <20070830.043519.109271629.haro@kgt.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070830.043519.109271629.haro@kgt.co.jp> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-current@freebsd.org Subject: Re: Panic with iwi X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 Aug 2007 19:58:12 -0000 On Thu, Aug 30, 2007 at 04:35:19AM +0900, haro@kgt.co.jp wrote: > Hi all, > > I'm currently on travel and staying at Parc 55 Hotel in San Francisco. ;-) > Anyway, whenevere I try to connect hotel's wifi network, I get the following > panic with iwi, rev 1.55. > Back traces where hand written down, so expcect typo. > > Panic: mutex iwi0 not owned at /usr/src/sys/modules/iwi/../../dev/iwi/if_iwi.c:960 > > panic(..) > _mtx_assert(c368f400,1,c0996e4a,3c0,c07aa498,...) at _mtx_assert+0x8d > iwi_newstate(c368e004,2,c0,c3a82122,0,...) at iwi_newstate+0x40 > ieee80211_sta_join1(c3a820000,c3a5,bb2e,c3a5bb3f,1) at ieee80211_sta_join1+0x1a9 > ieee80211_sta_join(c368e004,c3a5bb00,c07e5c76,434,0,c086594000,c367e004,c396a600,e295d54,c391ee00) at ieee80211_sta_join+0x1d4 > sta_age(c3655800,db312c84,c0645227,c368e004,db312c68,...) at sta_age+0x3ca > ieee80211_scan_timeout(c368e004,db312c68,80246,c0863ee4,db312c84,...) at ieee80211_scan_timeout+0x1c > ieee80211_node_timeout(c368e004,0,c07d6354,ef,0,...) at ieee80211_node_timeout+0x17 > softclock(0,0,c07d1d8a,471,c356e064,...) at softclock+0x299 > ithread_loop(c35704e0,db312d38,c07d1b08,315,c3571559,..) at ithread_loop+0xb5 > fork_exit(c056de20, c35704e0, db312d38) at fork_exit+0xb8 > fork_trampline() at fork_trampline+0x8 > --- trap 0, eip = 0, esp = 0xdb312d70, ebp = 0 --- The IWI_LOCK_ASSERT() on line 960 is unnecessary and should be removed. Andrew