Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2022 13:31:09 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Oleksandr Kryvulia <shuriku@shurik.kiev.ua>
Cc:        wireless@freebsd.org
Subject:   Re: iwlwifi failed to attach
Message-ID:  <alpine.BSF.2.00.2203291324050.68830@ai.fobar.qr>
In-Reply-To: <87e39641-f6c2-3306-e89d-fe6ba5a8ff39@shurik.kiev.ua>
References:  <85f3cdd5-9bcc-426b-55e8-f3964de87c52@shurik.kiev.ua> <alpine.BSF.2.00.2203291300170.68830@ai.fobar.qr> <87e39641-f6c2-3306-e89d-fe6ba5a8ff39@shurik.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
  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-890986082-1648560670=:68830
Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8BIT

On Tue, 29 Mar 2022, Oleksandr Kryvulia wrote:

> 29.03.22 16:02, Bjoern A. Zeeb пишет:
>> 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?
> iwm0@pci0:0:20:3:       class=0x028000 rev=0x30 hdr=0x00 vendor=0x8086 
> device=0x9df0 subvendor=0x8086 subdevice=0x0034

That has iwm0 attached again.  Something else is going wrong then.


>    vendor     = 'Intel Corporation'
>    device     = 'Cannon Point-LP CNVi [Wireless-AC]'
>    class      = network
>    bar   [10] = type Memory, range 64, base 0xdd638000, size 16384, enabled
>    cap 01[c8] = powerspec 3  supports D0 D3  current D0
>    cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message
>    cap 10[40] = PCI-Express 2 root endpoint max data 128(128) FLR RO NS
>                 max read 128
>    cap 11[80] = MSI-X supports 16 messages
>                 Table in map 0x10[0x2000], PBA in map 0x10[0x3000]
>    ecap 0000[100] = unknown 0
>    ecap 0018[14c] = LTR 1
>    ecap 000b[164] = Vendor [1] ID 0010 Rev 0 Length 20
>
>
>> 
>> 
>> 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?
>> 
> Same error. I tried to remove if_iwm.ko from /boot/kernel and boot ))

iwm(4) is likely compiled into the kernel... forgive me.  You can proabbly
try
hint.iwm.disabled="1"
or
hint.iwm.0.disabled="1"

in loader.conf and see if that helps or compile a kernel without iwm
and iwmfw to test.


>> 
>>> 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-890986082-1648560670=:68830--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.2203291324050.68830>