Wireless Intel 8260 driver for FreeBSD

Subbsd subbsd at gmail.com
Wed Nov 9 08:42:59 UTC 2016


On Wed, Nov 9, 2016 at 2:26 AM, Adrian Chadd <adrian.chadd at gmail.com> wrote:
> hey, that' s me!
>
>
> -a
>
> :)
>
>
> On 8 November 2016 at 13:49, Subbsd <subbsd at gmail.com> wrote:
>> On Wed, Nov 9, 2016 at 12:44 AM, Adrian Chadd <adrian.chadd at gmail.com> wrote:
>>> Try loading iwm, not iwn.
>>>
>>>
>>> then sysctl net.wlan.devices
>>>
>>> -a
>>>
>>>
>>> On 8 November 2016 at 13:34, Subbsd <subbsd at gmail.com> wrote:
>>>> Hello Adrian,
>>>>
>>>> I've use FreeBSD 12 from
>>>> https://github.com/FreeBSDDesktop/freebsd-base-graphics.git (
>>>> drm-next-4.7 branch on latest commits ) because only with this code
>>>> works (with regular panic ;-) my graphics card. May be i miss
>>>> something here? :
>>>>
>>>> % FreeBSD home.my.domain 12.0-CURRENT FreeBSD 12.0-CURRENT #0
>>>> f16dfbd(drm-next-4.7)-dirty: Mon Nov  7 15:03:35 MSK 2016
>>>> root at home.my.domain:/usr/obj/usr/src/sys/GENERIC  amd64
>>>>
>>>>
>>>> % pciconf -vl | grep -B2 Wireless
>>>> none5 at pci0:1:0:0:       class=0x028000 card=0x90108086 chip=0x24f38086
>>>> rev=0x3a hdr=0x00
>>>>     vendor     = 'Intel Corporation'
>>>>     device     = 'Wireless 8260'
>>>>
>>>> % kldload iwn
>>>> kldload: can't load iwn: module already loaded or in kernel
>>>>
>>>>
>>>> % pciconf -vl | grep -B2 Wireless
>>>> none5 at pci0:1:0:0:       class=0x028000 card=0x90108086 chip=0x24f38086
>>>> rev=0x3a hdr=0x00
>>>>     vendor     = 'Intel Corporation'
>>>>     device     = 'Wireless 8260'
>>>>
>>>> %  ifconfig -a
>>>> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>>>         options=4019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLAN_HWTSO>
>>>>         ether b8:ae:ed:ea:46:99
>>>>         inet6 fe80::baae:edff:feea:4699%em0 prefixlen 64 scopeid 0x1
>>>>         inet 192.168.2.117 netmask 0xffffff00 broadcast 192.168.2.255
>>>>         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
>>>>         media: Ethernet autoselect (100baseTX <full-duplex>)
>>>>         status: active
>>>> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>>>>         options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
>>>>         inet6 ::1 prefixlen 128
>>>>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
>>>>         inet 127.0.0.1 netmask 0xff000000
>>>>         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
>>>>         groups: lo
>>>>
>>>> Thanks!
>>>>
>>>> On Wed, Nov 9, 2016 at 12:26 AM, Adrian Chadd <adrian.chadd at gmail.com> wrote:
>>>>> Hiya,
>>>>>
>>>>> Have you tried freebsd-11 or -head?
>>>>>
>>>>> The eventual aim is to get 7260 and 8xxx series support into
>>>>> freebsd-head and freebsd-11 in the 'iwm' driver.
>>>>>
>>>>>
>>>>> -a
>>>>>
>>>>>
>>>>> On 8 November 2016 at 13:20, Subbsd <subbsd at gmail.com> wrote:
>>>>>> Hello,
>>>>>>
>>>>>> Does anyone know about the possibility of using Wireless 8260 ?
>>>>>> I initially addressed this issue to freebsd at intel.com, but it seems no
>>>>>> one is home. It is difficult to assume that such a huge and rich
>>>>>> company like Intel@ can not keep at least one FreeBSD driver developer
>>>>>> and all the work is done by community (after spending the money to
>>>>>> purchase equipment ;-)
>>>>>>
>>>>>>
>>>>>> ---------- Forwarded message ----------
>>>>>> Date: Sun, Nov 6, 2016 at 8:40 PM
>>>>>> Subject: Wireless 8260 driver for FreeBSD
>>>>>> To: freebsd at intel.com
>>>>>>
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I've  buy http://www.intel.com/content/www/us/en/nuc/nuc-kit-nuc6i5syk.html
>>>>>> harware and wish to use this as development desktop platform on my
>>>>>> office with FreeBSD OS (at the moment i setup FreeBSD 12-CURRENT
>>>>>> snapshot).
>>>>>>
>>>>>> With a big community/developers help via FreeBSD maillist I was able
>>>>>> successfull to make of the graphics subsystem ( DRM 4.7 from
>>>>>> dev-branch: https://github.com/FreeBSDDesktop/freebsd-base-graphics/wiki
>>>>>> )
>>>>>>
>>>>>> Looks like all other hardware compatible with FreeBSD 12 except
>>>>>> wirelless devices. I can find any information about Wireless 8260 and
>>>>>> FreeBSD.
>>>>>>
>>>>>> On Intel.com site, i see official FreeBSD ethernet drivers ( em ), but
>>>>>> can't find any drivers for wireless. Some people indicated to iwn
>>>>>> driver:
>>>>>>
>>>>>> https://www.freebsd.org/cgi/man.cgi?query=iwn&apropos=0&sektion=4&manpath=FreeBSD+12-current&arch=default&format=html
>>>>>>
>>>>>> But it not works for me.
>>>>>>
>>>>>> My pciconf -vl output from FreeBSD NUC 6i5syk:
>>>>>>
>>>>>>
>>>>>> none5 at pci0:1:0:0:       class=0x028000 card=0x90108086 chip=0x24f38086
>>>>>> rev=0x3a hdr=0x00
>>>>>>     vendor     = 'Intel Corporation'
>>>>>>     device     = 'Wireless 8260'
>>>>>>     class      = network
>>>>>>
>>>>>>
>>>>>> Where I can find the driver if it exists? Or is there some kind of
>>>>>> timeline when you plan to upgrade iwn for 8260 ?
>>>>>>
>>>>>> Thx!
>>
>>
>> Ahh, sorry, my bad.
>>
>> With if_iwm all much better:
>>
>> iwm0: <Intel Dual Band Wireless AC 8260> mem 0xdf000000-0xdf001fff irq
>> 16 at device 0.0 on pci1
>> iwm0: hw rev 0x200, fw ver 16.242414.0, address 00:c2:c6:b7:6f:88
>>
>> % sysctl  sysctl net.wlan.devices
>> net.wlan.devices: iwm0
>>
>> Thank you, Adrian! ( and shame to Intel dev anyway ;-)


Wow;) Double thanks.

But the way. If module loaded via loader.conf ( if_iwm_load=YES) ,
this leads to panic. May be missed some dependencies on this stage?
--
iwm0: iwm_start_fw: failed 35
iwm0: failed to load init firmware

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x64
fault code = supervisor read data, page not present
instruction pointer = 0x20:0xffffffff80ab7f75
stack pointer = 0x20:0xffffffff824ee930
frame pointer = 0x20:0xffffffff824ee930
code segment = base 0x0, limit 0xfffff, type 0x1b
                      = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 0 (swapper)
[ thread pid 0 tid 100000 ]
Stopped at taskqueue_drain+0x16: cmpl $0, 0x64(%r14)
--


If i load module by hand in multi-user mode, this also loads
iwm8000Cfw.ko module

unfortunately keyboard not working for any command. And no any coredumps,


More information about the freebsd-wireless mailing list