From owner-freebsd-current@FreeBSD.ORG Wed Jan 28 18:06:02 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B16D1065675 for ; Wed, 28 Jan 2009 18:06:02 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 10B508FC17 for ; Wed, 28 Jan 2009 18:06:02 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n0SI60BW031346 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 28 Jan 2009 10:06:00 -0800 (PST) (envelope-from sam@freebsd.org) Message-ID: <49809E88.9060201@freebsd.org> Date: Wed, 28 Jan 2009 10:06:00 -0800 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: David Wolfskill , current@freebsd.org References: <20090128175231.GR90849@albert.catwhisker.org> In-Reply-To: <20090128175231.GR90849@albert.catwhisker.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-Rhyolite-Metrics: ebb.errno.com; whitelist Cc: Subject: Re: Panic from wpa_supplicant in uma_large_free() 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, 28 Jan 2009 18:06:03 -0000 David Wolfskill wrote: > After updating HEAD to around r187816 (I'm still using CVS), I get the > following on my laptop (which makes an attempt to use wpa_supplicant): > > <118>/dev/ad0s4e: FILE SYSTEM CLEAN; SKIPPING CHECKS > <118>/dev/ad0s4e: clean, 836915 free (2867 frags, 104256 blocks, 0.3% fragmentation) > wlan0: bpf attached > wlan0: Ethernet address: 00:05:3c:09:86:46 > wlan0: bpf attached > <118>Starting wpa_supplicant. > <118>ioctl[SIOCG80211, op 98, len 32]: Bad address > <118>/etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant > <118>Starting Network: lo0. > <118>ifconfig: > <118>create: bad value > <118> > <118>Starting wpa_supplicant. > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0xbfdb9858 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc0a507f5 > stack pointer = 0x28:0xc4b60a60 > frame pointer = 0x28:0xc4b60a70 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 863 (wpa_supplicant) > > db> bt > Tracing pid 863 tid 100055 td 0xc520a480 > uma_large_free(c5334e20,c0b14908,20,e,c5334dc0,...) at uma_large_free+0x35 > free(c5334dc0,c0ca6660,c0,c5334dd0,c5334de0,...) at free+0xdb > ieee80211_ioctl_getdevcaps(c4b60ae8,c0805bbc,c4e75a9c,1,c4d20340,...) at ieee80211_ioctl_getdevcaps+0xda > ieee80211_ioctl_get80211(c0bca91c,c0bb5139,3,c520a480,c4b60b68,...) at ieee80211_ioctl_get80211+0x930 > ieee80211_ioctl(c51a8c00,c01c69eb,c5334de0,c0e6b644,c51a8c00,...) at ieee80211_ioctl+0x2b7 > in_control(c532b930,c01c69eb,c5334de0,c51a8c00,c520a480,...) at in_control+0xe0a > ifioctl(c532b930,c01c69eb,c5334de0,c520a480,c01c69eb,...) at ifioctl+0x322 > soo_ioctl(c51fe700,c01c69eb,c5334de0,c4d3c900,c520a480,...) at soo_ioctl+0x397 > kern_ioctl(c520a480,3,c01c69eb,c5334de0,184d9e0,...) at kern_ioctl+0x1dd > ioctl(c520a480,c4b60cf8,c,c0b8dabb,c0ca1db0,...) at ioctl+0x134 > syscall(c4b60d38) at syscall+0x2a3 > Xint0x80_syscall() at Xint0x80_syscall+0x20 > --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x28372c23, esp = 0xbfbfec9c, ebp = 0xbfbfece8 --- > db> > > Actually this is my bad. It's the changes to getdevcaps. Let me look at it. Sam