From owner-freebsd-current@FreeBSD.ORG Thu Dec 16 08:06:04 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BDE816A4CE for ; Thu, 16 Dec 2004 08:06:04 +0000 (GMT) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.150.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97BE343D45 for ; Thu, 16 Dec 2004 08:06:03 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 44BB44EFD45; Thu, 16 Dec 2004 16:06:01 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 42D3E4EFD18 for ; Thu, 16 Dec 2004 16:06:01 +0800 (CST) Date: Thu, 16 Dec 2004 16:06:01 +0800 (CST) From: Tai-hwa Liang To: current@freebsd.org Message-ID: <0412161600456.50987@www.mmlab.cse.yzu.edu.tw> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: [net80211] if_wi crashed in adhoc mode X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 16 Dec 2004 08:06:04 -0000 Thinkpad R40, builtin Prism2.5 WLAN mini PCI module. -CURRENT cvsup'ed on Dec-14-2004. SCHED_4BSD, without PREEMPTION. The crash never happened before recent net80211 update. Steps to reproduce: ifconfig wi0 10.0.0.1 ssid ibsstest channel 3 mediaopt adhoc up # # if the kernel does not panic, proceed with following steps # wicontrol -L # disaply IBSS information, join the IBSS ping 10.0.0.3 # send something to the IBSS creator # # the kernel should panic after a couple of sendings # Fatal trap 12: page fault while in kernel mode fault virtual address = 0x20 fault code = supervisor write, page not present instruction pointer = 0x8:0xc04c9a22 stack pointer = 0x10:0xcba8cc18 . . . [thread pid 21 tid 100018 ] Stopped at _mtx_lock_flags+0x12: cmpxchgl %edx,0x1c(%ecx) db> where Tracing pid 21 tid 100018 td 0xc10fec00 _mtx_lock_flags(4,0,c0743a71,42b,c13e0430) at _mtx_lock_flags+0x12 ieee80211_find_rxnode(c120b24,c13e0430,c120b254,8001,c1102d80) at ieee80211_find_rxnode+0x43 wi_intr(c120b000,c10fec00,0,0,c1101dc8) at wi_intr+0xdae ithread_loop fork_exit fork_trampoline db> show reg cs 0x8 ds 0x10 es 0xc05e0010 atpic_disable_source+0xb8 fs 0xcba80018 ss 0x10 eax 0xf ecx 0x4 edx 0xc10fec00 ebx 0 esp 0xcba8cc18 ebp 0xcba8cc18 esi 0x4 edi 0xc13e0430 eip 0xc04c9a22 _mtx_lock_flags+0x12 efl 0x10246 dr0 0 dr1 0 dr2 0 dr3 0 dr4 0xffff0ff0 dr5 0x400 dr6 0xffff0ff0 dr7 0x400