$ sudo apt-get install \ > linux-image-unsigned-5.11.0-2033-generic \ > linux-modules-extra-5.11.0-2033-generic \ > linux-headers-5.11.0-2033-generic
Holen:1 http://ppa.launchpad.net/vicamo/ppa-1939937/ubuntu focal/main amd64 linux-hwe-5.11-headers-5.11.0-2033 all 5.11.0-2033.35~20.04.1+lp1939937.1.ath10k.iram [12,0 MB] Holen:2 http://ppa.launchpad.net/vicamo/ppa-1939937/ubuntu focal/main amd64 linux-headers-5.11.0-2033-generic amd64 5.11.0-2033.35~20.04.1+lp1939937.1.ath10k.iram [1.863 kB] Holen:3 http://ppa.launchpad.net/vicamo/ppa-1939937/ubuntu focal/main amd64 linux-modules-5.11.0-2033-generic amd64 5.11.0-2033.35~20.04.1+lp1939937.1.ath10k.iram [16,2 MB] Holen:4 http://ppa.launchpad.net/vicamo/ppa-1939937/ubuntu focal/main amd64 linux-image-unsigned-5.11.0-2033-generic amd64 5.11.0-2033.35~20.04.1+lp1939937.1.ath10k.iram [10,3 MB] Holen:5 http://ppa.launchpad.net/vicamo/ppa-1939937/ubuntu focal/main amd64 linux-modules-extra-5.11.0-2033-generic amd64 5.11.0-2033.35~20.04.1+lp1939937.1.ath10k.iram [42,4 MB] Es wurden 82,8 MB in 8 s geholt (10,2 MB/s). uname -a ... 5.11.0-2033-generic #35~20.04.1+lp1939937.1.ath10k.iram-Ubuntu SMP Thu Aug 19 16:37: x86_64 x86_64 x86_64 GNU/Linux dmesg | grep ath [ 3.279110] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0 [ 3.355016] ath10k_pci 0000:04:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0 [ 3.393327] ath10k_pci 0000:03:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe [ 3.393330] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0 [ 3.393655] ath10k_pci 0000:03:00.0: firmware ver 10.4-3.9.0.2-00152 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-rate,iram-recovery crc32 723f9771 [ 3.475304] ath10k_pci 0000:04:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe [ 3.475308] ath10k_pci 0000:04:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0 [ 3.475639] ath10k_pci 0000:04:00.0: firmware ver 10.4-3.9.0.2-00152 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-rate,iram-recovery crc32 723f9771 [ 4.624937] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id 0:1 crc32 85498734 [ 4.704618] ath10k_pci 0000:04:00.0: board_file api 2 bmi_id 0:2 crc32 85498734 [ 7.202830] ath10k_pci 0000:03:00.0: No hardware memory [ 7.202833] ath10k_pci 0000:03:00.0: failed to copy target iram contents: -12 [ 7.309047] ath10k_pci 0000:03:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal otp max-sta 512 raw 0 hwcrypto 1 [ 7.371208] ath: EEPROM regdomain sanitized [ 7.371210] ath: EEPROM regdomain: 0x64 [ 7.371211] ath: EEPROM indicates we should expect a direct regpair map [ 7.371212] ath: Country alpha2 being used: 00 [ 7.371213] ath: Regpair used: 0x64 [ 7.373346] ath10k_pci 0000:03:00.0 wlp3s0: renamed from wlan0 [ 7.382821] ath10k_pci 0000:04:00.0: No hardware memory [ 7.382824] ath10k_pci 0000:04:00.0: failed to copy target iram contents: -12 [ 7.501740] ath10k_pci 0000:04:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal otp max-sta 512 raw 0 hwcrypto 1 [ 7.563210] ath: EEPROM regdomain sanitized [ 7.563211] ath: EEPROM regdomain: 0x64 [ 7.563212] ath: EEPROM indicates we should expect a direct regpair map [ 7.563213] ath: Country alpha2 being used: 00 [ 7.563214] ath: Regpair used: 0x64 [ 10.009210] ath10k_pci 0000:03:00.0: No hardware memory [ 10.009213] ath10k_pci 0000:03:00.0: failed to copy target iram contents: -12 [ 10.207585] ath10k_pci 0000:03:00.0: Unknown eventid: 36933 [ 10.215774] ath10k_pci 0000:04:00.0 wlp4s0: renamed from wlan0 [ 12.941647] ath10k_pci 0000:04:00.0: No hardware memory [ 12.941650] ath10k_pci 0000:04:00.0: failed to copy target iram contents: -12 [ 13.166283] ath10k_pci 0000:04:00.0: Unknown eventid: 36933 the kernel works but I don't really understand why you set "linux (Ubuntu Focal)" to invalid as said the patch should be back ported to all 5.11 kernels i use the HWE kernel in Focal and it was recently pushed to 5.11 but according to the ticket description you added the linux-oem-5.13 kernel - i honestly don't understand that - but anyway -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-oem-5.13 in Ubuntu. https://bugs.launchpad.net/bugs/1939937 Title: ath10k: "add target IRAM recovery feature support" breaks QCA9984 Firmware load capability Status in linux package in Ubuntu: Triaged Status in linux-oem-5.13 package in Ubuntu: Invalid Status in linux source package in Focal: Invalid Status in linux-oem-5.13 source package in Focal: New Status in linux source package in Hirsute: New Status in linux-oem-5.13 source package in Hirsute: Invalid Status in linux source package in Impish: Triaged Status in linux-oem-5.13 source package in Impish: Invalid Bug description: Hello, I use Ubuntu 20.04.2 LTS. The kernel was recently updated to 5.11 5.11.0-25-generic #27~20.04.1-Ubuntu SMP Tue Jul 13 17:41:23 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux Since then the ath10k_core driver for my QCA9984 card is broken and only loads ~3 firmware versions from the 3.9.0.2 branch https://github.com/kvalo/ath10k-firmware/tree/master/QCA9984/hw1.0/3.9.0.2 The firmware versions 70 / 86 / 91 are functional (but these firmware versions are already 2 years old) Responsible for this is the defective patch "ath10k: add target IRAM recovery feature support" https://git.launchpad.net/~ubuntu- kernel/ubuntu/+source/linux/+git/focal/commit/?h=hwe-5.11&id=9af7c32ceca85da27867dd863697d2aafc80a3f8 If I understand the patch correctly then the driver tries to load firmware with the feature "iram recovery" into the memory of the host (for recvovery purposes). If this fails, the firmware is discarded and the network controller remains unusable. Of course, this is not a desirable behavior for optional firmware features. dmesg: [ 3.074952] ath: loading out-of-tree module taints kernel. [ 3.090522] ath: module verification failed: signature and/or required key missing - tainting kernel [ 3.110879] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0 [ 3.178741] ath10k_pci 0000:04:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0 [ 3.229944] ath10k_pci 0000:03:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe [ 3.229948] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0 [ 3.230274] ath10k_pci 0000:03:00.0: firmware ver 10.4-3.9.0.2-00149 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-rate,iram-recovery crc32 5f41acd7 [ 3.291329] ath10k_pci 0000:04:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe [ 3.291333] ath10k_pci 0000:04:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0 [ 3.291678] ath10k_pci 0000:04:00.0: firmware ver 10.4-3.9.0.2-00149 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-rate,iram-recovery crc32 5f41acd7 [ 4.463156] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id 0:1 crc32 85498734 [ 4.520649] ath10k_pci 0000:04:00.0: board_file api 2 bmi_id 0:2 crc32 85498734 [ 7.047910] ath10k_pci 0000:03:00.0: failed to copy target iram contents: -12 [ 7.103260] ath10k_pci 0000:03:00.0: could not init core (-12) [ 7.103267] ath10k_pci 0000:03:00.0: could not probe fw (-12) [ 7.108570] ath10k_pci 0000:04:00.0: failed to copy target iram contents: -12 [ 7.163247] ath10k_pci 0000:04:00.0: could not init core (-12) [ 7.163268] ath10k_pci 0000:04:00.0: could not probe fw (-12) In the ath10k mailing list I found a second patch which makes it possible to load the latest firmware on the card again. https://www.mail-archive.com/ath10k@lists.infradead.org/msg13655.html I have tested the patch and it works. dmesg: [18245.610112] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0 [18245.674800] ath10k_pci 0000:04:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0 [18245.731606] ath10k_pci 0000:03:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe [18245.731620] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0 [18245.733172] ath10k_pci 0000:03:00.0: firmware ver 10.4-3.9.0.2-00152 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-rate,iram-recovery crc32 723f9771 [18245.790380] ath10k_pci 0000:04:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe [18245.790383] ath10k_pci 0000:04:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0 [18245.790703] ath10k_pci 0000:04:00.0: firmware ver 10.4-3.9.0.2-00152 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-rate,iram-recovery crc32 723f9771 [18246.963760] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id 0:1 crc32 85498734 [18247.019699] ath10k_pci 0000:04:00.0: board_file api 2 bmi_id 0:2 crc32 85498734 [18249.514054] ath10k_pci 0000:03:00.0: No hardware memory [18249.514057] ath10k_pci 0000:03:00.0: failed to copy target iram contents: -12 [18249.570423] ath10k_pci 0000:04:00.0: No hardware memory [18249.570426] ath10k_pci 0000:04:00.0: failed to copy target iram contents: -12 [18249.620637] ath10k_pci 0000:03:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal otp max-sta 512 raw 0 hwcrypto 1 [18249.678035] ath10k_pci 0000:04:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal otp max-sta 512 raw 0 hwcrypto 1 Please include this patch in Ubuntu so that we can load current firmware versions on our QCA9984 cards again. additional reference: https://lists.infradead.org/pipermail/ath10k/2021-May/012626.html best regards To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1939937/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp