Manjaro crashes on Realtime Kernel after a few seconds

Hey all, sorry if there is a thread about this but I just couldnt find anything relevant.
Also it is my first time posting so please excuse if I am leaving out relevant information.

Basically I cannot use the realtime kernel for some reason as ALL the available realtime kernels crash after a few seconds. they just freeze. No problems on normal kernel.
I even did a fresh install now running xfce and it didnt change.

Please help me to find a topic where this is being discussed or tell me how to acquire further information about my hardware to post here.

the result of inxi -Fxxxza --no-host is from my current kernel, as i didnt manage to get to another TTY with CTL ALT F(1-6)



System:    Kernel: 5.4.31-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.3.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 root=UUID=ded99b78-c186-49fb-bfb3-49a4ba6bd99b rw quiet 
           acpi_backlight=vendor 
           Desktop: Xfce 4.14.2 tk: Gtk 3.24.13 info: xfce4-panel wm: xfwm4 dm: LightDM 1.30.0 Distro: Manjaro Linux 
Machine:   Type: Laptop System: LENOVO product: 20NECTO1WW v: ThinkPad E495 serial: <filter> Chassis: type: 10 
           serial: <filter> 
           Mobo: LENOVO model: 20NECTO1WW serial: <filter> UEFI: LENOVO v: R11ET31W (1.11 ) date: 11/20/2019 
Battery:   ID-1: BAT0 charge: 48.5 Wh condition: 48.6/45.3 Wh (107%) volts: 12.5/11.1 model: SMP 01AV446 type: Li-poly 
           serial: <filter> status: Unknown cycles: 1 
CPU:       Topology: Quad Core model: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx bits: 64 type: MT MCP arch: Zen+ 
           family: 17 (23) model-id: 18 (24) stepping: 1 microcode: 8108102 L2 cache: 2048 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 33550 
           Speed: 1224 MHz min/max: 1400/2100 MHz boost: enabled Core speeds (MHz): 1: 1224 2: 1229 3: 1226 4: 1233 5: 1227 
           6: 1225 7: 1242 8: 1314 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Picasso vendor: Lenovo ThinkPad E595 driver: amdgpu v: kernel 
           bus ID: 05:00.0 chip ID: 1002:15d8 
           Display: x11 server: X.Org 1.20.8 driver: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: AMD RAVEN (DRM 3.35.0 5.4.31-1-MANJARO LLVM 9.0.1) v: 4.6 Mesa 20.0.4 direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Lenovo ThinkPad E595 
           driver: snd_hda_intel v: kernel bus ID: 05:00.1 chip ID: 1002:15de 
           Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo ThinkPad E595 
           driver: N/A bus ID: 05:00.5 chip ID: 1022:15e2 
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Lenovo ThinkPad E595 driver: snd_hda_intel 
           v: kernel bus ID: 05:00.6 chip ID: 1022:15e3 
           Sound Server: ALSA v: k5.4.31-1-MANJARO 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo ThinkPad E595 driver: r8168 
           v: 8.048.00-NAPI port: 3000 bus ID: 02:00.0 chip ID: 10ec:8168 
           IF: enp2s0 state: down mac: <filter> 
           IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
           IF-ID-2: wlp4s0 state: up mac: <filter> 
Drives:    Local Storage: total: 1.14 TiB used: 407.85 GiB (34.9%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLW256HEHP-000L7 size: 238.47 GiB block size: physical: 512 B 
           logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 4L7QCXB7 scheme: GPT 
           ID-2: /dev/sda vendor: Western Digital model: WD10SPZX-08Z10 size: 931.51 GiB block size: physical: 4096 B 
           logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: 1A05 scheme: MBR 
Partition: ID-1: / raw size: 214.56 GiB size: 210.19 GiB (97.96%) used: 54.76 GiB (26.1%) fs: ext4 dev: /dev/nvme0n1p2 
           ID-2: swap-1 size: 23.61 GiB used: 0 KiB (0.0%) fs: swap swappiness: 10 (default 60) cache pressure: 100 (default) 
           dev: /dev/nvme0n1p3 
Sensors:   System Temperatures: cpu: 57.2 C mobo: 0.0 C gpu: amdgpu temp: 57 C 
           Fan Speeds (RPM): cpu: 3300 
Info:      Processes: 264 Uptime: 11h 35m Memory: 21.46 GiB used: 2.68 GiB (12.5%) Init: systemd v: 244 Compilers: gcc: 9.3.0 
           Shell: zsh v: 5.8 running in: xfce4-terminal inxi: 3.0.37
➜  ~ journalctl -p2 -b -1
-- Logs begin at Wed 2020-04-15 20:26:15 CEST, end at Thu 2020-04-16 11:45:33 CEST. --
Apr 16 11:43:37 KingGanja kernel: Disabling IRQ #7
Apr 16 11:44:07 KingGanja systemd-coredump[1768]: Process 1766 (xfsettingsd) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 1766:
                                                  #0  0x00007fc66252ef46 n/a (libglib-2.0.so.0 + 0x62f46)
                                                  #1  0x00007fc66252f136 g_log_default_handler (libglib-2.0.so.0 + 0x63136)
                                                  #2  0x00007fc66252f8be g_logv (libglib-2.0.so.0 + 0x638be)
                                                  #3  0x00007fc66252fac0 g_log (libglib-2.0.so.0 + 0x63ac0)
                                                  #4  0x0000558dadcb9469 n/a (xfsettingsd + 0x6469)
                                                  #5  0x00007fc66230b023 __libc_start_main (libc.so.6 + 0x27023)
                                                  #6  0x0000558dadcb969e n/a (xfsettingsd + 0x669e)
Apr 16 11:44:22 KingGanja systemd-coredump[1786]: Process 1784 (xfsettingsd) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 1784:
                                                  #0  0x00007fc352f88f46 n/a (libglib-2.0.so.0 + 0x62f46)
                                                  #1  0x00007fc352f89136 g_log_default_handler (libglib-2.0.so.0 + 0x63136)
                                                  #2  0x00007fc352f898be g_logv (libglib-2.0.so.0 + 0x638be)
                                                  #3  0x00007fc352f89ac0 g_log (libglib-2.0.so.0 + 0x63ac0)
                                                  #4  0x0000560baee71469 n/a (xfsettingsd + 0x6469)
                                                  #5  0x00007fc352d65023 __libc_start_main (libc.so.6 + 0x27023)
                                                  #6  0x0000560baee7169e n/a (xfsettingsd + 0x669e)
Apr 16 11:44:47 KingGanja systemd-coredump[1820]: Process 1818 (xfsettingsd) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 1818:
                                                  #0  0x00007f9906e15f46 n/a (libglib-2.0.so.0 + 0x62f46)
                                                  #1  0x00007f9906e16136 g_log_default_handler (libglib-2.0.so.0 + 0x63136)
                                                  #2  0x00007f9906e168be g_logv (libglib-2.0.so.0 + 0x638be)
                                                  #3  0x00007f9906e16ac0 g_log (libglib-2.0.so.0 + 0x63ac0)
                                                  #4  0x00005640cf076469 n/a (xfsettingsd + 0x6469)
                                                  #5  0x00007f9906bf2023 __libc_start_main (libc.so.6 + 0x27023)
                                                  #6  0x00005640cf07669e n/a (xfsettingsd + 0x669e)

information:

thank you, i edited the original post

please help im really loosing my mind

Some hardware

just doesn't play well

with the RT kernels

1 Like

I'd lend you mine but it's not much better :crazy_face:, what @tbg said pretty much covers it, you'll have better results going back to standard kernels instead.

1 Like

So. . . interesting question. Why do you insist on running the RT kernel? Have you tried the regular kernels? Do those work ok?

the regular kernels work like a charm. however i am doing music production and using the realtime kernel seems like a logical choice (also it is recommended on the arch wiki article).
I would love to make it run especially as the laptop im using is quite new and i would hope that everything whould work fine for a few years.

However I wasnt aware of the Realtime kernels have their problems and could be a source of instability. In a life situation maybe its acceptable to sacrifice some of latency for a more reliable system.

But is there really nothing i can try to make it run?

https://wiki.archlinux.org/index.php/Realtime_kernel_patchset
https://wiki.archlinux.org/index.php/Professional_audio

even rt-kernels are separated to lts and experimental versions. if i had to use a real time kernel i would recommend to use a rt-lts variant.

wow I just tried something that for some reason is working for the moment. Im not sure if it will crash but for now its looking good:

instead of using manjaros kernel manager from the manjaro settings manager i reinstalled the new kernel using mhwd-kernel
and now i successfully booted into the kernel

oof ok now with the kernels installed via mhwd-kernel i am getting different kind of errors:

Apr 17 08:41:32 KingGanja kernel: pci 0000:00:00.2: AMD-Vi: Unable to read/write to IOMMU perf counter.
Apr 17 08:41:32 KingGanja kernel: efi: EFI_MEMMAP is not enabled.
Apr 17 08:41:32 KingGanja systemd[1]: Failed to start Load Kernel Modules.
Apr 17 08:41:32 KingGanja systemd-modules-load[372]: Failed to lookup module alias 'crypto_user': Function not implemented
Apr 17 08:41:32 KingGanja systemd-modules-load[372]: Failed to lookup module alias 'vboxdrv': Function not implemented
Apr 17 08:41:32 KingGanja systemd-modules-load[372]: Failed to lookup module alias 'vboxnetadp': Function not implemented
Apr 17 08:41:32 KingGanja systemd-modules-load[372]: Failed to lookup module alias 'vboxnetflt': Function not implemented
Apr 17 08:41:32 KingGanja systemd-modules-load[372]: Failed to lookup module alias 'vboxdrv': Function not implemented
Apr 17 08:41:32 KingGanja systemd-modules-load[372]: Failed to lookup module alias 'vboxnetadp': Function not implemented
Apr 17 08:41:32 KingGanja systemd-modules-load[372]: Failed to lookup module alias 'vboxnetflt': Function not implemented
Apr 17 08:41:32 KingGanja systemd-modules-load[372]: Failed to lookup module alias 'vboxdrv': Function not implemented
Apr 17 08:41:32 KingGanja systemd-modules-load[372]: Failed to lookup module alias 'vboxnetadp': Function not implemented
Apr 17 08:41:32 KingGanja systemd-modules-load[372]: Failed to lookup module alias 'vboxnetflt': Function not implemented
Apr 17 08:41:32 KingGanja systemd-modules-load[372]: Failed to lookup module alias 'vboxdrv': Function not implemented
Apr 17 08:41:32 KingGanja systemd-modules-load[372]: Failed to lookup module alias 'vboxnetadp': Function not implemented
Apr 17 08:41:32 KingGanja systemd-modules-load[372]: Failed to lookup module alias 'vboxnetflt': Function not implemented
Apr 17 08:41:32 KingGanja systemd-modules-load[372]: Failed to lookup module alias 'vboxdrv': Function not implemented
Apr 17 08:41:32 KingGanja systemd-modules-load[372]: Failed to lookup module alias 'vboxnetadp': Function not implemented
Apr 17 08:41:32 KingGanja systemd-modules-load[372]: Failed to lookup module alias 'vboxnetflt': Function not implemented
Apr 17 08:41:32 KingGanja systemd-modules-load[372]: Failed to lookup module alias 'uinput': Function not implemented
Apr 17 08:41:33 KingGanja systemd[1]: Failed to mount /boot/efi.

that previous one was for 54-rt

this one however is for 419 and NOT the realtime version


Apr 17 08:46:23 KingGanja kernel: AMD-Vi: Unable to write to IOMMU perf counter.
Apr 17 08:46:23 KingGanja kernel: mmc0: Unknown controller version (3). You may experience problems.
Apr 17 08:46:25 KingGanja kernel: irq 7: nobody cared (try booting with the "irqpoll" option)
Apr 17 08:46:25 KingGanja kernel: handlers:
Apr 17 08:46:25 KingGanja kernel: [<00000000d31bbf5b>] amd_gpio_irq_handler [pinctrl_amd]
Apr 17 08:46:25 KingGanja kernel: Disabling IRQ #7
Apr 17 08:46:27 KingGanja systemd[1]: Failed to start Light Display Manager.
Apr 17 08:46:49 KingGanja kernel: watchdog: watchdog0: watchdog did not stop!

please check the settings of the virtualization at your BIOS first.

it is enabled, should i disable it?

trial and error, what do you have to loose ? i won't be a help at real-time kernels, i never needed them but i know that you have to dig in because a lot of settings in a rt-kernel must be adjusted by the user.

but i am also having trouble starting the nonrelatime 419

switching virtualisation off didnt resolve the issue

please you have to dig in first before you try to install real-time-kernels

Forum kindly sponsored by