Re: kldload hangs loading if_iwlwifi on CURRENT

From: Pete Wright <pete_at_nomadlogic.org>
Date: Mon, 09 Dec 2024 05:31:16 UTC

On 12/8/24 11:27, Bjoern A. Zeeb wrote:
> On Sat, 7 Dec 2024, Pete Wright wrote:
> 
>> hey there,
>> i'm running a CURRENT from Dec 6 and have noticed that when i attempt 
>> to load the iwlwifi kernel module kldload does not exit. it seems to 
>> happen after the firmware loads, here's the output from /var/log/ 
>> messages:
>>
> [...]
>> Dec  7 18:43:06 colony kernel: iwlwifi0: loaded firmware version 
>> 46.ff18e32a.0 9000-pu-b0-jf-b0-46.ucode op_mode iwlmvm
>>
>>
>> I can't ctl+c to quit the command, but the system does not hang. i'm 
>> able to kill kldload in a seperate shell, but future attempts to load 
>> the kernel module also hang the shell.  also, when kldload hangs i 
>> notice that if_iwlwifi is *not* showing up when i run kldstat.
>>
>> here's the PCI device info:
>> ppt0@pci0:0:20:3:       class=0x028000 rev=0x30 hdr=0x00 vendor=0x8086 
>> device=0x9df0 subvendor=0x8086 subdevice=0x0030
>>     vendor     = 'Intel Corporation'
>>     device     = 'Cannon Point-LP CNVi [Wireless-AC]'
>>     class      = network
> 
> This is intersting; it's also a CNVi device.
> 
> 
>> Happy to provide any more debug info if needed.  Thanks!
> 
> See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282789
> 
> I'll follow-up there hopefully tonight.
> 
thanks so much for the quick response.  i just updated the bug - but 
wanted to confirm here that this allows me to load the kernel module on 
my box now and i'm successfully using wifi.  i'll try to dogfood this 
more tomorrow.

thanks!
-pete
-- 
Pete Wright
pete@nomadlogic.org