Closed szymonlipinski closed 2 years ago
After adding options 8821ce rtw_power_mgnt=0
to the /etc/modprobe.d/8821ce-powersave.conf"
, the computer was fine for about an hour, then the error changed to this
[ 7820.692491] ------------[ cut here ]------------
[ 7820.692497] WARNING: CPU: 2 PID: 193757 at net/wireless/sme.c:756 __cfg80211_connect_result+0x3e4/0x420 [cfg80211]
[ 7820.692603] Modules linked in: wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libblake2s blake2s_x86_64 libcurve25519_generic libchacha libblake2s_genericip6_udp_tunnel udp_tunnel rfcomm xt_conntrack xt_MASQUERADE nf_conntrack_netlink xfrm_user xfrm_algo nft_counter xt_addrtype nft_compat br_netfilter bridge stp llc nft_masq vboxnetadp(OE)vboxnetflt(OE) vboxdrv(OE) nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 overlay ip_set nf_tables libcrc32c nfnetlink cmac algif_hash algif_skcipher af_alg bnep sunrpc binfmt_misc mei_hdcp intel_rapl_msr snd_sof_pci_intel_icl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_hda_codec_hdmi snd_sof_pci snd_sof_xtensa_dsp snd_sof intel_tcc_cooling snd_soc_hdac_hda snd_hda_ext_core snd_hda_codec_realtek x86_pkg_temp_thermal
[ 7820.692674] intel_powerclamp snd_soc_acpi_intel_match snd_soc_acpi snd_hda_codec_generic coretemp soundwire_bus ledtrig_audio snd_soc_core kvm_intel snd_compress ac97_bus snd_pcm_dmaengine nls_iso8859_1 rtsx_usb_ms snd_hda_intel kvm memstick snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec rapl snd_hda_core intel_cstate snd_hwdep joydev wmi_bmof input_leds snd_pcm snd_seq_midi snd_seq_midi_event serio_raw asus_nb_wmi snd_rawmidi snd_seq btusb btrtl btbcm snd_seq_device snd_timer btintel uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 bluetooth videobuf2_common ecdh_generic 8821ce(OE) ecc snd videodev mc processor_thermal_device_pci_legacy soundcore processor_thermal_device cfg80211 hid_multitouch 8250_dw processor_thermal_rfimmei_me processor_thermal_mbox processor_thermal_rapl mei intel_rapl_common intel_soc_dts_iosf int3403_thermal int340x_thermal_zone int3400_thermal mac_hid acpi_thermal_rel acpi_tad acpi_pad sch_fq_codel ipmi_devintf ipmi_msghandler msr parport_pc
[ 7820.692745] ppdev pstore_blk mtd pstore_zone ramoops lp reed_solomon parport efi_pstore ip_tables x_tables autofs4 hid_logitech_hidpp hid_logitech_dj rtsx_usb_sdmmc usbhid rtsx_usb dm_crypt i915 i2c_algo_bit ttm drm_kms_helper hid_generic syscopyarea sysfillrect sysimgblt fb_sys_fops mfd_aaeon crct10dif_pclmul spi_pxa2xx_platform cec dw_dmac asus_wmi xhci_pci dw_dmac_core rc_core sparse_keymap crc32_pclmul ghash_clmulni_intel aesni_intel platform_profile crypto_simd cryptd intel_lpss_pci nvme intel_lpss ahci drm i2c_i801 i2c_smbus nvme_core libahci idma64 xhci_pci_renesas wmi i2c_hid_acpi i2c_hid hid video pinctrl_icelake
[ 7820.692809] CPU: 2 PID: 193757 Comm: kworker/u8:5 Tainted: G OE 5.15.0-40-generic #43-Ubuntu
[ 7820.692815] Hardware name: ASUSTeK COMPUTER INC. VivoBook_ASUSLaptop X415JA_X415JA/X415JA, BIOS X415JA.302 02/01/2021
[ 7820.692818] Workqueue: cfg80211 cfg80211_event_work [cfg80211]
[ 7820.692857] RIP: 0010:__cfg80211_connect_result+0x3e4/0x420 [cfg80211]
[ 7820.692913] Code: 40 e8 48 8b 40 30 48 85 c0 0f 84 50 fd ff ff f0 ff 40 e8 e9 47 fd ff ff 0f 0b 48 8b 76 10 e8 c3 0d fd ff e9 22 fe ff ff 0f 0b <0f> 0b e9 19 fe ff ff e8 60 57 73 db e9 0f fe ff ff 0f 0b e9 3c fd
[ 7820.692916] RSP: 0018:ffff9bdbc49ffd90 EFLAGS: 00010246
[ 7820.692920] RAX: 0000000000000000 RBX: ffff8c1ad28c9400 RCX: 0000000000000000
[ 7820.692923] RDX: 0000000000000002 RSI: 00000000fffffe01 RDI: ffffffffc09ed028
[ 7820.692925] RBP: ffff9bdbc49ffde0 R08: ffff8c1acfea70b8 R09: 0000000000000003
[ 7820.692927] R10: 0000000000000000 R11: fffffffeffe36cfa R12: ffff8c1e159c6018
[ 7820.692929] R13: ffff8c1ac187e000 R14: ffff9bdbc49ffd90 R15: dead000000000100
[ 7820.692932] FS: 0000000000000000(0000) GS:ffff8c1f2bf00000(0000) knlGS:0000000000000000
[ 7820.692935] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7820.692937] CR2: 00007fc8b2d34000 CR3: 00000001235b8001 CR4: 0000000000770ee0
[ 7820.692940] PKRU: 55555554
[ 7820.692942] Call Trace:
[ 7820.692944] <TASK>
[ 7820.692949] cfg80211_process_wdev_events+0x148/0x1b0 [cfg80211]
[ 7820.692991] ? cfg80211_process_wdev_events+0x148/0x1b0 [cfg80211]
[ 7820.693032] cfg80211_process_rdev_events+0x2b/0x40 [cfg80211]
[ 7820.693073] cfg80211_event_work+0x2a/0x40 [cfg80211]
[ 7820.693107] process_one_work+0x228/0x3d0
[ 7820.693116] worker_thread+0x53/0x410
[ 7820.693121] ? process_one_work+0x3d0/0x3d0
[ 7820.693126] kthread+0x127/0x150
[ 7820.693131] ? set_kthread_struct+0x50/0x50
[ 7820.693136] ret_from_fork+0x1f/0x30
[ 7820.693144] </TASK>
[ 7820.693145] ---[ end trace 63517d42c24e66ce ]---
[ 7857.941709] IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
I think it works now. The only thing that helped was setting:
[connection]
wifi.powersave = 2
in the file
/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
They are just warnings. I got the first one too. It's fine.
Yeah, power management doesn't work well with this driver as described in the README.
The driver worked for some time. Now it doesn't throwing error at random time:
Machine info:
The driver is compiled from source. The old one has been removed. The rwt driver is blacklisted.