New Install of LCNC,Debian12 dumping core
- aaron
- Offline
- Premium Member
-
Less
More
- Posts: 82
- Thank you received: 1
01 Oct 2025 12:46 #335656
by aaron
New Install of LCNC,Debian12 dumping core was created by aaron
Hi
Pleases help. I am trying to do a fresh install on an old computer and router system, but I am getting this error message: rtapi_app: caught signal 11 - dumping core.
This is what I get when I start LCNC from command line:
linuxcnc
LINUXCNC - 2.9.4
Machine configuration directory is '/home/aaron/linuxcnc/configs/Joe's-router'
Machine configuration file is 'Joe's-router.ini'
LinuxCNC is still running. Restart it? [Y/n] y
Cleaning up old LinuxCNC...
Shutting down and cleaning up LinuxCNC...
Waiting for other session to finish exiting...lockfile still not removed
Waited 3 seconds for master. giving up.
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
pwmgen: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
stepgen: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
motmod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
trivkins: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
tpmod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
Found file(REL): ./Joe's-router.hal
identityKinematicsSetup: coordinates:XXYZ
Joint 0 ==> Axis X
Joint 1 ==> Axis X
Joint 2 ==> Axis Y
Joint 3 ==> Axis Z
identityKinematicsSetup: Recommend: kinstype=both
config string '0 out'
Found file(REL): ./custom.hal
rtapi_app: caught signal 11 - dumping core
rtapi_app: caught signal 11 - dumping core
note: MAXV max: 85.000 units/sec 5100.000 units/min
note: LJOG max: 85.000 units/sec 5100.000 units/min
note: LJOG default: 8.500 units/sec 510.000 units/min
Warning: Forward kinematics must handle duplicate coordinate letters:xx
Note:
Individual axis homing is not currently supported for
KINEMATICS_IDENTITY with duplicate axis letter <X>
note: jog_order='XYZ'
note: jog_invert=set()
USRMOT: ERROR: command timeout
task: main loop took 1.010196 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010282 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010223 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010128 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010149 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010212 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010275 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010156 seconds
Thanks
Aaron
Pleases help. I am trying to do a fresh install on an old computer and router system, but I am getting this error message: rtapi_app: caught signal 11 - dumping core.
This is what I get when I start LCNC from command line:
linuxcnc
LINUXCNC - 2.9.4
Machine configuration directory is '/home/aaron/linuxcnc/configs/Joe's-router'
Machine configuration file is 'Joe's-router.ini'
LinuxCNC is still running. Restart it? [Y/n] y
Cleaning up old LinuxCNC...
Shutting down and cleaning up LinuxCNC...
Waiting for other session to finish exiting...lockfile still not removed
Waited 3 seconds for master. giving up.
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
pwmgen: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
stepgen: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
motmod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
trivkins: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
tpmod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
Found file(REL): ./Joe's-router.hal
identityKinematicsSetup: coordinates:XXYZ
Joint 0 ==> Axis X
Joint 1 ==> Axis X
Joint 2 ==> Axis Y
Joint 3 ==> Axis Z
identityKinematicsSetup: Recommend: kinstype=both
config string '0 out'
Found file(REL): ./custom.hal
rtapi_app: caught signal 11 - dumping core
rtapi_app: caught signal 11 - dumping core
note: MAXV max: 85.000 units/sec 5100.000 units/min
note: LJOG max: 85.000 units/sec 5100.000 units/min
note: LJOG default: 8.500 units/sec 510.000 units/min
Warning: Forward kinematics must handle duplicate coordinate letters:xx
Note:
Individual axis homing is not currently supported for
KINEMATICS_IDENTITY with duplicate axis letter <X>
note: jog_order='XYZ'
note: jog_invert=set()
USRMOT: ERROR: command timeout
task: main loop took 1.010196 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010282 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010223 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010128 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010149 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010212 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010275 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010156 seconds
Thanks
Aaron
Please Log in or Create an account to join the conversation.
- langdons
-
- Offline
- Platinum Member
-
Less
More
- Posts: 641
- Thank you received: 66
01 Oct 2025 13:24 - 01 Oct 2025 13:26 #335658
by langdons
Replied by langdons on topic New Install of LCNC,Debian12 dumping core
Strange.
Perhaps a corrupt ISO or install is to blame?
Try redownloading and reinstalling the official 2.9.4 ISO.
linuxcnc.org/iso/linuxcnc_2.9.4-amd64.hybrid.iso
www3.langdonstaab.ca/iso/linuxcnc_2.9.4-amd64.hybrid.iso
Hopefully that should fix it.
Perhaps a corrupt ISO or install is to blame?
Try redownloading and reinstalling the official 2.9.4 ISO.
linuxcnc.org/iso/linuxcnc_2.9.4-amd64.hybrid.iso
www3.langdonstaab.ca/iso/linuxcnc_2.9.4-amd64.hybrid.iso
Hopefully that should fix it.
Last edit: 01 Oct 2025 13:26 by langdons. Reason: Clarified meaning and added info.
Please Log in or Create an account to join the conversation.
- langdons
-
- Offline
- Platinum Member
-
Less
More
- Posts: 641
- Thank you received: 66
01 Oct 2025 13:25 - 01 Oct 2025 13:31 #335659
by langdons
Replied by langdons on topic New Install of LCNC,Debian12 dumping core
Make sure secure boot is disabled first!
While you are in the BIOS setup, also turn off turbo and powersaving features.
Set the cooling profile to max performance or active.
Also, Windows installations sometimes leave behind system partitions that don't always get erased when installing Linux.
Try removing all traces of Windows.
However, sometimes a system can't boot Linux without a Windows system partition there for some reason, it's all quite strange.
But secure boot is pretty much always bad.
While you are in the BIOS setup, also turn off turbo and powersaving features.
Set the cooling profile to max performance or active.
Also, Windows installations sometimes leave behind system partitions that don't always get erased when installing Linux.
Try removing all traces of Windows.
However, sometimes a system can't boot Linux without a Windows system partition there for some reason, it's all quite strange.
But secure boot is pretty much always bad.
Last edit: 01 Oct 2025 13:31 by langdons. Reason: Clarified meaning and added info.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20723
- Thank you received: 7049
01 Oct 2025 13:59 #335663
by tommylight
Replied by tommylight on topic New Install of LCNC,Debian12 dumping core
What PC?
Are you using a parallel port?
If yes, did you type a ROOT password during installation? This is not good as you have to reinstall and skip the root password.
And reboot the PC when you see this is the error report:
Are you using a parallel port?
If yes, did you type a ROOT password during installation? This is not good as you have to reinstall and skip the root password.
And reboot the PC when you see this is the error report:
Waiting for other session to finish exiting...lockfile still not removed
Waited 3 seconds for master. giving up.
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 608
- Thank you received: 205
02 Oct 2025 04:53 #335688
by unknown
Replied by unknown on topic New Install of LCNC,Debian12 dumping core
iopl() is a system call required to gain access to privileged resources.
It is unclear whether the user has attempted an install from the Linuxcnc ISO or from a vanilla Debian install with a self built kernel or via package manager. Neither is it clear whether this is a RIP install of Linuxcnc or via a package.
If the OP can clarify these items and if self installed give a source for the instructions or elaborate on the process this would be great.
Blindly giving advice such as "reinstall" or redo this or that is the advice that is very common to the "Windows Ecosystem". As ethical Linux users it is far better to establish what the actual issue is and then make recommendations.
Even if one does suspect a corruption of the installation media it would be of great value to suggest, and advise the user how to, check that the ISO is a good download.
Tommy's advice regarding rebooting is a good suggestion regarding a previously "hung" Linuxcnc session.
So once we establish the user's method of install we can hopefully forment a solution.
It is unclear whether the user has attempted an install from the Linuxcnc ISO or from a vanilla Debian install with a self built kernel or via package manager. Neither is it clear whether this is a RIP install of Linuxcnc or via a package.
If the OP can clarify these items and if self installed give a source for the instructions or elaborate on the process this would be great.
Blindly giving advice such as "reinstall" or redo this or that is the advice that is very common to the "Windows Ecosystem". As ethical Linux users it is far better to establish what the actual issue is and then make recommendations.
Even if one does suspect a corruption of the installation media it would be of great value to suggest, and advise the user how to, check that the ISO is a good download.
Tommy's advice regarding rebooting is a good suggestion regarding a previously "hung" Linuxcnc session.
So once we establish the user's method of install we can hopefully forment a solution.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- langdons
-
- Offline
- Platinum Member
-
Less
More
- Posts: 641
- Thank you received: 66
02 Oct 2025 14:02 #335722
by langdons
However, non-Windows OSes can also benefit from clean installs.
Especially on Mac, installing apps leaves leftover gunk and lauch daemons.
Linux is better because apt purge exists, but it's not 100% perfect either.
Some programs (like Java) still create cache directories and stuff.
Replied by langdons on topic New Install of LCNC,Debian12 dumping core
Agreed.iopl() is a system call required to gain access to privileged resources.
It is unclear whether the user has attempted an install from the Linuxcnc ISO or from a vanilla Debian install with a self built kernel or via package manager. Neither is it clear whether this is a RIP install of Linuxcnc or via a package.
If the OP can clarify these items and if self installed give a source for the instructions or elaborate on the process this would be great.
Blindly giving advice such as "reinstall" or redo this or that is the advice that is very common to the "Windows Ecosystem". As ethical Linux users it is far better to establish what the actual issue is and then make recommendations.
Even if one does suspect a corruption of the installation media it would be of great value to suggest, and advise the user how to, check that the ISO is a good download.
Tommy's advice regarding rebooting is a good suggestion regarding a previously "hung" Linuxcnc session.
So once we establish the user's method of install we can hopefully forment a solution.
However, non-Windows OSes can also benefit from clean installs.
Especially on Mac, installing apps leaves leftover gunk and lauch daemons.
Linux is better because apt purge exists, but it's not 100% perfect either.
Some programs (like Java) still create cache directories and stuff.
Please Log in or Create an account to join the conversation.
- langdons
-
- Offline
- Platinum Member
-
Less
More
- Posts: 641
- Thank you received: 66
02 Oct 2025 14:07 #335724
by langdons
Replied by langdons on topic New Install of LCNC,Debian12 dumping core
But checking the hash of big file is ssoooo sloooowwwww.....
Please Log in or Create an account to join the conversation.
- aaron
- Offline
- Premium Member
-
Less
More
- Posts: 82
- Thank you received: 1
02 Oct 2025 17:35 #335734
by aaron
Replied by aaron on topic New Install of LCNC,Debian12 dumping core
Thanks for all your replies. I managed to do it by deleting all the partitions via the live usb (including one that I didn't recognize). Then reinstall using the whole disk. Sorry for doing it the windoze way!
Thanks again
Thanks again
Please Log in or Create an account to join the conversation.
- langdons
-
- Offline
- Platinum Member
-
Less
More
- Posts: 641
- Thank you received: 66
02 Oct 2025 21:21 #335745
by langdons
Replied by langdons on topic New Install of LCNC,Debian12 dumping core
Those partitons were left behind by Windows.
You have to fight Windows with Windows!
You have to fight Windows with Windows!
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20723
- Thank you received: 7049
02 Oct 2025 21:39 #335746
by tommylight
Replied by tommylight on topic New Install of LCNC,Debian12 dumping core
Windows can work with ONLY FAT16, FAT32, and NTFS file systems.
Linux can work with almost any file system known to humanity, including those above.
-
Next time, use Parted CLI or GParted GUI, it can do pretty much anything possible with a hard drive or SSD or NVME or USB.
To install it
sudo apt install gparted
Linux can work with almost any file system known to humanity, including those above.
-
Next time, use Parted CLI or GParted GUI, it can do pretty much anything possible with a hard drive or SSD or NVME or USB.
To install it
sudo apt install gparted
The following user(s) said Thank You: unknown
Please Log in or Create an account to join the conversation.
Time to create page: 0.210 seconds