From owner-freebsd-wireless@FreeBSD.ORG Mon May 11 20:27:48 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CD0BFF34 for ; Mon, 11 May 2015 20:27:48 +0000 (UTC) Received: from heemeyer.club (heemeyer.club [IPv6:2001:19f0:6400:80a1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "heemeyer.club", Issuer "heemeyer.club" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AA55F1767 for ; Mon, 11 May 2015 20:27:48 +0000 (UTC) Received: from dchagin.static.corbina.net (dchagin.static.corbina.ru [78.107.232.239]) by heemeyer.club (8.15.1/8.15.1) with ESMTPS id t4BKRcMZ069826 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 11 May 2015 20:27:42 GMT (envelope-from dchagin@dchagin.static.corbina.net) X-Authentication-Warning: heemeyer.club: Host dchagin.static.corbina.ru [78.107.232.239] claimed to be dchagin.static.corbina.net Received: from dchagin.static.corbina.net (localhost [127.0.0.1]) by dchagin.static.corbina.net (8.15.1/8.15.1) with ESMTPS id t4BKRWfM001566 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 11 May 2015 23:27:32 +0300 (MSK) (envelope-from dchagin@dchagin.static.corbina.net) Received: (from dchagin@localhost) by dchagin.static.corbina.net (8.15.1/8.15.1/Submit) id t4BKRWj2001565; Mon, 11 May 2015 23:27:32 +0300 (MSK) (envelope-from dchagin) Date: Mon, 11 May 2015 23:27:32 +0300 From: Chagin Dmitry To: Rui Paulo Cc: freebsd-wireless@freebsd.org Subject: Re: Intel 3160/7260/7265 driver Message-ID: <20150511202732.GA1541@dchagin.static.corbina.net> References: <8423530.QNK4YV6xft@akita> <20150511113730.GA2918@dchagin.static.corbina.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150511113730.GA2918@dchagin.static.corbina.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 May 2015 20:27:48 -0000 On Mon, May 11, 2015 at 02:37:30PM +0300, Chagin Dmitry wrote: > On Sun, May 10, 2015 at 09:48:51AM -0700, Rui Paulo wrote: > > Hi, > > > > I've ported the OpenBSD iwm driver and it's sort of working now: > > > > https://github.com/rpaulo/iwm > > > > Some issues: > > - scanning is sort of broken now, so you must set the channel with ifconfig > > - ultra debugging mode is activated, so expect a lot of logs. > > > > This still needs quite a bit of work before it can be part of FreeBSD, but > > this email is being sent over iwm. :-) > > > > I only have a 7265, so I'd like people with 3160 or 7260 to try it out. > > > 7260 here: > > iwm0@pci0:4:0:0: class=0x028000 card=0xc2628086 chip=0x08b28086 rev=0x6b hdr=0x00 > vendor = 'Intel Corporation' > class = network > > dchagin@dchagin:~ % uname -a > FreeBSD dchagin.static.corbina.net 11.0-CURRENT FreeBSD 11.0-CURRENT #54 r282747+dac2479(lemul): Mon May 11 14:15:37 MSK 2015 > root@dchagin.static.corbina.net:/home/rootobj/home/git/head/sys/YOY amd64 > dchagin@dchagin:~ % > > works, thank you!! > got a panic: #13 0xffffffff8075ddc0 in panic (fmt=0xffffffff80ded781 "sleeping thread") at /home/git/head/sys/kern/kern_shutdown.c:675 #14 0xffffffff807eb109 in propagate_priority (td=0xfffff8017a084000) at /home/git/head/sys/kern/subr_turnstile.c:226 #15 0xffffffff807ec7c8 in turnstile_wait (ts=0xfffff80009eca240, owner=0xfffff8017a084000, queue=0x0) at /home/git/head/sys/kern/subr_turnstile.c:742 #16 0xffffffff80736451 in __mtx_lock_sleep (c=0xfffffe00034e0030, tid=0xfffff80009ec34d0, opts=0x0, file=0xffffffff80e07320 "/home/git/head/sys/net80211/ieee80211_ioctl.c", line=0x94e) at /home/git/head/sys/kern/kern_mutex.c:514 #17 0xffffffff80735992 in __mtx_lock_flags (c=0xfffffe00034e0030, opts=0x0, file=0xffffffff80e07320 "/home/git/head/sys/net80211/ieee80211_ioctl.c", line=0x94e) at /home/git/head/sys/kern/kern_mutex.c:222 #18 0xffffffff80950748 in ieee80211_ioctl_setappie (vap=0xfffff8017a36b000, ireq=0xfffffe033bfcd7e8) at /home/git/head/sys/net80211/ieee80211_ioctl.c:2382 #19 0xffffffff8094e19d in ieee80211_ioctl_set80211 (vap=0xfffff8017a36b000, cmd=0x802069ea, ireq=0xfffffe033bfcd7e8) at /home/git/head/sys/net80211/ieee80211_ioctl.c:3193 #20 0xffffffff8094b074 in ieee80211_ioctl (ifp=0xfffff80010efe000, cmd=0x802069ea, data=0xfffffe033bfcd7e8 "wlan0") at /home/git/head/sys/net80211/ieee80211_ioctl.c:3383 #21 0xffffffff809ef48c in in_control (so=0xfffff80010290ba0, cmd=0x802069ea, data=0xfffffe033bfcd7e8 "wlan0", ifp=0xfffff80010efe000, td=0xfffff80009ec34d0) at /home/git/head/sys/netinet/in.c:261 #22 0xffffffff808dca1e in ifioctl (so=0xfffff80010290ba0, cmd=0x802069ea, data=0xfffffe033bfcd7e8 "wlan0", td=0xfffff80009ec34d0) at /home/git/head/sys/net/if.c:2761 #23 0xffffffff8080fe74 in soo_ioctl (fp=0xfffff80009eff410, cmd=0x802069ea, data=0xfffffe033bfcd7e8, active_cred=0xfffff8017a01ce00, td=0xfffff80009ec34d0) at /home/git/head/sys/kern/sys_sock #24 0xffffffff8080281c in fo_ioctl (fp=0xfffff80009eff410, com=0x802069ea, data=0xfffffe033bfcd7e8, active_cred=0xfffff8017a01ce00, td=0xfffff80009ec34d0) at file.h:321 #25 0xffffffff808026a6 in kern_ioctl (td=0xfffff80009ec34d0, fd=0x3, com=0x802069ea, data=0xfffffe033bfcd7e8 "wlan0") at /home/git/head/sys/kern/sys_generic.c:813 #26 0xffffffff80802269 in sys_ioctl (td=0xfffff80009ec34d0, uap=0xfffffe033bfcda58) at /home/git/head/sys/kern/sys_generic.c:722 #27 0xffffffff80ca135a in syscallenter (td=0xfffff80009ec34d0, sa=0xfffffe033bfcda48) at subr_syscall.c:133 #28 0xffffffff80ca0c1a in amd64_syscall (td=0xfffff80009ec34d0, traced=0x0) at /home/git/head/sys/amd64/amd64/trap.c:984 #29 0xffffffff80c77adb in Xfast_syscall () at /home/git/head/sys/amd64/amd64/exception.S:395 #30 0x00000008014d238a in ?? () (kgdb) -- Have fun! chd