No Start on Linuxcnc 2.7.14 and 7i76e

More
07 Nov 2019 21:18 #149873 by +Jan+
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:
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:
3327
Stopping realtime threads
Unloading hal components

And
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

Please Log in or Create an account to join the conversation.

More
07 Nov 2019 21:34 #149876 by cmorley
why are you using sudo to run linxcnc?
This is not a good idea and is implied as the problem.
I don't know German so can't follow the video very well.

is this a compiled or installed version of linuxcnc?

Chris

Please Log in or Create an account to join the conversation.

More
07 Nov 2019 21:38 #149877 by +Jan+
Hey Chris,
it is a compiled version of Linux.
I can try without sudo tomorrow, but also if we start with the icon from the desktop the problem appears.

Best wishes

Jan

Please Log in or Create an account to join the conversation.

More
07 Nov 2019 21:39 #149878 by cmorley
trying on my installed version - I get the same error.
try starting without sudo

Chris

Please Log in or Create an account to join the conversation.

More
07 Nov 2019 21:40 #149879 by tommylight
It looks like you will have to install everything all over and this time skip the ROOT password, just click next.
Your Debian is installed and running as root user, and that is never good if you have no really good reason for it.

Please Log in or Create an account to join the conversation.

More
07 Nov 2019 21:41 #149880 by cmorley
Did you run the command: sudo make setuid?

Please Log in or Create an account to join the conversation.

More
07 Nov 2019 21:43 #149881 by cmorley

It looks like you will have to install everything all over and this time skip the ROOT password, just click next.
Your Debian is installed and running as root user, and that is never good if you have no really good reason for it.


What makes you think that (Debian is always root)?

Chris

Please Log in or Create an account to join the conversation.

More
07 Nov 2019 21:45 #149882 by tommylight
His logs are saved in root folder. Check the first code snippet.

Please Log in or Create an account to join the conversation.

More
07 Nov 2019 21:46 #149883 by cmorley
ahh yes I see it - thanks
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
07 Nov 2019 21:48 #149884 by +Jan+
Thanks so far. I did not set up the PC but I will ask him tomorrow and let you know.

Best wishes

Jan

Please Log in or Create an account to join the conversation.

Time to create page: 0.166 seconds
Powered by Kunena Forum