System freeze - realtime kernel
Moderators: MattKingUSA, khz
- lilith
- Established Member
- Posts: 1706
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 122 times
- Been thanked: 57 times
- Contact:
System freeze - realtime kernel
I have Debian Stretch installed recently + the KX repos. In addition I also installed a realtime kernel via synaptic (Linux fox 4.9.0-6-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux)
It happend to me already twice that my complete system is freezing. Now I was playing with Ardour and tried to get the Multisampler Plugin (LSP) running with multi outs.... I was playing in the pin connection window. Mouse is moving but I can't open/close programs. I also can't open a terminal. I can restart the PC with REISUB. I don't know if it's due to Ardour or if there is any other problem.
Can it be a problem with the realtime kernel? Can I just deinstall the RT kernel and will Debian automatically use the old one?
I just have realized that I didn't install the kernel header files, are these important?
I checked the xorg log files, but as there is no time stamp in it I can hardly figure out if there is a problem.
If anyone has an idea what else I can check ...
Is anyone running the standard Linux fox 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux kernel, intead if the RT kernel?
It happend to me already twice that my complete system is freezing. Now I was playing with Ardour and tried to get the Multisampler Plugin (LSP) running with multi outs.... I was playing in the pin connection window. Mouse is moving but I can't open/close programs. I also can't open a terminal. I can restart the PC with REISUB. I don't know if it's due to Ardour or if there is any other problem.
Can it be a problem with the realtime kernel? Can I just deinstall the RT kernel and will Debian automatically use the old one?
I just have realized that I didn't install the kernel header files, are these important?
I checked the xorg log files, but as there is no time stamp in it I can hardly figure out if there is a problem.
If anyone has an idea what else I can check ...
Is anyone running the standard Linux fox 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux kernel, intead if the RT kernel?
- lilith
- Established Member
- Posts: 1706
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 122 times
- Been thanked: 57 times
- Contact:
Re: System freeze - realtime kernel
It's a simple online chip: 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
With KXStudio 14.04 I never had any freeze.
With KXStudio 14.04 I never had any freeze.
- lilith
- Established Member
- Posts: 1706
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 122 times
- Been thanked: 57 times
- Contact:
Re: System freeze - realtime kernel
Now: Debian + XFCE Dektop.lilith wrote:It's a simple online chip: 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
With KXStudio 14.04 I never had any freeze.
- sysrqer
- Established Member
- Posts: 2527
- Joined: Thu Nov 14, 2013 11:47 pm
- Has thanked: 320 times
- Been thanked: 153 times
- Contact:
Re: System freeze - realtime kernel
I just ask because it is very similar to an issue you can run in to using nouveau driver in conjunction with realtime operations - https://wiki.archlinux.org/index.php/no ... r_messages
Sounds like it could be a kernel problem though, boot in the low latency or regular version of the kernel, or any other version and see if you have the same problem. Kernel issues are pretty easy fix, there are many you try. Go back to basics and work your way up.
Sounds like it could be a kernel problem though, boot in the low latency or regular version of the kernel, or any other version and see if you have the same problem. Kernel issues are pretty easy fix, there are many you try. Go back to basics and work your way up.
- lilith
- Established Member
- Posts: 1706
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 122 times
- Been thanked: 57 times
- Contact:
Re: System freeze - realtime kernel
Ok, I have the standard Debian kernel booted now which also gives me less (=none) xruns. I will use this for the next weeks and see if the I get again problems. Thanks!sysrqer wrote:I just ask because it is very similar to an issue you can run in to using nouveau driver in conjunction with realtime operations - https://wiki.archlinux.org/index.php/no ... r_messages
Sounds like it could be a kernel problem though, boot in the low latency or regular version of the kernel, or any other version and see if you have the same problem. Kernel issues are pretty easy fix, there are many you try. Go back to basics and work your way up.
Do I need a lowtancykernel? I get 10.7 latency @ 512 samples, with the standard kernel without xruns... should be ok,right?
- khz
- Established Member
- Posts: 1648
- Joined: Thu Apr 17, 2008 6:29 am
- Location: German
- Has thanked: 42 times
- Been thanked: 92 times
Re: System freeze - realtime kernel
You are using the onboard graphics card of your I7
and you installed the firmware-linux-nonfree and the microcode?
As far as I know, you have followed my tips (see signature).
If there are any errors, please give me feedback so I can change it. Thank you.
and you installed the firmware-linux-nonfree and the microcode?
As far as I know, you have followed my tips (see signature).
If there are any errors, please give me feedback so I can change it. Thank you.
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
- I don't care about the freedom of speech because I have nothing to say.
- lilith
- Established Member
- Posts: 1706
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 122 times
- Been thanked: 57 times
- Contact:
Re: System freeze - realtime kernel
Yup, I have both packages installed, because you said I have to .khz wrote:You are using the onboard graphics card of your I7
and you installed the firmware-linux-nonfree and the microcode?
As far as I know, you have followed my tips (see signature).
If there are any errors, please give me feedback so I can change it. Thank you.
Btw: I checked my RAM today -> no errors found.
-
- Established Member
- Posts: 315
- Joined: Mon Jan 02, 2017 9:46 am
- Has thanked: 1 time
- Been thanked: 5 times
Re: System freeze - realtime kernel
Maybe wifi freezes, some rt kernels might cause wifi freezes with some wifi hardware/drivers.
I've had to disable wifi for one rt kernel I'm using and after that it's ok.
I've had to disable wifi for one rt kernel I'm using and after that it's ok.
- lilith
- Established Member
- Posts: 1706
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 122 times
- Been thanked: 57 times
- Contact:
Re: System freeze - realtime kernel
I'm using the RT kernel (4.9.0-8-rt-amd64) meanwhile again and I see often such messages in the journal:
Same happened with the previous RT kernel. Usually they make no problems and I read somewhere they are considered to be uncritical.
This evening again the system frozed. Ctrl+Alt+F1 was not possbile, but Alt+Print+REISUB.
In the journal I only see:
The system froze at ~ 22:58. Maybe the NOHZ: local_softirq_pending 80 has something to do with it? Anybody else stumbled upon it?
Code: Select all
NOHZ: local_softirq_pending 80
This evening again the system frozed. Ctrl+Alt+F1 was not possbile, but Alt+Print+REISUB.
In the journal I only see:
Code: Select all
Feb 23 22:17:01 fox CRON[6613]: pam_unix(cron:session): session closed for user root
Feb 23 22:39:03 fox smartd[495]: Device: /dev/sdb [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 71 to 70
Feb 23 22:47:05 fox kernel: [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=570242 end=570243) time 2125 us, min 1073, max 1079, scanline start 1059, end 1059
Feb 23 22:52:28 fox kernel: Carla-Plugin[6811]: segfault at 7fff00000012 ip 00007f9607995e04 sp 00007fff12244c80 error 6 in libcarla_utils.so[7f960798b000+33000]
Feb 23 22:57:10 fox dbus-daemon[1178]: Activating service name='org.freedesktop.thumbnails.Thumbnailer1'
Feb 23 22:57:10 fox dbus-daemon[1178]: Successfully activated service 'org.freedesktop.thumbnails.Thumbnailer1'
Feb 23 22:59:47 fox kernel: NOHZ: local_softirq_pending 80
Feb 23 22:59:47 fox kernel: NOHZ: local_softirq_pending 80
Feb 23 23:00:08 fox kernel: NOHZ: local_softirq_pending 80
Feb 23 23:00:16 fox kernel: NOHZ: local_softirq_pending 80
Feb 23 23:00:16 fox kernel: NOHZ: local_softirq_pending 80
Feb 23 23:00:19 fox kernel: NOHZ: local_softirq_pending 80
Feb 23 23:00:44 fox kernel: sysrq: SysRq : Keyboard mode set to system default
Feb 23 23:00:45 fox kernel: NOHZ: local_softirq_pending 80
Feb 23 23:00:45 fox kernel: NOHZ: local_softirq_pending 80
Feb 23 23:00:45 fox kernel: NOHZ: local_softirq_pending 80
Feb 23 23:00:45 fox kernel: sysrq: SysRq : This sysrq operation is disabled.
Feb 23 23:00:46 fox kernel: sysrq: SysRq : This sysrq operation is disabled.
Feb 23 23:00:47 fox kernel: sysrq: SysRq : Emergency Sync
Feb 23 23:00:47 fox kernel: Emergency Sync complete
- lilith
- Established Member
- Posts: 1706
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 122 times
- Been thanked: 57 times
- Contact:
Re: System freeze - realtime kernel
I found that some freezes are due to using the XFCE compositing feature. I disabled it now and installed compton, which looks much better. Freezes happen also much more often when I'm using the RT - Kernel. I also saw now that I have xserver-xorg-video-nouveau installed in synaptic which confuses me as I have a simple intel online graphic chip. Maybe it's just pre-installed and not in use.sysrqer wrote:I just ask because it is very similar to an issue you can run in to using nouveau driver in conjunction with realtime operations - https://wiki.archlinux.org/index.php/no ... r_messages
Sounds like it could be a kernel problem though, boot in the low latency or regular version of the kernel, or any other version and see if you have the same problem. Kernel issues are pretty easy fix, there are many you try. Go back to basics and work your way up.
- sysrqer
- Established Member
- Posts: 2527
- Joined: Thu Nov 14, 2013 11:47 pm
- Has thanked: 320 times
- Been thanked: 153 times
- Contact:
Re: System freeze - realtime kernel
Yeah I think it can be installed but not used. Might want to check what is actually being used though.
- lilith
- Established Member
- Posts: 1706
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 122 times
- Been thanked: 57 times
- Contact:
Re: System freeze - realtime kernel
Seems to be the i915 driver:sysrqer wrote:Yeah I think it can be installed but not used. Might want to check what is actually being used though.
Code: Select all
*-display
description: VGA compatible controller
product: Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:32 memory:f7800000-f7bfffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff