15-STABLE: if_iwlwifi dysfunctional ...
- Reply: Bjoern A. Zeeb: "Re: 15-STABLE: if_iwlwifi dysfunctional ..."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 28 Nov 2025 09:43:42 UTC
Running 15-STABLE (15.0-STABLE #16 stable/15-n281349-b903f27e171b: Fri Nov 28 05:20:32
CET 2025 amd64) on a Lenovo T580 laptop. The system is equipted with an Intel i8265/8275
WiFi chipset (for recognized technical details see below).
Kernel and world are compiled alongside with iwlwifi-kmod ports from the most recent ports
tree when compiled, according to the following additions to /etc/src.conf:
[...]
PORTS_MODULES+= net/wifi-firmware-iwlwifi-kmod
[...]
to asure ABI compliance between kernel and kmod.
After reboot and launch, kldstat shows up the proper load of the iwlwifi module:
[...]
# kldstat
Id Refs Address Size Name
1 108 0xffffffff80200000 1b167c0 kernel
2 1 0xffffffff81d17000 b4f0 cuse.ko
3 1 0xffffffff81d24000 94e0 acpi_video.ko
5 1 0xffffffff82351000 3801b8 vmm.ko
6 1 0xffffffff826d2000 6d78 acpi_wmi.ko
7 1 0xffffffff847f9000 3570 fdescfs.ko
8 1 0xffffffff847fd000 73c0 linprocfs.ko
9 4 0xffffffff84805000 ce68 linux_common.ko
10 1 0xffffffff84812000 440c linsysfs.ko
11 1 0xffffffff84817000 32320 linux.ko
12 1 0xffffffff8484a000 2e3f0 linux64.ko
13 1 0xffffffff84a00000 212318 i915kms.ko
14 2 0xffffffff84879000 8c190 drm.ko
15 2 0xffffffff84906000 4120 linuxkpi_video.ko
16 3 0xffffffff8490b000 7358 dmabuf.ko
17 3 0xffffffff84913000 3378 lindebugfs.ko
18 1 0xffffffff84917000 b480 ttm.ko
19 1 0xffffffff84923000 c768 agp.ko
20 1 0xffffffff84930000 84a0 if_ure.ko
21 1 0xffffffff84939000 31d0 uether.ko
22 1 0xffffffff8493d000 21e8 hms.ko
23 1 0xffffffff84940000 30a8 hidmap.ko
24 1 0xffffffff84c13000 c74a0 if_iwlwifi.ko
25 1 0xffffffff84944000 23a0 umodem.ko
26 1 0xffffffff84947000 21dc nmdm.ko
27 1 0xffffffff8494a000 2630 nlsysevent.ko
[...]
From my perseptive anything seems to be OK:
[...]
end FB_INFO
iwlwifi0: <iwlwifi> mem 0xe8100000-0xe8101fff at device 0.0 on pci2
iwlwifi0: Detected crf-id 0xbadcafe, cnv-id 0x10 wfpm id 0x80000000
iwlwifi0: PCI dev 24fd/0010, rev=0x230, rfid=0xd55555d5
iwlwifi0: Detected Intel(R) Dual Band Wireless-AC 8265
iwlwifi0: successfully loaded firmware image 'iwlwifi-8265-36.ucode'
iwlwifi0: loaded firmware version 36.ca7b901d.0 8265-36.ucode op_mode iwlmvm
iwlwifi0: base HW address: MACxxxxxMAC , OTP minor version: 0x0
hms0: <Logitech Wireless Receiver Mouse> on hidbus0
hms0: 5 buttons and [XYW] coordinates ID=1
[...]
I'm unable to connect to any access point. I use at home a OpenWRT based AP with latest
firmware, connecting with the Linux- and Windows hosts of my employer (so: functionality
at a basic level guaranteed). FreeBSD - 14-STABLE (last time I used until branch of
16-CURRENT) and 15-STABLE do not. A similar misbehaviour is observed when trying to
access APs at several campi via "eduroam" - the hardware behind those APs is probably
Cisco technology, I do not know.
The log and console are filled with "dramatic" messages like
iwlwifi0: lkpi_sta_scan_to_auth:2419: lvif 0xfffffe00c3307000 vap 0xfffffe00c3307010
iv_bss 0xfffffe00b4135000 lvif_bss 0 lvif_bss->ni 0 synched 0, ni 0xfffffe00c2bf4000 lsta
0xfffff8002e01e800 iwlwifi0: lkpi_iv_newstate: error 95 during state transition 2 (AUTH)
-> 2 (AUTH) wlan0: link state changed to UP wlan0: link state changed to DOWN
wlan0: link state changed to UP
wlan0: link state changed to DOWN
wlan0: link state changed to UP
wlan0: link state changed to DOWN
....
....
iwlwifi0: Not associated and the time event is over already...
iwlwifi0: linuxkpi_ieee80211_connection_loss: vif 0xfffffe00c3307f00 vap
0xfffffe00c3307010 state ASSOC (synched 1, assoc 0 beacons 0 dtim_period 0) iwlwifi0:
fail to flush all tx fifo queues Q 5 iwlwifi0: Queue 5 is active on fifo 3 and stuck for
10000 ms. SW [2, 3] HW [2, 3] FH TRB=0x080305002 wlan0: link state changed to UP
wlan0: link state changed to DOWN
iwlwifi0: Not associated and the time event is over already...
iwlwifi0: linuxkpi_ieee80211_connection_loss: vif 0xfffffe00c3307f00 vap
0xfffffe00c3307010 state ASSOC (synched 1, assoc 0 beacons 0 dtim_period 0) iwlwifi0:
fail to flush all tx fifo queues Q 5 iwlwifi0: Queue 5 is active on fifo 3 and stuck for
10000 ms. SW [2, 3] HW [2, 3] FH TRB=0x080305002 wlan0: link state changed to UP
wlan0: link state changed to DOWN
[...]
I'm helpless here ...
[... dmesg ...]
---<<BOOT>>---
Copyright (c) 1992-2025 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 15.0-STABLE #16 stable/15-n281349-b903f27e171b: Fri Nov 28 05:20:32 CET 2025
root@hermann:/usr/obj/usr/src/amd64.amd64/sys/HERMANN amd64
FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git
llvmorg-19.1.7-0-gcd708029e0b2) WARNING: sysctl vfs.zfs.min_auto_ashift is deprecated.
Use vfs.zfs.vdev.min_auto_ashift instead. VT(efifb): resolution 1920x1080
module zfsctrl already present!
CPU microcode: no matching update found
CPU: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (2000.00-MHz K8-class CPU)
Origin="GenuineIntel" Id=0x806ea Family=0x6 Model=0x8e Stepping=10
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x7ffafbbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
AMD Features2=0x121<LAHF,ABM,Prefetch>
Structured Extended
Features=0x29c67af<FSGSBASE,TSCADJ,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,NFPUSG,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PROCTRACE>
Structured Extended
Features3=0xbc002e00<MCUOPT,MD_CLEAR,TSXFA,IBPB,STIBP,L1DFL,ARCH_CAP,SSBD> XSAVE
Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> IA32_ARCH_CAPS=0xa000c04<RSBA> VT-x:
PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics
real memory = 17179869184 (16384 MB)
avail memory = 16511115264 (15746 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <LENOVO TP-N27 >
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 hardware threads
random: registering fast source Intel Secure Key Seed
random: fast provider: "Intel Secure Key Seed"
random: unblocking device.
Security policy loaded: MAC/do (mac_do)
Security policy loaded: MAC/ntpd (mac_ntpd)
ioapic0 <Version 2.0> irqs 0-119
Launching APs: 1 3 4 6 2 7 5
[... pciconf ...]
# pciconf -lvceb iwlwifi0@pci0:4:0:0
iwlwifi0@pci0:4:0:0: class=0x028000 rev=0x78 hdr=0x00 vendor=0x8086 device=0x24fd
subvendor=0x8086 subdevice=0x0010 vendor = 'Intel Corporation'
device = 'Wireless 8265 / 8275'
class = network
bar [10] = type Memory, range 64, base 0xe8100000, size 8192, 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 endpoint max data 128(128) FLR RO NS
max read 128
link x1(x1) speed 2.5(2.5) ASPM L1(L1) ClockPM enabled
ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected
ecap 0003[140] = Serial 1 04ea56ffffaefac9
ecap 0018[14c] = LTR 1
ecap 001e[154] = L1 PM Substates 1
PCI-e errors = Correctable Error Detected
Unsupported Request Detected
Corrected = Advisory Non-Fatal Error