You are not logged in.

#1 2024-09-01 11:16:44

DrBack
Member
Registered: 2024-09-01
Posts: 6

[SOLVED] No wireless network interface listed

Hello,

I've got a Lenovo Legion and just installed LenovoLegionLinux. A day or two after the installation and a couple reboots my WLAN interface dissapeared.
After a day of tinkering it still doesn't show up.

ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 90:2e:16:57:60:97 brd ff:ff:ff:ff:ff:ff
    altname enp3s0
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
    link/ether 02:42:ba:75:02:c0 brd ff:ff:ff:ff:ff:ff
lspci -k | grep -A 2 -i network
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852AE 802.11ax PCIe Wireless Network Adapter
	Subsystem: Lenovo Device 4852
	Kernel driver in use: rtw89_8852ae

The system is up to date and I have reinstalled linux-firmware.

Last edited by DrBack (2024-09-04 20:54:47)

Offline

#2 2024-09-01 14:33:45

seth
Member
Registered: 2012-09-03
Posts: 57,358

Re: [SOLVED] No wireless network interface listed

https://bbs.archlinux.org/viewtopic.php … 3#p2192423 ?

Ceterum ceseo (and notably since this was hibernation driven): Is there a parallel windows installation?
=> 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Offline

#3 2024-09-01 21:16:27

DrBack
Member
Registered: 2024-09-01
Posts: 6

Re: [SOLVED] No wireless network interface listed

Hey Seth, thanks for answering so fast, I am indeed running windows via dual boot but the fast startup is already disabled (just checked it to be sure).

I've also uploaded my journalctl: http://0x0.st/XvF7.txt.
This also includes the previous boot because when rebooting to check up on the windows fast-start my system wouldn't shutdown, I had to do a hard power-off, could this problem be related? It hangs at something with "laptop_mode".

Offline

#4 2024-09-01 21:22:38

seth
Member
Registered: 2012-09-03
Posts: 57,358

Re: [SOLVED] No wireless network interface listed

