Date: Fri, 8 Oct 2010 16:59:44 +0000 From: Paul B Mahol <onemda@gmail.com> To: Alexey Dokuchaev <danfe@freebsd.org> Cc: Bernhard Schmidt <bschmidt@techwires.net>, net@freebsd.org Subject: Re: Monitor mode not working for iwi(4) on 7.X Message-ID: <AANLkTikopXOR8aT1=T=Tz5D=Fb_OJh7wk-W2SsvhnMtO@mail.gmail.com> In-Reply-To: <20101008160422.GC81218@FreeBSD.org> References: <4763016D.7060100@janh.de> <20101006100335.GA26843@FreeBSD.org> <AANLkTimB4gRYYzO8UHAGHB9p0nEm5utvXTwWX%2Baypt5J@mail.gmail.com> <20101008131849.GA54860@FreeBSD.org> <AANLkTi=Tbromosm23qLoi2bKVCGB=AT6tX-90DNyB-Dv@mail.gmail.com> <20101008160422.GC81218@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/8/10, Alexey Dokuchaev <danfe@freebsd.org> wrote: > On Fri, Oct 08, 2010 at 03:20:08PM +0000, Paul B Mahol wrote: >> On 10/8/10, Alexey Dokuchaev <danfe@freebsd.org> wrote: >> > On Thu, Oct 07, 2010 at 08:43:37PM +0200, Bernhard Schmidt wrote: >> >> Try the attached patch, this is basically the code from stable/6 >> >> ported to head and stable/7. I did only some basic tests but monitor >> >> mode seems to work and it is still possible to use the card in STA >> >> mode. >> > >> > Unfortunately, I am getting instant panic when trying any of aircrack-ng >> > suite utilities ("ifconfig iwi0 scan/list scan" works though): >> > >> > Fatal trap 12: page fault while in kernel mode >> > processor eflags = interrupt enabled, resume, IOPL = 0 >> > current process = 35 (iwi0 taskq) >> > >> > Any suggestions? >> >> 7.X is buggy regarding taskqueue, I think (maybe it is net80211 bug >> and not iwi fault). > > That's a sad thing to hear about stable branch. > >> Does it panic with tcpdump too? > > Bernhard's tests indicate it's not. However, me doing "ifconfig iwi0 > mediaopt monitor" here resulted in immediate panic (did not catch the > core this time, but I'm positive it's the same as with aircrack-ng). > Looks like SMP issue. Let me look if it is something obvious.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikopXOR8aT1=T=Tz5D=Fb_OJh7wk-W2SsvhnMtO>