From owner-freebsd-wireless@freebsd.org Wed Nov 9 08:42:59 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11EECC35420 for ; Wed, 9 Nov 2016 08:42:59 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from mail-it0-x232.google.com (mail-it0-x232.google.com [IPv6:2607:f8b0:4001:c0b::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CDEEBB36 for ; Wed, 9 Nov 2016 08:42:58 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: by mail-it0-x232.google.com with SMTP id q124so146960489itd.1 for ; Wed, 09 Nov 2016 00:42:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1wlmynO0PYaMKUXPE9T3aDWDAB0N6MWEvKKyLP9mrDQ=; b=vY8y8pI+oVxj95xCYQBHyUgc5V42FTBupccDbeoDgWfGqY9FudzVTAFds4oDFbLDIu /kgg7SZMA/QnjAfuI6qV8z38pp6Fw7mCFzItSPveh0r78LiX1v8YcdoZXhxVBlfHFL6Z WA1l0LVQOFCt0Q091WjFp6Nw83LxNQsnZ1OHY76R2DJSn1C7VZ7hQg2fB4hFekvfTZ/s QVRwMTO5fwokRTk8e/Dw9McUCJrjgj0qfyGQHPQM0+BTL3lNZ6zFXclbTNRha+LHRubo gZ8M0jsgUIgHplB1sbwYl6fluB/9+pK2S1D8QCJUGBFH1YJZBf1QEh2JUNDMj5MuImdO GTDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=1wlmynO0PYaMKUXPE9T3aDWDAB0N6MWEvKKyLP9mrDQ=; b=QYyPubFmRWYVzYf3P+1MZEge6wXsmBmNPcS5fQgp2M7vqRLWGSRkMteziw4IAdQ1yI cOg7WnWKpcjbKb7bQJrKm9SKmq0zh/2Ilx92KRjlJ//9xpppzNH17SoNNRpD1laIvDF+ TL6uh3Ljvj9JVw0k1JybgILi9x4amwNIwDaLmO3ZrmB3VmkgZsl2pxBQ1qsICO9YWimW dOqU3exVunhMm9aYS+IjbUY1LSBRvDD8CoTjarsc19HJonVoXverTW2Y0whhrw5RsjvI edaD0no3PEWCwm9vrFPAZ/Kvcn+rCDtplyfWLZpb8KqHT96fwrBNa3h30to+tehr0MDr +woA== X-Gm-Message-State: ABUngvdeQqrd69v84j5uCYuaVa0BPaqRnsarkduCcVta31kpOUh77wT1Wp2tD8IwQavJQvnuC/U1x8iGMOB8XA== X-Received: by 10.107.173.195 with SMTP id m64mr16610189ioo.188.1478680978224; Wed, 09 Nov 2016 00:42:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.87.67 with HTTP; Wed, 9 Nov 2016 00:42:57 -0800 (PST) In-Reply-To: References: From: Subbsd Date: Wed, 9 Nov 2016 11:42:57 +0300 Message-ID: Subject: Re: Wireless Intel 8260 driver for FreeBSD To: Adrian Chadd Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 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: Wed, 09 Nov 2016 08:42:59 -0000 On Wed, Nov 9, 2016 at 2:26 AM, Adrian Chadd wrote: > hey, that' s me! > > > -a > > :) > > > On 8 November 2016 at 13:49, Subbsd wrote: >> On Wed, Nov 9, 2016 at 12:44 AM, Adrian Chadd wrote: >>> Try loading iwm, not iwn. >>> >>> >>> then sysctl net.wlan.devices >>> >>> -a >>> >>> >>> On 8 November 2016 at 13:34, Subbsd 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@home.my.domain:/usr/obj/usr/src/sys/GENERIC amd64 >>>> >>>> >>>> % pciconf -vl | grep -B2 Wireless >>>> none5@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@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 metric 0 mtu 1500 >>>> options=4019b >>>> 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 >>>> media: Ethernet autoselect (100baseTX ) >>>> status: active >>>> lo0: flags=8049 metric 0 mtu 16384 >>>> options=600003 >>>> inet6 ::1 prefixlen 128 >>>> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 >>>> inet 127.0.0.1 netmask 0xff000000 >>>> nd6 options=21 >>>> groups: lo >>>> >>>> Thanks! >>>> >>>> On Wed, Nov 9, 2016 at 12:26 AM, Adrian Chadd 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 wrote: >>>>>> Hello, >>>>>> >>>>>> Does anyone know about the possibility of using Wireless 8260 ? >>>>>> I initially addressed this issue to freebsd@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@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@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: 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,