[Bug 1206767] New: kernel 6.1.1 freezes when loading rtw_8723de module
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767 Bug ID: 1206767 Summary: kernel 6.1.1 freezes when loading rtw_8723de module Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: davejplater@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- See Bug 1206683 kernel 6.1.1 freezes before the gui appears where this bug was originally reported. No information is in saved logs I've reinstated home:plater/rtw88 and updated to the latest git revision 51c88888f72248f4cf266ca177cb4195af0338bc. In this state with no rtw_8723de module loaded I can boot and leave sleep mode with no lockup: # lsmod |grep rtw rtw_8723d 61440 0 rtw_pci 36864 0 rtw_core 282624 2 rtw_8723d,rtw_pci mac80211 1302528 2 rtw_core,rtw_pci cfg80211 1118208 2 rtw_core,mac80211 but with rtw_8723de active I get the freeze either on boot or after waking from sleep. This is with rtw88 built against Tiwai's kernel and Tiwai's kernel running. If I activate rtw_8723de, I get wifi and the laptop works fine as long as it's not shut down or doesn't enter sleep. I have: # cat /etc/modprobe.d/50-rtw_core.conf options disable_lps_deep:Set Y to disable Deep PS (bool) options support_bf:Set Y to enable beamformee support (bool) which results in : # modinfo rtw_core filename: /lib/modules/6.1.1-2-default/updates/rtw_core.ko license: Dual BSD/GPL description: Realtek 802.11ac wireless core module author: Realtek Corporation suserelease: openSUSE Tumbleweed srcversion: C8DCD276721114ED47337E6 depends: mac80211,cfg80211 retpoline: Y name: rtw_core vermagic: 6.1.1-2-default SMP preempt mod_unload modversions sig_id: PKCS#7 signer: home:plater OBS Project sig_key: A6:AE:BD:2E:50:3E:C7:76 sig_hashalgo: sha256 signature: 03:84:82:6E:67:08:9D:1B:F7:2C:53:75:23:AC:02:2B:AA:D7:EA:FD: 40:44:33:BA:40:CD:21:33:4E:F3:6F:75:F4:1E:0D:75:CD:61:01:D1: AC:2C:99:BD:F2:14:42:3D:A0:4D:20:BA:94:CE:97:82:9E:7D:E4:7B: 17:EF:04:65:AB:7E:87:51:F8:48:1C:15:13:AB:63:7B:8F:95:E1:FC: 1F:C6:12:D5:55:07:57:6D:F7:A1:64:FE:F6:43:51:FC:C9:09:28:4C: EC:D2:0E:34:E0:64:E4:B9:85:8F:49:74:B2:BB:B5:2F:00:97:1F:83: D5:FD:C0:61:15:86:D1:50:CB:BE:D7:25:1E:91:07:06:C3:69:9C:74: B4:24:EE:67:F6:85:85:11:5B:EB:DD:B0:7B:89:92:59:9D:A1:F9:0E: D7:AB:36:85:AC:D2:36:36:5B:F7:C4:DB:D0:74:EA:BF:DB:A6:08:D6: 13:48:08:37:8E:99:FF:81:65:7B:80:3A:1D:F1:98:1F:77:26:D4:D8: 64:DE:AF:F0:AF:1F:75:19:AD:F8:B2:5A:E1:EA:95:D9:5B:BD:BE:15: E1:B0:F6:4B:ED:B0:7D:BC:03:DF:89:BA:67:7F:65:DE:B8:F5:AB:7A: F5:22:2F:A7:E7:FD:9C:1F:BF:47:91:AD:DD:FE:15:93 parm: disable_lps_deep:Set Y to disable Deep PS (bool) parm: support_bf:Set Y to enable beamformee support (bool) parm: debug_mask:Debugging mask (uint) -- You are receiving this mail because: You are the assignee for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c1
--- Comment #1 from Dave Plater
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c2
--- Comment #2 from Larry Finger
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c3
--- Comment #3 from Larry Finger
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c4
--- Comment #4 from Dave Plater
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c5
--- Comment #5 from Larry Finger
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c6
--- Comment #6 from Dave Plater
Do you have access to another Linux computer? If so, then netconsole is a way to get the dmesg log dumped when there is a crash.
The procedure is somewhat involved, thus I will await your positive answer before writing it out.
I've a leap 15.4 pc with a Tumbleweed partition I've got an old fashioned DB7 serial socket on the back and a raspberry pi 3b which is most probably better than the pc. The instruction will be good for me. The most primitive interface on the laptop is ethernet no serial and I've mislaid my usb serial dongle. I found the point of sleep in the journal but there's no wake up message even though the screen from pre sleep displays. -- You are receiving this mail because: You are the assignee for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c7
--- Comment #7 from Larry Finger
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c8
Takashi Iwai
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c9
--- Comment #9 from Dave Plater
In general, we need to identify at which timing it crashes. I suppose that the crash happens at re-loading the module after the resume (without the module). If so, you can omit the re-loading part ("post" in the script), and verify that the desktop is still up after the resume, then manually load the module. This will have a better chance to catch the crash log.
OTOH, if the crash happens before the re-loading, it means that there was already some corruption (or other reason).
This morning I successfully exited sleep mode using a 15 second sleep. I'm going to play around with the timing and maybe even manage to get a bit of log information. The next step for a workaround is to delay the loading on boot. What I find strange about boot up is after I've entered runlevel 1 the rtl modules aren't loaded at all but I can then go to runlevel 5 for the gui with no problem. If I can somehow simulate that behavior without having to boot in stages I'm happy. I looked at coreboot but unfortunately I'm stuck with the laptop's stock virus. -- You are receiving this mail because: You are the assignee for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c10
--- Comment #10 from Dave Plater
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c11
--- Comment #11 from Dave Plater
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c12
Larry Finger
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c13
--- Comment #13 from Dave Plater
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c14
--- Comment #14 from Larry Finger
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c15
--- Comment #15 from Dave Plater
What load options are you using?
cat /etc/modprobe.d/50-rtw_core.conf options rtw_core disable_lps_deep=Y and cat /etc/modprobe.d/50-rtw_pci.conf options rtw_pci disable_msi=y disable_aspm=y rtw_8723de ant_sel=2 gets rejected by rtw_8723de so I've removed it. -- You are receiving this mail because: You are the assignee for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c16
--- Comment #16 from Larry Finger
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c17
--- Comment #17 from Dave Plater
Thanks to the answer about the logs.
My contact at Realtek did not have any suggestions about this problem. He did send me the latest vendor driver, but it does not build on kernels newer than 5.15.
Are you satisfied with the current state, or do you want me to modify the newest vendor driver and post the zip file here so that you can build it on your system?
I don't know how much time I will have available for this bug but post the vendor drivers. The biggest mystery in the world for me at the moment is why does the device function perfectly with wicked management but doesn't work with network manager. Maybe there's someone experienced with network manager and wicked who can shed some light on the problem. I'm attaching the log of the same routine of clear ring buffer, sleep then wake with the sleep script still in place. -- You are receiving this mail because: You are the assignee for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c18
--- Comment #18 from Dave Plater
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c19
--- Comment #19 from Larry Finger
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c20
--- Comment #20 from Dave Plater
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
Dave Plater
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c21
--- Comment #21 from Larry Finger
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c22
--- Comment #22 from Dave Plater
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c23
--- Comment #23 from Larry Finger
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c24
--- Comment #24 from Dave Plater
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767
http://bugzilla.opensuse.org/show_bug.cgi?id=1206767#c25
--- Comment #25 from Dave Plater
participants (1)
-
bugzilla_noreply@suse.com