You are not logged in.

#1 2021-09-04 08:37:33

gmelchett
Member
Registered: 2016-08-18
Posts: 75

[SOLVED] Kernel warning at net/wireless/nl80211.c:7578 and no wifi

Hi,

With both linux-lts (5.10.62-1) and linux (5.13.13) I get the following kernel warning
and no wifi:

[   19.120225] ------------[ cut here ]------------
[   19.120263] WARNING: CPU: 0 PID: 688 at net/wireless/nl80211.c:7578 nl80211_get_reg_do+0x206/0x240 [cfg80211]
[   19.120265] Modules linked in: ccm snd_soc_hdac_hda algif_aead snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match intel_rapl_msr snd_hda_codec_realtek(+) intel_rapl_common joydev pcc_cpufreq(-) acpi_cpufreq(-) des_generic snd_hda_codec_generic lib\
des snd_soc_acpi mousedev snd_hda_intel ecb snd_intel_dspcfg soundwire_intel soundwire_generic_allocation x86_pkg_temp_thermal algif_skcipher intel_powerclamp soundwire_cadence snd_hda_codec cmac snd_hda_core snd_hwdep soundwire_bus md4 8021q algif_hash garp coretemp mrp i\
wlmvm stp af_alg llc snd_soc_core kvm_intel mac80211 ee1004 i915 uvcvideo kvm iTCO_wdt intel_pmc_bxt iTCO_vendor_support snd_compress mei_wdt mei_hdcp libarc4 ac97_bus wmi_bmof irqbypass videobuf2_vmalloc snd_pcm_dmaengine videobuf2_memops iwlwifi snd_pcm rapl videobuf2_v4\
l2 intel_cstate videobuf2_common intel_uncore i2c_algo_bit drm_kms_helper cdc_mbim cdc_wdm vfat cdc_ncm fat psmouse pcspkr e1000e i2c_i801 videodev snd_timer i2c_smbus cfg80211 cdc_ether
[   19.120324]  cec usbnet intel_gtt syscopyarea qcserial sysfillrect mei_me mc sysimgblt intel_xhci_usb_role_switch usb_wwan mii mei roles fb_sys_fops intel_pch_thermal thinkpad_acpi wmi ledtrig_audio rfkill snd tpm_crb soundcore mac_hid tpm_tis video tpm_tis_core drm fus\
e pkcs8_key_parser agpgart bpf_preload ip_tables x_tables btrfs blake2b_generic libcrc32c crc32c_generic xor raid6_pq mmc_block dm_crypt cbc encrypted_keys dm_mod trusted tpm rng_core rtsx_pci_sdmmc mmc_core serio_raw atkbd libps2 crct10dif_pclmul crc32_pclmul crc32c_intel\
 ghash_clmulni_intel aesni_intel crypto_simd cryptd glue_helper xhci_pci rtsx_pci xhci_pci_renesas i8042 serio
[   19.120376] CPU: 0 PID: 688 Comm: iwd Tainted: G     U            5.10.62-1-lts #1
[   19.120377] Hardware name: LENOVO 20FAS60600/20FAS60600, BIOS N1CET83W (1.51 ) 04/20/2021
[   19.120410] RIP: 0010:nl80211_get_reg_do+0x206/0x240 [cfg80211]
[   19.120413] Code: 24 0c 01 00 00 00 e8 f9 ca e0 e2 85 c0 0f 84 fc fe ff ff eb a6 48 89 ef 48 89 04 24 e8 03 a5 13 e3 48 8b 04 24 e9 43 ff ff ff <0f> 0b 48 89 ef e8 f0 a4 13 e3 b8 ea ff ff ff e9 2f ff ff ff b8 97
[   19.120414] RSP: 0018:ffffc264c06a3b58 EFLAGS: 00010202
[   19.120416] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
[   19.120417] RDX: ffff9d4effab0008 RSI: 0000000000000000 RDI: ffff9d4effab0300
[   19.120418] RBP: ffff9d4ec0b1a300 R08: 0000000000000004 R09: ffff9d4f02f37014
[   19.120419] R10: 0000000000000021 R11: ffff9d4ec5111f00 R12: ffffc264c06a3bb8
[   19.120420] R13: 0000000000000000 R14: ffff9d4f02f37014 R15: ffff9d4effab0300
[   19.120422] FS:  00007f042e232740(0000) GS:ffff9d52ed400000(0000) knlGS:0000000000000000
[   19.120423] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   19.120425] CR2: 00007ffd30604ff8 CR3: 000000013f8f2001 CR4: 00000000003706f0
[   19.120426] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   19.120427] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   19.120428] Call Trace:
[   19.120437]  genl_family_rcv_msg_doit+0xfd/0x160
[   19.120441]  genl_rcv_msg+0xeb/0x1e0
[   19.120474]  ? __cfg80211_rdev_from_attrs+0x1d0/0x1d0 [cfg80211]
[   19.120506]  ? nl80211_send_regdom.constprop.0+0x1b0/0x1b0 [cfg80211]
[   19.120509]  ? genl_get_cmd+0xd0/0xd0
[   19.120511]  netlink_rcv_skb+0x5b/0x100
[   19.120513]  genl_rcv+0x24/0x40
[   19.120515]  netlink_unicast+0x209/0x2d0
[   19.120517]  netlink_sendmsg+0x23a/0x470
[   19.120520]  sock_sendmsg+0x5e/0x60
[   19.120523]  __sys_sendto+0x124/0x190
[   19.120526]  __x64_sys_sendto+0x20/0x30
[   19.120529]  do_syscall_64+0x33/0x40
[   19.120532]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   19.120534] RIP: 0033:0x7f042e334c10
[   19.120535] Code: c0 ff ff ff ff eb b8 0f 1f 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
[   19.120536] RSP: 002b:00007ffd30609ce8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
[   19.120538] RAX: ffffffffffffffda RBX: 000055fb02cd6870 RCX: 00007f042e334c10
[   19.120539] RDX: 000000000000001c RSI: 000055fb02ced510 RDI: 0000000000000004
[   19.120539] RBP: 000055fb02cec190 R08: 0000000000000000 R09: 0000000000000000
[   19.120540] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd30609d50
[   19.120541] R13: 00007ffd30609d4c R14: 000055fb02ce0500 R15: 000055fb01373419
[   19.120543] ---[ end trace 71bd470bde1cdb22 ]---

Wifi on this laptop used to work fine, but some resent update seems to have broken it. Anyone knows the solution
of this issue?

Thanks!

Edit: built-in wifi works fine with Ubuntu 20.04, so it's not a hardware issue.
An old USB wifi-dongle works as well with arch linux (linux 5.13.13)
Edit2: Added code tag.

Last edited by gmelchett (2021-09-04 16:58:47)

Offline

#2 2021-09-04 16:43:33

gnox
Member
Registered: 2013-05-18
Posts: 90

Re: [SOLVED] Kernel warning at net/wireless/nl80211.c:7578 and no wifi

I used to see that warning message for my laptop wifi ax200 but it didnt affect the wifi to work,  I applied this patch to not show the mesage : https://lore.kernel.org/linux-wireless/ … ngeid/T/#u

Offline

#3 2021-09-04 16:58:23

gmelchett
Member
Registered: 2016-08-18
Posts: 75

Re: [SOLVED] Kernel warning at net/wireless/nl80211.c:7578 and no wifi

Thanks! The comment in the patch reminded me of what I've forgot to check: rfkill

sudo rfkill unblock wlan

fixed the issue.

Offline

Board footer

Powered by FluxBB