Intel 3160/7260/7265 driver

Chagin Dmitry dchagin at freebsd.org
Mon May 11 20:27:48 UTC 2015


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 at pci0:4:0:0:        class=0x028000 card=0xc2628086 chip=0x08b28086 rev=0x6b hdr=0x00
>     vendor     = 'Intel Corporation'
>     class      = network
> 
> dchagin at 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 at dchagin.static.corbina.net:/home/rootobj/home/git/head/sys/YOY  amd64
> dchagin at 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


More information about the freebsd-wireless mailing list