You are not logged in.

#1 2022-01-24 20:11:31

oddinvestigator
Member
Registered: 2022-01-24
Posts: 2

Wifi card fails to start ocasionally

The error message i get from journalctl -b -p 3 is:

Jan 24 16:43:53 userpc kernel: ata1.00: exception Emask 0x0 SAct 0x2000 SErr 0x40000 action 0x6 frozen
Jan 24 16:43:53 userpc kernel: ata1: SError: { CommWake }Jan 24 16:43:53 userpc kernel: ata1.00: failed command: WRITE FPDMA QUEUED
Jan 24 16:43:53 userpc kernel: ata1.00: cmd 61/08:68:00:08:cc/00:00:06:00:00/40 tag 13 ncq dma 4096 out res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Jan 24 16:43:53 userpc kernel: ata1.00: status: { DRDY }
Jan 24 16:44:00 userpc kernel: ath10k_pci 0000:03:00.0: could not init core (-110) 
Jan 24 16:44:00 userpc kernel: ath10k_pci 0000:03:00.0: could not probe fw (-110)
  • This only happens sometimes, the wi-fi works most of the times I boot the laptop.

  • Pressing the network switch key (airplane button) doesn't change anything when the laptop boots in this state.

  • I have been told this problem is common with this chipset.


Specs:

Device: Ideapad 330-15IKB

OS: Arch x86_64

Kernel: 5.15.15-1-lts

Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)

CPU: i7-8550u

GPU: NVIDIA GeForce MX150

RAM: 2 x 4Gb 2133Mhz


How I configured the wi-fi in the laptop:

[root@userpc ~]# pacman -S iwd dhcpcd
[root@userpc ~]# systemctl enable iwd dhcpcd

Edit: OK, so I created a non elegant solution which is adding this line to my .bash_profile:

 sudo modprobe -r ath10k_pci && sudo modprobe ath10k_pci && sudo systemctl restart iwd dhcpcd 

If someone have a better one I would be very happy to hear!

Edit2: Improved the script to:

 #!/bin/bash

if sudo journalctl -b -p 3 | grep -q 'ath10k_pci'; then 
sudo modprobe -r ath10k_pci && sudo modprobe ath10k_pci && sudo systemctl restart iwd dhcpcd && echo 'restarted successfully'
else 
echo 'no problem with ath10k_pci (wifi adapter)'
fi

Last edited by oddinvestigator (2022-01-24 21:59:18)

Offline

Board footer

Powered by FluxBB