From owner-freebsd-current@freebsd.org Tue Oct 10 02:12:01 2017 Return-Path: Delivered-To: freebsd-current@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 C5019E43BF8 for ; Tue, 10 Oct 2017 02:12:01 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from vps-mail.nomadlogic.org (mail.nomadlogic.org [IPv6:2607:f2f8:a098::2]) (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 AE57565449 for ; Tue, 10 Oct 2017 02:12:01 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.26] (cpe-23-242-94-236.socal.res.rr.com [23.242.94.236]) by vps-mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id be670f0f TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO for ; Mon, 9 Oct 2017 19:12:00 -0700 (PDT) Subject: Re: latest iwm patches don't work with my 8265 chip To: freebsd-current@freebsd.org References: <9d8f5052-d481-752c-6e58-47ba6a008355@nomadlogic.org> From: Pete Wright Message-ID: <00764760-1e7b-e1a7-ae44-7ca4327f4b49@nomadlogic.org> Date: Mon, 9 Oct 2017 19:12:00 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <9d8f5052-d481-752c-6e58-47ba6a008355@nomadlogic.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 02:12:01 -0000 On 10/09/2017 16:02, Pete Wright wrote: > hey there - i was really excited to see GNN's recent commits to add > support to the 8265 Intel WiFi devices: > > https://svnweb.freebsd.org/base?view=revision&revision=324434 > > unfortunately this does not seem to work on my system.  after building > and rebooting dmesg reports this: > > iwm0: mem 0xdf000000-0xdf001fff > at device 0.0 on pci2 > iwm8265fw: could not load firmware image, error 2 > iwm0: could not read firmware iwm8265fw (error 0) > iwm0: SecBoot CPU1 Status: 0x1, CPU2 Status: 0x3 > iwm0: Failed to start INIT ucode: 35 > > here's the output from pciconf for my device: > > iwm0@pci0:3:0:0:    class=0x028000 card=0x10108086 chip=0x24fd8086 > rev=0x78 hdr=0x00 >     vendor     = 'Intel Corporation' >     device     = 'Wireless 8265 / 8275' >     class      = network > > > interestingly enough the patches imported from dragonfly worked great: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220229 > not sure if this is the correct way to get things working, but this diff fixes things up on my end (allows the firmware to load): diff --git a/sys/modules/iwmfw/Makefile b/sys/modules/iwmfw/Makefile index d38f5424153..73e401b3ea9 100644 --- a/sys/modules/iwmfw/Makefile +++ b/sys/modules/iwmfw/Makefile @@ -1,5 +1,5 @@  # $FreeBSD$ -SUBDIR=        iwm3160fw iwm7260fw iwm7265fw iwm8000Cfw iwm7265Dfw +SUBDIR=        iwm3160fw iwm7260fw iwm7265fw iwm8000Cfw iwm8265fw iwm7265Dfw  .include w/o the diff the iwm8265fw doesn't get built afaict. cheers, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA