From owner-freebsd-wireless@freebsd.org Sun Jun 19 15:20:48 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 98159A79181 for ; Sun, 19 Jun 2016 15:20:48 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 101E21C04 for ; Sun, 19 Jun 2016 15:20:47 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 461ef424 for ; Sun, 19 Jun 2016 17:20:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=mail; bh=6uYO0qaGPdAZhqiF0133sDpPO LQ=; b=eclDi1nTI+Rc05JLFxfgoWsRkwz9APJhD1LRUeSRF6qD+WppnErhXXVCq 92BoZWH66KNT7j4iETUwFdYci2jIZgS81mYq9I505SyGEeSt8nqduLP7qbJXXWVp nkLHHUJ4aRFq/qmcyxYVgXqNo0obOP2DMy4We93CEgfGpFW4kA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=mail; b=Grv1tlon02Gk6LIZ2ap +yFMigZeRIcj3z/YNUu9gGL8QBmi2uKQ9NHd2v5vnpaFrEkdgGeHg8A4BpmDAfP/ M7G4uornAGjJB6EbnULGbR6dF9yPCzujkRIsKkoiahikJh1ZBZEtn74IXHrgb3ll q+mH2ABj2tYfXUIrH8U/BCGs= Received: from knuckles.blih.net (ip-54.net-82-216-203.roubaix.rev.numericable.fr [82.216.203.54]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 7b0a4c35 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO for ; Sun, 19 Jun 2016 17:20:38 +0200 (CEST) Date: Sun, 19 Jun 2016 17:20:35 +0200 From: Emmanuel Vadot To: freebsd-wireless@freebsd.org Subject: [CFT] iwm driver synced with DragonflyBSD Message-Id: <20160619172035.020eacde012a13c0c5f9b90d@bidouilliste.com> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Sun, 19 Jun 2016 15:20:48 -0000 Hello all, I've sync our driver with the DragonflyBSD one. I'm currently happilly running it on three on my laptops : - HP 840 G1 (iwm 7260) - HP 840 G2 (iwm 7265) - HP 840 G3 (iwm 8000C) Just so you know : 1) I know nothing about wireless 2) This was only done in one day 3) I started the day sober, I finished it drunk 4) There is still locking problem at fw load and scan (probably because of 1, 2 and 3) 5) I do NOT plan to commit this for 11.0 6) I DO plan to commit this for 12 once code freeze is finished (and when the last problems would be corrected) 7) I will eventually commit this for 11.1 I you want to test it (especially if you have the 3160 serie) all the code is in my github branch : https://github.com/evadot/freebsd/tree/iwm Just recompile the modules from sys/modules/{iwm,iwmfw}. You need the last firmware (version 16.XXX) for the driver to work. The main news is that the serie 8000 is supported (found in skylake laptop) and that the led works (not on the 8000 serie thought). Knowing nothing about wireless I do not plan to maintain this driver but I'll try keep it synced with DragonflyBSD/OpenBSD (so yeah I think that this is maintening ...) Please let me know (here would be better) if you have any problem (or not) with this update. Cheers, -- Emmanuel Vadot From owner-freebsd-wireless@freebsd.org Mon Jun 20 10:02:28 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 C6EEEA79DE6 for ; Mon, 20 Jun 2016 10:02:28 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (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 531662A31 for ; Mon, 20 Jun 2016 10:02:28 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id v199so62125976wmv.0 for ; Mon, 20 Jun 2016 03:02:28 -0700 (PDT) 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=lwxc9nDWfIUFVxpwthj56ZlmlQSfNRKApBKa6g+HSQM=; b=cb09vr64zUewaWQLX3WZi29mgrQ+dRFRAAxkA81Ri8NbYU23klHEG1Pk2Abg+vP4XN M8Je6iHTHhrlZJbp5OJjQZ9hLAXMKBYLt4KBCNbKR6bF33CeNwqsNzLW/9q+4mqx5rN0 LJQyKE3x7yxiw25c5KFG/9n3dNdogozMe9rJYlnsNhJLguX0Mt3IJycRkq+ayNQ0WfC4 9pdvB7dCKhmCBMHYFWsTzaS8xeXZC6wnSXtEx4dn2gNUnSJUhc+HiIiy/oyZv+KER6L0 fuelc7lF9KPffLzay65a8rOpLWXxSPCWu2h470WIw8MdpEHdOjL2yVtrqy3Z0A/oQNX7 mLJA== 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=lwxc9nDWfIUFVxpwthj56ZlmlQSfNRKApBKa6g+HSQM=; b=CRxoxej57LmR4z0IRe+dOlQXBcCLy/auOjfwunVNPvAHvWBalqGvvrP6LSOezkjz9v DDnhHa1N0k+Q2gxBZHriBeof0rdpaB4mTnsadyaBrGUxwyTzl69agw6bwXG+e/WdHbPF HLSciZ/GjFUoLztQwfCg1z93vwyRrXv4eBZFcrsS0LPZh1bi4PArRoNK55xYM3p2PsUj +YNAF1B2xDRm+jJv/SkPAR2CerimTK/GhD3IRpCRnCXVJKDLaMn1zeZkHW+u4yUgwM4G kDqJTfpL18GbY6LIIh3dCbs1BUOwbNVo+8JjiAYFWxMC3BcTBIeJKXJ8B5bVSWzsFEvW Nlkg== X-Gm-Message-State: ALyK8tIaMoZp+nqJyLkOrn7PpOa3vV0NUCjFYCKCVb7SWforfAEDDMk7ebr3MlnHf4lQhKPmpsvnyLMj1xrNgQ== X-Received: by 10.194.79.198 with SMTP id l6mr13474049wjx.27.1466416946861; Mon, 20 Jun 2016 03:02:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.116.193 with HTTP; Mon, 20 Jun 2016 03:02:26 -0700 (PDT) In-Reply-To: <20160619172035.020eacde012a13c0c5f9b90d@bidouilliste.com> References: <20160619172035.020eacde012a13c0c5f9b90d@bidouilliste.com> From: Ben Woods Date: Mon, 20 Jun 2016 12:02:26 +0200 Message-ID: Subject: Re: [CFT] iwm driver synced with DragonflyBSD To: Emmanuel Vadot Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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, 20 Jun 2016 10:02:28 -0000 On 19 June 2016 at 17:20, Emmanuel Vadot wrote: > > Hello all, > > I've sync our driver with the DragonflyBSD one. > I'm currently happilly running it on three on my laptops : > - HP 840 G1 (iwm 7260) > - HP 840 G2 (iwm 7265) > - HP 840 G3 (iwm 8000C) > > Just so you know : > 1) I know nothing about wireless > 2) This was only done in one day > 3) I started the day sober, I finished it drunk > 4) There is still locking problem at fw load and scan (probably > because of 1, 2 and 3) > 5) I do NOT plan to commit this for 11.0 > 6) I DO plan to commit this for 12 once code freeze is finished (and > when the last problems would be corrected) > 7) I will eventually commit this for 11.1 > > I you want to test it (especially if you have the 3160 serie) all the > code is in my github branch : https://github.com/evadot/freebsd/tree/iwm > Just recompile the modules from sys/modules/{iwm,iwmfw}. > You need the last firmware (version 16.XXX) for the driver to work. > > The main news is that the serie 8000 is supported (found in skylake > laptop) and that the led works (not on the 8000 serie thought). > > Knowing nothing about wireless I do not plan to maintain this driver > but I'll try keep it synced with DragonflyBSD/OpenBSD (so yeah I think > that this is maintening ...) > > Please let me know (here would be better) if you have any problem (or > not) with this update. > > Cheers, > > -- > Emmanuel Vadot > Hi Emmanuel, Thank you for your work on this. I have just tried building and installing this on FreeBSD 11-current r302020, and unfortunately it failed. To be clear, I took the following steps to perform my testing: - git clone -b iwm --single-branch https://github.com/evadot/freebsd.git - cd freebsd/sys/modules/iwm - make - sudo cp if_iwm.ko /boot/kernel/ - cd ../iwmfw - make - find . -name "*.ko*" -exec sudo cp {} /boot/kernel/ \; - reboot Upon reboot I got a kernel panic after it loaded the module. I took photos of my screen at the debug console, which you can find at the link below. If there is a way to get a better output for debugging, please let me know. http://imgur.com/a/TJ7i5 I am not sure what you meant when you said I need the latest firmware (16.XXX) for the driver to work. Regards, Ben From owner-freebsd-wireless@freebsd.org Mon Jun 20 11:22:29 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 6BCD9A7B73A for ; Mon, 20 Jun 2016 11:22:29 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D306C1EA8 for ; Mon, 20 Jun 2016 11:22:28 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 3b515e5b; Mon, 20 Jun 2016 13:22:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=cvNCCQyYwTM8iAGruh+70G2xBeg=; b=U79LfCIKJmnXMLlfm4rJU4Oi6jaI 3Dm1wVLb/xvLr0eUWdX0AhjGshkPl51qdy3T7jGPSwRTCuvpacD7euAHRNUK8+NB 0b9Y3N0fBgpIjLWG8zVQ3YDFAVaSxZ7cfRX2BTA2Pd1xiRioCeyF6pSThq/ogc67 +9F26/JIyYQO5pM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=FDdrpRS7z7ZO6t3rj1CADlsn5ntpRpxR+vFXQX8khG6WbBuwEUQUJunT 10TnO+ue2DjMYOjZaI4edijh/QtFYGwd6BGLvPL7A/Sl4LCG0wGBzD+0qFPsdUQg y4v2bmeySqijaM0q6B/oTKE3EtCDcU8BNgnOX/2v5UJ8Hu1LxoA= Received: from atlantis.staff.bocal.org (163.5.251.41 [163.5.251.41]) by mail.blih.net (OpenSMTPD) with ESMTPSA id f6060166 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 20 Jun 2016 13:22:25 +0200 (CEST) Date: Mon, 20 Jun 2016 13:22:24 +0200 From: Emmanuel Vadot To: Ben Woods Cc: "freebsd-wireless@freebsd.org" Subject: Re: [CFT] iwm driver synced with DragonflyBSD Message-Id: <20160620132224.0d52ff7a9bb9f64bc4a0ffe1@bidouilliste.com> In-Reply-To: References: <20160619172035.020eacde012a13c0c5f9b90d@bidouilliste.com> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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, 20 Jun 2016 11:22:29 -0000 On Mon, 20 Jun 2016 12:02:26 +0200 Ben Woods wrote: > On 19 June 2016 at 17:20, Emmanuel Vadot wrote: > > > > > Hello all, > > > > I've sync our driver with the DragonflyBSD one. > > I'm currently happilly running it on three on my laptops : > > - HP 840 G1 (iwm 7260) > > - HP 840 G2 (iwm 7265) > > - HP 840 G3 (iwm 8000C) > > > > Just so you know : > > 1) I know nothing about wireless > > 2) This was only done in one day > > 3) I started the day sober, I finished it drunk > > 4) There is still locking problem at fw load and scan (probably > > because of 1, 2 and 3) > > 5) I do NOT plan to commit this for 11.0 > > 6) I DO plan to commit this for 12 once code freeze is finished (and > > when the last problems would be corrected) > > 7) I will eventually commit this for 11.1 > > > > I you want to test it (especially if you have the 3160 serie) all the > > code is in my github branch : https://github.com/evadot/freebsd/tree/iwm > > Just recompile the modules from sys/modules/{iwm,iwmfw}. > > You need the last firmware (version 16.XXX) for the driver to work. > > > > The main news is that the serie 8000 is supported (found in skylake > > laptop) and that the led works (not on the 8000 serie thought). > > > > Knowing nothing about wireless I do not plan to maintain this driver > > but I'll try keep it synced with DragonflyBSD/OpenBSD (so yeah I think > > that this is maintening ...) > > > > Please let me know (here would be better) if you have any problem (or > > not) with this update. > > > > Cheers, > > > > -- > > Emmanuel Vadot > > > > Hi Emmanuel, > > Thank you for your work on this. Hello Ben, > I have just tried building and installing this on FreeBSD 11-current > r302020, and unfortunately it failed. Sorry to hear that, we'll try to find the problem. > To be clear, I took the following steps to perform my testing: > > - git clone -b iwm --single-branch https://github.com/evadot/freebsd.git > - cd freebsd/sys/modules/iwm > - make > - sudo cp if_iwm.ko /boot/kernel/ > - cd ../iwmfw > - make > - find . -name "*.ko*" -exec sudo cp {} /boot/kernel/ \; > - reboot That seems right. > Upon reboot I got a kernel panic after it loaded the module. I took photos > of my screen at the debug console, which you can find at the link below. If > there is a way to get a better output for debugging, please let me know. > http://imgur.com/a/TJ7i5 It seems that it kernel panic when creating the wlan0 interface. I guess that the modules are loaded by the loader ? (i.e. in /boot/loader.conf) Could you test not loading them by the loader but by manually after login ? kldload iwmXXXXfw.ko && kldload if_iwm Then restart the netif service (or create the wlan0 directly). > I am not sure what you meant when you said I need the latest firmware > (16.XXX) for the driver to work. I wasn't very clear on this, the firmware is in the kernel modules and they have been updated so you won't need to worry about this. > Regards, > Ben -- Emmanuel Vadot From owner-freebsd-wireless@freebsd.org Mon Jun 20 14:41:35 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 9ADD9A78FFC for ; Mon, 20 Jun 2016 14:41:35 +0000 (UTC) (envelope-from yongjhen@gmail.com) Received: from mail-it0-x242.google.com (mail-it0-x242.google.com [IPv6:2607:f8b0:4001:c0b::242]) (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 66DB82275 for ; Mon, 20 Jun 2016 14:41:35 +0000 (UTC) (envelope-from yongjhen@gmail.com) Received: by mail-it0-x242.google.com with SMTP id g127so573795ith.2 for ; Mon, 20 Jun 2016 07:41:35 -0700 (PDT) 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=3b1FmBpJhaDa728Oy9sy9b1LbU2VmqiJhe2VrnBXqvo=; b=P1ZOBCOPU5PgjoFqGS098LyzoSKKZw2YKCgaRPzjDmbXoJ+zio0zbwMZXhUoC8kXDR A6URhpnaB0rDqT09N+3NVni6IrY1FyRYbMo3j5Kin7qlr7S5LSJWfpZUSVJ2ehMPmTEq YHovXHLt/Wcwap109TVgTvESJrA+iraecF44GVrTHBQmPsQdwdTxucrzk3CCzKVWNUGC Mk4GvHuD4z1FZs7ESV8AM5w47Q4TKndmTa3KH6pGYScDed4gJfeoCPV8i8WP38G2AUFx D3gCTmzeM0d26yfu/vhEjYG3mjBSJuF3sP8OMz/Hv9J+ubFNgvF0UyQyc/b/6j+PcwyM cfmg== 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=3b1FmBpJhaDa728Oy9sy9b1LbU2VmqiJhe2VrnBXqvo=; b=RcZhC5+QU7GmrGwVi7fM3x0PUfLcPe0sifF60jlcDpwzyPu0qQeARE+UGX74+G/jHU Jvn2DLTWXOBkdDnCnZMzTMgFx2XhRVT7YHd43/LblgF6x+UZowBZFsY9m9jr1yOm9oR2 Cl3Zf3HRJsk7YGmW+F5hEX2LyXeahrmB2G/3/wHCdmNSEetrJPl8Jxtt+mCJ0D2SKEYj PMJAWUOFiE14PHRbwh5yEOXG3exsbnwr63dnRgocnb+JkmVhwA31pRpQJcJVlJpiZ80y MN9r4Ja9OfxMjjzx7F0K9X4HnpHkcSeJPwKiN4xiUYWn3FZc9jpZ5yaTq2GqPOuZFe// r2zw== X-Gm-Message-State: ALyK8tJ0Ze6pL1vuKx5ungmofQhl1yFiZ5pQsB5BfX1+K614pEpwPdDaWt2RAHk09y7t8J7QIG0hG42ExyKdkA== X-Received: by 10.36.46.80 with SMTP id i77mr18463045ita.60.1466433694724; Mon, 20 Jun 2016 07:41:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.141.135 with HTTP; Mon, 20 Jun 2016 07:41:15 -0700 (PDT) In-Reply-To: <20160619172035.020eacde012a13c0c5f9b90d@bidouilliste.com> References: <20160619172035.020eacde012a13c0c5f9b90d@bidouilliste.com> From: Ang Iongchun Date: Mon, 20 Jun 2016 22:41:15 +0800 Message-ID: Subject: Re: [CFT] iwm driver synced with DragonflyBSD To: Emmanuel Vadot Cc: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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, 20 Jun 2016 14:41:35 -0000 Hi Emmanuel, I took the iwm part of code from your branch, and compiled with PC-BSD 11.0-CURRENTJUNE2016 source tree to match the kernel version. It works very well with the 3165 wireless interface on my Dell Vostro 14 5459. kernel log: iwm0: mem 0xd5100000-0xd5101fff at device 0.0 on pci2 iwm0: hw rev 0x210, fw ver 16.242414.0, address 08:d4:0c:xx:xx:xx pciconf -lv: iwm0@pci0:2:0:0: class=0x028000 card=0x44108086 chip=0x31658086 rev=0x79 hdr=0x00 vendor = 'Intel Corporation' device = 'Wireless 3165' class = network Tested with usual web browsing, YouTube streaming, and several hundred MB download for pkg upgrade. Thanks for your work and DragonFlyBSD's effort on this! Regards, Yongjhen. 2016-06-19 23:20 GMT+08:00 Emmanuel Vadot : > > Hello all, > > I've sync our driver with the DragonflyBSD one. > I'm currently happilly running it on three on my laptops : > - HP 840 G1 (iwm 7260) > - HP 840 G2 (iwm 7265) > - HP 840 G3 (iwm 8000C) > > Just so you know : > 1) I know nothing about wireless > 2) This was only done in one day > 3) I started the day sober, I finished it drunk > 4) There is still locking problem at fw load and scan (probably > because of 1, 2 and 3) > 5) I do NOT plan to commit this for 11.0 > 6) I DO plan to commit this for 12 once code freeze is finished (and > when the last problems would be corrected) > 7) I will eventually commit this for 11.1 > > I you want to test it (especially if you have the 3160 serie) all the > code is in my github branch : https://github.com/evadot/freebsd/tree/iwm > Just recompile the modules from sys/modules/{iwm,iwmfw}. > You need the last firmware (version 16.XXX) for the driver to work. > > The main news is that the serie 8000 is supported (found in skylake > laptop) and that the led works (not on the 8000 serie thought). > > Knowing nothing about wireless I do not plan to maintain this driver > but I'll try keep it synced with DragonflyBSD/OpenBSD (so yeah I think > that this is maintening ...) > > Please let me know (here would be better) if you have any problem (or > not) with this update. > > Cheers, > > -- > Emmanuel Vadot > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@freebsd.org Mon Jun 20 17:46:37 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 528EEA7A1E5 for ; Mon, 20 Jun 2016 17:46:37 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (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 DA16F1A0D for ; Mon, 20 Jun 2016 17:46:36 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-wm0-x243.google.com with SMTP id c82so12898745wme.3 for ; Mon, 20 Jun 2016 10:46:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=RQlTiEh2axNCsTttPGuNi0sB69yIofo9O0i/TrYQ5+c=; b=OXEEq/j+hWojZdJTzPV23Rgapk4Lf4mhPuVWdD3bLX57XvFq2G9IxyXEym9dltYbvP mtLkMI4mcG8d3dNsypRjcGuGbcFGqyZHOT/wJP5VVjr0n8Fbz6ymIQkMbeUs5I2EOnZZ ltO1edmBEsKOs1UVKYZsUWsnY1wx/wyzAVlLAvspLpVecFndTsRrJ7O7dPj/zICkq1gL qUZPiFxMF5A7CJSxUAajRSrovUfIItxko4cT5X9SviqHJzUmIyz+0+fhyZc3ke3i7inY ihlec6aDytu1974c91DrVWmC1qDPYwYPao3/hu/+yae5MXpLMBHXkpX54totLljZT9Tm nzDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=RQlTiEh2axNCsTttPGuNi0sB69yIofo9O0i/TrYQ5+c=; b=lwKxQN6vM3/Z2kNdhb69X8EVa3GdxYztm9gZAKsaWxCK9CieS8IO6/83pnxLTjTbTb jMXrCImlEmVUgzgGfmFTUCQP5+8mHj6H90kzW2j98oGpf8I9taRQQKn6Ls1dv/VwqPMO lofh6mV3vYoRIDawH+DlUBIqtbAZ9UQAPDLbGeY0n1JY76GlnoY+XR41UL8I3qyLeLnI y5thFZpBo/lYgvF6S3QmRlCSl2KXkEefYuZfB1i5sppjNfFGH81sBquZLT9L79f4HhIH fAdajEQAqbjAcAzoDp0nb40eM/PSX85za5/BfZP11jQ1UAhHL81SKFAsMEQYHF9rIs77 KZWA== X-Gm-Message-State: ALyK8tLfeYTlOikh/J4Mo0bRc02vNANChYJnV0SDeoNWV1fy6rsrG0lOdz9HfVTdFugLEA== X-Received: by 10.28.21.140 with SMTP id 134mr12849631wmv.50.1466444794831; Mon, 20 Jun 2016 10:46:34 -0700 (PDT) Received: from shinto.woods.am (LFbn-1-7074-147.w90-116.abo.wanadoo.fr. [90.116.243.147]) by smtp.gmail.com with ESMTPSA id f196sm9414306wmg.15.2016.06.20.10.46.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jun 2016 10:46:33 -0700 (PDT) Date: Mon, 20 Jun 2016 19:46:32 +0200 From: Ben Woods To: Emmanuel Vadot Cc: "freebsd-wireless@freebsd.org" Subject: Re: [CFT] iwm driver synced with DragonflyBSD Message-ID: <20160620174632.GA1234@shinto.woods.am> References: <20160619172035.020eacde012a13c0c5f9b90d@bidouilliste.com> <20160620132224.0d52ff7a9bb9f64bc4a0ffe1@bidouilliste.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160620132224.0d52ff7a9bb9f64bc4a0ffe1@bidouilliste.com> User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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, 20 Jun 2016 17:46:37 -0000 On Mon, Jun 20, 2016 at 01:22:24PM +0200, Emmanuel Vadot wrote: > On Mon, 20 Jun 2016 12:02:26 +0200 > Ben Woods wrote: > > > Upon reboot I got a kernel panic after it loaded the module. I took photos > > of my screen at the debug console, which you can find at the link below. If > > there is a way to get a better output for debugging, please let me know. > > http://imgur.com/a/TJ7i5 > > It seems that it kernel panic when creating the wlan0 interface. > I guess that the modules are loaded by the loader ? (i.e. in /boot/loader.conf) > > Could you test not loading them by the loader but by manually after login ? > > kldload iwmXXXXfw.ko && kldload if_iwm > > Then restart the netif service (or create the wlan0 directly). > > -- > Emmanuel Vadot Hi Emmanuel, Whilst I agree the screenshot looks like the failure occurs whilst creating the wlan0 interface, it in fact occurs when loading the if_iwm module. I have tested by stopping the netif service and then loading the modules manually, and you can see the screenshot here: http://i.imgur.com/2ftzhQa.jpg I never got a chance to restart netif service. Regards, Ben -- From: Benjamin Woods woodsb02@gmail.com From owner-freebsd-wireless@freebsd.org Mon Jun 20 17:58:22 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 49CCDA7A49A for ; Mon, 20 Jun 2016 17:58:22 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 996081E02 for ; Mon, 20 Jun 2016 17:58:21 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 24718441; Mon, 20 Jun 2016 19:58:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=U48juyM971RVQa2dZ6R1gAkjqrA=; b=t3OBylLmo0FaIq4KsSe0V3wtdbz9 lLToFpbNTt5ZU3bIEvj6Kn2W3ZNWXobtRyTwEzVexEEpAP8KF9oh0gx34XWn0399 CEJ51k6nUVZTv6LhcE9V2x6WHSgV4yDAI4ZpU7+Pqpcl9nG6X45dSiP2/6C8nDGX 2CLiJVis2zUkTOE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=cJ7oQSwMPL2wXZddiG0Uumr4jrmEIg0wv4T6VADJIIZGO2/Ukhb9cF7e evh/dZ+dYgQIdei4C0OzJ8LXsnIB05QqeQRIqax5b/MvLk6Q7BOH0ZD3aNoF/krz 25Rr+cXg7tRLyZuSKOZWqj+5Lx0P+rk0op7JylfhDw0zz4Moyhw= Received: from knuckles.blih.net (ip-54.net-82-216-203.roubaix.rev.numericable.fr [82.216.203.54]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 7daf0f28 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 20 Jun 2016 19:58:13 +0200 (CEST) Date: Mon, 20 Jun 2016 19:58:13 +0200 From: Emmanuel Vadot To: Ben Woods Cc: "freebsd-wireless@freebsd.org" Subject: Re: [CFT] iwm driver synced with DragonflyBSD Message-Id: <20160620195813.f1de85a52eedcd36c35356ec@bidouilliste.com> In-Reply-To: <20160620174632.GA1234@shinto.woods.am> References: <20160619172035.020eacde012a13c0c5f9b90d@bidouilliste.com> <20160620132224.0d52ff7a9bb9f64bc4a0ffe1@bidouilliste.com> <20160620174632.GA1234@shinto.woods.am> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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, 20 Jun 2016 17:58:22 -0000 On Mon, 20 Jun 2016 19:46:32 +0200 Ben Woods wrote: > On Mon, Jun 20, 2016 at 01:22:24PM +0200, Emmanuel Vadot wrote: > > On Mon, 20 Jun 2016 12:02:26 +0200 > > Ben Woods wrote: > > > > > Upon reboot I got a kernel panic after it loaded the module. I took photos > > > of my screen at the debug console, which you can find at the link below. If > > > there is a way to get a better output for debugging, please let me know. > > > http://imgur.com/a/TJ7i5 > > > > It seems that it kernel panic when creating the wlan0 interface. > > I guess that the modules are loaded by the loader ? (i.e. in /boot/loader.conf) > > > > Could you test not loading them by the loader but by manually after login ? > > > > kldload iwmXXXXfw.ko && kldload if_iwm > > > > Then restart the netif service (or create the wlan0 directly). > > > > -- > > Emmanuel Vadot > > Hi Emmanuel, > > Whilst I agree the screenshot looks like the failure occurs whilst creating the > wlan0 interface, it in fact occurs when loading the if_iwm module. I have > tested by stopping the netif service and then loading the modules manually, and > you can see the screenshot here: > http://i.imgur.com/2ftzhQa.jpg > > I never got a chance to restart netif service. > > Regards, > Ben No it's really panic while cloning the wlan0 interface (probably because of some devd rule, see current process = ifconfig). After reboot a kernel dump should be in /var/crash/, could you do : kgdb /boot/kernel/kernel /var/crash/vmcore.X ? Thanks, -- Emmanuel Vadot From owner-freebsd-wireless@freebsd.org Mon Jun 20 18:12:18 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 6D537A7A96E for ; Mon, 20 Jun 2016 18:12:18 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) (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 F1C6B2808 for ; Mon, 20 Jun 2016 18:12:17 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: by mail-lf0-f65.google.com with SMTP id l184so6192079lfl.1 for ; Mon, 20 Jun 2016 11:12:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:cc:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=8s8qqjZ5aHfQMXhyfY934MxFDCGxH5UYgO9B8+OEkA8=; b=CaQofpR5oRRPXpJt/kU21NfGEnMLBvlQI+GNGSyT1q/I8ayXHmr+IH1Gi6EPrqcA9+ F8bJLlrK7746U1oDMBRQi+TTtaqPTrcb2zsZTF9UlgrPXC1v8Rq0VoAz3BLPSnY4CkYz r2zc4OvS9fmZaRQf9BQxEQRf41FpjfTVF4j7SaYQmdceSRhCURITvG7tql8NR9PJUuif OcL186D2ZefcbaORS8QQA7SA/mlj22EYMJprGKDdqCGvrRUmXnV6lkZckFyGjC1cjo9S 29dFcCQ2qF+j3VStj+FG4185HyUqVutO84B/J4uVyNhLxxeV51K6ntohpRjMApZDFcFL xEbw== X-Gm-Message-State: ALyK8tKGnQmn8dZgsQd0lSshFZKc0wzG9KKlbWtTplWETMCyEoTjRfWz1lUFtBkhWaaFVg== X-Received: by 10.25.146.209 with SMTP id u200mr3037540lfd.224.1466445543967; Mon, 20 Jun 2016 10:59:03 -0700 (PDT) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id g22sm4537750lji.43.2016.06.20.10.59.02 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 20 Jun 2016 10:59:03 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Emmanuel Vadot" , "Ben Woods" Cc: "freebsd-wireless@freebsd.org" Subject: Re: [CFT] iwm driver synced with DragonflyBSD References: <20160619172035.020eacde012a13c0c5f9b90d@bidouilliste.com> <20160620132224.0d52ff7a9bb9f64bc4a0ffe1@bidouilliste.com> <20160620174632.GA1234@shinto.woods.am> Date: Mon, 20 Jun 2016 20:59:00 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: <20160620174632.GA1234@shinto.woods.am> User-Agent: Opera Mail/12.16 (FreeBSD) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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, 20 Jun 2016 18:12:18 -0000 Mon, 20 Jun 2016 20:46:32 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Ben Woods = : Looks like a wlan <-> iwm module incompatibility (some structures were changed recently). Full kernel rebuild should fix this panic. > On Mon, Jun 20, 2016 at 01:22:24PM +0200, Emmanuel Vadot wrote: >> On Mon, 20 Jun 2016 12:02:26 +0200 >> Ben Woods wrote: >> >> > Upon reboot I got a kernel panic after it loaded the module. I took= = >> photos >> > of my screen at the debug console, which you can find at the link = >> below. If >> > there is a way to get a better output for debugging, please let me = = >> know. >> > http://imgur.com/a/TJ7i5 >> >> It seems that it kernel panic when creating the wlan0 interface. >> I guess that the modules are loaded by the loader ? (i.e. in = >> /boot/loader.conf) >> >> Could you test not loading them by the loader but by manually after = = >> login ? >> >> kldload iwmXXXXfw.ko && kldload if_iwm >> >> Then restart the netif service (or create the wlan0 directly). >> >> -- >> Emmanuel Vadot > > Hi Emmanuel, > > Whilst I agree the screenshot looks like the failure occurs whilst = > creating the > wlan0 interface, it in fact occurs when loading the if_iwm module. I h= ave > tested by stopping the netif service and then loading the modules = > manually, and > you can see the screenshot here: > http://i.imgur.com/2ftzhQa.jpg > > I never got a chance to restart netif service. > > Regards, > Ben > > -- > From: Benjamin Woods > woodsb02@gmail.com > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to = > "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@freebsd.org Mon Jun 20 22:58:33 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 C2A28AC4666 for ; Mon, 20 Jun 2016 22:58:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B276328CD for ; Mon, 20 Jun 2016 22:58:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u5KMwWuX060044 for ; Mon, 20 Jun 2016 22:58:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 206112] [rtwn] Under heavy load, "can't map mbuf (error 12)" arises Date: Mon, 20 Jun 2016 22:58:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avos@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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, 20 Jun 2016 22:58:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206112 Andriy Voskoboinyk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |avos@freebsd.org --- Comment #3 from Andriy Voskoboinyk --- Hi, Is it still reproducible after r302035? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Wed Jun 22 10:17:40 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 CCBC9B3B727 for ; Wed, 22 Jun 2016 10:17:40 +0000 (UTC) (envelope-from freebsd-wireless@sm.msk.ru) Received: from xide.reclama.ru (xide.reclama.ru [46.4.49.166]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7178C2C6C for ; Wed, 22 Jun 2016 10:17:39 +0000 (UTC) (envelope-from freebsd-wireless@sm.msk.ru) Received: from user Date: Wed, 22 Jun 2016 13:10:42 +0300 From: Sergey Organization: Private person X-Priority: 3 (Normal) Message-ID: <458429537.20160622131042@sm.msk.ru> To: freebsd-wireless@freebsd.org Subject: Wireless 3165, Intel Corporation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (xide.reclama.ru [46.4.49.166]); Wed, 22 Jun 2016 13:10:19 +0300 (MSK) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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, 22 Jun 2016 10:17:40 -0000 Hi all, Got a new laptop from HP and this Wi-Fi card on it: none4@pci0:3:0:0: class=0x028000 card=0x40108086 chip=0x31658086 rev=0x81 hdr=0x00 vendor = 'Intel Corporation' device = 'Wireless 3165' class = network Sure, it is not recognized by the kernel. The only mention of it I've found is: https://lists.freebsd.org/pipermail/freebsd-wireless/2016-February/006465.html and there is no visible solution. I've found a driver here, for iwa and iwl devices, it seems to be suitable but is absent in my distribution. https://github.com/erikarn/freebsd-iwa/tree/master/src/sys/dev/iwa Is that code worth to try to add to the kernel and is there anywhere a manual of adding a driver? Going to try myself. My FreeBSD looks like: vf# uname -a FreeBSD vf 11.0-ALPHA4 FreeBSD 11.0-ALPHA4 #2: Wed Jun 22 04:01:08 MSK 2016 root@VF:/usr/obj/usr/src/sys/vf amd64 vf# svn info Service unavailableService unavailablePath: . Working Copy Root Path: /usr/src URL: svn://svn.freebsd.org/base/head Relative URL: ^/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 302074 -- Best regards, Sergey mailto:freebsd-wireless@sm.msk.ru From owner-freebsd-wireless@freebsd.org Wed Jun 22 11:32:44 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 8E0B9AC5C9F for ; Wed, 22 Jun 2016 11:32:44 +0000 (UTC) (envelope-from imre@vdsz.com) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E4BB71674 for ; Wed, 22 Jun 2016 11:32:43 +0000 (UTC) (envelope-from imre@vdsz.com) Received: from vdsz.de ([188.68.58.236]) by mrelayeu.kundenserver.de (mreue002) with ESMTPSA (Nemesis) id 0MSDwg-1amRD03yIs-00TAWF; Wed, 22 Jun 2016 13:32:41 +0200 Received: from localhost (vdsz.de [local]) by vdsz.de (OpenSMTPD) with ESMTPA id 1014345e; Wed, 22 Jun 2016 13:32:39 +0200 (CEST) Date: Wed, 22 Jun 2016 13:32:39 +0200 From: Imre Vadasz To: freebsd-wireless@sm.msk.ru Cc: freebsd-wireless@freebsd.org Subject: Re: Wireless 3165, Intel Corporation Message-ID: <20160622113238.GA502046@albireo.intra.vdsz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.6.1 (2016-04-27) X-Provags-ID: V03:K0:uvfQeeuj1kMGq1hgx1wgtsfQSdg4R/EA7gsoyunvql/5Tsp5sM7 10DHydK9eYdk/MGg16WDIRspm8Ie/NGo7lCvFSj7n4D9wB2tsfIaUaR4jyjUIMlmH1RZejf 8vfLqeF/z9BPKycBFmiSce6sbtNGgG1UEievL0rSTZnvrfnI2wO2xRk3xX++Ya1A7IkSXzC x5rK3tHO6Vy09YOoxR8sg== X-UI-Out-Filterresults: notjunk:1;V01:K0:jmhP6ga+9n0=:YdlKeLB4bos72vOvr7bIkZ vm9VmBhOVUIWeg8qX3xLGGafU+3NKuJdx2zf2iPcdjvPeyUKc3kGBAGV24lEm5F/K5eByO/dE MHRD2SpXqxS8A3UP3Nye6wvBfiz3QkLexK5qdXg26kl5ck2YPv3i1tfhkcPWiHTNkZ7Ytd5W9 6jGLT/r8pGBmIqHQaDee+nqZVID8lCyH55MYvPzMxaqq+6uEpEM5ujuW0GHprUErs7VbItq3m Vrg1bxkqAUVf4pvgM2o8dnJkGybCVHlWF6qKfPPpVzzw5G0Xn7L/qnj3l0vREN7IhHt170Kl1 HHZxK9OxKRRkULe9F2291h8WOLFQLb5O9+SckarabxSn9ewv9j6EFtES28fZHh6f2gfy5s8v5 jLXd65KanRoBFdq038DlwtPjUj3B6I538GNxbZKEajF0ygNrNrukdY6hW78Lb6yRURNyw3X3j P+WrZxKuxvM1ePJ3P/ZYWLNOk+3rH2y3XZbrajJk+kc80MpFwoTORkxrLocslejRsvu2uVFov rkKdzs4pcryQad2ArALb+3h3bBev1slt8Gj+rOUr03eX5Ps4+L42+dV2nOdaeCtbZ8kXOfiWG Os63NFRe2xI/97OOv1kVLSs4WEtEbCPL1BmOY2KHd0B42LohOAzfExCgRn9DerlGojT/4CfWB jfjCqXMZ3KLHRqRofzB5hTHAp8YPRo//yTGTnYu7x/TeKCvbQUv6LQrj6FbhFIRX12HE= X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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, 22 Jun 2016 11:32:44 -0000 Hi, The Intel 3165 wireless chipset should work with Emmanuel Vadot's iwm update/sync: https://lists.freebsd.org/pipermail/freebsd-wireless/2016-June/006805.html Regards, Imre From owner-freebsd-wireless@freebsd.org Wed Jun 22 21:49:03 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 EFC9BB72C29 for ; Wed, 22 Jun 2016 21:49:03 +0000 (UTC) (envelope-from freebsd-wireless@sm.msk.ru) Received: from xide.reclama.ru (xide.reclama.ru [46.4.49.166]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.sm.msk.ru", Issuer "sm private network CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 78A9C2231 for ; Wed, 22 Jun 2016 21:49:02 +0000 (UTC) (envelope-from freebsd-wireless@sm.msk.ru) Received: from user Date: Thu, 23 Jun 2016 00:48:36 +0300 From: Sergey Organization: Private person X-Priority: 3 (Normal) Message-ID: <1317185710.20160623004836@sm.msk.ru> To: Imre Vadasz CC: freebsd-wireless@freebsd.org Subject: Re: Wireless 3165, Intel Corporation In-Reply-To: <20160622113238.GA502046@albireo.intra.vdsz.de> References: <20160622113238.GA502046@albireo.intra.vdsz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (xide.reclama.ru [46.4.49.166]); Thu, 23 Jun 2016 00:48:14 +0300 (MSK) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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, 22 Jun 2016 21:49:04 -0000 =0D=0AThank you a lot! However it does not seem to work. I have fetched the sources from https://github.com/evadot/freebsd/tree/iwm and replaced in my /usr/src both sys/modules/{iwm,iwmfw} Have re-built the kernel - and I still see no interface. Have I missed something? Here are lines from /var/log/messages Jun 23 00:16:52 vf kernel: FreeBSD 11.0-ALPHA4 #5: Wed Jun 22 16:31:47 MSK = 2016 Jun 23 00:16:52 vf kernel: root@vf:/usr/obj/usr/src/sys/vf amd64 Jun 23 00:16:52 vf kernel: FreeBSD clang version 3.8.0 (tags/RELEASE_380/fi= nal 262564) (based on LLVM 3.8.0) Jun 23 00:16:52 vf kernel: WARNING: WITNESS option enabled, expect reduced = performance. Jun 23 00:16:52 vf kernel: can't re-use a leaf (ixl_rx_miss_bufs)! Jun 23 00:16:52 vf kernel: VT(vga): resolution 640x480 Jun 23 00:16:52 vf kernel: module iwm3160fw_fw already present! Jun 23 00:16:52 vf kernel: module iwm7260fw_fw already present! Jun 23 00:16:52 vf kernel: module iwm7265fw_fw already present! Jun 23 00:16:52 vf kernel: module_register: cannot register pci/iwm from ke= rnel; already loaded from if_iwm.ko Jun 23 00:16:52 vf kernel: Module pci/iwm failed to register: 17 Jun 23 00:16:52 vf kernel: CPU: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz (2= 592.12-MHz K8-class CPU) vf# ifconfig -a re0: flags=3D8843 metric 0 mtu 1500 options=3D8209b ether 70:5a:0f:1a:cb:b2 inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=3D29 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=3D8049 metric 0 mtu 16384 options=3D600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 nd6 options=3D21 groups: lo vf# vf# fgrep iwm /usr/src/sys/amd64/conf/vf device iwm device iwmfw vf# cat /boot/loader.conf id_ath_load=3D"YES" wlan_wep_load=3D"YES" wlan_ccmp_load=3D"YES" wlan_tkip_load=3D"YES" if_bwn_load=3D"YES" if_iwm_load=3D"YES" iwm3160fw_load=3D"YES" iwm7260fw_load=3D"YES" iwm7265fw_load=3D"YES" iwm8000C_load=3D"YES" vf# vf# cd /usr/src vf# svn diff Index: sys/conf/files =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/conf/files (revision 302085) +++ sys/conf/files (working copy) @@ -1711,6 +1711,14 @@ compile-with "${NORMAL_FW}" \ no-obj no-implicit-rule \ clean "iwi_monitor.fw" +dev/iwa/if_iwm.c optional iwa +dev/iwa/if_iwa_firmware.c optional iwa +dev/iwa/if_iwa_fw_util.c optional iwa +dev/iwa/if_iwa_nvm.c optional iwa +dev/iwa/if_iwa_pci.c optional iwa +dev/iwa/if_iwa_rx.c optional iwa +dev/iwa/if_iwa_trans.c optional iwa +dev/iwa/if_iwa.c optional iwa dev/iwm/if_iwm.c optional iwm dev/iwm/if_iwm_binding.c optional iwm dev/iwm/if_iwm_led.c optional iwm Index: sys/modules/iwmfw/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/modules/iwmfw/Makefile (revision 302085) +++ sys/modules/iwmfw/Makefile (working copy) @@ -1,5 +1,5 @@ # $FreeBSD$ -SUBDIR=3D iwm3160fw iwm7260fw iwm7265fw +SUBDIR=3D iwm3160fw iwm7260fw iwm7265fw iwm8000Cfw .include Index: sys/modules/iwmfw/iwm3160fw/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/modules/iwmfw/iwm3160fw/Makefile (revision 302085) +++ sys/modules/iwmfw/iwm3160fw/Makefile (working copy) @@ -1,6 +1,6 @@ # $FreeBSD$ KMOD=3D iwm3160fw -IMG=3D iwm-3160-9 +IMG=3D iwm-3160-16 .include Index: sys/modules/iwmfw/iwm7260fw/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/modules/iwmfw/iwm7260fw/Makefile (revision 302085) +++ sys/modules/iwmfw/iwm7260fw/Makefile (working copy) @@ -1,6 +1,6 @@ # $FreeBSD$ KMOD=3D iwm7260fw -IMG=3D iwm-7260-9 +IMG=3D iwm-7260-16 .include Index: sys/modules/iwmfw/iwm7265fw/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/modules/iwmfw/iwm7265fw/Makefile (revision 302085) +++ sys/modules/iwmfw/iwm7265fw/Makefile (working copy) @@ -1,6 +1,6 @@ # $FreeBSD$ KMOD=3D iwm7265fw -IMG=3D iwm-7265-9 +IMG=3D iwm-7265-16 .include > Hi, > The Intel 3165 wireless chipset should work with Emmanuel Vadot's iwm > update/sync: > =20 > https://lists.freebsd.org/pipermail/freebsd-wireless/2016-June/006805.html > Regards, > Imre --=20 =D1 =F3=E2=E0=E6=E5=ED=E8=E5=EC, Sergey mailto:freebsd-wireless@sm.msk.ru From owner-freebsd-wireless@freebsd.org Wed Jun 22 23:45:37 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 B775BAC5370 for ; Wed, 22 Jun 2016 23:45:37 +0000 (UTC) (envelope-from news@saz.gr) Received: from linux14.name-servers.gr (mail2.linux14.name-servers.gr [185.25.21.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BB8572FE3 for ; Wed, 22 Jun 2016 23:45:35 +0000 (UTC) (envelope-from news@saz.gr) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=saz.gr; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Subject:CC:To:Message-ID:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=HKGPd9DHOlOjynzny/U/SOnM7Qj4JWGshew7qa9onUQ=; b=BC/DPtYG2sxMwRL7/psHFrahhm dM6XfBSLsQjeulL8bzr+ovLd28cM2r0h2nTrkPv9LNRi4SDMfjQWyzTdHm1eqTfkWkX9s4WpLiYkd zdCM3KvR7sc4mHGomI8ZtyE9p4agveqb81pzWMOHaDXh7S5iXjjKr9zVOt9QVue7QrhgkvYwG3oy6 xO+77fpHjNpZs2Gh5mGeT0NYTIrZ9me8nYZf64DrLdVcBiEBwmX5KteNO6gPZiNu6HN3Gs7MdCc5t VUlHhGbSWBXkJwUqqqhIxnML9AO1WS6LF1JVl8frSNARW8keyR11YtdExqoLMsL5Bp8pcGMnfU5K1 n9n/NxgA==; Received: from 178-189-236.dynamic.cyta.gr ([178.59.189.236]:60022 helo=[192.168.1.16]) by linux14.name-servers.gr with esmtpsa (TLSv1.1:AES256-SHA:256) (Exim 4.87) (envelope-from ) id 1bFrTF-002Nyw-VN; Thu, 23 Jun 2016 02:22:12 +0300 Date: Thu, 23 Jun 2016 02:22:13 +0300 From: news@saz.gr X-Mailer: The Bat! (v7.1.12 (Christmas Edition)) Professional X-Priority: 3 (Normal) Message-ID: <595273411.20160623022213@saz.gr> To: Sergey CC: freebsd-wireless@freebsd.org Subject: Re: Wireless 3165, Intel Corporation In-Reply-To: <1317185710.20160623004836@sm.msk.ru> References: <20160622113238.GA502046@albireo.intra.vdsz.de> <1317185710.20160623004836@sm.msk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=5.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - linux14.name-servers.gr X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - saz.gr X-Get-Message-Sender-Via: linux14.name-servers.gr: authenticated_id: news@saz.gr X-Authenticated-Sender: linux14.name-servers.gr: news@saz.gr X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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, 22 Jun 2016 23:45:37 -0000 Hello Sergey, On 11-CURRENT ifconfig doesnt show up the wireless interfaces. Try sysctl -a|grep iwm or sysctl net.wlan.devices If it works it will show up iw0(if you have wlans_iwm0="wlan0" on rc.conf) My 7260ac is up and running without problems for months now. I just get it to associate on 802.1g only. Thursday, June 23, 2016, 12:48:36 AM, you wrote: > Thank you a lot! > However it does not seem to work. > I have fetched the sources from > https://github.com/evadot/freebsd/tree/iwm > and replaced in my /usr/src both sys/modules/{iwm,iwmfw} > Have re-built the kernel - and I still see no interface. > Have I missed something? > Here are lines from /var/log/messages > Jun 23 00:16:52 vf kernel: FreeBSD 11.0-ALPHA4 #5: Wed Jun 22 16:31:47 MSK 2016 > Jun 23 00:16:52 vf kernel: root@vf:/usr/obj/usr/src/sys/vf amd64 > Jun 23 00:16:52 vf kernel: FreeBSD clang version 3.8.0 > (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) > Jun 23 00:16:52 vf kernel: WARNING: WITNESS option enabled, expect reduced performance. > Jun 23 00:16:52 vf kernel: can't re-use a leaf (ixl_rx_miss_bufs)! > Jun 23 00:16:52 vf kernel: VT(vga): resolution 640x480 > Jun 23 00:16:52 vf kernel: module iwm3160fw_fw already present! > Jun 23 00:16:52 vf kernel: module iwm7260fw_fw already present! > Jun 23 00:16:52 vf kernel: module iwm7265fw_fw already present! > Jun 23 00:16:52 vf kernel: module_register: cannot register pci/iwm > from kernel; already loaded from if_iwm.ko > Jun 23 00:16:52 vf kernel: Module pci/iwm failed to register: 17 > Jun 23 00:16:52 vf kernel: CPU: Intel(R) Core(TM) i7-6500U CPU @ > 2.50GHz (2592.12-MHz K8-class CPU) > vf# ifconfig -a > re0: flags=8843 metric 0 mtu 1500 > > options=8209b > ether 70:5a:0f:1a:cb:b2 > inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255 > nd6 options=29 > 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 > vf# > vf# fgrep iwm /usr/src/sys/amd64/conf/vf > device iwm > device iwmfw > vf# cat /boot/loader.conf > id_ath_load="YES" > wlan_wep_load="YES" > wlan_ccmp_load="YES" > wlan_tkip_load="YES" > if_bwn_load="YES" > if_iwm_load="YES" > iwm3160fw_load="YES" > iwm7260fw_load="YES" > iwm7265fw_load="YES" > iwm8000C_load="YES" > vf# > vf# cd /usr/src > vf# svn diff > Index: sys/conf/files > =================================================================== > --- sys/conf/files (revision 302085) > +++ sys/conf/files (working copy) > @@ -1711,6 +1711,14 @@ > compile-with "${NORMAL_FW}" > no-obj no-implicit-rule > clean "iwi_monitor.fw" > +dev/iwa/if_iwm.c optional iwa > +dev/iwa/if_iwa_firmware.c optional iwa > +dev/iwa/if_iwa_fw_util.c optional iwa > +dev/iwa/if_iwa_nvm.c optional iwa > +dev/iwa/if_iwa_pci.c optional iwa > +dev/iwa/if_iwa_rx.c optional iwa > +dev/iwa/if_iwa_trans.c optional iwa > +dev/iwa/if_iwa.c optional iwa > dev/iwm/if_iwm.c optional iwm > dev/iwm/if_iwm_binding.c optional iwm > dev/iwm/if_iwm_led.c optional iwm > Index: sys/modules/iwmfw/Makefile > =================================================================== > --- sys/modules/iwmfw/Makefile (revision 302085) > +++ sys/modules/iwmfw/Makefile (working copy) > @@ -1,5 +1,5 @@ > # $FreeBSD$ > -SUBDIR= iwm3160fw iwm7260fw iwm7265fw > +SUBDIR= iwm3160fw iwm7260fw iwm7265fw iwm8000Cfw > .include > Index: sys/modules/iwmfw/iwm3160fw/Makefile > =================================================================== > --- sys/modules/iwmfw/iwm3160fw/Makefile (revision 302085) > +++ sys/modules/iwmfw/iwm3160fw/Makefile (working copy) > @@ -1,6 +1,6 @@ > # $FreeBSD$ > KMOD= iwm3160fw > -IMG= iwm-3160-9 > +IMG= iwm-3160-16 > .include > Index: sys/modules/iwmfw/iwm7260fw/Makefile > =================================================================== > --- sys/modules/iwmfw/iwm7260fw/Makefile (revision 302085) > +++ sys/modules/iwmfw/iwm7260fw/Makefile (working copy) > @@ -1,6 +1,6 @@ > # $FreeBSD$ > KMOD= iwm7260fw > -IMG= iwm-7260-9 > +IMG= iwm-7260-16 > .include > Index: sys/modules/iwmfw/iwm7265fw/Makefile > =================================================================== > --- sys/modules/iwmfw/iwm7265fw/Makefile (revision 302085) > +++ sys/modules/iwmfw/iwm7265fw/Makefile (working copy) > @@ -1,6 +1,6 @@ > # $FreeBSD$ > KMOD= iwm7265fw > -IMG= iwm-7265-9 > +IMG= iwm-7265-16 > .include >> Hi, >> The Intel 3165 wireless chipset should work with Emmanuel Vadot's iwm >> update/sync: >> >> https://lists.freebsd.org/pipermail/freebsd-wireless/2016-June/006805.html >> Regards, >> Imre -- Best regards, Fotis mailto:news@saz.gr From owner-freebsd-wireless@freebsd.org Thu Jun 23 00:40:10 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 A575AB726A8 for ; Thu, 23 Jun 2016 00:40:10 +0000 (UTC) (envelope-from yongjhen@gmail.com) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (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 70DAC16C6 for ; Thu, 23 Jun 2016 00:40:10 +0000 (UTC) (envelope-from yongjhen@gmail.com) Received: by mail-it0-x22c.google.com with SMTP id a5so114185908ita.1 for ; Wed, 22 Jun 2016 17:40:10 -0700 (PDT) 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:content-transfer-encoding; bh=ysKQA1G8t++Igcub85s7ZC2Yum/LGmC8OtGyfCyUDQM=; b=xeM/rSk72sVR3nooTrM4o3CTFCPD9nqqwH4NMZ1RpGhTXsVrnlWxGIOXdGHhi0qOcK mGMHhLl/FerTCPHirNmSrA3i6Adcnff4zzITrYtFX1ANEInas1+3PvuvO0a+EweD9xMr R6zXOugsOIPhJxB7TOtl3Yg68FYdNClxkOgTfJWH8Q4JrZatHRro6CCR1srvia77XdCw fgyY4DRwcJWVyXZ5wxVp1tekaY6fNXIweZWNenAUqsLZsNG4Sp2dr3nxEbIrcFbk+xrI CXl/h/kP9rAU5qD3VxrJSkx2hHfLaQntR2m1fby+2o3H6MUcXrk7UO6+QJZ4FOn+lEmN Eeyw== 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:content-transfer-encoding; bh=ysKQA1G8t++Igcub85s7ZC2Yum/LGmC8OtGyfCyUDQM=; b=JGD65j4HgrUt0IHp+69KEhgcH0xmrCVViQBLbIdg8r32uy9ugyaX7GoZKo8DpgQFmg GpzqsLdwgdki1frjLWkxJpDP2OlfgwlY4tzkn0GqqHLYaIjaA5WZn8+empbvtsZl/iX4 PmNdDPO6aEiElAkDsMhfval/+L/hjgvcscYkqqdYNf+vE4RbyNqdQUXh4wsweY6TCzOg 3asprsrxJ0WOACJYddv7hV2o49C46l1fuXA44nq6rCxqOoojWqe26RVC5MlJdObbeMva 4ib0A3UK1n8a3vDLXLrYFMAqHh4qy6Zw4PwYhbE01ETKLgUfUZPo8+Wk96mmldX6SIy6 2xyA== X-Gm-Message-State: ALyK8tLK6Pgesrkjppl47ppusx416Rmrnm10aEokRcuQ1YuSuVapf4Rd4Zuk4DwmZaw3sUfuIHtWVvGU8+ThrA== X-Received: by 10.36.39.78 with SMTP id g75mr16855721ita.53.1466642409575; Wed, 22 Jun 2016 17:40:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.141.135 with HTTP; Wed, 22 Jun 2016 17:39:50 -0700 (PDT) In-Reply-To: <1317185710.20160623004836@sm.msk.ru> References: <20160622113238.GA502046@albireo.intra.vdsz.de> <1317185710.20160623004836@sm.msk.ru> From: Ang Iongchun Date: Thu, 23 Jun 2016 08:39:50 +0800 Message-ID: Subject: Re: Wireless 3165, Intel Corporation To: Sergey Cc: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Thu, 23 Jun 2016 00:40:10 -0000 Hi Sergey, Try also replace sys/contrib/dev/iwm and sys/dev/iwm from Emmanuel's branch= . If you can see the driver message from kernel log like this (my 3165): iwm0: mem 0xd5100000-0xd5101fff at device 0.0 on pci2 iwm0: hw rev 0x210, fw ver 16.242414.0, address 08:d4:0c:xx:xx:xx Then you can create the interface and scan: ifconfig wlan0 create wlandev iwm0 ifconfig wlan0 up scan More configuration can be found in Wireless Networking, FreeBSD Handbook. Regards. 2016-06-23 5:48 GMT+08:00 Sergey : > > Thank you a lot! > However it does not seem to work. > > I have fetched the sources from https://github.com/evadot/freebsd/tree/iw= m > and replaced in my /usr/src both sys/modules/{iwm,iwmfw} > Have re-built the kernel - and I still see no interface. > > Have I missed something? > > Here are lines from /var/log/messages > > > Jun 23 00:16:52 vf kernel: FreeBSD 11.0-ALPHA4 #5: Wed Jun 22 16:31:47 MS= K 2016 > Jun 23 00:16:52 vf kernel: root@vf:/usr/obj/usr/src/sys/vf amd64 > Jun 23 00:16:52 vf kernel: FreeBSD clang version 3.8.0 (tags/RELEASE_380/= final 262564) (based on LLVM 3.8.0) > Jun 23 00:16:52 vf kernel: WARNING: WITNESS option enabled, expect reduce= d performance. > Jun 23 00:16:52 vf kernel: can't re-use a leaf (ixl_rx_miss_bufs)! > Jun 23 00:16:52 vf kernel: VT(vga): resolution 640x480 > Jun 23 00:16:52 vf kernel: module iwm3160fw_fw already present! > Jun 23 00:16:52 vf kernel: module iwm7260fw_fw already present! > Jun 23 00:16:52 vf kernel: module iwm7265fw_fw already present! > Jun 23 00:16:52 vf kernel: module_register: cannot register pci/iwm from = kernel; already loaded from if_iwm.ko > Jun 23 00:16:52 vf kernel: Module pci/iwm failed to register: 17 > Jun 23 00:16:52 vf kernel: CPU: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz = (2592.12-MHz K8-class CPU) > > > vf# ifconfig -a > re0: flags=3D8843 metric 0 mtu 15= 00 > options=3D8209b > ether 70:5a:0f:1a:cb:b2 > inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255 > nd6 options=3D29 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=3D8049 metric 0 mtu 16384 > options=3D600003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 > inet 127.0.0.1 netmask 0xff000000 > nd6 options=3D21 > groups: lo > vf# > vf# fgrep iwm /usr/src/sys/amd64/conf/vf > device iwm > device iwmfw > vf# cat /boot/loader.conf > id_ath_load=3D"YES" > wlan_wep_load=3D"YES" > wlan_ccmp_load=3D"YES" > wlan_tkip_load=3D"YES" > if_bwn_load=3D"YES" > > if_iwm_load=3D"YES" > iwm3160fw_load=3D"YES" > iwm7260fw_load=3D"YES" > iwm7265fw_load=3D"YES" > iwm8000C_load=3D"YES" > > vf# > vf# cd /usr/src > vf# svn diff > Index: sys/conf/files > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- sys/conf/files (revision 302085) > +++ sys/conf/files (working copy) > @@ -1711,6 +1711,14 @@ > compile-with "${NORMAL_FW}" \ > no-obj no-implicit-rule \ > clean "iwi_monitor.fw" > +dev/iwa/if_iwm.c optional iwa > +dev/iwa/if_iwa_firmware.c optional iwa > +dev/iwa/if_iwa_fw_util.c optional iwa > +dev/iwa/if_iwa_nvm.c optional iwa > +dev/iwa/if_iwa_pci.c optional iwa > +dev/iwa/if_iwa_rx.c optional iwa > +dev/iwa/if_iwa_trans.c optional iwa > +dev/iwa/if_iwa.c optional iwa > dev/iwm/if_iwm.c optional iwm > dev/iwm/if_iwm_binding.c optional iwm > dev/iwm/if_iwm_led.c optional iwm > Index: sys/modules/iwmfw/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- sys/modules/iwmfw/Makefile (revision 302085) > +++ sys/modules/iwmfw/Makefile (working copy) > @@ -1,5 +1,5 @@ > # $FreeBSD$ > > -SUBDIR=3D iwm3160fw iwm7260fw iwm7265fw > +SUBDIR=3D iwm3160fw iwm7260fw iwm7265fw iwm8000Cfw > > .include > Index: sys/modules/iwmfw/iwm3160fw/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- sys/modules/iwmfw/iwm3160fw/Makefile (revision 302085) > +++ sys/modules/iwmfw/iwm3160fw/Makefile (working copy) > @@ -1,6 +1,6 @@ > # $FreeBSD$ > > KMOD=3D iwm3160fw > -IMG=3D iwm-3160-9 > +IMG=3D iwm-3160-16 > > .include > Index: sys/modules/iwmfw/iwm7260fw/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- sys/modules/iwmfw/iwm7260fw/Makefile (revision 302085) > +++ sys/modules/iwmfw/iwm7260fw/Makefile (working copy) > @@ -1,6 +1,6 @@ > # $FreeBSD$ > > KMOD=3D iwm7260fw > -IMG=3D iwm-7260-9 > +IMG=3D iwm-7260-16 > > .include > Index: sys/modules/iwmfw/iwm7265fw/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- sys/modules/iwmfw/iwm7265fw/Makefile (revision 302085) > +++ sys/modules/iwmfw/iwm7265fw/Makefile (working copy) > @@ -1,6 +1,6 @@ > # $FreeBSD$ > > KMOD=3D iwm7265fw > -IMG=3D iwm-7265-9 > +IMG=3D iwm-7265-16 > > .include > > >> Hi, > >> The Intel 3165 wireless chipset should work with Emmanuel Vadot's iwm >> update/sync: >> >> https://lists.freebsd.org/pipermail/freebsd-wireless/2016-June/006805.ht= ml > >> Regards, >> Imre > > > > -- > =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, > Sergey mailto:freebsd-wireless@sm.msk.ru > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or= g" From owner-freebsd-wireless@freebsd.org Thu Jun 23 19:11:04 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 A210FB73CA9 for ; Thu, 23 Jun 2016 19:11:04 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: from mail-lf0-f49.google.com (mail-lf0-f49.google.com [209.85.215.49]) (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 363EC1E97 for ; Thu, 23 Jun 2016 19:11:03 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: by mail-lf0-f49.google.com with SMTP id h129so102294535lfh.1 for ; Thu, 23 Jun 2016 12:11:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:to:subject:mime-version :content-transfer-encoding:from:message-id:user-agent; bh=pHJCsFj1sz30honjBtt2Ka681AsnHmGUjrmSJ5YNlcQ=; b=H+2NJCp5R+FakbuIuJhs3BdxAbPP/Cs/BhR/wGyOWaooNTWG9gIcEdc7BdQ14ndKUO jDxo9yakz8hm/myFjTfBmdg3ICsgXomKZS9wmp9GWRpa/ZlgpowT2TS/1D5twVCemTy7 qIRIJfixr1Dp0BHYiCN8HOs6m2lZXANFsTae8Z0/G/bnOKXS9tg0w4vze/N/NMmLfeBp 2apF7S79593aPheogoB4q8u0hBQNDK/Dpcmt0n5/PETd99WnYrrCMjWL0yleWgX+7/ih q/bOavy3VTN6EvwFETg9hhr0jcpqXqA9v7uElt4+YqgNqS0gI2smo5Knn9xCs4TbYOqB o4aA== X-Gm-Message-State: ALyK8tLJpHaCZKTf8nD8xklDck7OiRi/s70otaUzjwgx9iM7uhYztv7Wd/A9VnUglE69/Q== X-Received: by 10.25.39.78 with SMTP id n75mr11435796lfn.91.1466705691233; Thu, 23 Jun 2016 11:14:51 -0700 (PDT) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id 42sm232647lfw.42.2016.06.23.11.14.50 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 23 Jun 2016 11:14:50 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Date: Thu, 23 Jun 2016 21:14:46 +0300 To: "freebsd-wireless@freebsd.org" Subject: RTL8812AU / RTL8821AU driver - call for testing MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Andriy Voskoboinyk" Message-ID: User-Agent: Opera Mail/12.16 (FreeBSD) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Thu, 23 Jun 2016 19:11:04 -0000 Hi all! The driver is in https://github.com/s3erios/urtwm ; currently it includes most features from urtwn(4) + TCP/UDP/IP checksum validation. 11a is supported too (but without DFS at this moment). Seems to be stable enough with DLINK DWA-171 (RTL8821AU) (11a/b/g support was tested only; you can try to enable 11n Rx support by adding "hw.usb.urtwm.enable_11n=1" into /boot/loader.conf). From owner-freebsd-wireless@freebsd.org Fri Jun 24 15:59:00 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 5E630B80EAA for ; Fri, 24 Jun 2016 15:59:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D9212C8A for ; Fri, 24 Jun 2016 15:59:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u5OFx05Q027095 for ; Fri, 24 Jun 2016 15:59:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 174273] [net80211] taking down a net80211 node with active fast frames traffic causes a panic Date: Fri, 24 Jun 2016 15:59:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 10.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avos@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 24 Jun 2016 15:59:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D174273 Andriy Voskoboinyk changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED CC| |avos@freebsd.org --- Comment #2 from Andriy Voskoboinyk --- Fixed in r244025. --=20 You are receiving this mail because: You are the assignee for the bug.=