You are not logged in.

#1 2017-03-11 02:30:36

mooze_on_arch
Member
From: Bengaluru, India
Registered: 2016-04-11
Posts: 3

Issues with wifi, Atheros QCA6174 card after pacman update.

Hi guys,

I am facing issues on my Acer Aspire V3-574G-341P with respect to Atheros QCA6174 wifi. It happens only when I switch from one wifi connection to another or if same wifi connection gets disconnected and tries to connect again. To fix the issue I have to reboot the system where it connects to the first wifi connection available. Below is the error I see in "dmesg -w":

[  330.275901] wlp3s0: deauthenticating from 70:62:b8:c7:2a:20 by local choice (Reason: 3=DEAUTH_LEAVING)
[  333.481210] ath10k_pci 0000:03:00.0: failed to install key for vdev 0 peer 70:62:b8:c7:2a:20: -110
[  333.481216] wlp3s0: failed to remove key (0, 70:62:b8:c7:2a:20) from hardware (-110)
[  333.489224] ath10k_pci 0000:03:00.0: firmware crashed! (uuid a154ad9d-b437-4870-a243-c7c479399914)
[  333.489242] ath10k_pci 0000:03:00.0: qca6174 hw2.1 target 0x05010000 chip_id 0x003405ff sub 11ad:0804
[  333.489248] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 0 testmode 0
[  333.490396] ath10k_pci 0000:03:00.0: firmware ver SW_RM.1.1.1-00157-QCARMSWPZ-1 api 5 features ignore-otp,no-4addr-pad crc32 10bf8e08
[  333.491011] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id N/A crc32 ae2e275a
[  333.491019] ath10k_pci 0000:03:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[  333.493300] ath10k_pci 0000:03:00.0: firmware register dump:
[  333.493311] ath10k_pci 0000:03:00.0: [00]: 0x05010000 0x00000000 0x0092E4DC 0x705449A0
[  333.493320] ath10k_pci 0000:03:00.0: [04]: 0x0092E4DC 0x00060130 0x00000018 0x0041A760
[  333.493328] ath10k_pci 0000:03:00.0: [08]: 0x7054498C 0x00400000 0x00000000 0x000A5C88
[  333.493336] ath10k_pci 0000:03:00.0: [12]: 0x0000000D 0x00000000 0x0096C09C 0x0096C0A7
[  333.493343] ath10k_pci 0000:03:00.0: [16]: 0x00000004 0x0040E19C 0x0000FFFF 0x00000001
[  333.493351] ath10k_pci 0000:03:00.0: [20]: 0x80996343 0x0041A7D0 0x004084F0 0x0040D400
[  333.493359] ath10k_pci 0000:03:00.0: [24]: 0x80942BC4 0x0041A790 0x7054498C 0x00400000
[  333.493366] ath10k_pci 0000:03:00.0: [28]: 0x0041A7B0 0x0041A790 0x00000024 0x00000000
[  333.493374] ath10k_pci 0000:03:00.0: [32]: 0x80947BA7 0x0041A7B0 0x004050A8 0x00413980
[  333.493382] ath10k_pci 0000:03:00.0: [36]: 0x7054496C 0x00000000 0x00000000 0x00000001
[  333.493389] ath10k_pci 0000:03:00.0: [40]: 0x809BDECC 0x0041A7D0 0x004050A8 0x00413980
[  333.493397] ath10k_pci 0000:03:00.0: [44]: 0x004124C4 0x004050D4 0x00000000 0x00404F2C
[  333.493407] ath10k_pci 0000:03:00.0: [48]: 0x8099638C 0x0041A7F0 0x004050A8 0x00000000
[  333.493415] ath10k_pci 0000:03:00.0: [52]: 0x00000000 0x004124C4 0x004050CC 0x00000005
[  333.493422] ath10k_pci 0000:03:00.0: [56]: 0x80992076 0x0041A810 0x004084F0 0x00405244
[  333.494091] ath10k_pci 0000:03:00.0: failed to create WMI vdev 0: -108
[  333.572370] ieee80211 phy0: Hardware restart was requested
[  334.890562] ath10k_pci 0000:03:00.0: failed to set coverage class: expected slot time of 9 or 20us in HW register. It is 0us.
[  334.890818] ath10k_pci 0000:03:00.0: firmware crashed! (uuid 634af809-9594-4f57-b5cc-37b37130082f)
[  334.890826] ath10k_pci 0000:03:00.0: qca6174 hw2.1 target 0x05010000 chip_id 0x003405ff sub 11ad:0804
[  334.890829] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 0 testmode 0
[  334.891593] ath10k_pci 0000:03:00.0: firmware ver SW_RM.1.1.1-00157-QCARMSWPZ-1 api 5 features ignore-otp,no-4addr-pad crc32 10bf8e08
[  334.891981] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id N/A crc32 ae2e275a
[  334.891984] ath10k_pci 0000:03:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[  334.894004] ath10k_pci 0000:03:00.0: firmware register dump:
[  334.894009] ath10k_pci 0000:03:00.0: [00]: 0x05010000 0x00000000 0x009287BD 0x00000000
[  334.894012] ath10k_pci 0000:03:00.0: [04]: 0x00000000 0x00000000 0x00000000 0x00000000
[  334.894015] ath10k_pci 0000:03:00.0: [08]: 0x00000000 0x00000000 0x00000000 0x00000000
[  334.894018] ath10k_pci 0000:03:00.0: [12]: 0x00000000 0x00000000 0x00000000 0x00000000
[  334.894020] ath10k_pci 0000:03:00.0: [16]: 0x00000000 0x00000000 0x00000000 0x009287BD
[  334.894023] ath10k_pci 0000:03:00.0: [20]: 0x00000000 0x004018F0 0x00000000 0x00000000
[  334.894026] ath10k_pci 0000:03:00.0: [24]: 0x00000000 0x00000000 0x00000000 0x00000000
[  334.894029] ath10k_pci 0000:03:00.0: [28]: 0x00000000 0x00000000 0x00000000 0x00000000
[  334.894031] ath10k_pci 0000:03:00.0: [32]: 0x00000000 0x00000000 0x00000000 0x00000000
[  334.894034] ath10k_pci 0000:03:00.0: [36]: 0x00000000 0x00000000 0x00000000 0x00000000
[  334.894037] ath10k_pci 0000:03:00.0: [40]: 0x00000000 0x00000000 0x00000000 0x00000000
[  334.894039] ath10k_pci 0000:03:00.0: [44]: 0x00000000 0x00000000 0x00000000 0x00000000
[  334.894042] ath10k_pci 0000:03:00.0: [48]: 0x00000000 0x00000000 0x00000000 0x00000000
[  334.894045] ath10k_pci 0000:03:00.0: [52]: 0x00000000 0x00000000 0x00000000 0x00000000
[  334.894047] ath10k_pci 0000:03:00.0: [56]: 0x00000000 0x00000000 0x00000000 0x00000000
[  334.899321] ath10k_pci 0000:03:00.0: failed to create WMI vdev 0: -108
[  334.899330] ------------[ cut here ]------------
[  334.899364] WARNING: CPU: 1 PID: 1088 at net/mac80211/util.c:1899 ieee80211_reconfig+0x56a/0x14a0 [mac80211]
[  334.899367] ath10k_pci 0000:03:00.0: device is wedged, will not restart
[  334.899369] Modules linked in: ctr ccm fuse arc4 xt_CT iptable_raw ipt_REJECT nf_reject_ipv4 xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack_ipv6 nf_defrag_ipv6 bbswitch(O) xt_recent ip6table_filter xt_conntrack ip6t_rpfilter nf_conntrack ip6table_raw iptable_filter ip6_tables snd_hda_codec_hdmi rtsx_usb_ms rtsx_usb_sdmmc memstick mousedev joydev intel_rapl x86_pkg_temp_thermal intel_powerclamp nls_iso8859_1 coretemp nls_cp437 kvm_intel vfat fat rtsx_usb kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel i915 ghash_clmulni_intel pcbc hid_multitouch acer_wmi iTCO_wdt iTCO_vendor_support sparse_keymap ath10k_pci uvcvideo aesni_intel aes_x86_64 crypto_simd glue_helper cryptd ath10k_core snd_hda_codec_realtek videobuf2_vmalloc snd_hda_codec_generic videobuf2_memops ath mac80211 videobuf2_v4l2
[  334.899434]  snd_hda_intel evdev intel_cstate videobuf2_core drm_kms_helper intel_rapl_perf input_leds btusb snd_hda_codec videodev btrtl btbcm btintel drm pcspkr mac_hid media snd_hda_core snd_hwdep r8169 intel_gtt cfg80211 bluetooth syscopyarea sysfillrect i2c_hid snd_pcm rfkill i2c_i801 mii sysimgblt hid snd_timer mei_me snd lpc_ich mei soundcore thermal fb_sys_fops i2c_algo_bit shpchp dell_smo8800 fjes wmi 8250_dw video spi_pxa2xx_platform i2c_designware_platform i2c_designware_core tpm_crb tpm_tis tpm_tis_core battery tpm ac acpi_pad button sch_fq_codel ip_tables x_tables ext4 crc16 jbd2 fscrypto mbcache sr_mod sd_mod cdrom serio_raw atkbd libps2 xhci_pci xhci_hcd ahci libahci libata ehci_pci scsi_mod ehci_hcd usbcore usb_common i8042 serio sdhci_acpi sdhci led_class mmc_core
[  334.899519] CPU: 1 PID: 1088 Comm: kworker/1:0 Tainted: G           O    4.10.1-1-ARCH #1
[  334.899521] Hardware name: Acer Aspire V3-574G/USOPP_BH, BIOS V1.35 11/30/2015
[  334.899536] Workqueue: events_freezable ieee80211_restart_work [mac80211]
[  334.899539] Call Trace:
[  334.899548]  dump_stack+0x63/0x83
[  334.899554]  __warn+0xcb/0xf0
[  334.899558]  warn_slowpath_null+0x1d/0x20
[  334.899577]  ieee80211_reconfig+0x56a/0x14a0 [mac80211]
[  334.899582]  ? try_to_del_timer_sync+0x5a/0x80
[  334.899594]  ieee80211_restart_work+0x8e/0xc0 [mac80211]
[  334.899600]  process_one_work+0x1e5/0x470
[  334.899605]  worker_thread+0x48/0x4e0
[  334.899609]  kthread+0x101/0x140
[  334.899613]  ? process_one_work+0x470/0x470
[  334.899616]  ? kthread_create_on_node+0x60/0x60
[  334.899620]  ret_from_fork+0x2c/0x40
[  334.899624] ---[ end trace 4334262e626758f8 ]---
[  334.899651] ------------[ cut here ]------------
[  334.899666] WARNING: CPU: 1 PID: 1088 at net/mac80211/driver-ops.h:17 drv_remove_interface+0x126/0x130 [mac80211]
[  334.899668] p2p-dev-wlp3s0:  Failed check-sdata-in-driver check, flags: 0x0
[  334.899669] Modules linked in: ctr ccm fuse arc4 xt_CT iptable_raw ipt_REJECT nf_reject_ipv4 xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack_ipv6 nf_defrag_ipv6 bbswitch(O) xt_recent ip6table_filter xt_conntrack ip6t_rpfilter nf_conntrack ip6table_raw iptable_filter ip6_tables snd_hda_codec_hdmi rtsx_usb_ms rtsx_usb_sdmmc memstick mousedev joydev intel_rapl x86_pkg_temp_thermal intel_powerclamp nls_iso8859_1 coretemp nls_cp437 kvm_intel vfat fat rtsx_usb kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel i915 ghash_clmulni_intel pcbc hid_multitouch acer_wmi iTCO_wdt iTCO_vendor_support sparse_keymap ath10k_pci uvcvideo aesni_intel aes_x86_64 crypto_simd glue_helper cryptd ath10k_core snd_hda_codec_realtek videobuf2_vmalloc snd_hda_codec_generic videobuf2_memops ath mac80211 videobuf2_v4l2
[  334.899721]  snd_hda_intel evdev intel_cstate videobuf2_core drm_kms_helper intel_rapl_perf input_leds btusb snd_hda_codec videodev btrtl btbcm btintel drm pcspkr mac_hid media snd_hda_core snd_hwdep r8169 intel_gtt cfg80211 bluetooth syscopyarea sysfillrect i2c_hid snd_pcm rfkill i2c_i801 mii sysimgblt hid snd_timer mei_me snd lpc_ich mei soundcore thermal fb_sys_fops i2c_algo_bit shpchp dell_smo8800 fjes wmi 8250_dw video spi_pxa2xx_platform i2c_designware_platform i2c_designware_core tpm_crb tpm_tis tpm_tis_core battery tpm ac acpi_pad button sch_fq_codel ip_tables x_tables ext4 crc16 jbd2 fscrypto mbcache sr_mod sd_mod cdrom serio_raw atkbd libps2 xhci_pci xhci_hcd ahci libahci libata ehci_pci scsi_mod ehci_hcd usbcore usb_common i8042 serio sdhci_acpi sdhci led_class mmc_core
[  334.899790] CPU: 1 PID: 1088 Comm: kworker/1:0 Tainted: G        W  O    4.10.1-1-ARCH #1
[  334.899791] Hardware name: Acer Aspire V3-574G/USOPP_BH, BIOS V1.35 11/30/2015
[  334.899804] Workqueue: events_freezable ieee80211_restart_work [mac80211]
[  334.899806] Call Trace:
[  334.899812]  dump_stack+0x63/0x83
[  334.899817]  __warn+0xcb/0xf0
[  334.899821]  warn_slowpath_fmt+0x5f/0x80
[  334.899825]  ? skb_dequeue+0x59/0x70
[  334.899837]  drv_remove_interface+0x126/0x130 [mac80211]
[  334.899855]  ieee80211_do_stop+0x579/0x870 [mac80211]
[  334.899860]  ? vprintk_default+0x1f/0x30
[  334.899875]  ieee80211_sdata_stop+0x1e/0x50 [mac80211]
[  334.899893]  ieee80211_stop_p2p_device+0x12/0x20 [mac80211]
[  334.899905]  cfg80211_stop_p2p_device+0x61/0x1d0 [cfg80211]
[  334.899915]  cfg80211_shutdown_all_interfaces+0x96/0xc0 [cfg80211]
[  334.899934]  ieee80211_handle_reconfig_failure+0x98/0xb0 [mac80211]
[  334.899952]  ieee80211_reconfig+0x2ad/0x14a0 [mac80211]
[  334.899956]  ? try_to_del_timer_sync+0x5a/0x80
[  334.899968]  ieee80211_restart_work+0x8e/0xc0 [mac80211]
[  334.899973]  process_one_work+0x1e5/0x470
[  334.899978]  worker_thread+0x48/0x4e0
[  334.899981]  kthread+0x101/0x140
[  334.899986]  ? process_one_work+0x470/0x470
[  334.899989]  ? kthread_create_on_node+0x60/0x60
[  334.899992]  ret_from_fork+0x2c/0x40
[  334.899995] ---[ end trace 4334262e626758f9 ]---
[  334.905217] ath10k_pci 0000:03:00.0: could not suspend target (-108)
[  334.955452] ath10k_pci 0000:03:00.0: device has crashed during init
[  334.992535] ath10k_pci 0000:03:00.0: device has crashed during init
[  334.992537] ath10k_pci 0000:03:00.0: failed to wait for target init: -70
[  336.316898] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[  336.817467] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[  341.082841] wlp3s0: authenticate with 70:62:b8:c7:2a:20
[  341.139564] wlp3s0: send auth to 70:62:b8:c7:2a:20 (try 1/3)
[  342.334076] wlp3s0: send auth to 70:62:b8:c7:2a:20 (try 2/3)
[  343.320831] wlp3s0: send auth to 70:62:b8:c7:2a:20 (try 3/3)
[  344.334117] wlp3s0: authentication with 70:62:b8:c7:2a:20 timed out
[  349.138063] wlp3s0: authenticate with 70:62:b8:c7:2a:20
[  349.194747] wlp3s0: send auth to 70:62:b8:c7:2a:20 (try 1/3)
[  350.360472] wlp3s0: send auth to 70:62:b8:c7:2a:20 (try 2/3)
[  351.347028] wlp3s0: send auth to 70:62:b8:c7:2a:20 (try 3/3)
[  352.333669] wlp3s0: authentication with 70:62:b8:c7:2a:20 timed out

