Re: iwlwifi failed to attach

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Tue, 29 Mar 2022 13:02:32 UTC
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-322956052-1648558953=:68830
Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8BIT

On Tue, 29 Mar 2022, Oleksandr Kryvulia wrote:

> When attaching iwlwifi module according to [1] on CURRENT 
> (main-n253905-31e076d70b5-dirty
> ) I get an error:
>
> Mar 29 15:10:31 thinkpad kernel: iwlwifi0: <iwlwifi> mem 
> 0xdd638000-0xdd63bfff at device 20.3 on pci0
> Mar 29 15:10:31 thinkpad kernel: iwlwifi0: HW_REV=0xFFFFFFFF, PCI issues?
> Mar 29 15:10:31 thinkpad kernel: device_attach: iwlwifi0 attach returned 5

Can you show a full pciconf -lBbcevV  of the device at this point?


Alternatively to try:

What happens if you add if_iwm to devmatch_blocklist="" in rc.conf and
boot;  does iwlwifi attach fine then automatically during multi-user boot
time?

/bz


> This wireless (Intel Wireless-AC 9560) device works fine with iwm:
>
> iwm0@pci0:0:20:3:       class=0x028000 rev=0x30 hdr=0x00 vendor=0x8086 
> device=0x9df0 subvendor=0x8086 subdevice=0x0034
>     vendor     = 'Intel Corporation'
>     device     = 'Cannon Point-LP CNVi [Wireless-AC]'
>     class      = network
>
> [1] 
> https://wiki.freebsd.org/WiFi/Iwlwifi#I_have_an_iwm.284.29_supported_device
>
>

-- 
Bjoern A. Zeeb                                                     r15:7
--0-322956052-1648558953=:68830--