You are not logged in.
Pages: 1
I have tried different kernel parameters and neither of them worked.
It's not only in arch but with other distros too fedora, tumbleweed, ubuntu, even. but i have used linux mint with kernel 5.10.. that worked fine.
In arch, kernel version 6.0 fixed the issue for me, but later when i got back from windows, kernel was updated to newer versions and also the issue was there. Then, I used to search for any kernels with version 6.0 and install it, would work for me just fine.
During freeze, the screen gets frozen completely, if audio is playing , the last part of it would just loop , the keyboard also do not work, no caps lock no num lock. I can only force shut down using power button.
I can't even go to tty, nor sysrq works , nothing.
i can use my laptop normally if i disconnect and instead use ethernet or usb tethering. but with WIFI the freeze is guaranteed to occur if i open any heavier apps like browser, etc.
i think this was on my tty, when it froze during arch installation
rtw_8821ce failed to dequeue 4026 skb TX queue 1, BD=0xffffffff, rp -> 4095
This is what journaltcl -b -1 gives;
Jun 23 11:54:33 Archilla wpa_supplicant[477]: wlp2s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-66 noise=9999 txrate=52000
Jun 23 11:54:49 Archilla kernel: rtw_8821ce 0000:02:00.0: failed to dequeue 232 skb TX queue 1, BD=0x00000001, rp 22 -> 0
Jun 23 11:54:49 Archilla kernel: rtw_8821ce 0000:02:00.0: failed to dequeue 22 skb TX queue 1, BD=0x00180018, rp 0 -> 24
Jun 23 11:55:07 Archilla wpa_supplicant[477]: wlp2s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-96 noise=9999 txrate=52000
Jun 23 11:55:36 Archilla wpa_supplicant[477]: wlp2s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-66 noise=9999 txrate=58500
Jun 23 11:55:42 Archilla wpa_supplicant[477]: wlp2s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-76 noise=9999 txrate=52000
Jun 23 11:56:17 Archilla wpa_supplicant[477]: wlp2s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-66 noise=9999 txrate=26000
Freeze happened at around 11:57 , i cannot find any log when freeze happened but everything before or after it , is seemed to be in journalctl..
update:
solution..
create a 'rtw_core.conf' file inside /etc/modprobe.d/
' rtw_core.conf' should have
options rtw_core disable_lps_deep=1 if this does not solve the issue,
You can add another file 'rtw_pci.conf' with
options rtw_pci disable_msi=1
options rtw_pci disable_aspm=1
Last edited by x4rch_q7 (2024-08-07 02:06:13)
Offline
During freeze, the screen gets frozen completely, if audio is playing , the last part of it would just loop , the keyboard also do not work, no caps lock no num lock. I can only force shut down using power button.
I can't even go to tty, nor sysrq works , nothing.
sounds like a kernel panic, and that's not gonna show up in any journal
=> https://wiki.archlinux.org/title/Kdump but please also post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.stto illustrate the system - maybe one of the usual suspects shows up…
Edit:
later when i got back from windows
3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.
Last edited by seth (2024-06-23 07:41:49)
Offline
Setting up kdump is such a hassle, somehow set kdumpst but did not find any logs, maybe because i had to force shut down using power button or maybe i made mistakes while setting up.
but please also post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.stto illustrate the system - maybe one of the usual suspects shows up…
For sudo journalctl -b -1
http://0x0.st/XAOr.txt
For sudo journalctl -b
http://0x0.st/XAOz.txt
3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.
I am not dual booting. I meant i used windows for some time and came back to arch linux..
Offline
kdump should prevent your from having to use the power button by catching the panicing kernel .
The only thing in the journal that looks like trouble is rtw_8821ce what fits your description.
https://github.com/tomaspinho/rtl8821ce/pull/334 - but that's supposed to be fixed since october ![]()
Wild guess, try to disable https://wiki.archlinux.org/title/Networ … domization or don't use NM at all (but eg. wifi-menu) to prevent the background scanning entirely.
Offline
i managed to somehow enable panic-reboot yesterday, but turns out it gets triggered even without getting to my sddm login, wasted my whole morning thinking my sddm or xorg broke. well here are logs, if these help:
sudo journalctl -b -1 : http://0x0.st/XAR9.txt
sudo journalctl -b : http://0x0.st/XARL.txt
Offline
There's unfortunately no kernel message preserved
Jun 25 12:23:19 Archilla systemd[1]: Listening on Hostname Service Socket.
Jun 25 12:23:19 Archilla systemd[1]: Reached target Socket Units.
Jun 25 12:23:19 Archilla systemd[1]: Starting D-Bus System Message Bus...
Jun 25 12:23:19 Archilla systemd[1]: TPM PCR Barrier (Initialization) was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
Jun 25 12:23:19 Archilla dbus-broker-launch[424]: Looking up NSS user entry for 'pulse'...
Jun 25 12:23:20 Archilla kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Jun 25 12:23:20 Archilla kernel: Bluetooth: BNEP filters: protocol multicast
Jun 25 12:23:20 Archilla kernel: Bluetooth: BNEP socket layer initialized
Jun 25 12:23:20 Archilla kernel: Bluetooth: MGMT ver 1.22
Jun 25 12:23:20 Archilla kernel: NET: Registered PF_ALG protocol family
Jun 25 12:23:19 Archilla systemd[1]: Started D-Bus System Message Bus.
Jun 25 12:23:20 Archilla root[431]: Kernel panic - automatic reboot initiated
Jun 25 12:23:20 Archilla dbus-broker-launch[424]: NSS returned no entry for 'pulse'
Jun 25 12:23:20 Archilla dbus-broker-launch[424]: Invalid user-name in /usr/share/dbus-1/system.d/pulseaudio-system.conf +27: user="pulse"
Jun 25 12:23:19 Archilla systemd[1]: Reached target Basic System.
Jun 25 12:23:20 Archilla bluetoothd[428]: Bluetooth daemon 5.76
Jun 25 12:23:19 Archilla systemd[1]: Starting Network Manager...
Jun 25 12:23:20 Archilla bluetoothd[428]: Starting SDP server
Jun 25 12:23:19 Archilla systemd[1]: Starting Save/Restore Sound Card State...Going from the context
1. https://bbs.archlinux.org/viewtopic.php?id=296699
2. I see neither pulseaudio nor pipewire in that jorunal?
pacman -Qs 'pulse|wire'Offline
created and enabled panic-reboot.service with this configuration :
[Unit]
Description=Reboot on kernel panic
[Service]
Type=oneshot
ExecStart=/bin/sh -c '/bin/dmesg > /var/log/dmesg.log; /usr/bin/logger "Kernel panic - automatic reboot initiated"; /usr/bin/sleep 5; /sbin/reboot'
RemainAfterExit=yes
[Install]
WantedBy=multi-user.targetand i tried to trigger the freeze, it occured but it didn't reboot just the system freeze with audio loop, no input working .only force shutdown works.
journalctl -b -1 : http://0x0.st/XmSq.txt
but then booting into os gave continuos reboot until i diabled the panic-reboot.service from arch chroot.
2. I see neither pulseaudio nor pipewire in that jorunal?
pacman -Qs 'pulse|wire'
pulseaudio is already installed and working, 'user-level service' or something i dont know, but sound is working fine
Last edited by x4rch_q7 (2024-06-27 05:47:51)
Offline
The symptoms describe a kernel halt, you're not gonna write something to disk or run userspace commands at this point.
If anything works it'll be https://wiki.archlinux.org/title/Keyboa … el_(SysRq)
Otherwise you've to setup https://wiki.archlinux.org/title/Kdump to catch the kernel.
Have you already tried https://aur.archlinux.org/packages/rtl8821ce-dkms-git ?
Offline
If anything works it'll be https://wiki.archlinux.org/title/Keyboa … el_(SysRq)
sadly no, I tried sysRq keys on normal environment and on tty ,both works fine except during the freeze.
I even tried doing that from openSSH but the terminal on other device becomes unrespomsive until i close the connection.
Have you already tried https://aur.archlinux.org/packages/rtl8821ce-dkms-gitto ?
Yeah, this was the first thing i tried.
Here is a dmesg i found, was not during the freeze but thought might be useful
https://0x0.st/Xmgw.txt
Otherwise you've to setup https://wiki.archlinux.org/title/Kdump to catch the kernel.
kdumpst didn.t work so, going to try the manual method. Compiling on my device will be hassle, sigh.
Offline
You don't have to compile anything, the arch kernels have the relevant configs enabled.
Offline
That's just an out-of-context warning concerning rtw_power_mode_change.
Ading "rtw88_core.disable_lps_deep=Y" to the kernel parameters might help with that - no idea whether it's related to your freezes,
Offline
That's just an out-of-context warning concerning rtw_power_mode_change.
Ading "rtw88_core.disable_lps_deep=Y" to the kernel parameters might help with that - no idea whether it's related to your freezes,
adding this didn't help.
if i keep my device idle for 1 hr+ without using apps and then use it, the probability of freeze is very less. and those warning pos up sometime in journalctl..
I am trying to set up kdump, but i am stuck at this
Next you need to tell Kexec that you want to use your kdump kernel. Specify your kernel, initramfs file, root device and other parameters if needed:
# kexec -p [/boot/vmlinuz-linux-kdump] --initrd=[/boot/initramfs-linux-kdump.img] --append="root=[root-device] irqpoll nr_cpus=1 reset_devices"
sorry for this newb question, but how do i get or create the vmlinuz-linux-kdump or initramfs-linux-kdump.img ??
https://wiki.archlinux.org/title/Kdump This wiki is very overwhelming for the newbie arch users like me.
i also searched to find easier tutorial but found none .
Can this issue be caused by skipping a bios update??
Nevermind, kdump is just a notation, current kernel can be used
Last edited by x4rch_q7 (2024-08-06 12:00:56)
Offline
After doing some testing and breaking, i managed to diagnose and fix the issue. As mentioned in #11 the issue was indeed with the rtw_power_mode_change but instead of adding "rtw88_core.disable_lps_deep=Y" to the kernel Parameter the solution which worked is to create a 'rtw_core.conf' file inside /etc/modprobe.d/
' rtw_core.conf' should have
options rtw_core disable_lps_deep=1 if this do not solve the issue,
You can also add another 'rtw_pci.conf' file with
options rtw_pci disable_msi=1
options rtw_pci disable_aspm=1This thread can be marked as 'Solved'. Thankyou
Offline
???
modinfo rtw_core rtw_pci
lsmod | grep rtw
systool -vm rtw_core
systool -vm rtw88_coreMark 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
Pages: 1