LinuxCNC terminated with an error

More
4 years 9 months ago #232005 by IvanSvistunov98
Не запускается LinuxCNC после настройки в Stepper Configuration Wizard. Буду благодарен, если кто-нибудь поможет решить проблему. Тест ошибки:

Print file information:
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/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.8.2-11-g6a3d0a434
Machine configuration directory is '/home/ivan/linuxcnc/configs/IS1'
Machine configuration file is 'IS1.ini'
INIFILE=/home/ivan/linuxcnc/configs/IS1/IS1.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=
DISPLAY=axis
COORDINATES=X Y Z
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Found file(REL): ./IS1.hal
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
USRMOT: ERROR: command timeout
emcMotionInit: emcTrajInit failed
USRMOT: ERROR: command timeout
emcMotionInit: emcTrajInit failed
USRMOT: ERROR: command timeout
emcMotionInit: emcTrajInit failed
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
Shutting down and cleaning up LinuxCNC...
USRMOT: ERROR: command timeout
emcMotionInit: emcTrajInit failed
Timeout, trying kill -9
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
cannot gain I/O privileges - forgot 'sudo make setuid'?
Note: Using POSIX non-realtime
note: MAXV max: 50.000 units/sec 3000.000 units/min
note: LJOG max: 50.000 units/sec 3000.000 units/min
note: LJOG default: 5.000 units/sec 300.000 units/min
Waiting for component 'inihal' to become ready........................................A configuration error is preventing LinuxCNC from starting.
More information may be available when running from a terminal.
......1876
1903
.........................
<commandline>:0: milltask exited without becoming ready
Stopping realtime threads
Unloading hal components
Waited 3 seconds for master. giving up.
cannot gain I/O privileges - forgot 'sudo make setuid'?
Note: Using POSIX non-realtime
stepgen: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
cannot gain I/O privileges - forgot 'sudo make setuid'?
Note: Using POSIX non-realtime
hal_parport: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
cannot gain I/O privileges - forgot 'sudo make setuid'?
Note: Using POSIX non-realtime
motmod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
cannot gain I/O privileges - forgot 'sudo make setuid'?
Note: Using POSIX non-realtime
trivkins: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
cannot gain I/O privileges - forgot 'sudo make setuid'?
Note: Using POSIX non-realtime

Please Log in to join the conversation.

More
4 years 9 months ago #232068 by cmorley
I assume this is a compiled version of linuxcnc?
The text mansions forgetting to issue 'sudo make setuid' after compiling.
Did you so this?

Please Log in to join the conversation.

More
4 years 9 months ago #232075 by tommylight

Note: Using POSIX non-realtime
Also not using RT kernel so machine control will not work, only sim.
You need RT-Preempt or RTAI kernel to control machines.

Please Log in to join the conversation.

More
4 years 9 months ago #232112 by IvanSvistunov98
Я установил LinuxCNC 2.7.14 Debian 7 Wheezy вместо LinuxCNC 2.8.2 Debian 10 Buster PREEMPT-RT ISO. Все работает. Спасибо!

Please Log in to join the conversation.

More
1 year 5 months ago #327540 by xlordofpainx
Hey, i have no idea what this means. I can tell you that I downloaded the linux cnc from here linuxcnc.org/downloads/ 2025 version, I made a bootable flash drive and installed it like this, initially I was using only the USB but then I installed it properly and it's the only thing on this PC.

could you tell me what I should do from here?

Please Log in to join the conversation.

More
1 year 5 months ago #327541 by xlordofpainx
i tried typing sudo make setuid but u got make:: *** No rule to make target setuid. Stop

Please Log in to join the conversation.

More
1 year 5 months ago #327546 by PCW
What are you trying to make?

The LinuxCNC ISO needs no compiling of executables.

Please Log in to join the conversation.

More
1 year 5 months ago #327553 by xlordofpainx
I am trying to get my machine to run for the first time on a new PC here is my post: www.forum.linuxcnc.org/38-general-linuxc...inated-with-an-error

I can ping the mesa, I can run the motors during pnc conf, but I can't start the launch after that. Thanks in advance

Please Log in to join the conversation.

Time to create page: 0.092 seconds
Powered by Kunena Forum