Subject: Re: 80211 network kernel panics on "mediaopt hostap"?
To: David Young <>
From: Kurt Schreiner <>
List: current-users
Date: 05/05/2004 11:47:54
On Tue, May 04, 2004 at 01:47:08PM -0500, David Young wrote:
> On Tue, May 04, 2004 at 08:55:45AM -0500, Peter Seebach wrote:
> > In recent builds (-current as of yesterday), I get a kernel panic if I try
> > to put a wi0 into hostap mode, the kernel panic happening somewhere in the
> > new 80211 code.  I haven't isolated it at all, and I didn't take notes, but...
> > Anyone else?

Not the same, but similar: just setting address and netmask with

ifconfig wi0 inet netmask 0xffffff00 broadcast

gives: (handcopied from the display of my notebook...)

kernel: page fault trap, code 0
Stopped in pid 1245.1 (ifconfig) at netbsd:wi_init+0xe: movl 0xd10(%esi), %ebx
db> bt
wi_init(c1b07000,0,0,cbcba4d0,cc9af808) at netbsd:wi_init+0xe
ieee80211_ioctl(c1b07034,8020690c,c371a700,0,0) at netbsd:ieee80211_ioctl+0x51d
wi_ioctl(c1b07034,8020690c,c371a700,c1abf000,c1b0ebb8) at netbsd:wi_ioctl+0x79
in_ifinit(c1b07034,c371a700,ccbf1eb4,0,cc8) at netbsd:in_ifinit+0x256
in_control(c36d3c8c,8040691a,ccbf1ea4,c1b07034,cc9af808) at netbsd:in_control+0x459
ifioctl(c36d3c8c,8040691a,ccbf1ea4,cc9af808,0) at netbsd:ifioctl+0x150
sys_ioctl(cd0b53a4,ccbf1f64,ccbf1f5c,0,c1aa9000) at netbsd:sys_ioctl+0x122
syscall_plain() at netbsd:syscall_plain+0x7e
--- syscall (number 54) ---

And thats it! No "reboot" or "sync" helps to get the machine back, had to use
the power button...

> I will take a look at it tonight.
Hope the bt output is of some help... I can provide kernel w/ debug symbols if needed.