You are not logged in.

#1 2022-10-01 18:39:08

PowerfullJohny
Member
Registered: 2022-10-01
Posts: 8

[Solved]Wifi stopped working, Qualcomm Atheros QCA9377

Hello,
I have a problem with wifi in my laptop, as it stopped working. It was always problematic, sometimes it would connect and disconnect repeatedly, but doing

 sudo modprobe -r ath10k_pci && sudo modprobe ath10k_pci 

as suggested in https://bbs.archlinux.org/viewforum.php?id=266280 would fix it, but no more. The output of

dnesg

is under this link : http://0x0.st/o4Gm.txt (I did the removal and insert of the ath10k_pci kernel module before running dmesg)
Could I please ask for help with explanation what happened?

Last edited by PowerfullJohny (2022-10-03 21:24:25)

Offline

#2 2022-10-01 19:24:02

seth
Member
Registered: 2012-09-03
Posts: 51,319

Re: [Solved]Wifi stopped working, Qualcomm Atheros QCA9377

[   12.133590] ath10k_pci 0000:03:00.0: Unable to change power state from D3cold to D0, device inaccessible
[   12.164581] ath10k_pci 0000:03:00.0: failed to wake target for write32 of 0x00000000 at 0x00034400: -110
[   19.466559] ath10k_pci 0000:03:00.0: failed to read device register, device is gone
[   19.466600] ath10k_pci 0000:03:00.0: failed to reset chip: -5
[  612.797364]  ath10k_pci_init+0x23/0x1000 [ath10k_pci 3a86f8c526c2df7274e682d5674bad099a1f9bd1]

Does it still work w/ the LTS kernel?
Is there a parallel windows installation?

Offline

#3 2022-10-01 20:01:26

PowerfullJohny
Member
Registered: 2022-10-01
Posts: 8

Re: [Solved]Wifi stopped working, Qualcomm Atheros QCA9377

seth wrote:

Does it still work w/ the LTS kernel?

No, it does not work with both linux and linux-lts.

seth wrote:

Is there a parallel windows installation?

Yes, there is, apologies for not mentioning it, forgot about it.

Offline

#4 2022-10-01 20:19:41

seth
Member
Registered: 2012-09-03
Posts: 51,319

Re: [Solved]Wifi stopped working, Qualcomm Atheros QCA9377

3rd link below. Mandatory. No, it's not the BIOS setting.
Reboot windows and linux each twice afterwards (for voodoo reasons)

Offline

#5 2022-10-02 08:29:52

PowerfullJohny
Member
Registered: 2022-10-01
Posts: 8

Re: [Solved]Wifi stopped working, Qualcomm Atheros QCA9377

Ok, I had to unplug power plug and leave my PC for a while and then try it. It makes my wifi card work, but it will stop after few minutes. Here is the output of dmesg : http://0x0.st/o4RZ.txt. When I tried to ping few IP adresses (not local ones) ping output contained :

 ping: sendmsg: No buffer space available 

EDIT: I have left my laptop unplugged from psu overnight, if that matters.

Last edited by PowerfullJohny (2022-10-02 08:30:52)

Offline

#6 2022-10-02 12:46:25

seth
Member
Registered: 2012-09-03
Posts: 51,319

Re: [Solved]Wifi stopped working, Qualcomm Atheros QCA9377

I had to unplug power plug and leave my PC for a while and then try it.

Did you disable windows fast-start? Whether or not you "unplug" your laptop is irrelevant to this problem.
You cannot run two OS at the same time (what essentially happens w/ windows fast-start because that prevents the OS from shutting down and just hibernates, leaving the HW in an undetermined state)

Here is the output of dmesg

Please rather post the system journal, "sudo journalctl -b | curl -F 'file=@-' 0x0.st" but you're still hitting

[  461.834619] ath10k_pci 0000:03:00.0: failed to wake target for write32 of 0x00001aff at 0x0003543c: -110

Offline

#7 2022-10-02 13:05:08

PowerfullJohny
Member
Registered: 2022-10-01
Posts: 8

