$ linuxcnc -d -v linuxcnc/configs/router3/router3.ini Debug mode on + getopts dvlhkr opt + case "$opt" in + tty -s + PRINT_FILE=/dev/fd/1 + echo 'Verbose mode on' Verbose mode on + getopts dvlhkr opt + shift 2 + case "" in + '[' -z ']' + tty -s + trap ErrorCheck EXIT + '[' '!' -z linuxcnc/configs/router3/router3.ini ']' + case "$1" in ++ pwd + INIFILE=/home/rmann/linuxcnc/configs/router3/router3.ini + shift + EXTRA_ARGS= + RUN_IN_PLACE=no + echo RUN_IN_PLACE=no RUN_IN_PLACE=no + LINUXCNCVERSION=2.8.0-pre1-4740-g60416609a + export LINUXCNCVERSION + INIVAR=inivar + HALCMD='halcmd ' + PICKCONFIG='/usr/bin/wish8.6 /usr/lib/tcltk/linuxcnc/bin/pickconfig.tcl' + LINUXCNC_EMCSH=/usr/bin/wish8.6 + echo LINUXCNC_DIR= LINUXCNC_DIR= + echo LINUXCNC_BIN_DIR=/usr/bin LINUXCNC_BIN_DIR=/usr/bin + echo LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc + echo LINUXCNC_SCRIPT_DIR= LINUXCNC_SCRIPT_DIR= + echo LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules + echo LINUXCNC_CONFIG_DIR= LINUXCNC_CONFIG_DIR= + echo LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs + echo INIVAR=inivar INIVAR=inivar + echo HALCMD=halcmd HALCMD=halcmd + echo LINUXCNC_EMCSH=/usr/bin/wish8.6 LINUXCNC_EMCSH=/usr/bin/wish8.6 + export LINUXCNC_TCL_DIR + export LINUXCNC_EMCSH + export LINUXCNC_HELP_DIR + export LINUXCNC_LANG_DIR + export REALTIME + export HALCMD + export LINUXCNC_NCFILES_DIR + '[' -z ']' + echo 'LINUXCNC - 2.8.0-pre1-4740-g60416609a' LINUXCNC - 2.8.0-pre1-4740-g60416609a + '[' '!' -z '' ']' + '[' '!' -n /home/rmann/linuxcnc/configs/router3/router3.ini ']' + '[' '!' -n /home/rmann/linuxcnc/configs/router3/router3.ini ']' ++ handle_includes /home/rmann/linuxcnc/configs/router3/router3.ini ++ hdr='# handle_includes():' ++ inifile=/home/rmann/linuxcnc/configs/router3/router3.ini +++ dirname /home/rmann/linuxcnc/configs/router3/router3.ini ++ cd /home/rmann/linuxcnc/configs/router3 ++ /bin/grep '^#INCLUDE' /home/rmann/linuxcnc/configs/router3/router3.ini ++ status=1 ++ '[' 1 -ne 0 ']' ++ echo /home/rmann/linuxcnc/configs/router3/router3.ini ++ return 0 + INIFILE=/home/rmann/linuxcnc/configs/router3/router3.ini + INI_NAME=router3.ini + INI_DIR=/home/rmann/linuxcnc/configs/router3 + CONFIG_DIR=/home/rmann/linuxcnc/configs/router3 + export CONFIG_DIR + export PATH=/home/rmann/linuxcnc/configs/router3/bin:/usr/bin:/home/rmann/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin + PATH=/home/rmann/linuxcnc/configs/router3/bin:/usr/bin:/home/rmann/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin + '[' -z ']' + echo 'Machine configuration directory is '\''/home/rmann/linuxcnc/configs/router3'\''' Machine configuration directory is '/home/rmann/linuxcnc/configs/router3' + echo 'Machine configuration file is '\''router3.ini'\''' Machine configuration file is 'router3.ini' + '[' '!' -f /home/rmann/linuxcnc/configs/router3/router3.ini ']' + echo INIFILE=/home/rmann/linuxcnc/configs/router3/router3.ini INIFILE=/home/rmann/linuxcnc/configs/router3/router3.ini + retval= + GetFromIni VERSION EMC + name=VERSION ++ inivar -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var VERSION -sec EMC + retval=1.1 + '[' '!' -n VERSION ']' + echo VERSION=1.1 VERSION=1.1 + '[' 1.1 '!=' 1.1 ']' + /usr/bin/tclsh8.6 /usr/share/linuxcnc/hallib/check_config.tcl /home/rmann/linuxcnc/configs/router3/router3.ini + exitval=0 + case "$exitval" in + GetFromIni PARAMETER_FILE RS274NGC + name=PARAMETER_FILE ++ inivar -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var PARAMETER_FILE -sec RS274NGC + retval=router3.var + '[' '!' -n PARAMETER_FILE ']' + echo PARAMETER_FILE=router3.var PARAMETER_FILE=router3.var + RS274NGC_PARAMFILE=router3.var + GetFromIniEx MOT MOT EMCMOT EMCMOT motmod + original_var='[MOT]MOT' + '[' 5 -ge 2 ']' ++ inivar -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var MOT -sec MOT + retval= + shift 2 + '[' 3 -ge 2 ']' ++ inivar -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var EMCMOT -sec EMCMOT + retval=motmod + return + EMCMOT=motmod.so + GetFromIniEx IO IO EMCIO EMCIO io + original_var='[IO]IO' + '[' 5 -ge 2 ']' ++ inivar -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var IO -sec IO + retval= + shift 2 + '[' 3 -ge 2 ']' ++ inivar -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var EMCIO -sec EMCIO + retval=io + return + EMCIO=io + GetFromIni TASK TASK + name=TASK ++ inivar -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var TASK -sec TASK + retval=milltask + '[' '!' -n TASK ']' + echo TASK=milltask TASK=milltask + EMCTASK=milltask + '[' milltask = emctask ']' + EMCSERVER=linuxcncsvr + GetFromIniQuiet HALUI HAL + name=HALUI ++ inivar -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var HALUI -sec HAL + retval= + '[' '!' -n HALUI ']' + echo HALUI= HALUI= + HALUI= + GetFromIni DISPLAY DISPLAY + name=DISPLAY ++ inivar -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var DISPLAY -sec DISPLAY + retval=axis + '[' '!' -n DISPLAY ']' + echo DISPLAY=axis DISPLAY=axis ++ set -- axis ++ echo axis + EMCDISPLAY=axis ++ set -- axis ++ shift ++ echo + EMCDISPLAYARGS= + case $EMCDISPLAY in + GetFromIniEx NML_FILE LINUXCNC NML_FILE EMC /usr/share/linuxcnc/linuxcnc.nml + original_var='[LINUXCNC]NML_FILE' + '[' 5 -ge 2 ']' ++ inivar -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var NML_FILE -sec LINUXCNC + retval= + shift 2 + '[' 3 -ge 2 ']' ++ inivar -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var NML_FILE -sec EMC + retval= + shift 2 + '[' 1 -ge 2 ']' + '[' 1 -eq 0 ']' + retval=/usr/share/linuxcnc/linuxcnc.nml + NMLFILE=/usr/share/linuxcnc/linuxcnc.nml + export NMLFILE + GetFromIni COORDINATES TRAJ + name=COORDINATES ++ inivar -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var COORDINATES -sec TRAJ + retval=XYYZ + '[' '!' -n COORDINATES ']' + echo COORDINATES=XYYZ COORDINATES=XYYZ + TRAJ_COORDINATES=XYYZ + export TRAJ_COORDINATES + GetFromIni KINEMATICS KINS + name=KINEMATICS ++ inivar -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var KINEMATICS -sec KINS + retval='trivkins coordinates=XYYZ kinstype=BOTH' + '[' '!' -n KINEMATICS ']' + echo 'KINEMATICS=trivkins coordinates=XYYZ kinstype=BOTH' KINEMATICS=trivkins coordinates=XYYZ kinstype=BOTH + KINS_KINEMATICS='trivkins coordinates=XYYZ kinstype=BOTH' + export KINS_KINEMATICS + KILL_TASK= + KILL_TIMEOUT=20 + LOCKFILE=/tmp/linuxcnc.lock + '[' -f /tmp/linuxcnc.lock ']' + echo Starting LinuxCNC... Starting LinuxCNC... + trap 'Cleanup ; exit 0' SIGINT SIGTERM + cd /home/rmann/linuxcnc/configs/router3 + touch /tmp/linuxcnc.lock ++ inivar -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var INTRO_GRAPHIC -sec DISPLAY + img=emc2.gif ++ inivar -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var INTRO_TIME -sec DISPLAY + imgtime=0 + '[' 0 = '' ']' + '[' emc2.gif '!=' '' ']' + '[' -e emc2.gif ']' + '[' -e /home/rmann/linuxcnc/configs/router3/emc2.gif ']' + '[' -e /usr/share/linuxcnc/emc2.gif ']' + img= + '[' '' '!=' '' ']' + echo 'Starting LinuxCNC server program: linuxcncsvr' Starting LinuxCNC server program: linuxcncsvr + program_available linuxcncsvr + type -path linuxcncsvr + export INI_FILE_NAME=/home/rmann/linuxcnc/configs/router3/router3.ini + INI_FILE_NAME=/home/rmann/linuxcnc/configs/router3/router3.ini + linuxcncsvr -ini /home/rmann/linuxcnc/configs/router3/router3.ini + echo 'Loading Real Time OS, RTAPI, and HAL_LIB modules' Loading Real Time OS, RTAPI, and HAL_LIB modules + /etc/init.d/realtime start + export HAL_RTMOD_DIR=/usr/lib/linuxcnc/modules + HAL_RTMOD_DIR=/usr/lib/linuxcnc/modules + '[' io '!=' '' ']' + echo 'Starting LinuxCNC IO program: io' Starting LinuxCNC IO program: io + program_available io + type -path io + halcmd loadusr -Wn iocontrol io -ini /home/rmann/linuxcnc/configs/router3/router3.ini + '[' -n '' ']' ++ inivar -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var TWOPASS -sec HAL -num 1 + TWOPASS= + '[' -n '' ']' + NUM=1 ++ inivar -tildeexpand -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var HALFILE -sec HAL -num 1 + CFGFILE=router3.hal + '[' -n router3.hal ']' + IFS='\ ' + read CFGFILE CFGFILE_ARGS + foundmsg= + saveIFS=' ' + IFS=: + explicit_file_in_hallib=router3.hal + '[' -z router3.hal ']' + '[' router3.hal '!=' router3.hal ']' + '[' r = / ']' + for pathdir in $HALLIB_PATH + foundfile=./router3.hal + '[' -r ./router3.hal ']' + '[' . = . ']' + foundmsg='Found file(REL): ./router3.hal' + break + '[' -d ./router3.hal ']' + IFS=' ' + '[' -z 'Found file(REL): ./router3.hal' ']' + echo 'Found file(REL): ./router3.hal' Found file(REL): ./router3.hal + CFGFILE=./router3.hal + case $CFGFILE in + halcmd -i /home/rmann/linuxcnc/configs/router3/router3.ini -f ./router3.hal Note: Using POSIX realtime hm2: loading Mesa HostMot2 driver version 0.15 hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2 hm2_eth: 10.10.10.10: Hardware address: 00:60:1b:10:42:48 hm2_eth: discovered 7I76E-16 hm2/hm2_7i76e.0: Smart Serial Firmware Version 43 Board hm2_7i76e.0.7i76.0.0 Hardware Mode 0 = standard Board hm2_7i76e.0.7i76.0.0 Software Mode 0 = io_spin Board hm2_7i76e.0.7i76.0.0 Software Mode 1 = io_ana_spin Board hm2_7i76e.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv hm2/hm2_7i76e.0: 51 I/O Pins used: hm2/hm2_7i76e.0: IO Pin 000 (P1-01): StepGen #0, pin Direction (Output) hm2/hm2_7i76e.0: IO Pin 001 (P1-14): StepGen #0, pin Step (Output) hm2/hm2_7i76e.0: IO Pin 002 (P1-02): StepGen #1, pin Direction (Output) hm2/hm2_7i76e.0: IO Pin 003 (P1-15): StepGen #1, pin Step (Output) hm2/hm2_7i76e.0: IO Pin 004 (P1-03): StepGen #2, pin Direction (Output) hm2/hm2_7i76e.0: IO Pin 005 (P1-16): StepGen #2, pin Step (Output) hm2/hm2_7i76e.0: IO Pin 006 (P1-04): StepGen #3, pin Direction (Output) hm2/hm2_7i76e.0: IO Pin 007 (P1-17): StepGen #3, pin Step (Output) hm2/hm2_7i76e.0: IO Pin 008 (P1-05): StepGen #4, pin Direction (Output) hm2/hm2_7i76e.0: IO Pin 009 (P1-06): StepGen #4, pin Step (Output) hm2/hm2_7i76e.0: IO Pin 010 (P1-07): Smart Serial Interface #0, pin TxData0 (Output) hm2/hm2_7i76e.0: IO Pin 011 (P1-08): Smart Serial Interface #0, pin RxData0 (Input) hm2/hm2_7i76e.0: IO Pin 012 (P1-09): IOPort hm2/hm2_7i76e.0: IO Pin 013 (P1-10): IOPort hm2/hm2_7i76e.0: IO Pin 014 (P1-11): IOPort hm2/hm2_7i76e.0: IO Pin 015 (P1-12): IOPort hm2/hm2_7i76e.0: IO Pin 016 (P1-13): IOPort hm2/hm2_7i76e.0: IO Pin 017 (P2-01): IOPort hm2/hm2_7i76e.0: IO Pin 018 (P2-14): IOPort hm2/hm2_7i76e.0: IO Pin 019 (P2-02): IOPort hm2/hm2_7i76e.0: IO Pin 020 (P2-15): IOPort hm2/hm2_7i76e.0: IO Pin 021 (P2-03): IOPort hm2/hm2_7i76e.0: IO Pin 022 (P2-16): IOPort hm2/hm2_7i76e.0: IO Pin 023 (P2-04): IOPort hm2/hm2_7i76e.0: IO Pin 024 (P2-17): IOPort hm2/hm2_7i76e.0: IO Pin 025 (P2-05): IOPort hm2/hm2_7i76e.0: IO Pin 026 (P2-06): IOPort hm2/hm2_7i76e.0: IO Pin 027 (P2-07): IOPort hm2/hm2_7i76e.0: IO Pin 028 (P2-08): IOPort hm2/hm2_7i76e.0: IO Pin 029 (P2-09): IOPort hm2/hm2_7i76e.0: IO Pin 030 (P2-10): IOPort hm2/hm2_7i76e.0: IO Pin 031 (P2-11): IOPort hm2/hm2_7i76e.0: IO Pin 032 (P2-12): IOPort hm2/hm2_7i76e.0: IO Pin 033 (P2-13): IOPort hm2/hm2_7i76e.0: IO Pin 034 (P3-01): IOPort hm2/hm2_7i76e.0: IO Pin 035 (P3-14): IOPort hm2/hm2_7i76e.0: IO Pin 036 (P3-02): IOPort hm2/hm2_7i76e.0: IO Pin 037 (P3-15): IOPort hm2/hm2_7i76e.0: IO Pin 038 (P3-03): IOPort hm2/hm2_7i76e.0: IO Pin 039 (P3-16): IOPort hm2/hm2_7i76e.0: IO Pin 040 (P3-04): IOPort hm2/hm2_7i76e.0: IO Pin 041 (P3-17): IOPort hm2/hm2_7i76e.0: IO Pin 042 (P3-05): IOPort hm2/hm2_7i76e.0: IO Pin 043 (P3-06): IOPort hm2/hm2_7i76e.0: IO Pin 044 (P3-07): IOPort hm2/hm2_7i76e.0: IO Pin 045 (P3-08): IOPort hm2/hm2_7i76e.0: IO Pin 046 (P3-09): IOPort hm2/hm2_7i76e.0: IO Pin 047 (P3-10): IOPort hm2/hm2_7i76e.0: IO Pin 048 (P3-11): IOPort hm2/hm2_7i76e.0: IO Pin 049 (P3-12): IOPort hm2/hm2_7i76e.0: IO Pin 050 (P3-13): IOPort hm2/hm2_7i76e.0: registered + NUM=2 ++ inivar -tildeexpand -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var HALFILE -sec HAL -num 2 + CFGFILE=io.hal + '[' -n io.hal ']' + IFS='\ ' + read CFGFILE CFGFILE_ARGS + foundmsg= + saveIFS=' ' + IFS=: + explicit_file_in_hallib=io.hal + '[' -z io.hal ']' + '[' io.hal '!=' io.hal ']' + '[' i = / ']' + for pathdir in $HALLIB_PATH + foundfile=./io.hal + '[' -r ./io.hal ']' + '[' . = . ']' + foundmsg='Found file(REL): ./io.hal' + break + '[' -d ./io.hal ']' + IFS=' ' + '[' -z 'Found file(REL): ./io.hal' ']' + echo 'Found file(REL): ./io.hal' Found file(REL): ./io.hal + CFGFILE=./io.hal + case $CFGFILE in + halcmd -i /home/rmann/linuxcnc/configs/router3/router3.ini -f ./io.hal + NUM=3 ++ inivar -tildeexpand -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var HALFILE -sec HAL -num 3 + CFGFILE=custom.hal + '[' -n custom.hal ']' + IFS='\ ' + read CFGFILE CFGFILE_ARGS + foundmsg= + saveIFS=' ' + IFS=: + explicit_file_in_hallib=custom.hal + '[' -z custom.hal ']' + '[' custom.hal '!=' custom.hal ']' + '[' c = / ']' + for pathdir in $HALLIB_PATH + foundfile=./custom.hal + '[' -r ./custom.hal ']' + '[' . = . ']' + foundmsg='Found file(REL): ./custom.hal' + break + '[' -d ./custom.hal ']' + IFS=' ' + '[' -z 'Found file(REL): ./custom.hal' ']' + echo 'Found file(REL): ./custom.hal' Found file(REL): ./custom.hal + CFGFILE=./custom.hal + case $CFGFILE in + halcmd -i /home/rmann/linuxcnc/configs/router3/router3.ini -f ./custom.hal + NUM=4 ++ inivar -tildeexpand -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var HALFILE -sec HAL -num 4 + CFGFILE=postgui.hal + '[' -n postgui.hal ']' + IFS='\ ' + read CFGFILE CFGFILE_ARGS + foundmsg= + saveIFS=' ' + IFS=: + explicit_file_in_hallib=postgui.hal + '[' -z postgui.hal ']' + '[' postgui.hal '!=' postgui.hal ']' + '[' p = / ']' + for pathdir in $HALLIB_PATH + foundfile=./postgui.hal + '[' -r ./postgui.hal ']' + '[' . = . ']' + foundmsg='Found file(REL): ./postgui.hal' + break + '[' -d ./postgui.hal ']' + IFS=' ' + '[' -z 'Found file(REL): ./postgui.hal' ']' + echo 'Found file(REL): ./postgui.hal' Found file(REL): ./postgui.hal + CFGFILE=./postgui.hal + case $CFGFILE in + halcmd -i /home/rmann/linuxcnc/configs/router3/router3.ini -f ./postgui.hal + NUM=5 ++ inivar -tildeexpand -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var HALFILE -sec HAL -num 5 + CFGFILE= + '[' -n '' ']' + echo 'Starting TASK program: milltask' Starting TASK program: milltask + program_available milltask + type -path milltask + NUM=1 + halcmd loadusr -Wn inihal milltask -ini /home/rmann/linuxcnc/configs/router3/router3.ini ++ inivar -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var HALCMD -sec HAL -num 1 + HALCOMMAND= + '[' -n '' ']' + halcmd start + run_applications + NUM=1 ++ inivar -tildeexpand -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var APP -sec APPLICATIONS -num 1 + APPFILE= + '[' -z '' ']' + return + echo 'Starting DISPLAY program: axis' Starting DISPLAY program: axis + result=0 + case $EMCDISPLAY in + program_available axis + type -path axis + axis -ini /home/rmann/linuxcnc/configs/router3/router3.ini INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME, num=1, lineNo=105 emcMotionInit: emcJointInit(0) failed note: MAXV max: 1000.000 units/sec 60000.000 units/min note: LJOG max: 1000.000 units/sec 60000.000 units/min note: LJOG default: 1000.000 units/sec 60000.000 units/min 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> INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME, num=1, lineNo=105 emcMotionInit: emcJointInit(0) failed waiting for s.joints<0>, s.kinematics_type<0> waiting for s.joints<0>, s.kinematics_type<0> Waiting for component 'inihal' to become ready.INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME, num=1, lineNo=105 emcMotionInit: emcJointInit(0) failed waiting for s.joints<0>, s.kinematics_type<0> ..........INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME, num=1, lineNo=105 emcMotionInit: emcJointInit(0) failed ...waiting for s.joints<0>, s.kinematics_type<0> .......INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME, num=1, lineNo=105 emcMotionInit: emcJointInit(0) failed ..........INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME, num=1, lineNo=105 emcMotionInit: emcJointInit(0) failed ........A configuration error is preventing LinuxCNC from starting. More information may be available when running from a terminal. .+ result=1 + Cleanup + echo 'Shutting down and cleaning up LinuxCNC...' Shutting down and cleaning up LinuxCNC... + for KILL_TASK in linuxcncpanel iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel gmoccapy gscreen + /bin/pidof -x linuxcncpanel + for KILL_TASK in linuxcncpanel iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel gmoccapy gscreen + /bin/pidof -x iosh + for KILL_TASK in linuxcncpanel iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel gmoccapy gscreen + /bin/pidof -x linuxcncsh + for KILL_TASK in linuxcncpanel iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel gmoccapy gscreen + /bin/pidof -x linuxcncrsh + for KILL_TASK in linuxcncpanel iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel gmoccapy gscreen + /bin/pidof -x linuxcnctop + for KILL_TASK in linuxcncpanel iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel gmoccapy gscreen + /bin/pidof -x mdi + for KILL_TASK in linuxcncpanel iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel gmoccapy gscreen + /bin/pidof -x debuglevel + for KILL_TASK in linuxcncpanel iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel gmoccapy gscreen + /bin/pidof -x gmoccapy + for KILL_TASK in linuxcncpanel iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel gmoccapy gscreen + /bin/pidof -x gscreen + program_available axis-remote + type -path axis-remote + '[' '!' -z localhost:11.0 ']' + axis-remote --ping .+ '[' '' = other ']' ++ inivar -ini /home/rmann/linuxcnc/configs/router3/router3.ini -var SHUTDOWN -sec HAL + SHUTDOWN= + '[' -n '' ']' + for KILL_TASK in linuxcncsvr milltask + /bin/pidof -x linuxcncsvr 3160 + KillTaskWithTimeout + '[' '!' -n '' ']' ++ /bin/pidof -x linuxcncsvr + KILL_PIDS=3160 + '[' '!' -n 3160 ']' + local NPROCS + for KILL_PID in $KILL_PIDS + /bin/ps -o comm= 3160 + /bin/grep -q '' + /bin/kill 3160 + WAIT=20 + '[' 20 -gt 1 ']' ++ /bin/ps -o comm= 3160 ++ /bin/grep -v '' ++ wc -l + NPROCS=0 + '[' 0 -gt 0 ']' + WAIT=0 + '[' 0 -gt 1 ']' + '[' 0 -gt 0 ']' + '[' 0 -gt 0 ']' + KILL_PIDS= + KILL_TASK= + for KILL_TASK in linuxcncsvr milltask + /bin/pidof -x milltask 3206 + KillTaskWithTimeout + '[' '!' -n '' ']' ++ /bin/pidof -x milltask + KILL_PIDS=3206 + '[' '!' -n 3206 ']' + local NPROCS + for KILL_PID in $KILL_PIDS + /bin/ps -o comm= 3206 + /bin/grep -q '' + /bin/kill 3206 + WAIT=20 + '[' 20 -gt 1 ']' HAL: ERROR: exit called before init ++ /bin/ps -o comm= 3206 ++ /bin/grep -v '' ++ wc -l :0: waitpid failed milltask inihal :0: milltask exited without becoming ready + NPROCS=0 + '[' 0 -gt 0 ']' + WAIT=0 + '[' 0 -gt 1 ']' + '[' 0 -gt 0 ']' + '[' 0 -gt 0 ']' + KILL_PIDS= + KILL_TASK= + echo 'Stopping realtime threads' Stopping realtime threads + halcmd stop + echo 'Unloading hal components' Unloading hal components + halcmd unload all hm2_eth: HostMot2 ethernet driver unloaded hm2: unloading ++ seq 10 + for i in `seq 10` ++ halcmd list comp ++ wc -w + '[' 2 = 1 ']' + sleep .2 + for i in `seq 10` ++ halcmd list comp ++ wc -w + '[' 2 = 1 ']' + sleep .2 + for i in `seq 10` ++ halcmd list comp ++ wc -w + '[' 1 = 1 ']' + break + echo 'Removing HAL_LIB, RTAPI, and Real Time OS modules' Removing HAL_LIB, RTAPI, and Real Time OS modules + /etc/init.d/realtime stop Note: Using POSIX realtime + echo 'Removing NML shared memory segments' Removing NML shared memory segments + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + ipcrm -M 1001 + read b x t x x x x x x m x + case $b$t in + ipcrm -M 1002 + read b x t x x x x x x m x + case $b$t in + ipcrm -M 1003 + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + ipcrm -M 1004 + read b x t x x x x x x m x + case $b$t in + ipcrm -M 1005 + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + '[' -f /tmp/linuxcnc.lock ']' + rm /tmp/linuxcnc.lock + exit 1 + ErrorCheck + result=1 + '[' '!' -z localhost:11.0 ']' + echo 'catch {send -async popimage destroy .}; destroy .' + /usr/bin/wish8.6 + '[' 1 -ne 0 ']' + tty -s + '[' -f /dev/fd/2 ']' + echo '(debug information was sent to stderr)' + '[' -f /dev/fd/1 ']' + echo '(print information was sent to stdout)' + echo 'LinuxCNC terminated with an error. You can find more information in the log: /home/rmann/linuxcnc_debug.txt and /home/rmann/linuxcnc_print.txt as well as in the output of the shell command '\''dmesg'\'' and in the terminal' LinuxCNC terminated with an error. You can find more information in the log: /home/rmann/linuxcnc_debug.txt and /home/rmann/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal + rm -f /dev/fd/2 /dev/fd/1 + exit 1