FS#69223 - [linux] QCA6390 wifi not working in arch kernel but does in stable
Attached to Project:
Arch Linux
Opened by Bjørn Snoen (bjornsnoen) - Tuesday, 05 January 2021, 16:06 GMT
Last edited by Toolybird (Toolybird) - Sunday, 04 June 2023, 03:39 GMT
Opened by Bjørn Snoen (bjornsnoen) - Tuesday, 05 January 2021, 16:06 GMT
Last edited by Toolybird (Toolybird) - Sunday, 04 June 2023, 03:39 GMT
|
Details
Description:
The linux kernel package should have support for QCA6390 wifi in the ath11k_pci module, indeed it is enabled in the kernel config, but for some reason it doesn't actually work. Building from the stable kernel sources (git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git) @ tag v5.10.4 with the same kernel config (minus CONFIG_USER_NS_UNPRIVILEGED=y which is arch specific?) produces a kernel with working wifi. I'm not sure if the firmware pull request has been accepted into linux-firmware yet so the blob copy instructions from the mailing list may still need to be followed (https://lists.infradead.org/pipermail/ath11k/2020-November/000537.html). Additional info: I'm attaching the dmesg log from the failing kernel, as well as the kernel configs from /proc for both the failing and the working kernels, as well as the zdiff between these. Steps to reproduce: * Install the linux package version 5.10.4.arch2-1 on a Dell XPS 15 9500 or any other machine with the QCA6390 chip * Boot into new kernel |
This task depends upon
Closed by Toolybird (Toolybird)
Sunday, 04 June 2023, 03:39 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed according to upstream ticket.
Sunday, 04 June 2023, 03:39 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed according to upstream ticket.
➜ ~ cat /boot/loader/entries/arch.conf
title Arch Linux
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options root=UUID=400512e1-6134-4682-9c35-71cd1eacc163 rw
➜ ~ cat /boot/loader/entries/athtest.conf
title Arch Linux
linux /vmlinuz-athtest-5.10.10
initrd /intel-ucode.img
initrd /initramfs-athtest-5.10.10.img
options root=UUID=400512e1-6134-4682-9c35-71cd1eacc163 rw acpi_backlight=vendor resume=UUID=cd67d834-1779-409c-9a10-729788881ce2
I'm simply calling "sudo reboot now" from the terminal to switch between the two. My custom kernel called athtest works, the standard one from the pacman repos does not give wifi.
I would love to get this sorted out even though I'm able to work with my own kernel, but as I am not familiar with kernel debugging I'm going to need some detailed steps to tell me how to help.
athtest-success.log (86.2 KiB)
[ 7.838383] ath11k_pci 0000:6c:00.0: qmi failed memory request, err = -110
[ 7.838393] ath11k_pci 0000:6c:00.0: qmi failed to respond fw mem req:-110
looks relevant but I of course don't know what it means
https://bbs.archlinux.org/viewtopic.php?pid=1960273#p1960273
Try booting with memmap=12M$20M
Yeah. It looks like it's a race with other code getting memory allocated. Whether the driver works depends on whether the firmware is assigned memory below 32M (which breaks) or not.