Re: [Solved]Wifi stopped working, Qualcomm Atheros QCA9377

seth wrote:

Did you disable windows fast-start?

Yes, to clarify, my previous post describes what I did additionally after disabling fast-start and hibernation and rebooting  each OS twice. Before these additional steps my WiFi card didn't even show up in the output of lspci. Sorry for the confusion.
Here is the output of journalctl -b : http://0x0.st/o4FE.txt

Last edited by PowerfullJohny (2022-10-02 13:09:31)

Offline

#8 2022-10-02 18:10:47

seth
Member
Registered: 2012-09-03
Posts: 51,319

Re: [Solved]Wifi stopped working, Qualcomm Atheros QCA9377

Oct 02 14:37:30 neuromancer wpa_supplicant[676]: wlp3s0: CTRL-EVENT-CONNECTED - Connection to 5c:a6:e6:bd:f8:2e completed [id=0 id_str=]
…
Oct 02 14:37:30 neuromancer NetworkManager[613]: <info>  [1664714250.9376] manager: NetworkManager state is now CONNECTED_GLOBAL
…
…
Oct 02 14:40:28 neuromancer kernel: pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Oct 02 14:40:28 neuromancer kernel: pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
Oct 02 14:40:28 neuromancer kernel: pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00001000/00002000
Oct 02 14:40:28 neuromancer kernel: pcieport 0000:00:1c.5:    [12] Timeout               
Oct 02 14:40:56 neuromancer wpa_supplicant[676]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-39 noise=-98 txrate=6000
Oct 02 14:40:57 neuromancer kernel: ath10k_pci 0000:03:00.0: failed to wake target for write32 of 0x00001359 at 0x0003543c: -110

There's a massive amount of errors on that bus and

Oct 02 14:42:57 neuromancer NetworkManager[613]: <info>  [1664714577.2595] radio killswitch /sys/devices/pci0000:00/0000:00:1c.5/0000:03:00.0/ieee80211/phy0/rfkill1 disappeared

the wifi seems behind it.

Oct 02 14:37:12 neuromancer kernel: ACPI FADT declares the system doesn't support PCIe ASPM, so disable it

You could still try passing "pci_aspm" to the kernel, https://wiki.archlinux.org/title/Kernel_parameters

Does the wifi work reliably on windows?

Offline

#9 2022-10-03 21:24:04

PowerfullJohny
Member
Registered: 2022-10-01
Posts: 8

Re: [Solved]Wifi stopped working, Qualcomm Atheros QCA9377

seth wrote:

You could still try passing "pci_aspm" to the kernel, https://wiki.archlinux.org/title/Kernel_parameters

Passing pci_aspm=off fixed it, I owe you double time. However, if I may and if you don't mind, I would like to ask a few questions. First of all do you have any idea what might have caused this issue or could you please give me a hint how to find out? That kernel parameter wasn't there and it worked before almost flawlessly. Secondary, if I got this right, this kernel parameter causes some power savings to be disabled, am I right? Is there a way to enable them back without triggering these problems?   

seth wrote:

Does the wifi work reliably on windows?

Yes, but that probably does not matter anymore.

Once again thank you for your help and patience.
I'll mark this as solved in a second.

Offline

#10 2022-10-04 06:41:43

seth
Member
Registered: 2012-09-03
Posts: 51,319

Re: [Solved]Wifi stopped working, Qualcomm Atheros QCA9377

For context: https://wiki.archlinux.org/title/Power_ … Management

do you have any idea what might have caused this issue or could you please give me a hint how to find out?

Do you have older journals from unaffected boots ("sudo journalctl -b -Δ" | Δ in [1,∞] - the more you increase "Δ" the further you move back in time)
Did you (or windows) interim update the BIOS/UEFI?

I got this right, this kernel parameter causes some power savings to be disabled, am I right?

Yes. Maybe no.

The kernel wrote:

ACPI FADT declares the system doesn't support PCIe ASPM, so disable it

which is why I thought the parameter to be idempotent itfp.

Offline

Board footer

Powered by FluxBB