[Bug 1217495] New: WiFi fails to re-connect on return from suspend, occasionally.
https://bugzilla.suse.com/show_bug.cgi?id=1217495 Bug ID: 1217495 Summary: WiFi fails to re-connect on return from suspend, occasionally. Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.5 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network Assignee: screening-team-bugs@suse.de Reporter: carlos.e.r@opensuse.org QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Created attachment 870981 --> https://bugzilla.suse.com/attachment.cgi?id=870981&action=edit journal showing the event Some times, when thawing my laptop, it fails to connect to the WiFi. Looking at the log, this might look a router issue, but the thing is, it has happened to me on two routers, one in Ottawa, another in Madrid. And hibernating the machine makes the WiFi connect again (power cycles the chipset). Thus I believe the problem is in the laptop/linux side, not the router. Laptop is less that a year old, a Lenovo L14 Gen3 AMD. I will attach journal showing one such incident. Some lines removed for privacy. You have to look on the journal at the timestamps marked with an arrow below: 2023-11-25T15:30:44,422546660+01:00 - Booting the system now ================================================================================ Linux Laicolasse 5.14.21-150500.55.36-default #1 SMP PREEMPT_DYNAMIC Tue Oct 31 08:37:43 UTC 2023 (e7a2e23) x86_64 x86_64 x86_64 GNU/Linux 2023-11-25 16:02:59+01:00 - Suspending the system now... 2023-11-25 18:33:09+01:00 - Thawing from suspend the system now)... <-- worked 2023-11-25 18:37:19+01:00 - Suspending the system now... 2023-11-25 18:37:32+01:00 - Thawing from suspend the system now)... <========== failed 2023-11-25 18:38:09+01:00 - Hibernating the system now... 2023-11-25 18:43:14+01:00 - Thawing the system now... <========== worked Laicolasse:~ # inxi -n -N Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 IF: eth0 state: down mac: f4:a8:0d:7a:49:01 Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter driver: mt7921e IF: wlan0 state: up mac: 60:e9:aa:a0:1a:49 Laicolasse:~ # hwinfo 25: PCI 600.0: 0282 WLAN controller [Created at pci.386] Unique ID: y9sn.gA5E5AhV_LC Parent ID: AXjq.nSObxEWmqk3 SysFS ID: /devices/pci0000:00/0000:00:02.6/0000:06:00.0 SysFS BusID: 0000:06:00.0 Hardware Class: network Model: "MEDIATEK WLAN controller" Vendor: pci 0x14c3 "MEDIATEK Corp." Device: pci 0x0616 SubVendor: pci 0x17aa "Lenovo" SubDevice: pci 0xe0c6 Driver: "mt7921e" Driver Modules: "mt7921e" Device File: wlan0 Features: WLAN Memory Range: 0xe0200000-0xe02fffff (ro,non-prefetchable) Memory Range: 0xfd400000-0xfd407fff (rw,non-prefetchable) IRQ: 80 (157547 events) HW Address: 60:e9:aa:a0:1a:49 Permanent HW Address: 60:e9:aa:a0:1a:49 Link detected: yes WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140 WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 5.18 5.2 5.22 5.24 5.26 5.28 5.3 5.32 5.5 5.52 5.54 5.56 5.58 5.6 5.62 5.64 5.66 5.68 5.7 WLAN encryption modes: WEP40 WEP104 TKIP CCMP WLAN authentication modes: open sharedkey wpa-psk wpa-eap Module Alias: "pci:v000014C3d00000616sv000017AAsd0000E0C6bc02sc80i00" Driver Info #0: Driver Status: mt7921e is active Driver Activation Cmd: "modprobe mt7921e" Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #26 (PCI bridge) 54: None 00.0: 1070a WLAN [Created at net.126] Unique ID: AYEt.QXn1l67RSa1 Parent ID: y9sn.gA5E5AhV_LC SysFS ID: /class/net/wlan0 SysFS Device Link: /devices/pci0000:00/0000:00:02.6/0000:06:00.0 Hardware Class: network interface Model: "WLAN network interface" Driver: "mt7921e" Driver Modules: "mt7921e" Device File: wlan0 HW Address: 60:e9:aa:a0:1a:49 Permanent HW Address: 60:e9:aa:a0:1a:49 Link detected: yes Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #25 (WLAN controller) Please ask for any other information needed. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1217495 https://bugzilla.suse.com/show_bug.cgi?id=1217495#c2 Carlos Robinson <carlos.e.r@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(carlos.e.r@opensu | |se.org) | --- Comment #2 from Carlos Robinson <carlos.e.r@opensuse.org> --- Thanks. I finally got around to try, but what I did was install Leap 15.6 alpha in the test partition of the laptop (openSUSE-Leap-15.6-DVD-x86_64-Build623.2-Media.iso). Unfortunately, the kernel oopses when I try to connect via WiFi (NM hangs, and the command "ip addr" hangs subsequently, and can not be killed; Machine has to be rebooted, it is not stable. When told to poweroff, machine hangs at BIOS logo and I have to powercycle). Do you want that as a separate bug, or shall I put the log here? I'm just pasting the first oops: localhost systemd[1]: Starting Hostname Service... localhost dbus-daemon[2350]: [system] Successfully activated service 'org.freedesktop.hostname1' localhost systemd[1]: Started Hostname Service. localhost dbus-daemon[3578]: [session uid=1000 pid=3578] Activating via systemd: service name='ca.desrt.dconf' unit='dconf.service' requested by ':1.25' (uid=1000 pid=3759 comm="nm-applet --indicator ") localhost systemd[3555]: Starting User preferences database... localhost dbus-daemon[3578]: [session uid=1000 pid=3578] Successfully activated service 'ca.desrt.dconf' localhost systemd[3555]: Started User preferences database. kernel: [ 6330.120788][ T2612] wlan0: authenticate with 70:8b:cd:59:88:3c kernel: [ 6330.140578][ T2612] BUG: kernel NULL pointer dereference, address: 0000000000000000 kernel: [ 6330.140590][ T2612] #PF: supervisor read access in kernel mode kernel: [ 6330.140598][ T2612] #PF: error_code(0x0000) - not-present page kernel: [ 6330.140606][ T2612] PGD 0 P4D 0 kernel: [ 6330.140614][ T2612] Oops: 0000 [#1] PREEMPT SMP NOPTI kernel: [ 6330.140625][ T2612] CPU: 4 PID: 2612 Comm: wpa_supplicant Tainted: G n 6.4.0-150600.8-default #1 SLE15-SP6 6283f681587a79afbd508a1baf0e7b98911578d4 kernel: [ 6330.140640][ T2612] Hardware name: LENOVO 21C5CTO1WW/21C5CTO1WW, BIOS R1YET40W (1.17 ) 01/10/2023 kernel: [ 6330.140648][ T2612] RIP: 0010:mt7921_mgd_prepare_tx+0x6f/0xa0 [mt7921_common] kernel: [ 6330.140671][ T2612] Code: ff e8 65 91 82 cd 4c 89 f6 48 89 ef e8 8a ab f4 ff 49 8b 84 24 38 04 00 00 49 8b bc 24 78 07 00 00 0f b7 cb 4c 89 ee 45 31 c0 <48> 8b 10 e8 19 fe ff ff 48 89 ef 4c 89 f6 e8 8e ac f4 ff 4c 89 ff kernel: [ 6330.140690][ T2612] RSP: 0018:ffffa5b0c1677758 EFLAGS: 00010246 kernel: [ 6330.140698][ T2612] RAX: 0000000000000000 RBX: 00000000000003e8 RCX: 00000000000003e8 kernel: [ 6330.140707][ T2612] RDX: 0000000000000000 RSI: ffff95affcf820d0 RDI: ffff95b0124c7400 kernel: [ 6330.140715][ T2612] RBP: ffff95b0124c2060 R08: 0000000000000000 R09: ffffa5b0c1677608 kernel: [ 6330.140723][ T2612] R10: 0000000000e92004 R11: ffffffffc199da80 R12: ffff95affcf81ca0 kernel: [ 6330.140732][ T2612] R13: ffff95affcf820d0 R14: ffff95b0124c9cf8 R15: ffff95b0124c2610 kernel: [ 6330.140739][ T2612] FS: 00007f1429626800(0000) GS:ffff95b68ec00000(0000) knlGS:0000000000000000 kernel: [ 6330.140749][ T2612] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kernel: [ 6330.140757][ T2612] CR2: 0000000000000000 CR3: 000000013b882000 CR4: 0000000000f50ee0 kernel: [ 6330.140765][ T2612] PKRU: 55555554 kernel: [ 6330.140771][ T2612] Call Trace: kernel: [ 6330.140778][ T2612] <TASK> kernel: [ 6330.140787][ T2612] ? __die_body+0x1a/0x60 kernel: [ 6330.140801][ T2612] ? page_fault_oops+0x183/0x510 kernel: [ 6330.140813][ T2612] ? srso_alias_return_thunk+0x5/0x7f kernel: [ 6330.140827][ T2612] ? __flush_work+0x222/0x240 kernel: [ 6330.140838][ T2612] ? __pfx_cwt_wakefn+0x10/0x10 kernel: [ 6330.140846][ T2612] ? srso_alias_return_thunk+0x5/0x7f kernel: [ 6330.140854][ T2612] ? timer_delete+0x55/0x80 kernel: [ 6330.140866][ T2612] ? exc_page_fault+0x69/0x150 kernel: [ 6330.140878][ T2612] ? asm_exc_page_fault+0x22/0x30 kernel: [ 6330.140895][ T2612] ? mt7921_mgd_prepare_tx+0x6f/0xa0 [mt7921_common c90bab94366e65c58cb1f54b86fdd90877477cbb] kernel: [ 6330.140910][ T2612] ? mt7921_mgd_prepare_tx+0x56/0xa0 [mt7921_common c90bab94366e65c58cb1f54b86fdd90877477cbb] kernel: [ 6330.140927][ T2612] ieee80211_auth+0xd7/0x370 [mac80211 2ebe2d4cddba8812245376c31aa2b826589ea374] kernel: [ 6330.141003][ T2612] ieee80211_mgd_auth+0x333/0x4f0 [mac80211 2ebe2d4cddba8812245376c31aa2b826589ea374] kernel: [ 6330.141056][ T2612] ? srso_alias_return_thunk+0x5/0x7f kernel: [ 6330.141065][ T2612] ? is_bss.part.12+0x56/0x70 [cfg80211 f044c11834992d8b5780559a1f9b8cd60c318449] kernel: [ 6330.141129][ T2612] ? srso_alias_return_thunk+0x5/0x7f kernel: [ 6330.141138][ T2612] ? cfg80211_get_bss+0x172/0x260 [cfg80211 f044c11834992d8b5780559a1f9b8cd60c318449] kernel: [ 6330.141179][ T2612] cfg80211_mlme_auth+0xb9/0x1c0 [cfg80211 f044c11834992d8b5780559a1f9b8cd60c318449] kernel: [ 6330.141228][ T2612] nl80211_authenticate+0x354/0x3c0 [cfg80211 f044c11834992d8b5780559a1f9b8cd60c318449] kernel: [ 6330.141277][ T2612] genl_family_rcv_msg_doit+0x108/0x130 kernel: [ 6330.141294][ T2612] genl_rcv_msg+0x1a2/0x2a0 kernel: [ 6330.141303][ T2612] ? __pfx_nl80211_pre_doit+0x10/0x10 [cfg80211 f044c11834992d8b5780559a1f9b8cd60c318449] kernel: [ 6330.141343][ T2612] ? __pfx_nl80211_authenticate+0x10/0x10 [cfg80211 f044c11834992d8b5780559a1f9b8cd60c318449] kernel: [ 6330.141382][ T2612] ? __pfx_nl80211_post_doit+0x10/0x10 [cfg80211 f044c11834992d8b5780559a1f9b8cd60c318449] kernel: [ 6330.141422][ T2612] ? __pfx_genl_rcv_msg+0x10/0x10 kernel: [ 6330.141430][ T2612] netlink_rcv_skb+0x56/0x110 kernel: [ 6330.141443][ T2612] genl_rcv+0x24/0x40 kernel: [ 6330.141451][ T2612] netlink_unicast+0x1bb/0x290 kernel: [ 6330.141460][ T2612] netlink_sendmsg+0x31c/0x460 kernel: [ 6330.141471][ T2612] sock_sendmsg+0x92/0xa0 kernel: [ 6330.141483][ T2612] ? srso_alias_return_thunk+0x5/0x7f kernel: [ 6330.141492][ T2612] ____sys_sendmsg+0x207/0x2a0 kernel: [ 6330.141504][ T2612] ___sys_sendmsg+0x88/0xd0 kernel: [ 6330.141516][ T2612] ? srso_alias_return_thunk+0x5/0x7f kernel: [ 6330.141524][ T2612] ? dput+0x36/0x2e0 kernel: [ 6330.141536][ T2612] ? srso_alias_return_thunk+0x5/0x7f kernel: [ 6330.141544][ T2612] ? __fsnotify_parent+0x111/0x360 kernel: [ 6330.141557][ T2612] ? __io_async_cancel+0xdf/0x100 kernel: [ 6330.141569][ T2612] ? common_file_perm+0x74/0x1a0 kernel: [ 6330.141582][ T2612] ? __sys_sendmsg+0x5e/0xa0 kernel: [ 6330.141589][ T2612] ? srso_alias_return_thunk+0x5/0x7f kernel: [ 6330.141597][ T2612] __sys_sendmsg+0x5e/0xa0 kernel: [ 6330.141609][ T2612] do_syscall_64+0x5b/0x80 kernel: [ 6330.141619][ T2612] ? srso_alias_return_thunk+0x5/0x7f kernel: [ 6330.141627][ T2612] ? netlink_setsockopt+0x1c2/0x3d0 kernel: [ 6330.141636][ T2612] ? srso_alias_return_thunk+0x5/0x7f kernel: [ 6330.141644][ T2612] ? __sys_setsockopt+0xff/0x1b0 kernel: [ 6330.141653][ T2612] ? srso_alias_return_thunk+0x5/0x7f kernel: [ 6330.141661][ T2612] ? syscall_exit_to_user_mode+0x27/0x40 kernel: [ 6330.141670][ T2612] ? srso_alias_return_thunk+0x5/0x7f kernel: [ 6330.141677][ T2612] ? do_syscall_64+0x67/0x80 kernel: [ 6330.141685][ T2612] ? syscall_exit_to_user_mode+0x27/0x40 kernel: [ 6330.141693][ T2612] ? srso_alias_return_thunk+0x5/0x7f kernel: [ 6330.141701][ T2612] ? do_syscall_64+0x67/0x80 kernel: [ 6330.141709][ T2612] entry_SYSCALL_64_after_hwframe+0x72/0xdc kernel: [ 6330.141722][ T2612] RIP: 0033:0x7f14283313a0 kernel: [ 6330.141804][ T2612] Code: 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 80 3d 89 c6 0d 00 00 74 17 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 89 54 kernel: [ 6330.141819][ T2612] RSP: 002b:00007fffdadb4368 EFLAGS: 00000202 ORIG_RAX: 000000000000002e kernel: [ 6330.141828][ T2612] RAX: ffffffffffffffda RBX: 00005579ff3f5dd0 RCX: 00007f14283313a0 kernel: [ 6330.141836][ T2612] RDX: 0000000000000000 RSI: 00007fffdadb43a0 RDI: 0000000000000006 kernel: [ 6330.141844][ T2612] RBP: 00005579ff497a20 R08: 0000000000000004 R09: 00007fffdadb4484 kernel: [ 6330.141851][ T2612] R10: 00007fffdadb4484 R11: 0000000000000202 R12: 00005579ff3f7cb0 kernel: [ 6330.141859][ T2612] R13: 00007fffdadb43a0 R14: 0000000000000000 R15: 0000000000000000 kernel: [ 6330.141872][ T2612] </TASK> kernel: [ 6330.141876][ T2612] Modules linked in: rfcomm af_packet 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_tables ebtable_nat ebtable_broute ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter bpfilter qrtr(n) cmac algif_hash algif_skcipher af_alg bnep msr xfs libcrc32c uvcvideo videobuf2_vmalloc uvc videobuf2_memops videobuf2_v4l2 videodev videobuf2_common mc btusb btrtl btintel btbcm btmtk bluetooth ecdh_generic joydev nls_iso8859_1 nls_cp437 vfat snd_sof_amd_vangogh fat snd_sof_amd_rembrandt snd_sof_amd_renoir mt7921e(n) snd_sof_amd_acp snd_sof_pci mt7921_common(n) snd_sof_xtensa_dsp snd_ctl_led mt76_connac_lib(n) snd_sof mt76(n) snd_hda_codec_realtek snd_sof_utils snd_hda_codec_generic snd_hda_codec_hdmi mac80211 snd_soc_core snd_hda_intel snd_compress kernel: [ 6330.141967][ T2612] snd_intel_dspcfg snd_pcm_dmaengine snd_intel_sdw_acpi snd_pci_ps snd_rpl_pci_acp6x snd_hda_codec snd_acp_pci libarc4 hid_multitouch snd_acp_legacy_common snd_pci_acp6x r8169 snd_hda_core hid_generic intel_rapl_msr snd_pci_acp5x thinkpad_acpi snd_hwdep cfg80211 amd_atl snd_rn_pci_acp3x intel_rapl_common snd_pcm think_lmi(n) snd_acp_config realtek ledtrig_audio mdio_devres snd_soc_acpi snd_timer edac_mce_amd firmware_attributes_class(n) wmi_bmof platform_profile pcspkr acpi_cpufreq k10temp rfkill libphy snd i2c_piix4 snd_pci_acp3x soundcore ac thermal tiny_power_button(n) i2c_designware_platform i2c_designware_core button nvme_fabrics fuse efi_pstore(n) configfs dmi_sysfs ip_tables x_tables ext4 crc16 mbcache jbd2 dm_crypt essiv authenc uas usb_storage sd_mod scsi_dh_emc scsi_dh_rdac scsi_dh_alua sg scsi_mod amdgpu crc32_pclmul crc32c_intel polyval_clmulni(n) polyval_generic(n) gf128mul i2c_algo_bit drm_ttm_helper ghash_clmulni_intel sha512_ssse3 ttm sha256_ssse3 drm_exec sha1_ssse3 drm_suballoc_helper kernel: [ 6330.142080][ T2612] amdxcp mfd_core nvme drm_buddy xhci_pci xhci_pci_renesas gpu_sched nvme_core xhci_hcd sdhci_pci ucsi_acpi drm_display_helper nvme_auth cqhci aesni_intel sdhci t10_pi typec_ucsi crypto_simd usbcore cec cryptd crc64_rocksoft_generic mmc_core ccp roles crc64_rocksoft rc_core typec sp5100_tco(n) crc64 video battery wmi i2c_hid_acpi i2c_hid serio_raw dm_mod efivarfs kernel: [ 6330.142151][ T2612] Supported: No, Unsupported modules are loaded kernel: [ 6330.142156][ T2612] CR2: 0000000000000000 kernel: [ 6330.142161][ T2612] ---[ end trace 0000000000000000 ]--- kernel: [ 6330.142165][ T2612] RIP: 0010:mt7921_mgd_prepare_tx+0x6f/0xa0 [mt7921_common] kernel: [ 6330.142171][ T2612] Code: ff e8 65 91 82 cd 4c 89 f6 48 89 ef e8 8a ab f4 ff 49 8b 84 24 38 04 00 00 49 8b bc 24 78 07 00 00 0f b7 cb 4c 89 ee 45 31 c0 <48> 8b 10 e8 19 fe ff ff 48 89 ef 4c 89 f6 e8 8e ac f4 ff 4c 89 ff kernel: [ 6330.142179][ T2612] RSP: 0018:ffffa5b0c1677758 EFLAGS: 00010246 kernel: [ 6330.142183][ T2612] RAX: 0000000000000000 RBX: 00000000000003e8 RCX: 00000000000003e8 kernel: [ 6330.142187][ T2612] RDX: 0000000000000000 RSI: ffff95affcf820d0 RDI: ffff95b0124c7400 kernel: [ 6330.142191][ T2612] RBP: ffff95b0124c2060 R08: 0000000000000000 R09: ffffa5b0c1677608 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1217495 https://bugzilla.suse.com/show_bug.cgi?id=1217495#c5 --- Comment #5 from Carlos Robinson <carlos.e.r@opensuse.org> --- Sorry, I can not install anything. zypper hard locks. Unkillable. Notices ctrl-c, does not exit. Ignores kill 9. Command "ip addr" hard locks, too. Network (eth0) is up, but Network manager icon is gone. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1217495 https://bugzilla.suse.com/show_bug.cgi?id=1217495#c6 --- Comment #6 from Carlos Robinson <carlos.e.r@opensuse.org> --- I have been using the laptop with your kernel: /Other/var/log/messages: 2024-03-11T14:59:07.402175+01:00 localhost kernel: [ 0.000000][ T0] Linux version 6.4.0-150600.1.gecd5297-default (geeko@buildhost) (gcc (SUSE Linux) 7.5.0, GNU ld (GNU Binutils; SUSE Linux Enterprise 15) /Other/var/log/zypp/history: # 2024-03-11 14:05:53 kernel-default-6.4.0-150600.1.1.gecd5297.x86_64.rpm installed ok 2024-03-11 14:05:53|install|kernel-default|6.4.0-150600.1.1.gecd5297|x86_64|root@localhost.localdomain|pool_1|e8bb190b046f42579167cfefb1b5ae918ed2ec01945a63c234ff67af0efc5d97| for 11 days, suspending, hibernating, letting it run overnight, and the WiFi did not see a problem. Problem seems to be solved :-) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com