I have verified firmware in "/usr/lib/firmware/ath10k/QCA6174" folder and below files are available.

[mooze@mooze QCA6174]$ ls -lrt
total 8
drwxr-xr-x 2 root root 4096 Mar 10 01:41 hw2.1
drwxr-xr-x 3 root root 4096 Mar 11 07:25 hw3.0

[mooze@mooze QCA6174]$ ls *
hw2.1:
board-2.bin  board.bin  firmware-5.bin  notice_ath10k_firmware-5.txt

hw3.0:
board-2.bin  board.bin  firmware-4.bin  notice_ath10k_firmware-4.txt
[mooze@mooze QCA6174]$ 

I also checked other forums and did below earlier:

[mooze@mooze modprobe.d]$ more ath10k.conf 
options ath10k_core skip_otp=y
[mooze@mooze modprobe.d]$ pwd
/etc/modprobe.d
[mooze@mooze modprobe.d]$ 
[mooze@mooze modprobe.d]$ lsmod | grep ath
ath10k_pci             45056  0
ath10k_core           294912  1 ath10k_pci
ath                    28672  1 ath10k_core
mac80211              692224  1 ath10k_core
cfg80211              524288  3 mac80211,ath,ath10k_core
[mooze@mooze modprobe.d]$ 

I also tried removing authentication from my hotspot but the issue persisted.

Wifi was working fine till last night.  I updated and new kernel was installed along with few other stuffs. Please help. Let me know if you require any other information.

Thanks

Last edited by mooze_on_arch (2017-03-11 03:41:49)

Offline

#2 2017-03-11 02:43:59

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Issues with wifi, Atheros QCA6174 card after pacman update.

Please use code blocks when posting code, command-line output or file content,

like so

My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#3 2017-03-11 21:47:20

EpicRag
Member
From: Lisbon/Beja, Portugal
Registered: 2008-09-01
Posts: 8

Re: Issues with wifi, Atheros QCA6174 card after pacman update.

I've noticed the same issue on a Dell XPS 13 (9360), which uses the same wireless card. As a workaround, restarting the netctl service for that interface works for me.

The kernel seems to be trying to load the wrong file:

[   14.026855] ath10k_pci 0000:3a:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2

The directory `/usr/lib/firmware/ath10k/QCA6174/hw3.0/` doesn't have a `firmware-5.bin` file, like `/usr/lib/firmware/ath10k/QCA6174/hw2.1/` as.

Maybe somehow the kernel is getting misguided to load the wrong file? Does any know where that is defined?

Thank you.

EDIT:

I'm a cheat and I've just copied the /usr/lib/firmware/ath10k/QCA6174/hw2.1/firmware-5.bin file to /usr/lib/firmware/ath10k/QCA6174/hw3.0/firmware-5.bin. I no longer get the above error but wireless is still weird, I need to restart it to get it to work.

Last edited by EpicRag (2017-03-11 22:24:56)

Offline

#4 2017-03-12 16:24:31

mooze_on_arch
Member
From: Bengaluru, India
Registered: 2016-04-11
Posts: 3

Re: Issues with wifi, Atheros QCA6174 card after pacman update.

Well I haven't seen that error. I do see below:

[mooze@mooze ~]$ dmesg | grep ath
[    4.594504] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[    4.854400] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:03:00.0.bin failed with error -2
[    4.854413] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2 
[    4.855933] ath10k_pci 0000:03:00.0: qca6174 hw2.1 target 0x05010000 chip_id 0x003405ff sub 11ad:0804
[    4.855935] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 0 testmode 0
[    4.856399] ath10k_pci 0000:03:00.0: firmware ver SW_RM.1.1.1-00157-QCARMSWPZ-1 api 5 features ignore-otp,no-4addr-pad crc32 10bf8e08
[    4.918551] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id N/A crc32 ae2e275a

Though I have read in many forums that those two firmware errors are fine.

Offline

#5 2017-04-15 14:34:58

toneymoon
Member
Registered: 2010-06-08
Posts: 3

Re: Issues with wifi, Atheros QCA6174 card after pacman update.

Hi, guys! I have the same issue. I had to reload ath10k_pci module to resume connection to Wi-Fi after the crash. My friend enlighted me and now Network Manager dispatcher is responsible for this job. Here is my script:

#!/bin/bash

IF=$1
STATUS=$2

if [ "$1" == "wlp3s0" ]
then
  case $2 in
    down)
      rmmod ath10k_pci && sleep 5 && modprobe ath10k_pci && date >> /var/log/modtrig.log
      ;;   
  esac
fi

Place it to /etc/NetworkManager/dispatcher.d/ and chown to root and make executable.

Last edited by toneymoon (2017-04-15 14:38:24)

Offline

Board footer

Powered by FluxBB