Bug #16124
openKernel Panic on PCI WiFi Passthrough (AC7265)
0%
Description
Kernel Panic on ESXi-8.0U3d-24585383-standard if PCI (Passthrough) device is assigned to pfSense:
Dual Band Wireless-AC 7265 [Stone Peak 2 AC]
ID 0000:03:00.0
Device ID 0x95a
Vendor ID 0x8086
Function 0x0
Bus 0x3
Vendor Name Intel Corporation
Class ID 0x280
Subdevice ID 0x5010
Subvendor ID 0x8086
Slot 0x0
###########################################################################
Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address    = 0x4
fault code        = supervisor read data, page not present
instruction pointer    = 0x20:0xffffffff80dc7c24
stack pointer        = 0x28:0xfffffe0542679b70
frame pointer        = 0x28:0xfffffe0542679a70
code segment        = base 0x0, limit 0xfffff, type 0x1b
            = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags    = interrupt enabled, resume, IOPL = 0
current process        = 0 (firmware taskq)
rdi: fffffe0542679d70  rsi: fffffe0542679c00  rdx: fffffe0542679d70
rcx: 0000000000000000  r8: fffffe0542679c00  r9: fffffe0542679c00
rax: 0000000000000000  rbx: fffff80002a5e000  rbp: fffffe0542679a70
r10: 0000000000000001  r11: fffffe0542679d70  r12: fffffe0542679a20
r13: 0000000000000000  r14: fffffe054267a7f0  r15: fffffe054267db80
trap number        = 12
panic: page fault
cpuid = 1
time = 2
KDB: enter: panic
[ thread pid 0 tid 100036 ]
Stopped at    kdb_enter+0x33:    movq    $0,0x1d76d92(%rip)
###########################################################################
On 2.7.2 it works and successfully used as tier2 gateway
Files
       Updated by Giampiero Di Pietrantonio 7 months ago
      Updated by Giampiero Di Pietrantonio 7 months ago
      
    
    still present in 2.8.0.b.20250407.1736
       Updated by Manuel Himmler 5 months ago
      Updated by Manuel Himmler 5 months ago
      
    
    Same problem with another WiFi card after upgrade from 2.7.2 to 2.8.0 or new install
Hope there is a way to ignore this type of errors and simply just not load the driver, when there is a problem with it:
iwm0: <Intel(R) Dual Band Wireless AC 3165> mem 0x91300000-0x91301fff at device 0.0 on pci1
iwm7265fw: could not load firmware image, error 6
Fatal trap 12: page fault while in kernel mode
cpuid = 3; apic id = 06
fault virtual address   = 0x4
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff80dc7cd2
stack pointer           = 0x28:0xfffffe00538b7a70
frame pointer           = 0x28:0xfffffe00538b7a80
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 1 (swapper)
trap number             = 12
panic: page fault
cpuid = 3
time = <timestamp fehlt>
KDB: enter: panic
[ thread pid 0 tid 100050 ]
Stopped at      kdb_enter+0x33: movq    $0,0x1d7dcd2(%rip)
       Updated by MIchael K 5 months ago
      Updated by MIchael K 5 months ago
      
    
    - File Screenshot 2025-05-30 113151.png Screenshot 2025-05-30 113151.png added
- File Screenshot 2025-05-30 113111.png Screenshot 2025-05-30 113111.png added
Just hit this as well on the upgrade from 2.7.2 to 2.8.0 running on Proxmox (similar to the above ESXi report).
Kernel panic on PCI passthrough of Intel Corporation Wireless 8265 / 8275 (rev 78).
On the host, this is what the card shows as. All functions were passed through.
Removing the card allowed a boot. THis happened on the first reboot after downloading the upgrade.
08:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
        Subsystem: Intel Corporation Dual Band Wireless-AC 8265
        Flags: fast devsel, IRQ 17, IOMMU group 20
        Memory at b1500000 (64-bit, non-prefetchable) [disabled] [size=8K]
        Capabilities: [c8] Power Management version 3
        Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [40] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number 04-33-c2-ff-(redacted)
        Capabilities: [14c] Latency Tolerance Reporting
        Capabilities: [154] L1 PM Substates
        Kernel driver in use: vfio-pci
        Kernel modules: iwlwifi
       Updated by Steve Wheeler 3 months ago
      Updated by Steve Wheeler 3 months ago
      
    
    Need to see the backtrace but I'd bet it's this: https://redmine.pfsense.org/issues/16237