LinuxCNC terminated with an error
- IvanSvistunov98
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 1
16 Jan 2022 12:04 #232005
by IvanSvistunov98
LinuxCNC terminated with an error was created 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
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 or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7778
- Thank you received: 2075
16 Jan 2022 21:46 #232068
by cmorley
Replied by cmorley on topic LinuxCNC terminated with an error
I assume this is a compiled version of linuxcnc?
The text mansions forgetting to issue 'sudo make setuid' after compiling.
Did you so this?
The text mansions forgetting to issue 'sudo make setuid' after compiling.
Did you so this?
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19480
- Thank you received: 6532
16 Jan 2022 22:17 #232075
by tommylight
You need RT-Preempt or RTAI kernel to control machines.
Replied by tommylight on topic LinuxCNC terminated with an error
Also not using RT kernel so machine control will not work, only sim.Note: Using POSIX non-realtime
You need RT-Preempt or RTAI kernel to control machines.
Please Log in or Create an account to join the conversation.
- IvanSvistunov98
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 1
17 Jan 2022 12:46 #232112
by IvanSvistunov98
Replied by IvanSvistunov98 on topic LinuxCNC terminated with an error
Я установил LinuxCNC 2.7.14 Debian 7 Wheezy вместо LinuxCNC 2.8.2 Debian 10 Buster PREEMPT-RT ISO. Все работает. Спасибо!
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.062 seconds