Sep 01 12:31:59 DrManiac kernel: RIP: 0010:rtw89_pci_probe+0x77/0xbc0 [rtw89pci]
Sep 01 12:31:59 DrManiac kernel: Code: 0a 00 00 49 89 c5 48 8b 43 10 49 c7 85 18 05 00 00 a0 3e 60 c6 4c 89 ef 49 89 85 b8 00 00 00 41 c7 85 20 05 00 00 00 00 00 00 <8b> 90 8c 00 00 00 41 89 95 24 05 00 00 8b 80 90 00 00 00 41 89 85
Sep 01 12:31:59 DrManiac kernel: RSP: 0018:ffffc900027f39b8 EFLAGS: 00010282
Sep 01 12:31:59 DrManiac kernel: RAX: 0000000000000000 RBX: ffffffffc640a080 RCX: ffffc900027f3800
Sep 01 12:31:59 DrManiac kernel: RDX: ffffc900027f37c0 RSI: 0000000000000000 RDI: ffff888129f02080
Sep 01 12:31:59 DrManiac kernel: RBP: ffff888101c05000 R08: 0000000000000000 R09: ffff88821c113fff
Sep 01 12:31:59 DrManiac kernel: R10: ffffffffc6590ab6 R11: 0000000000000000 R12: ffffffffc6400020
Sep 01 12:31:59 DrManiac kernel: R13: ffff888129f02080 R14: ffff888101c05000 R15: ffff88810b6b70e8
Sep 01 12:31:59 DrManiac kernel: FS:  00007cf90786b880(0000) GS:ffff888712100000(0000) knlGS:0000000000000000
Sep 01 12:31:59 DrManiac kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 01 12:31:59 DrManiac kernel: CR2: 000000000000008c CR3: 00000001210da000 CR4: 0000000000f50ee0
Sep 01 12:31:59 DrManiac kernel: PKRU: 55555554
Sep 01 12:31:59 DrManiac kernel: Call Trace:
Sep 01 12:31:59 DrManiac kernel:  <TASK>
Sep 01 12:31:59 DrManiac kernel:  ? __die+0x23/0x70
Sep 01 12:31:59 DrManiac kernel:  ? page_fault_oops+0x174/0x530
Sep 01 12:31:59 DrManiac kernel:  ? exc_page_fault+0x7f/0x180
Sep 01 12:31:59 DrManiac kernel:  ? asm_exc_page_fault+0x26/0x30
Sep 01 12:31:59 DrManiac kernel:  ? rtw89_pci_probe+0x77/0xbc0 [rtw89pci c657462418fbf4f3c9f7bb37934886db2d30c086]
Sep 01 12:31:59 DrManiac kernel:  ? rtw89_pci_probe+0x47/0xbc0 [rtw89pci c657462418fbf4f3c9f7bb37934886db2d30c086]
Sep 01 12:31:59 DrManiac kernel:  local_pci_probe+0x45/0xa0
Sep 01 12:31:59 DrManiac kernel:  pci_device_probe+0xbd/0x2a0
Sep 01 12:31:59 DrManiac kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Sep 01 12:31:59 DrManiac kernel:  ? sysfs_do_create_link_sd+0x6e/0xe0
Sep 01 12:31:59 DrManiac kernel:  really_probe+0x19e/0x3e0
Sep 01 12:31:59 DrManiac kernel:  ? __pfx___driver_attach+0x10/0x10
Sep 01 12:31:59 DrManiac kernel:  __driver_probe_device+0x78/0x160
Sep 01 12:31:59 DrManiac kernel:  driver_probe_device+0x1f/0xa0
Sep 01 12:31:59 DrManiac kernel:  __driver_attach+0xba/0x1c0
Sep 01 12:31:59 DrManiac kernel:  bus_for_each_dev+0x8f/0xe0
Sep 01 12:31:59 DrManiac kernel:  bus_add_driver+0x112/0x240
Sep 01 12:31:59 DrManiac kernel:  driver_register+0x5c/0x100
Sep 01 12:31:59 DrManiac kernel:  ? __pfx_rtw89_8852ae_driver_init+0x10/0x10 [rtw89_8852ae 53c64e0b1b50ed5cbfe79857322ea351eb998ec9]
Sep 01 12:31:59 DrManiac kernel:  do_one_initcall+0x5d/0x320
Sep 01 12:31:59 DrManiac kernel:  do_init_module+0x60/0x240
Sep 01 12:31:59 DrManiac kernel:  init_module_from_file+0x89/0xe0
Sep 01 12:31:59 DrManiac kernel:  idempotent_init_module+0x121/0x320
Sep 01 12:31:59 DrManiac kernel:  __x64_sys_finit_module+0x5e/0xb0
Sep 01 12:31:59 DrManiac kernel:  do_syscall_64+0x5a/0x80
Sep 01 12:31:59 DrManiac kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Sep 01 12:31:59 DrManiac kernel:  ? exit_to_user_mode_prepare+0x132/0x1f0
Sep 01 12:31:59 DrManiac kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Sep 01 12:31:59 DrManiac kernel:  ? syscall_exit_to_user_mode+0x22/0x40
Sep 01 12:31:59 DrManiac kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Sep 01 12:31:59 DrManiac kernel:  ? do_syscall_64+0x66/0x80
Sep 01 12:31:59 DrManiac kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Sep 01 12:31:59 DrManiac kernel:  ? syscall_exit_to_user_mode+0x22/0x40
Sep 01 12:31:59 DrManiac kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Sep 01 12:31:59 DrManiac kernel:  ? do_syscall_64+0x66/0x80
Sep 01 12:31:59 DrManiac kernel:  ? task_mm_cid_work+0x1a4/0x230
Sep 01 12:31:59 DrManiac kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Sep 01 12:31:59 DrManiac kernel:  ? switch_fpu_return+0x4f/0xe0
Sep 01 12:31:59 DrManiac kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Sep 01 12:31:59 DrManiac kernel:  ? do_sync_core+0x2a/0x30
Sep 01 12:31:59 DrManiac kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Sep 01 12:31:59 DrManiac kernel:  ? __flush_smp_call_function_queue+0x9e/0x460
Sep 01 12:31:59 DrManiac kernel:  ? do_syscall_64+0x66/0x80
Sep 01 12:31:59 DrManiac kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Sep 01 12:31:59 DrManiac kernel:  ? __irq_exit_rcu+0x4b/0xc0
Sep 01 12:31:59 DrManiac kernel:  entry_SYSCALL_64_after_hwframe+0x78/0xe2
Sep 01 12:31:59 DrManiac kernel: RIP: 0033:0x7cf9073261fd
Sep 01 12:31:59 DrManiac kernel: Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e3 fa 0c 00 f7 d8 64 89 01 48
Sep 01 12:31:59 DrManiac kernel: RSP: 002b:00007ffe06866d68 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
Sep 01 12:31:59 DrManiac kernel: RAX: ffffffffffffffda RBX: 0000646dc6f97cd0 RCX: 00007cf9073261fd
Sep 01 12:31:59 DrManiac kernel: RDX: 0000000000000004 RSI: 00007cf90786505d RDI: 000000000000002f
Sep 01 12:31:59 DrManiac kernel: RBP: 00007ffe06866e20 R08: 0000000000000001 R09: 00007ffe06866db0
Sep 01 12:31:59 DrManiac kernel: R10: 0000000000000040 R11: 0000000000000246 R12: 00007cf90786505d
Sep 01 12:31:59 DrManiac kernel: R13: 0000000000020000 R14: 0000646dc6ffe990 R15: 0000646dc6ffa3e0
Sep 01 12:31:59 DrManiac kernel:  </TASK>
Sep 01 12:31:59 DrManiac kernel: Modules linked in: hid_multitouch(+) snd_intel_dspcfg snd_pcm_dmaengine crc32_pclmul snd_pci_ps snd_intel_sdw_acpi rtw89_8852ae(+) polyval_clmulni rtw_8852a(OE) polyval_generic snd_rpl_pci_acp6x snd_hda_codec gf128mul snd_acp_pci rtw89pci(OE) fjes(-) snd_hda_core snd_acp_legacy_common ghash_clmulni_intel rtw89core(OE) snd_pci_acp6x sha512_ssse3 snd_hwdep sha256_ssse3 snd_pcm r8169 sha1_ssse3 ip6t_REJECT nf_reject_ipv6 snd_pci_acp5x xt_hl snd_rn_pci_acp3x aesni_intel realtek snd_timer ucsi_acpi(+) snd_acp_config mac80211 ip6t_rt mdio_devres crypto_simd snd snd_soc_acpi ipt_REJECT cm32181 ideapad_laptop typec_ucsi nvidia_drm(POE+) sp5100_tco cryptd libarc4 rapl sparse_keymap wdat_wdt wmi_bmof cfg80211 typec pcspkr libphy legion_laptop(OE) nvidia_modeset(POE) i2c_piix4 soundcore snd_pci_acp3x zenpower(OE) ccp roles platform_profile nf_reject_ipv4 rfkill i2c_hid_acpi industrialio xt_LOG i2c_hid nf_log_syslog mac_hid xt_limit xt_addrtype xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4
Sep 01 12:31:59 DrManiac kernel:  libcrc32c ip6table_filter ip6_tables iptable_filter nvidia_uvm(POE) nvidia(POE) crypto_user fuse loop dm_mod nfnetlink bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 usbhid amdgpu i2c_algo_bit drm_ttm_helper ttm drm_exec serio_raw drm_suballoc_helper atkbd amdxcp libps2 drm_buddy vivaldi_fmap gpu_sched nvme drm_display_helper crc32c_intel nvme_core xhci_pci cec video i8042 xhci_pci_renesas nvme_common serio wmi
Sep 01 12:31:59 DrManiac kernel: CR2: 000000000000008c
Sep 01 12:31:59 DrManiac kernel: ---[ end trace 0000000000000000 ]---
Sep 01 12:31:59 DrManiac kernel: RIP: 0010:rtw89_pci_probe+0x77/0xbc0 [rtw89pci]

