Bug 210491 - Wi-Fi 6 AX200 iwlmvm iwlwifi error
Summary: Wi-Fi 6 AX200 iwlmvm iwlwifi error
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless-intel (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: Anders Marchsteiner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-04 21:38 UTC by Anders Marchsteiner
Modified: 2021-11-18 10:21 UTC (History)
4 users (show)

See Also:
Kernel Version: 5.9.12
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg | tail -n 100 (8.36 KB, text/plain)
2020-12-04 21:38 UTC, Anders Marchsteiner
Details
lspci -v (11.67 KB, text/plain)
2020-12-04 21:39 UTC, Anders Marchsteiner
Details
.config (112.84 KB, text/plain)
2020-12-04 21:39 UTC, Anders Marchsteiner
Details
Fix - formatted patch. (1.51 KB, patch)
2020-12-06 07:18 UTC, Golan Ben Ami
Details | Diff

Description Anders Marchsteiner 2020-12-04 21:38:56 UTC
Created attachment 293935 [details]
dmesg | tail -n 100

Hi,

I have encountered an error on my Lenovo Thinkpad P53 when trying to get the wifi to work.

The firmware version is `55.d9698065.0 cc-a0-55.ucode op_mode iwlmvm`.

I can scan and connect but it disconnects after ~30 seconds.

The error I receive is this:
`
[  124.291799] ------------[ cut here ]------------
[  124.293000] WARNING: CPU: 6 PID: 349 at net/wireless/nl80211.c:7301 nl80211_get_reg_do+0x1ec/0x220 [cfg80211]
[  124.294030] Modules linked in: iwlmvm mac80211 cmac x86_pkg_temp_thermal iwlwifi wmi_bmof nouveau kvm_intel kvm hwmon mxm_wmi ttm irqbypass i2c_algo_bit drm_kms_helper syscopyarea cfg80211 sysfillrect sysimgblt fb_sys_fops rfkill nvidiafb vgastate ucsi_acpi typec_ucsi typec wmi video drm backlight
[  124.296054] CPU: 6 PID: 349 Comm: iwd Not tainted 5.9.12 #1
[  124.297084] Hardware name: LENOVO 20QN002PMX/20QN002PMX, BIOS N2NET40W (1.25 ) 08/26/2020
[  124.298122] RIP: 0010:nl80211_get_reg_do+0x1ec/0x220 [cfg80211]
[  124.299058] Code: 24 0c 01 00 00 00 e8 e3 52 b2 fc 85 c0 0f 84 01 ff ff ff eb a6 48 89 ef 48 89 04 24 e8 fd 95 de fc 48 8b 04 24 e9 43 ff ff ff <0f> 0b 48 89 ef e8 ea 95 de fc b8 ea ff ff ff e9 2f ff ff ff e9 78
[  124.300359] RSP: 0018:ffffb3a4c0c77c00 EFLAGS: 00010202
[  124.302119] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
[  124.303187] RDX: ffff9a85e2170008 RSI: 0000000000000000 RDI: ffff9a85e21702e0
[  124.304149] RBP: ffff9a8619245c00 R08: 0000000000000004 R09: ffff9a85e1c8a014
[  124.304876] R10: 000000000000001c R11: ffffffffc0304310 R12: ffffb3a4c0c77c58
[  124.305497] R13: 0000000000000000 R14: ffff9a85e1c8a014 R15: ffff9a85e21702e0
[  124.306096] FS:  00007f632866f740(0000) GS:ffff9a8620b80000(0000) knlGS:0000000000000000
[  124.306678] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  124.307283] CR2: 000055d943d7e050 CR3: 00000008125f4001 CR4: 00000000003706e0
[  124.307927] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  124.308534] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  124.309206] Call Trace:
[  124.310003]  ? _cond_resched+0x10/0x20
[  124.310829]  genl_rcv_msg+0x19f/0x300
[  124.311621]  ? genl_start+0x140/0x140
[  124.312420]  netlink_rcv_skb+0x44/0x110
[  124.313156]  genl_rcv+0x1f/0x30
[  124.314090]  netlink_unicast+0x18c/0x230
[  124.314825]  netlink_sendmsg+0x220/0x450
[  124.315756]  sock_sendmsg+0x59/0x60
[  124.317231]  __sys_sendto+0xe9/0x150
[  124.318072]  ? __sys_recvmsg+0x51/0xa0
[  124.318838]  ? do_epoll_wait+0xab/0xd0
[  124.319644]  __x64_sys_sendto+0x20/0x30
[  124.320283]  do_syscall_64+0x33/0x40
[  124.320901]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  124.321322] RIP: 0033:0x7f6328773140
[  124.321734] Code: ff eb bc 0f 1f 80 00 00 00 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 1d 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 68 c3 0f 1f 80 00 00 00 00 55 48 83 ec 20 48
[  124.322133] RSP: 002b:00007ffe50a3fcf8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
[  124.322545] RAX: ffffffffffffffda RBX: 000055d943d68870 RCX: 00007f6328773140
[  124.322943] RDX: 000000000000001c RSI: 000055d943d7d3a0 RDI: 0000000000000004
[  124.323326] RBP: 000055d943d72450 R08: 0000000000000000 R09: 0000000000000000
[  124.323724] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe50a3fd50
[  124.324116] R13: 00007ffe50a3fd4c R14: 000055d943d72500 R15: 0000000000000000
[  124.324506] ---[ end trace 9f813a97d997cc7d ]---
`

Thanks in advance,
Anders Marchsteiner
Comment 1 Anders Marchsteiner 2020-12-04 21:39:19 UTC
Created attachment 293937 [details]
lspci -v
Comment 2 Anders Marchsteiner 2020-12-04 21:39:35 UTC
Created attachment 293939 [details]
.config
Comment 3 Golan Ben Ami 2020-12-06 07:18:55 UTC
Created attachment 293955 [details]
Fix - formatted patch.

Hi Anders,
we have a fix for this which be upstreamed soon.
Comment 4 d 2020-12-06 15:36:33 UTC
Pity nobody is looking at fixing https://bugzilla.kernel.org/show_bug.cgi?id=203709 or https://bugzilla.kernel.org/show_bug.cgi?id=205299 (which seems to be a duplicate of 203709) that loos to be related to this.
Comment 5 Golan Ben Ami 2021-11-18 10:21:37 UTC
Upstreamed - eb09ae9 iwlwifi: mvm: load regdomain at INIT stage

Note You need to log in before you can comment on or make changes to this bug.