frozen screen with linuxcnc 2.9.1 y kernel RTAI 5.4.258
20 Dec 2023 22:18 - 21 Dec 2023 22:41 #288710
by Ismacr63
frozen screen with linuxcnc 2.9.1 y kernel RTAI 5.4.258 was created by Ismacr63
Hello. I come from this thread:
forum.linuxcnc.org/9-installing-linuxcnc...an-6?start=20#288708
The fact is that I thought I had a problem with the installation of linuxcnc 2.9.1 and kernel rtai 5.4.258.
The installation is fine since I have put the SSD disk on another motherboard and it works correctly.
The problem is that when I start the latency test or linuxcnc itself, the screen freezes and I have to restart the PC. I have played with all the bios options and the problem continues. I have also tried an Nvidia and another Radeon graphics card and the problem still exists.
with linuxcnc Preempt-RT kernel it works perfectly, but I need rtai because I use a parallel port.
The motherboard is gigabyte h110m ds2 with 16gb ram i3 6100 processor
forum.linuxcnc.org/9-installing-linuxcnc...an-6?start=20#288708
The fact is that I thought I had a problem with the installation of linuxcnc 2.9.1 and kernel rtai 5.4.258.
The installation is fine since I have put the SSD disk on another motherboard and it works correctly.
The problem is that when I start the latency test or linuxcnc itself, the screen freezes and I have to restart the PC. I have played with all the bios options and the problem continues. I have also tried an Nvidia and another Radeon graphics card and the problem still exists.
with linuxcnc Preempt-RT kernel it works perfectly, but I need rtai because I use a parallel port.
The motherboard is gigabyte h110m ds2 with 16gb ram i3 6100 processor
Last edit: 21 Dec 2023 22:41 by Ismacr63.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18563
- Thank you received: 6219
20 Dec 2023 22:43 #288712
by tommylight
Replied by tommylight on topic frozen screen with linuxcnc 2.9.1 y kernel RTAI 5.4.258
Should have posted on the link i posted there, not start a new topic.
As it is a RTAI kernel issue with only some specific hardware, it is very difficult to help with it or to point in any direction.
This is not a LinuxCNC issue (LinuxCNC does not use RTAI kernel anymore, it is provided by some members here to help with older hardware as there are still plenty PC's with parallel port in use), nor is this a Debian issue so searching on Debian forums might help, but chances are low. Then again, might be worth a try.
As it is a RTAI kernel issue with only some specific hardware, it is very difficult to help with it or to point in any direction.
This is not a LinuxCNC issue (LinuxCNC does not use RTAI kernel anymore, it is provided by some members here to help with older hardware as there are still plenty PC's with parallel port in use), nor is this a Debian issue so searching on Debian forums might help, but chances are low. Then again, might be worth a try.
The following user(s) said Thank You: Ismacr63
Please Log in or Create an account to join the conversation.
20 Dec 2023 22:52 #288714
by Ismacr63
sorry, you're right. I delete it and write in the thread that he told me.
thank you!
Replied by Ismacr63 on topic frozen screen with linuxcnc 2.9.1 y kernel RTAI 5.4.258
Should have posted on the link i posted there, not start a new topic.
As it is a RTAI kernel issue with only some specific hardware, it is very difficult to help with it or to point in any direction.
This is not a LinuxCNC issue (LinuxCNC does not use RTAI kernel anymore, it is provided by some members here to help with older hardware as there are still plenty PC's with parallel port in use), nor is this a Debian issue so searching on Debian forums might help, but chances are low. Then again, might be worth a try.
sorry, you're right. I delete it and write in the thread that he told me.
thank you!
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
23 Dec 2023 15:34 #288920
by Ismacr63
I have managed to get the latency test to run, but when I try to start linuxcnc an error appears.
Replied by Ismacr63 on topic frozen screen with linuxcnc 2.9.1 y kernel RTAI 5.4.258
Should have posted on the link i posted there, not start a new topic.
As it is a RTAI kernel issue with only some specific hardware, it is very difficult to help with it or to point in any direction.
This is not a LinuxCNC issue (LinuxCNC does not use RTAI kernel anymore, it is provided by some members here to help with older hardware as there are still plenty PC's with parallel port in use), nor is this a Debian issue so searching on Debian forums might help, but chances are low. Then again, might be worth a try.
I have managed to get the latency test to run, but when I try to start linuxcnc an error appears.
Warning: Spoiler!
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-5.4.258-rtai-amd64/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.1
Machine configuration directory is '/home/isma/linuxcnc/configs/mi-maquina'
Machine configuration file is 'mi-maquina.ini'
INIFILE=/home/isma/linuxcnc/configs/mi-maquina/mi-maquina.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=
DISPLAY=axis
COORDINATES=X Z
KINEMATICS=trivkins coordinates=XZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./mi-maquina.hal
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
/usr/bin/milltask exiting
/usr/bin/linuxcnc: línea 977: 1795 Violación de segmento (`core' generado) $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
<commandline>:0: milltask exited without becoming ready
1747
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 33.892356] I-pipe: head domain RTAI registered.
[ 33.892358] RTAI[hal]: mounted. ISOL_CPUS_MASK: 0.
[ 33.892360] SYSINFO - # CPUs: 4, TIMER NAME: 'lapic-deadline', TIMER IRQ: 4355, TIMER FREQ: 462481260, CLOCK NAME: 'tsc', CLOCK FREQ: 3695999000, CPU FREQ: 3695999000, LINUX TIMER IRQ: 4355.
[ 33.897030] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 33.897056] kstacks pool size = 524288 bytes
[ 33.897057] RTAI[sched]: hard timer type/freq = lapic-deadline/462481260(Hz)
[ 33.897057] linear timed lists.
[ 33.897058] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3695999000 hz.
[ 33.897058] RTAI[sched]: timer setup = 82 ns, resched latency = 0 ns.
[ 33.912881] USERMODE CHECK: OK.
[ 33.912883] USERMODE CHECK PROVIDED (ns): KernelLatency 1143, UserLatency 1921.
[ 33.912883] FINAL CALIBRATION SUMMARY (ns): KernelLatency 1143, UserLatency 1921.
[ 33.920621] RTAI[math]: loaded integrated musl libm version 1.2.3.
[ 33.961517] config string '0 out'
[ 34.350652] axis[1795]: segfault at ab ip 0000000000572a78 sp 00007ffd4decbba0 error 4 in python3.11[41f000+2b3000]
[ 34.350659] Code: a0 ed ff e9 a9 a0 ed ff 66 2e 0f 1f 84 00 00 00 00 00 41 57 41 56 41 55 41 54 49 89 fc 55 53 48 83 ec 08 48 8b 1f 48 8b 53 08 <f6> 82 ab 00 00 00 08 0f 84 dd a0 ed ff 48 89 f5 48 85 f6 0f 88 d1
[ 34.738545] milltask[1791]: segfault at 18 ip 00007fed3610be48 sp 00007ffdb87232d0 error 4 in libpython3.11.so.1.0[7fed3610a000+2d1000]
[ 34.738549] Code: 00 4c 89 c6 4c 89 cf e8 a6 77 0b 00 48 89 04 25 00 00 00 00 0f 0b 48 89 04 25 00 00 00 00 0f 0b 66 0f ef c0 c3 4d 89 7c 24 38 <48> 8b 04 25 18 00 00 00 0f 0b 48 8b 04 25 18 00 00 00 0f 0b 0f b6
[ 37.358746] RTAI[math]: unloaded.
[ 37.427726] SCHED releases registered named ALIEN PEDV$D
[ 37.431095] RTAI[malloc]: unloaded.
[ 37.544388] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 37.575549] I-pipe: head domain RTAI unregistered.
[ 37.575553] RTAI[hal]: unmounted.
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-5.4.258-rtai-amd64/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.1
Machine configuration directory is '/home/isma/linuxcnc/configs/mi-maquina'
Machine configuration file is 'mi-maquina.ini'
INIFILE=/home/isma/linuxcnc/configs/mi-maquina/mi-maquina.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=
DISPLAY=axis
COORDINATES=X Z
KINEMATICS=trivkins coordinates=XZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./mi-maquina.hal
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
/usr/bin/milltask exiting
/usr/bin/linuxcnc: línea 977: 1795 Violación de segmento (`core' generado) $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
<commandline>:0: milltask exited without becoming ready
1747
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 33.892356] I-pipe: head domain RTAI registered.
[ 33.892358] RTAI[hal]: mounted. ISOL_CPUS_MASK: 0.
[ 33.892360] SYSINFO - # CPUs: 4, TIMER NAME: 'lapic-deadline', TIMER IRQ: 4355, TIMER FREQ: 462481260, CLOCK NAME: 'tsc', CLOCK FREQ: 3695999000, CPU FREQ: 3695999000, LINUX TIMER IRQ: 4355.
[ 33.897030] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 33.897056] kstacks pool size = 524288 bytes
[ 33.897057] RTAI[sched]: hard timer type/freq = lapic-deadline/462481260(Hz)
[ 33.897057] linear timed lists.
[ 33.897058] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3695999000 hz.
[ 33.897058] RTAI[sched]: timer setup = 82 ns, resched latency = 0 ns.
[ 33.912881] USERMODE CHECK: OK.
[ 33.912883] USERMODE CHECK PROVIDED (ns): KernelLatency 1143, UserLatency 1921.
[ 33.912883] FINAL CALIBRATION SUMMARY (ns): KernelLatency 1143, UserLatency 1921.
[ 33.920621] RTAI[math]: loaded integrated musl libm version 1.2.3.
[ 33.961517] config string '0 out'
[ 34.350652] axis[1795]: segfault at ab ip 0000000000572a78 sp 00007ffd4decbba0 error 4 in python3.11[41f000+2b3000]
[ 34.350659] Code: a0 ed ff e9 a9 a0 ed ff 66 2e 0f 1f 84 00 00 00 00 00 41 57 41 56 41 55 41 54 49 89 fc 55 53 48 83 ec 08 48 8b 1f 48 8b 53 08 <f6> 82 ab 00 00 00 08 0f 84 dd a0 ed ff 48 89 f5 48 85 f6 0f 88 d1
[ 34.738545] milltask[1791]: segfault at 18 ip 00007fed3610be48 sp 00007ffdb87232d0 error 4 in libpython3.11.so.1.0[7fed3610a000+2d1000]
[ 34.738549] Code: 00 4c 89 c6 4c 89 cf e8 a6 77 0b 00 48 89 04 25 00 00 00 00 0f 0b 48 89 04 25 00 00 00 00 0f 0b 66 0f ef c0 c3 4d 89 7c 24 38 <48> 8b 04 25 18 00 00 00 0f 0b 48 8b 04 25 18 00 00 00 0f 0b 0f b6
[ 37.358746] RTAI[math]: unloaded.
[ 37.427726] SCHED releases registered named ALIEN PEDV$D
[ 37.431095] RTAI[malloc]: unloaded.
[ 37.544388] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 37.575549] I-pipe: head domain RTAI unregistered.
[ 37.575553] RTAI[hal]: unmounted.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18563
- Thank you received: 6219
23 Dec 2023 15:51 - 23 Dec 2023 15:54 #288922
by tommylight
Replied by tommylight on topic frozen screen with linuxcnc 2.9.1 y kernel RTAI 5.4.258
Segmentation fault, usually due to failing memory modules or memory controller (not always).
Do you have other memory to test with?
Or, if there are more than one module, remove all and insert one at a time and test.
Edit:
Sometimes, failing power supply can also cause seg faults.
Do you have other memory to test with?
Or, if there are more than one module, remove all and insert one at a time and test.
Edit:
Sometimes, failing power supply can also cause seg faults.
Last edit: 23 Dec 2023 15:54 by tommylight. Reason: more info
The following user(s) said Thank You: Ismacr63
Please Log in or Create an account to join the conversation.
23 Dec 2023 19:09 #288936
by Ismacr63
To make the latency test work I have flashed an older bios, I have been updating the bios until I reach one that starts to freeze the system when starting anything related to linuxcnc. I have to say that it only happens with the rtai kernel. I get that error message, although sometimes Linux starts without any error.
Replied by Ismacr63 on topic frozen screen with linuxcnc 2.9.1 y kernel RTAI 5.4.258
The memories are new, literally a month old. There are 2 modules of 8GB DDR4 each. Even so, I have checked them and they are fine, I have also tried with a single ram module.Segmentation fault, usually due to failing memory modules or memory controller (not always).
Do you have other memory to test with?
Or, if there are more than one module, remove all and insert one at a time and test.
Edit:
Sometimes, failing power supply can also cause seg faults.
To make the latency test work I have flashed an older bios, I have been updating the bios until I reach one that starts to freeze the system when starting anything related to linuxcnc. I have to say that it only happens with the rtai kernel. I get that error message, although sometimes Linux starts without any error.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.147 seconds