If it's none of the parameters in the linked thread, also try "pcie_aspm=off", https://wiki.archlinux.org/title/Kernel_parameters

Edit:
laptop_mode is probably https://aur.archlinux.org/packages/laptop-mode-tools and seems stuck around

Sep 01 13:29:33 DrManiac systemd-sleep[68005]: Performing sleep operation 'suspend'...
Sep 01 13:29:33 DrManiac kernel: PM: suspend entry (deep)
Sep 01 13:29:33 DrManiac kernel: Filesystems sync: 0.014 seconds

which happen at a ridiculous pace, I'd say some script going wild?

Last edited by seth (2024-09-01 21:28:08)

Offline

#5 2024-09-01 21:38:13

DrBack
Member
Registered: 2024-09-01
Posts: 6

Re: [SOLVED] No wireless network interface listed

That didn't work, I cant turn off power_save either because the interface isn't present.
I've tried a lot of things but can't seem to work.

Offline

#6 2024-09-01 21:42:30

seth
Member
Registered: 2012-09-03
Posts: 57,358

Re: [SOLVED] No wireless network interface listed

What exactly did you try and didn't work?
Do you still get the exact same rtw89_pci_probe errors?

I've tried a lot of things but can't seem to work.

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
What else did you attempt?

Does the system have a physica rfkill switch?
Any idea about the wild suspend to ram frequency?

