Comment 0 for bug 1683577

Revision history for this message
Dehuan Xin (dxin) wrote :

My laptop, acer E5-575-53EJ, sometimes boots without wifi connection being detected.
Restarting the network-manager sometimes fixes the problem.

dmesg | grep ath shows the kernel log.

The system finishes booting at 12.x seconds with no wifi connections. Network-manager is restarted around 3x seconds and connection is established around 78.x seconds.
Then firmware crashed at 624 seconds, followed by a successful recovery.

At 915.x seconds a suspend is attempted, followed by a restart of network-manager scheduled by systemd. Connect was lost.

Launching Wicd network manager recovers the connection, but the network-manager shows nothing.

Ubuntu: 17.04,
kernel: 4.10.0-19-generic
Firmware:
I tired the qca firmware at https://github.com/kvalo/ath10k-firmware/tree/master/QCA9377/hw1.0 .
all three files have the same md5 as the one installed by default.
Hardware:
02:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
[ 0.177594] pci 0000:02:00.0: [168c:0042] type 00 class 0x028000
[ 0.177626] pci 0000:02:00.0: reg 0x10: [mem 0xb1000000-0xb11fffff 64bit]
[ 0.177800] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[ 0.177871] pci 0000:02:00.0: System wakeup disabled by ACPI

Additional info: When this laptop was running 1.23 bios, linux has reported repeated PCIE errors. I upgraded bios to 1.25 and PCIE errors are gone, however wifi does not improve.

[ 1.917547] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 2.196931] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[ 2.196945] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[ 2.198777] ath10k_pci 0000:02:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 11ad:08a6
[ 2.198779] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 2.199128] ath10k_pci 0000:02:00.0: firmware ver WLAN.TF.1.0-00267-1 api 5 features ignore-otp crc32 79cea2c7
[ 2.264639] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 93da0176
[ 4.066350] ath10k_pci 0000:02:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[ 4.071835] ath: EEPROM regdomain: 0x69
[ 4.071835] ath: EEPROM indicates we should expect a direct regpair map
[ 4.071837] ath: Country alpha2 being used: 00
[ 4.071837] ath: Regpair used: 0x69
[ 4.076946] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0
[ 8.562060] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 12.760910] ath: EEPROM regdomain: 0x8348
[ 12.760911] ath: EEPROM indicates we should expect a country code
[ 12.760912] ath: doing EEPROM country->regdmn map search
[ 12.760913] ath: country maps to regdmn code: 0x3a
[ 12.760914] ath: Country alpha2 being used: US
[ 12.760914] ath: Regpair used: 0x3a
[ 12.760915] ath: regdomain 0x8348 dynamically updated by country IE
[ 22.051491] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 22.052023] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 22.052471] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 22.092738] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 22.195128] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 32.478247] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 39.400234] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 50.115130] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 50.577978] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 55.781520] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 55.884352] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 63.402603] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 68.063646] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 68.526311] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 76.300734] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 76.557875] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 79.876632] ath: EEPROM regdomain: 0x8348
[ 79.876632] ath: EEPROM indicates we should expect a country code
[ 79.876633] ath: doing EEPROM country->regdmn map search
[ 79.876633] ath: country maps to regdmn code: 0x3a
[ 79.876634] ath: Country alpha2 being used: US
[ 79.876634] ath: Regpair used: 0x3a
[ 79.876635] ath: regdomain 0x8348 dynamically updated by country IE
[ 624.156177] ath10k_pci 0000:02:00.0: firmware crashed! (uuid bf526e81-5227-4645-969c-085d34525169)
[ 624.156238] ath10k_pci 0000:02:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 11ad:08a6
[ 624.156255] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 624.158628] ath10k_pci 0000:02:00.0: firmware ver WLAN.TF.1.0-00267-1 api 5 features ignore-otp crc32 79cea2c7
[ 624.160240] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 93da0176
[ 624.160262] ath10k_pci 0000:02:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[ 624.162288] ath10k_pci 0000:02:00.0: firmware register dump:
[ 624.162294] ath10k_pci 0000:02:00.0: [00]: 0x05020001 0x000015B3 0x00985B3A 0x00955B31
[ 624.162297] ath10k_pci 0000:02:00.0: [04]: 0x00985B3A 0x00060730 0x00000004 0x00000000
[ 624.162301] ath10k_pci 0000:02:00.0: [08]: 0x00955A00 0x00438A0C 0x004510FC 0x00420970
[ 624.162304] ath10k_pci 0000:02:00.0: [12]: 0x00000009 0x00000000 0x00952CD0 0x00952CE6
[ 624.162307] ath10k_pci 0000:02:00.0: [16]: 0x00952CC4 0x0091080D 0x00000000 0x00000000
[ 624.162310] ath10k_pci 0000:02:00.0: [20]: 0x40985B3A 0x0040E788 0x00400000 0x00421888
[ 624.162313] ath10k_pci 0000:02:00.0: [24]: 0x809BF546 0x0040E7E8 0x00426470 0xC0985B3A
[ 624.162316] ath10k_pci 0000:02:00.0: [28]: 0x809B90D8 0x0040E958 0x00000018 0x0042EA0C
[ 624.162319] ath10k_pci 0000:02:00.0: [32]: 0x809B859A 0x0040E9A8 0x0040E9CC 0x00428D74
[ 624.162322] ath10k_pci 0000:02:00.0: [36]: 0x8091D252 0x0040E9C8 0x00000000 0x00000001
[ 624.162325] ath10k_pci 0000:02:00.0: [40]: 0x809EDD7B 0x0040EA78 0x00437544 0x00429428
[ 624.162328] ath10k_pci 0000:02:00.0: [44]: 0x809EB6A6 0x0040EA98 0x00437544 0x00000001
[ 624.162332] ath10k_pci 0000:02:00.0: [48]: 0x80911210 0x0040EAE8 0x00000010 0x004041D0
[ 624.162335] ath10k_pci 0000:02:00.0: [52]: 0x80911154 0x0040EB28 0x00400000 0x00000000
[ 624.162337] ath10k_pci 0000:02:00.0: [56]: 0x8091122D 0x0040EB48 0x00000000 0x00400600
[ 626.151981] ath10k_pci 0000:02:00.0: device successfully recovered
[ 915.588782] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 915.589236] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 915.590017] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 915.590411] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 915.656260] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 927.591541] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 927.694493] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 932.042186] ath: EEPROM regdomain: 0x8348
[ 932.042186] ath: EEPROM indicates we should expect a country code
[ 932.042187] ath: doing EEPROM country->regdmn map search
[ 932.042187] ath: country maps to regdmn code: 0x3a
[ 932.042188] ath: Country alpha2 being used: US
[ 932.042188] ath: Regpair used: 0x3a
[ 932.042188] ath: regdomain 0x8348 dynamically updated by country IE
[ 933.156208] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 933.156738] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 933.224851] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 933.327286] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[ 939.611019] ath: EEPROM regdomain: 0x8348
[ 939.611022] ath: EEPROM indicates we should expect a country code
[ 939.611023] ath: doing EEPROM country->regdmn map search
[ 939.611025] ath: country maps to regdmn code: 0x3a
[ 939.611027] ath: Country alpha2 being used: US
[ 939.611028] ath: Regpair used: 0x3a
[ 939.611030] ath: regdomain 0x8348 dynamically updated by country IE