I have tried 4 different linuxcnc installs; 2.6.12 at an intermediate stage, and 3 different 2.7.4 installs. I've even tried building from source, so technically I've done more than just 4.
First, a i386 Debian Jessie install: - from buildbot: 2.7.4-uspace - from Jessie backports: 4.4 rt_preempt kernel Second, a amd64 Debian Jessie install: - from buildbot: 2.7.4-uspace - from Jessie backports: 4.4 rt_preempt kernelThird, an install using the current Debian Wheezy iso from linuxcnc.org, apt-updated to linuxcnc 2.7.4
My hardware: - AMD E350 dual-core with integrated graphics - Mesa hostmot2 6i25 + 7i76 The mill: - Taig cnc micromill - Huang(?) VFD and spindle - Gecko 540 stepper driverI went about upgrading and ended up on linuxcnc 2.6.12. I 'rebuilt' my config using pncconf. This had a strange result of that while the stepper and digital I/O were working, the 7i76 spindle output no longer worked. I even tried doing a new config with pncconf, with the same result.
I saw that linuxcnc 2.7 was stable, so I did an install on a separate drive for that. I installed linuxcnc 2.7.4 for uspace. I carried over my conf file, and rebuilt the config using pncconf again.
Now, the VFD output works, the digital I/O works, but any axis movement results in a following error.
There *is* stepgen output, because I have one stepgen output as the charge pump to the Gecko 540, and it clearly indicates when it is enabled.
What is really funny is that even if I increase the following error by orders of magnitude, this merely delays the following error, and produces no stepper motion at all.
How does linuxcnc make a following error with open-loop steppers?How would linuxcnc be able to setup the charge pump stepgen, but not my XYZA axis?
Attached is my config files, and one session of verbose debug output.My next move is to go back to some earlier linuxcnc version, but I'm not sure which one, yet.
config_files.tar.xz
Description: application/xz
$ linuxcnc -d -v 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 '' ']' + EXTRA_ARGS= + RUN_IN_PLACE=no + echo RUN_IN_PLACE=no RUN_IN_PLACE=no + LINUXCNCVERSION=2.7.4-55-g8c082ea + 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/share/linuxcnc/tcl/msgs LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/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.7.4-55-g8c082ea' LINUXCNC - 2.7.4-55-g8c082ea + '[' '!' -z '' ']' + '[' '!' -n '' ']' ++ /usr/bin/wish8.6 /usr/lib/tcltk/linuxcnc/bin/pickconfig.tcl + INIFILE=/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini + '[' /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini.demo = /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini ']' + '[' '!' -n /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini ']' ++ handle_includes /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini ++ hdr='# handle_includes():' ++ inifile=/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini +++ dirname /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini ++ cd /home/thomas/linuxcnc/configs/my_LinuxCNC_machine ++ grep '^#INCLUDE' /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini ++ status=1 ++ '[' 1 -ne 0 ']' ++ echo /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini ++ return 0 + INIFILE=/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini + INI_NAME=my_LinuxCNC_machine.ini + INI_DIR=/home/thomas/linuxcnc/configs/my_LinuxCNC_machine + CONFIG_DIR=/home/thomas/linuxcnc/configs/my_LinuxCNC_machine + export CONFIG_DIR + export PATH=/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + PATH=/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + '[' -z ']' + echo 'Machine configuration directory is '\''/home/thomas/linuxcnc/configs/my_LinuxCNC_machine'\''' Machine configuration directory is '/home/thomas/linuxcnc/configs/my_LinuxCNC_machine' + echo 'Machine configuration file is '\''my_LinuxCNC_machine.ini'\''' Machine configuration file is 'my_LinuxCNC_machine.ini' + '[' '!' -f /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini ']' + echo INIFILE=/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini INIFILE=/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini + retval= + GetFromIni PARAMETER_FILE RS274NGC + name=PARAMETER_FILE ++ inivar -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini -var PARAMETER_FILE -sec RS274NGC + retval=linuxcnc.var + '[' '!' -n PARAMETER_FILE ']' + echo PARAMETER_FILE=linuxcnc.var PARAMETER_FILE=linuxcnc.var + RS274NGC_PARAMFILE=linuxcnc.var + GetFromIniEx MOT MOT EMCMOT EMCMOT motmod + original_var='[MOT]MOT' + '[' 5 -ge 2 ']' ++ inivar -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini -var MOT -sec MOT + retval= + shift 2 + '[' 3 -ge 2 ']' ++ inivar -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.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/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini -var IO -sec IO + retval= + shift 2 + '[' 3 -ge 2 ']' ++ inivar -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini -var EMCIO -sec EMCIO + retval=io + return + EMCIO=io + GetFromIni TASK TASK + name=TASK ++ inivar -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.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/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini -var HALUI -sec HAL + retval=halui + '[' '!' -n HALUI ']' + echo HALUI=halui HALUI=halui + HALUI=halui + GetFromIni DISPLAY DISPLAY + name=DISPLAY ++ inivar -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.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/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini -var NML_FILE -sec LINUXCNC + retval= + shift 2 + '[' 3 -ge 2 ']' ++ inivar -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.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 + 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/thomas/linuxcnc/configs/my_LinuxCNC_machine + touch /tmp/linuxcnc.lock ++ inivar -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini -var INTRO_GRAPHIC -sec DISPLAY + img=linuxcnc.gif ++ inivar -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini -var INTRO_TIME -sec DISPLAY + imgtime=5 + '[' 5 = '' ']' + '[' linuxcnc.gif '!=' '' ']' + '[' -e linuxcnc.gif ']' + '[' -e /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/linuxcnc.gif ']' + '[' -e /usr/share/linuxcnc/linuxcnc.gif ']' + img=/usr/share/linuxcnc/linuxcnc.gif + '[' /usr/share/linuxcnc/linuxcnc.gif '!=' '' ']' + '[' -x /usr/lib/tcltk/linuxcnc/bin/popimage ']' + echo 'Starting LinuxCNC server program: linuxcncsvr' Starting LinuxCNC server program: linuxcncsvr + program_available linuxcncsvr + type -path linuxcncsvr + export INI_FILE_NAME=/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini + INI_FILE_NAME=/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini + sleep 1 + /usr/lib/tcltk/linuxcnc/bin/popimage /usr/share/linuxcnc/linuxcnc.gif 5 + linuxcncsvr -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.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/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini + '[' -n halui ']' + echo 'Starting HAL User Interface program: halui' Starting HAL User Interface program: halui + program_available halui + type -path halui + halcmd loadusr -Wn halui halui -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini ++ inivar -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini -var TWOPASS -sec HAL -num 1 + TWOPASS= + '[' -n '' ']' + NUM=1 ++ inivar -tildeexpand -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini -var HALFILE -sec HAL -num 1 + CFGFILE=my_LinuxCNC_machine.hal + '[' -n my_LinuxCNC_machine.hal ']' + IFS='\ ' + read CFGFILE CFGFILE_ARGS + foundmsg= + saveIFS=' ' + IFS=: + explicit_file_in_hallib=my_LinuxCNC_machine.hal + '[' -z my_LinuxCNC_machine.hal ']' + '[' my_LinuxCNC_machine.hal '!=' my_LinuxCNC_machine.hal ']' + '[' m = / ']' + for pathdir in '$HALLIB_PATH' + foundfile=./my_LinuxCNC_machine.hal + '[' -r ./my_LinuxCNC_machine.hal ']' + '[' . = . ']' + foundmsg='Found file(REL): ./my_LinuxCNC_machine.hal' + break + '[' -d ./my_LinuxCNC_machine.hal ']' + IFS=' ' + '[' -z 'Found file(REL): ./my_LinuxCNC_machine.hal' ']' + echo 'Found file(REL): ./my_LinuxCNC_machine.hal' Found file(REL): ./my_LinuxCNC_machine.hal + CFGFILE=./my_LinuxCNC_machine.hal + case $CFGFILE in + halcmd -i /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini -f ./my_LinuxCNC_machine.hal Note: Using POSIX realtime hm2: loading Mesa HostMot2 driver version 0.15 hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7 hm2_pci: discovered 5i25 at 0000:02:00.0 hm2/hm2_5i25.0: Smart Serial Firmware Version 43 Board hm2_5i25.0.7i76.0.0 Hardware Mode 0 = standard Board hm2_5i25.0.7i76.0.0 Software Mode 0 = io_spin Board hm2_5i25.0.7i76.0.0 Software Mode 1 = io_ana_spin Board hm2_5i25.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv hm2/hm2_5i25.0: 34 I/O Pins used: hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0, pin Direction (Output) hm2/hm2_5i25.0: IO Pin 001 (P3-14): StepGen #0, pin Step (Output) hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #1, pin Direction (Output) hm2/hm2_5i25.0: IO Pin 003 (P3-15): StepGen #1, pin Step (Output) hm2/hm2_5i25.0: IO Pin 004 (P3-03): StepGen #2, pin Direction (Output) hm2/hm2_5i25.0: IO Pin 005 (P3-16): StepGen #2, pin Step (Output) hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #3, pin Direction (Output) hm2/hm2_5i25.0: IO Pin 007 (P3-17): StepGen #3, pin Step (Output) hm2/hm2_5i25.0: IO Pin 008 (P3-05): StepGen #4, pin Direction (Output) hm2/hm2_5i25.0: IO Pin 009 (P3-06): StepGen #4, pin Step (Output) hm2/hm2_5i25.0: IO Pin 010 (P3-07): Smart Serial Interface #0, pin TxData0 (Output) hm2/hm2_5i25.0: IO Pin 011 (P3-08): Smart Serial Interface #0, pin RxData0 (Input) hm2/hm2_5i25.0: IO Pin 012 (P3-09): IOPort hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort hm2/hm2_5i25.0: IO Pin 014 (P3-11): Encoder #0, pin Index (Input) hm2/hm2_5i25.0: IO Pin 015 (P3-12): Encoder #0, pin B (Input) hm2/hm2_5i25.0: IO Pin 016 (P3-13): Encoder #0, pin A (Input) hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort hm2/hm2_5i25.0: registered hm2_5i25.0: initialized AnyIO board at 0000:02:00.0 creating ladder-state + NUM=2 ++ inivar -tildeexpand -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini -var HALFILE -sec HAL -num 2 INFO CLASSICLADDER- No ladder GUI requested-Realtime runs till HAL closes. + 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/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini -f ./custom.hal + NUM=3 ++ inivar -tildeexpand -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini -var HALFILE -sec HAL -num 3 + CFGFILE= + '[' -n '' ']' + NUM=1 ++ inivar -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini -var HALCMD -sec HAL -num 1 + HALCOMMAND= + '[' -n '' ']' + halcmd start + echo 'Starting TASK program: milltask' Starting TASK program: milltask + program_available milltask + type -path milltask + unset LD_PRELOAD + '[' -n '' ']' + run_applications + NUM=1 ++ inivar -tildeexpand -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini -var APP -sec APPLICATIONS -num 1 + milltask -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini + 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/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini + result=0 + Cleanup + echo 'Shutting down and cleaning up LinuxCNC...' Shutting down and cleaning up LinuxCNC... + for KILL_TASK in xlinuxcnc ylinuxcnc linuxcncpanel keystick iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel + /bin/pidof -x xlinuxcnc + for KILL_TASK in xlinuxcnc ylinuxcnc linuxcncpanel keystick iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel + /bin/pidof -x ylinuxcnc + for KILL_TASK in xlinuxcnc ylinuxcnc linuxcncpanel keystick iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel + /bin/pidof -x linuxcncpanel + for KILL_TASK in xlinuxcnc ylinuxcnc linuxcncpanel keystick iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel + /bin/pidof -x keystick + for KILL_TASK in xlinuxcnc ylinuxcnc linuxcncpanel keystick iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel + /bin/pidof -x iosh + for KILL_TASK in xlinuxcnc ylinuxcnc linuxcncpanel keystick iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel + /bin/pidof -x linuxcncsh + for KILL_TASK in xlinuxcnc ylinuxcnc linuxcncpanel keystick iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel + /bin/pidof -x linuxcncrsh + for KILL_TASK in xlinuxcnc ylinuxcnc linuxcncpanel keystick iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel + /bin/pidof -x linuxcnctop + for KILL_TASK in xlinuxcnc ylinuxcnc linuxcncpanel keystick iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel + /bin/pidof -x mdi + for KILL_TASK in xlinuxcnc ylinuxcnc linuxcncpanel keystick iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel + /bin/pidof -x debuglevel + program_available axis-remote + type -path axis-remote + '[' '!' -z :0.0 ']' + axis-remote --ping + '[' '' = other ']' ++ inivar -ini /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini -var SHUTDOWN -sec HAL + SHUTDOWN=shutdown.hal + '[' -n shutdown.hal ']' + echo 'Running HAL shutdown script' Running HAL shutdown script + halcmd -f shutdown.hal + for KILL_TASK in linuxcncsvr milltask + /bin/pidof -x linuxcncsvr 18753 + KillTaskWithTimeout + '[' '!' -n '' ']' ++ /bin/pidof -x linuxcncsvr + KILL_PIDS=18753 + '[' '!' -n 18753 ']' + for KILL_PID in '$KILL_PIDS' + echo 'Killing task linuxcncsvr, PID=18753' Killing task linuxcncsvr, PID=18753 + /bin/kill 18753 + WAIT=20 + '[' 20 -gt 1 ']' + /bin/ps 18753 PID TTY STAT TIME COMMAND + 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 18787 + KillTaskWithTimeout + '[' '!' -n '' ']' ++ /bin/pidof -x milltask + KILL_PIDS=18787 + '[' '!' -n 18787 ']' + for KILL_PID in '$KILL_PIDS' + echo 'Killing task milltask, PID=18787' Killing task milltask, PID=18787 + /bin/kill 18787 task: 3561 cycles, min=0.000025, max=0.021780, avg=0.010010, 0 latency excursions (> 10x expected cycle time of 0.010000s) + WAIT=20 + '[' 20 -gt 1 ']' + /bin/ps 18787 PID TTY STAT TIME COMMAND + 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_5i25.0: dropping AnyIO board at 0000:02:00.0 hm2/hm2_5i25.0: unregistered RTAPI_PCI: Unmapped 65536 bytes at 0x7f7b08119000 hm2_pci: driver unloaded hm2: unloading ++ seq 10 + for i in '`seq 10`' ++ wc -w ++ halcmd list comp + '[' 3 = 1 ']' + sleep .2 + for i in '`seq 10`' ++ halcmd list comp ++ wc -w + '[' 3 = 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 0 + ErrorCheck + result=0 + '[' '!' -z :0.0 ']' + echo 'catch {send -async popimage destroy .}; destroy .' + /usr/bin/wish8.6 + '[' 0 -ne 0 ']' + rm -f /dev/fd/2 /dev/fd/1 + exit 0 $
------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users