Hello,
a friend of mine is currently setting up his CNC milling machine for his guitar workshop and I'm helping him with switch cabinet construction and software.
The switch cabinet is in operation so far and today it should go to the software.
He decided for the 7i76e and prepared his computer according to these instructions here:
Linuxcnc (2.7.14 on Debian Stretch) starts correctly with the simulation configurations.
After I created a configuration with pncconf for him today the big disillusionment came. Linuxcnc starts and crashes without error message (the logo appears and then nothing more).
When we start from the terminal the following message appears:
Code:
cnc@cnc:~$ sudo linuxcnc /home/cnc/linuxcnc/configs/iHSV57/iHSV57.ini
[sudo] Passwort für cnc:
LINUXCNC - 2.7.14-157-ga3f30ca35
Machine configuration directory is '/home/cnc/linuxcnc/configs/iHSV57'
Machine configuration file is 'iHSV57.ini'
Starting LinuxCNC...
Found file(REL): ./iHSV57.hal
Refusing to run as root without fallback UID specified
To run under a debugger with I/O, use e.g.,
sudo env RTAPI_UID=`id -u` RTAPI_FIFO_PATH=$HOME/.rtapi_fifo gdb rtapi_app
./iHSV57.hal:3: waitpid failed /usr/bin/rtapi_app trivkins
./iHSV57.hal:3: /usr/bin/rtapi_app exited without becoming ready
./iHSV57.hal:3: insmod for trivkins failed, returned -1
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Refusing to run as root without fallback UID specified
To run under a debugger with I/O, use e.g.,
sudo env RTAPI_UID=`id -u` RTAPI_FIFO_PATH=$HOME/.rtapi_fifo gdb rtapi_app
LinuxCNC terminated with an error. You can find more information in the log:
/root/linuxcnc_debug.txt
and
/root/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
In the logs is also not that much information:
Code:
3327
Stopping realtime threads
Unloading hal components
And
Code:
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/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
INIFILE=/home/cnc/linuxcnc/configs/iHSV57/iHSV57.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Also other sample configs like
www.talla83.de/linuxcnc/iHSV57_2_7.zip
cause the same behavior.
Any ideas to solve this problem?
Best wishes and thanks in advance
Jan