Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Oct 2010 16:04:22 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Paul B Mahol <onemda@gmail.com>
Cc:        Bernhard Schmidt <bschmidt@techwires.net>, net@freebsd.org
Subject:   Re: Monitor mode not working for iwi(4) on 7.X
Message-ID:  <20101008160422.GC81218@FreeBSD.org>
In-Reply-To: <AANLkTi=Tbromosm23qLoi2bKVCGB=AT6tX-90DNyB-Dv@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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).

> Try to reproduce it on CURRENT.

I wish I could.  I literally have no space on a hard drive to deploy
another FreeBSD installation.  :-(

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101008160422.GC81218>