From owner-freebsd-net@FreeBSD.ORG Fri Oct 8 16:04:22 2010 Return-Path: Delivered-To: net@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 2F82F106566C; Fri, 8 Oct 2010 16:04:22 +0000 (UTC) Date: Fri, 8 Oct 2010 16:04:22 +0000 From: Alexey Dokuchaev To: Paul B Mahol Message-ID: <20101008160422.GC81218@FreeBSD.org> References: <4763016D.7060100@janh.de> <20101006100335.GA26843@FreeBSD.org> <20101008131849.GA54860@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: Bernhard Schmidt , net@freebsd.org Subject: Re: Monitor mode not working for iwi(4) on 7.X X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2010 16:04:22 -0000 On Fri, Oct 08, 2010 at 03:20:08PM +0000, Paul B Mahol wrote: > On 10/8/10, Alexey Dokuchaev 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