Offline

#7 2024-09-02 18:41:52

DrBack
Member
Registered: 2024-09-01
Posts: 6

Re: [SOLVED] No wireless network interface listed

Sorry for the:

I've tried a lot of things but can't seem to work

It has been a couple of frustrating days. I want to fix this before starting university, that's why I've installed LenovoLegionLinux and TLP.

What else did you attempt?

I've reinstalled the driver via DKMS.

Then checked the wiki troubleshoot about this card: https://wiki.archlinux.org/title/Networ … less#RTW89
and created the modprobe config file as can be seen in the wiki.


About the physical rfkill switch, the wlan device shows up in the rfkill list:

rfkill
ID TYPE      DEVICE                 SOFT      HARD
 0 wlan      ideapad_wlan      unblocked unblocked
 1 bluetooth ideapad_bluetooth unblocked unblocked
 2 bluetooth hci0              unblocked unblocked

But (don't shoot me for this) I think that my laptop doesn't because the WiFi works on windows.

Offline

#8 2024-09-02 20:28:31

seth
Member
Registered: 2012-09-03
Posts: 57,358

Re: [SOLVED] No wireless network interface listed

I've reinstalled the driver via DKMS.

Ok, but the plan was to disable

# /etc/modprobe.d/rtw89.conf
options rtw89_core disable_ps_mode=Y
options rtw89_pci disable_aspm_l1=Y disable_aspm_l1ss=Y

https://bbs.archlinux.org/viewtopic.php … 1#p2191441 - the second part is also in the wiki.
nb. that if the modules are in the initramfs, you'll have to recreate that in order to pick up the config.
And in doubt aspm globally

However, most importantly:

But (don't shoot me for this) I think that my laptop doesn't because the WiFi works on windows.

seth wrote:

=> 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Killing the radio is the number #1 problem caused by this.

Offline

#9 2024-09-03 19:24:23

DrBack
Member
Registered: 2024-09-01
Posts: 6

Re: [SOLVED] No wireless network interface listed

seth wrote:

=> 3d link below. Mandatory

Checked this three times and I am sure it is disabled.

Ok, but the plan was to disable: . . .

This, I've done. The file "/etc/modprobe.d/rtw89.conf" was already in place.

"pcie_aspm=off" is also of, I've gone and checked this:

dmesg | grep ASPM
[    0.046412] PCIe ASPM is disabled

When rebooting I've watched the logs, the most important things are (I know i need to include the full log but I don't know how to find this exact log on the screen):

watchdog did not stop
using hardware watchdog
received SIGTERM PID 1 (systemd-shutdown)
waiting for proces (tlp)
UFW block ...
waiting for proces (tlp) // same ID as before)

P.S.: Seth may I thank you for your help so far. big_smile

Offline

#10 2024-09-03 21:25:55

seth
Member
Registered: 2012-09-03
Posts: 57,358

Re: [SOLVED] No wireless network interface listed

the most important things are

The most important thing is the error in rtw89_pci_probe as in #4 - is that still there?

https://github.com/lwfinger/rtw89/issues/346 - does the problem still exists w/ the non-lts kernel?

Offline

#11 2024-09-04 08:32:44

DrBack
Member
Registered: 2024-09-01
Posts: 6

Re: [SOLVED] No wireless network interface listed

seth wrote:

does the problem still exists w/ the non-lts kernel?

Switching to the non-lts kernel fixed everything, from wlan interface to the shutdown problems.

Offline

#12 2024-09-04 13:22:47

seth
Member
Registered: 2012-09-03
Posts: 57,358

Re: [SOLVED] No wireless network interface listed

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB