IWL AC 8260, kernel 5.3.*, many kernel WARNING

2019-09-26 Thread Norbert Preining
Dear all,

(please cc)

linux 5.3.1
Debian/sid
Thinkpad X260
iwlwifi :04:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
iwlwifi :04:00.0: loaded firmware version 36.8fd77bb3.0 op_mode iwlmvm

since about 5.3.0 I get a lot of warnings in the syslog about iwlmvm.

It starts with
Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: Microcode SW error 
detected.  Restarting 0x8200.
Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: Start IWL Error Log 
Dump:
Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: Status: 0x0080, 
count: 6
Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: Loaded firmware 
version: 36.8fd77bb3.0
Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: 0x0038 | 
BAD_COMMAND
Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: 0x02F0 | 
trm_hw_status0
Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: 0x | 
trm_hw_status1


after that
Sep 27 09:08:35 burischnitzel kernel: ieee80211 phy0: Hardware restart was 
requested
Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: FW Error 
notification: type 0x cmd_id 0x05
Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: FW Error 
notification: seq 0x0030 service 0x0005
Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: FW Error 
notification: timestamp 0x0037F460
Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: FW error in SYNC 
CMD GEO_TX_POWER_LIMIT
Sep 27 09:08:35 burischnitzel kernel: CPU: 0 PID: 525 Comm: kworker/0:1 
Tainted: GW  OE 5.3.1 #15
Sep 27 09:08:35 burischnitzel kernel: Hardware name: LENOVO 
20F5CTO1WW/20F5CTO1WW, BIOS R02ET71W (1.44 ) 05/08/2019
Sep 27 09:08:35 burischnitzel kernel: Workqueue: events 
iwl_mvm_async_handlers_wk [iwlmvm]
Sep 27 09:08:35 burischnitzel kernel: Call Trace:
Sep 27 09:08:35 burischnitzel kernel:  dump_stack+0x46/0x60
Sep 27 09:08:35 burischnitzel kernel:  iwl_trans_pcie_send_hcmd+0x46e/0x490 
[iwlwifi]
Sep 27 09:08:35 burischnitzel kernel:  ? wait_woken+0x70/0x70
Sep 27 09:08:35 burischnitzel kernel:  iwl_trans_send_cmd+0x57/0xb0 [iwlwifi]
Sep 27 09:08:35 burischnitzel kernel:  iwl_mvm_send_cmd+0x23/0x80 [iwlmvm]
Sep 27 09:08:35 burischnitzel kernel:  iwl_mvm_get_sar_geo_profile+0xae/0x130 
[iwlmvm]
Sep 27 09:08:35 burischnitzel kernel:  ? iwl_mvm_get_regdomain+0x7f/0xc0 
[iwlmvm]
Sep 27 09:08:35 burischnitzel kernel:  iwl_mvm_rx_chub_update_mcc+0xcd/0x110 
[iwlmvm]
Sep 27 09:08:35 burischnitzel kernel:  iwl_mvm_async_handlers_wk+0xaa/0x140 
[iwlmvm]
Sep 27 09:08:35 burischnitzel kernel:  process_one_work+0x1cf/0x370
Sep 27 09:08:35 burischnitzel kernel:  worker_thread+0x4a/0x3c0
Sep 27 09:08:35 burischnitzel kernel:  ? process_one_work+0x370/0x370
Sep 27 09:08:35 burischnitzel kernel:  kthread+0x118/0x130
Sep 27 09:08:35 burischnitzel kernel:  ? kthread_create_worker_on_cpu+0x70/0x70
Sep 27 09:08:35 burischnitzel kernel:  ret_from_fork+0x35/0x40
Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: Failed to get 
geographic profile info -5
Sep 27 09:08:35 burischnitzel kernel: [ cut here ]
Sep 27 09:08:35 burischnitzel kernel: WARNING: CPU: 0 PID: 525 at 
iwl_mvm_rx_umac_scan_complete_notif.cold+0xc/0x13 [iwlmvm]
Sep 27 09:08:35 burischnitzel kernel: Modules linked in: xt_MASQUERADE(E) 
nf_conntrack_netlink(E) xfrm_user(E) xfrm_algo(E) xt>
Sep 27 09:08:35 burischnitzel kernel:  libarc4(E) snd_hda_intel(E) 
x86_pkg_temp_thermal(E) intel_powerclamp(E) iwlwifi(E) core>
Sep 27 09:08:35 burischnitzel kernel:  rtsx_pci_sdmmc(E) aes_x86_64(E) 
crypto_simd(E) mmc_core(E) cryptd(E) glue_helper(E) scs>
Sep 27 09:08:35 burischnitzel kernel: CPU: 0 PID: 525 Comm: kworker/0:1 
Tainted: GW  OE 5.3.1 #15
Sep 27 09:08:35 burischnitzel kernel: Hardware name: LENOVO 
20F5CTO1WW/20F5CTO1WW, BIOS R02ET71W (1.44 ) 05/08/2019
Sep 27 09:08:35 burischnitzel kernel: Workqueue: events 
iwl_mvm_async_handlers_wk [iwlmvm]
Sep 27 09:08:35 burischnitzel kernel: RIP: 
0010:iwl_mvm_rx_umac_scan_complete_notif.cold+0xc/0x13 [iwlmvm]
Sep 27 09:08:35 burischnitzel kernel: Code: 48 c7 c7 68 8e d8 c0 e8 8a c3 74 d2 
0f 0b 49 8b 47 10 44 8b a0 9c 00 00 00 e9 d2 0>
Sep 27 09:08:35 burischnitzel kernel: RSP: 0018:9f524343fdf8 EFLAGS: 
00010246
Sep 27 09:08:35 burischnitzel kernel: RAX: 0024 RBX: 
8cea7f44b040 RCX: 0006
Sep 27 09:08:35 burischnitzel kernel: RDX:  RSI: 
0096 RDI: 8ced12216450
Sep 27 09:08:35 burischnitzel kernel: RBP: 8cecf7d81e38 R08: 
9f524343fcad R09: 06fe
Sep 27 09:08:35 burischnitzel kernel: R10: 0008 R11: 
9f524343fcad R12: 8cecf7d81e08
Sep 27 09:08:35 burischnitzel kernel: R13: 8cecf7d81e08 R14: 
8cea72eb0540 R15: dead0100
Sep 27 09:08:35 burischnitzel kernel: FS:  () 
GS:8ced1220() knlGS:
Sep 27 09:08:35 burischnitzel kernel: CS:  0010 D

Re: IWL AC 8260, kernel 5.3.*, many kernel WARNING

2019-09-27 Thread Paul Bolle
Norbert Preining schreef op vr 27-09-2019 om 10:04 [+0900]:
> Sep 27 09:08:35 burischnitzel kernel: WARNING: CPU: 0 PID: 525 at 
> iwl_mvm_rx_umac_scan_complete_notif.cold+0xc/0x13 [iwlmvm]
> [...]
> 
> This repeats a few times (2-4) and then it settles down.
> 
> WIFI works without any problems, though.

This made me check my logs. It turns out that in my current v5.3.1 session
(now in its fifth day) there are 128 of these warnings. In my case the warning
also mentions
drivers/net/wireless/intel/iwlwifi/mvm/scan.c:1874

My previous session (v5.3.0) accumulated 162 of these warnings in about six
days, while the session before that (v5.2.y) showed none.

Just like in Norbert's case, wifi appears to work fine.


Paul Bolle



Re: IWL AC 8260, kernel 5.3.*, many kernel WARNING

2019-09-27 Thread Kalle Valo
Norbert Preining  writes:

> Dear all,
>
> (please cc)
>
> linux 5.3.1
> Debian/sid
> Thinkpad X260
> iwlwifi :04:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
> iwlwifi :04:00.0: loaded firmware version 36.8fd77bb3.0 op_mode iwlmvm
>
> since about 5.3.0 I get a lot of warnings in the syslog about iwlmvm.
>
> It starts with
> Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: Microcode SW 
> error detected.  Restarting 0x8200.
> Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: Start IWL Error 
> Log Dump:
> Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: Status: 
> 0x0080, count: 6
> Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: Loaded firmware 
> version: 36.8fd77bb3.0
> Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: 0x0038 | 
> BAD_COMMAND
> Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: 0x02F0 | 
> trm_hw_status0
> Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: 0x | 
> trm_hw_status1
> 
>
> after that
> Sep 27 09:08:35 burischnitzel kernel: ieee80211 phy0: Hardware restart was 
> requested
> Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: FW Error 
> notification: type 0x cmd_id 0x05
> Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: FW Error 
> notification: seq 0x0030 service 0x0005
> Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: FW Error 
> notification: timestamp 0x0037F460
> Sep 27 09:08:35 burischnitzel kernel: iwlwifi :04:00.0: FW error in SYNC 
> CMD GEO_TX_POWER_LIMIT

I'm guessing this should fix it:

https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git/commit/?id=fddbfeece9c7882cc47754c7da460fe427e3e85b

-- 
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


Re: IWL AC 8260, kernel 5.3.*, many kernel WARNING

2019-09-27 Thread Norbert Preining
Dear Kalle,

On Fri, 27 Sep 2019, Kalle Valo wrote:
> I'm guessing this should fix it:
> https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git/commit/?id=fddbfeece9c7882cc47754c7da460fe427e3e85b

Yes, I can confirm that with this patch added on top of 5.3.1 I don't
see the warnings anymore.

Thanks a lot

Norbert

--
PREINING Norbert   http://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13