Monitor mode not working for iwi(4) on 7.X

Paul B Mahol onemda at gmail.com
Fri Oct 8 16:59:45 UTC 2010


On 10/8/10, Alexey Dokuchaev <danfe at freebsd.org> wrote:
> On Fri, Oct 08, 2010 at 03:20:08PM +0000, Paul B Mahol wrote:
>> On 10/8/10, Alexey Dokuchaev <danfe at 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.


More information about the freebsd-net mailing list