Unable to start qcn9274 card under qemu/proxmox guest

Jeff Johnson jeff.johnson at oss.qualcomm.com
Fri May 30 10:49:58 PDT 2025


On 5/29/2025 6:07 AM, Domenico Colella wrote:
> Hi everyone,
> I'm having some trouble using my wifi card (Compex WLE7002E56) in a
> virtualized environment (I tried both qemu 10 on debian and proxmox
> 8.4); the card works fine under the host os but fails to start in the
> guest.
> The problem seems to be present regardless of the type of kernel in
> the host (I tested debian 12 with default kernel, from backports and
> manually compiled) and in the guest (both debian and openwrt with
> kernel 6.8, 6.12 and from git ath).
> Here's a log from openwrt guest with the compiled kernel from the ath
> git repository (i'm manually loading the module with
> debug_param=0xffffffff) running on proxmox 8.4.1 (with default kernel
> 6.8.12-10-pve):
> 
> [ 1112.284527] ath12k_pci 0000:03:00.0: BAR 0 [mem
> 0xc1c00000-0xc1dfffff 64bit]: assigned
> [ 1112.285027] ath12k_pci 0000:03:00.0: enabling device (0000 -> 0002)
> [ 1112.287138] ath12k_pci 0000:03:00.0: boot pci_mem 0x00000000b852f5e1
> [ 1112.287140] ath12k_pci 0000:03:00.0: pci probe 17cb:1109 17cb:1109
> [ 1112.287155] ath12k_pci 0000:03:00.0: pci tcsr_soc_hw_version major 2 minor 0
> [ 1112.288698] ath12k_pci 0000:03:00.0: MSI vectors: 16
> [ 1112.309015] ath12k_pci 0000:03:00.0: msi base data is 0
> [ 1112.309017] ath12k_pci 0000:03:00.0: Hardware name: qcn9274 hw2.0
> [ 1112.309734] ath12k_pci 0000:03:00.0: boot firmware request
> ath12k/QCN9274/hw2.0/firmware-2.bin size 15376448
> [ 1112.309736] ath12k_pci 0000:03:00.0: found fw timestamp 1726657435
> [ 1112.309737] ath12k_pci 0000:03:00.0: found m3 image ie (421888 B)
> [ 1112.309738] ath12k_pci 0000:03:00.0: found fw image ie (7372800 B)
> [ 1112.309743] ath12k_pci 0000:03:00.0: found dualmac fw image ie (7581696 B)
> [ 1112.309744] ath12k_pci 0000:03:00.0: found firmware features ie (1 B)
> [ 1112.309744] ath12k_pci 0000:03:00.0: features
> [ 1112.309745] ath12k_pci 0000:03:00.0: using fw api 2
> [ 1112.309752] ath12k_pci 0000:03:00.0: dualmac fw selected for board id: 1006
> [ 1112.309753] ath12k_pci 0000:03:00.0: Assign MSI to user: MHI,
> num_vectors: 3, user_base_data: 0, base_vector: 0
> [ 1112.309753] ath12k_pci 0000:03:00.0: Number of assigned MSI for MHI
> is 3, base vector is 0
> [ 1112.313035] ath12k_pci 0000:03:00.0: Assign MSI to user: CE,
> num_vectors: 5, user_base_data: 3, base_vector: 3
> [ 1112.313586] ath12k_pci 0000:03:00.0: Assign MSI to user: DP,
> num_vectors: 8, user_base_data: 8, base_vector: 8
> [ 1112.313590] ath12k_pci 0000:03:00.0: irq:54 group:0
> [ 1112.313659] ath12k_pci 0000:03:00.0: irq:55 group:1
> [ 1112.313728] ath12k_pci 0000:03:00.0: irq:56 group:2
> [ 1112.313794] ath12k_pci 0000:03:00.0: irq:57 group:3
> [ 1112.313858] ath12k_pci 0000:03:00.0: irq:58 group:4
> [ 1112.313929] ath12k_pci 0000:03:00.0: irq:59 group:5
> [ 1112.313994] ath12k_pci 0000:03:00.0: irq:60 group:6
> [ 1112.314049] ath12k_pci 0000:03:00.0: irq:61 group:7
> [ 1112.314107] ath12k_pci 0000:03:00.0: irq:54 group:8
> [ 1112.314109] ath12k_pci 0000:03:00.0: irq:55 group:9
> [ 1112.314111] ath12k_pci 0000:03:00.0: irq:56 group:10
> [ 1112.314111] ath12k_pci 0000:03:00.0: pci after request_irq msi_ep_base_data 0
> [ 1112.314113] ath12k_pci 0000:03:00.0: unable to get wsi info from
> dt, grouping single device
> [ 1112.314114] ath12k_pci 0000:03:00.0: wsi group-id 255 num-devices 1 index 0
> [ 1112.314114] ath12k_pci 0000:03:00.0: num devices 1 num probed 1
> [ 1112.314152] ath12k_pci 0000:03:00.0: pci ltssm 0x11
> [ 1112.314160] ath12k_pci 0000:03:00.0: pci pcie_hot_rst 0x3
> [ 1112.319190] ath12k_pci 0000:03:00.0: cookie:0x0
> [ 1112.319203] ath12k_pci 0000:03:00.0: WLAON_WARM_SW_ENTRY 0x2
> [ 1112.339220] ath12k_pci 0000:03:00.0: WLAON_WARM_SW_ENTRY 0x2
> [ 1112.339232] ath12k_pci 0000:03:00.0: soc reset cause:0
> [ 1112.402449] ath12k_pci 0000:03:00.0: link down error during global reset
> [ 1112.414092] ath12k_pci 0000:03:00.0: MHISTATUS 0xffffffff
> [ 1112.424128] ath12k_pci 0000:03:00.0: pci link_ctl 0xffff L0s 1 L1 1
> [ 1112.425042] ath12k_pci 0000:03:00.0: pci reg 0x3164 instance 0x3
> read val 0xffffffff
> [ 1112.425044] ath12k_pci 0000:03:00.0: setting mhi state: INIT(0)
> [ 1112.425063] mhi mhi0: BHI offset: 0xffffffff is out of range: 0x200000
> [ 1112.425449] ath12k_pci 0000:03:00.0: failed to set mhi state: INIT(0)
> [ 1112.425779] ath12k_pci 0000:03:00.0: failed to start mhi: -34
> [ 1112.426080] ath12k_pci 0000:03:00.0: failed to power up :-34
> [ 1112.475594] ath12k_pci 0000:03:00.0: failed to create soc core: -34
> [ 1112.476021] ath12k_pci 0000:03:00.0: unable to create hw group
> [ 1112.476333] ath12k_pci 0000:03:00.0: failed to init core: -34
> [ 1113.130301] ath12k_pci 0000:03:00.0: probe with driver ath12k_pci
> failed with error -34
> 
> Can somebody help me with this issue?
> 
> Thanks,
> Domenico.
> 

This use case is not currently supported. Discussion and proposed workaround
for this issue with ath11k discussed at the following link:

https://lore.kernel.org/linux-wireless/adcb785e-4dc7-4c4a-b341-d53b72e13467@gmail.com/




More information about the ath12k mailing list