--------------------------------------------------------------- New PathPilot start at Thu Feb 24 17:48:32 CST 2022 { "build": 1, "kernels": [ "4.11.9-rt7" ], "status": "", "version": "v2.8.3" } --------------------------------------------------------------- DEBUG not defined so python IS optimizing. PYTHONOPTIMIZE=YES Checking md5sum manifest for all config files in /home/operator/v2.8.3/configs ./tormach_mill/tormach_mill_base_sim.ini: FAILED md5sum: WARNING: 1 computed checksum did NOT match ALERT: config files have been changed by customer. Disabling USB autosuspend /home/operator/v2.8.3/venv Entering Python virtual environment shifttest result is 0 starting log rotator setsid /home/operator/v2.8.3/scripts/logrotator.sh 3600 "/home/operator/gcode/logfiles/logrotate.conf" "/home/operator/gcode/logfiles/logrotate.status" LOGROTATOR_PID: 4244 shifttest result is 0 shifttest result is 0 Starting PathPilot Manager program. Uptime of the controller is up 1 hour, 38 minutes wait 4253 Using locale ('en_US', 'UTF-8') Localization strings properly initialized. sudo dmidecode -s system-product-name: System Product Name uname -a: Linux tormachpcnc 4.11.9-rt7 #1 SMP PREEMPT RT Fri Aug 4 12:03:32 CDT 2017 x86_64 x86_64 x86_64 GNU/Linux Setting environment... EMC2VERSION=2.8.0~pre1 LINUXCNC_RTLIB_DIR=/home/operator/tmc/rtlib TMP_DIR=/tmp/linuxcnc EMC2_HOME=/home/operator/tmc LD_LIBRARY_PATH=/home/operator/tmc/lib LINUXCNC_BIN_DIR=/home/operator/tmc/bin NML_FILE=/home/operator/tmc/configs/common/linuxcnc.nml PYTHONPATH=/home/operator/tmc/python:/home/operator/tmc/lib/python:/home/operator/tmc/lib/python/support:/home/operator/tmc/python/config_chooser:/home/operator/tmc/python/pplogin:/home/operator/tmc/python/pp_hub:/home/operator/tmc/python/shape_library appending to Python sys.path appending: /home/operator/tmc/python appending: /home/operator/tmc/lib/python appending: /home/operator/tmc/lib/python/support appending: /home/operator/tmc/python/config_chooser appending: /home/operator/tmc/python/pplogin appending: /home/operator/tmc/python/pp_hub appending: /home/operator/tmc/python/shape_library PATH=/home/operator/v2.8.3/venv/bin:/home/operator/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/operator/teamviewerqs:/home/operator/tmc/python:/home/operator/tmc/bin:/home/operator/tmc/scripts Checking required additional .deb packages are installed Checking for package blt installed package: blt already installed. Checking for proper grub configuration... /etc/default/grub already configured for terminal output = vga_text on boot, no patch needed /etc/default/grub already configured for usbcore.autosuspend=-1, no patch needed Checking for proper samba configuration... Total RAM: 2048 MB /home/operator/dropbox.py not present and executable. /home/operator/tmc/scripts/drop_caches.sh starting . . . touchscreen.py: touchscreen devices detected: [] touchscreen.py ending with code 1 Disabling ethernet rx irq coalescing Cannot get device coalesce settings: Operation not supported Failed to run sudo ethtool --coalesce eth0 rx-usecs 0 rx-frames 1 Cannot get device coalesce settings: Operation not supported Failed to run sudo ethtool --show-coalesce eth0 USB mount point: /media/operator sudo python /home/operator/tmc/scripts/update-cgconfig.py: Total RAM: 2048 MB Utility CG Size: 400 MB Utility CG VM Size: 750 MB /etc/cgconfig.conf updated. cgconfigparser successfully loaded /etc/cgconfig.conf eula.py: no need to display eula and get acceptance because marker file already exists /home/operator/tmc/eula_agreed.txt eth0 Link encap:Ethernet HWaddr 90:e6:ba:99:7e:12 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:1 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) eth0 present on machine controller user pickle file exists unexpectedly at startup; removing it top of pathpilotmanager.py while() loop no update file found /home/operator/tmc/bin/rtapi_app owner: 0, group: 0, mode" 104755 sudo chown root:root /home/operator/tmc/bin/rtapi_app: sudo chmod 4755 /home/operator/tmc/bin/rtapi_app: /home/operator/tmc/bin/rtapi_app owner: 0, group: 0 mode" 104755 done checking rtapi_app permissions Running /home/operator/tmc/python/pplogin/pplogin.py Using locale ('en_US', 'UTF-8') Localization strings properly initialized. 2022-02-24 17:48:35.940742 | pam module: pam_ce [/home/operator/v2.8.3/python/pplogin/pammgr.py:40] 2022-02-24 17:48:35.976100 CST (+0:00:00.035358) | pam_ce.py:constructor called. [/home/operator/v2.8.3/python/pplogin/pam_ce.py:32] 2022-02-24 17:48:35.979803 CST (+0:00:00.003703) | pam_ce.py:login() called. [/home/operator/v2.8.3/python/pplogin/pam_ce.py:60] 2022-02-24 17:48:35.980939 CST (+0:00:00.001136) | pam_ce.py:shutdown() called. [/home/operator/v2.8.3/python/pplogin/pam_ce.py:54] Regenerating /home/operator/tmc/configs/tormach_mill/tormach_1100-3_sim.ini because its dependent source files may have changed. Generating linuxcnc ini file: /home/operator/tmc/configs/tormach_mill/tormach_1100-3_sim.ini configured INI file: /home/operator/tmc/configs/tormach_mill/tormach_1100-3_sim.ini Sim mode forcing communication_method override to db25parallel so we release the ethernet interface if it isn't already. Forcing POSIX non-realtime mode because of sim mode. set_comm_method.py db25parallel already setup for machine control by db25 parallel so not doing anything. No HOSTMOT2 section found in INI file. Data directory /home/operator/mill_data exists ['check_machine_tool_table.py', '/home/operator/mill_data/tool2.tbl', u'mill'] 2022-02-24 17:48:36.581386 | tool file is /home/operator/mill_data/tool2.tbl [scripts/check_machine_tool_table.py:377] 2022-02-24 17:48:36.599026 CST (+0:00:00.017640) | machine type is mill [scripts/check_machine_tool_table.py:378] 2022-02-24 17:48:36.599717 CST (+0:00:00.000691) | Scanning mill tool table [scripts/check_machine_tool_table.py:120] 2022-02-24 17:48:36.600488 CST (+0:00:00.000771) | Found existing 1-256 tool.tbl file /home/operator/mill_data/tool.tbl, will migrate data to /home/operator/mill_data/tool2.tbl [scripts/check_machine_tool_table.py:140] 2022-02-24 17:48:36.615885 CST (+0:00:00.015397) | highest tool number: 1000 [scripts/check_machine_tool_table.py:263] 2022-02-24 17:48:36.616586 CST (+0:00:00.000701) | tool table is already up to date [scripts/check_machine_tool_table.py:267] /home/operator/tmc/python/redis-upgrade.py /home/operator/tmc/configs/tormach_mill/tormach_1100-3_sim.ini redis-upgrade.py: checking to see if redis rdb file needs to be upgraded to aof redis-upgrade.py: config ini filepath: /home/operator/tmc/configs/tormach_mill/tormach_1100-3_sim.ini redis-upgrade.py: redis is configured for appendonly persistence. redis-upgrade.py: nothing to do. redis-upgrade.py returned 0 About to isolate real time cpu. WARNING: Other partitions exists that might interfere with partitions created by this tool. This might be because you use systemd, which also defines CPU partitions. partrt found at /home/operator/tmc/bin/partrt Found 2 Pentium(R) Dual-Core CPU E5200 @ 2.50GHz cpus found. cpu_rt_bitmask: 0x2 Creating real time cpu partition with mask: 0x2 /home/operator/tmc/scripts/isolatecpus.py: sudo env "PATH=$PATH" partrt create 0x2 /home/operator/tmc/scripts/isolatecpus.py: System was successfylly divided into following partitions: Isolated CPUs (rt):1 Non-isolated CPUS (nrt):0 About to run scripts/start_linuxcnc. ------------------------------------------------------------------------------ | start_linuxcnc | ------------------------------------------------------------------------------ prefix: /home/operator/tmc exec_prefix: /home/operator/tmc EMC2_BIN_DIR=/home/operator/tmc/bin EMC2_RTLIB_DIR=/home/operator/tmc/rtlib INIFILE: /home/operator/tmc/configs/tormach_mill/tormach_1100-3_sim.ini expanded INIFILE: /home/operator/tmc/configs/tormach_mill/tormach_1100-3_sim.ini EXTRA_ARGS: RUN_IN_PLACE=yes LINUXCNC version - 2.8.0~pre1 LINUXCNC_DIR= LINUXCNC_BIN_DIR=/home/operator/tmc/bin LINUXCNC_RTLIB_DIR=/home/operator/tmc/rtlib INIVAR=inivar HALCMD=halcmd inserted into PYTHONPATH: /home/operator/tmc/configs/tormach_mill/python new PYTHONPATH: /home/operator/tmc/configs/tormach_mill/python:/home/operator/tmc/python:/home/operator/tmc/lib/python:/home/operator/tmc/lib/python/support:/home/operator/tmc/python/config_chooser:/home/operator/tmc/python/pplogin:/home/operator/tmc/python/pp_hub:/home/operator/tmc/python/shape_library Machine configuration directory is '/home/operator/tmc/configs/tormach_mill' Machine configuration file is 'tormach_1100-3_sim.ini' INIFILE=/home/operator/tmc/configs/tormach_mill/tormach_1100-3_sim.ini PARAMETER_FILE=~/mill_data/emc.var Can not find -sec MOT -var MOT -num 1 Can not find -sec IO -var IO -num 1 TASK=milltask HALUI=halui DISPLAY=tormach_mill_ui.py EMCDISPLAY_FULLPATH: /home/operator/tmc/python/tormach_mill_ui.py EMCDISPLAY_DIR: /home/operator/tmc/python inserted into PYTHONPATH: /home/operator/tmc/python new PYTHONPATH: /home/operator/tmc/python:/home/operator/tmc/configs/tormach_mill/python:/home/operator/tmc/python:/home/operator/tmc/lib/python:/home/operator/tmc/lib/python/support:/home/operator/tmc/python/config_chooser:/home/operator/tmc/python/pplogin:/home/operator/tmc/python/pp_hub:/home/operator/tmc/python/shape_library NML_FILE: /home/operator/tmc/configs/common/linuxcnc.nml User's HOME directory: /home/operator appended to PYTHONPATH: /home/operator/gcode/python new PYTHONPATH: /home/operator/tmc/python:/home/operator/tmc/configs/tormach_mill/python:/home/operator/tmc/python:/home/operator/tmc/lib/python:/home/operator/tmc/lib/python/support:/home/operator/tmc/python/config_chooser:/home/operator/tmc/python/pplogin:/home/operator/tmc/python/pp_hub:/home/operator/tmc/python/shape_library:/home/operator/gcode/python Can not find -sec REDIS -var DISABLE_SERVER -num 1 DISABLE_SERVER= SERVER_PATH=~/tmc/bin/redis-server ~/tmc/bin/redis-server started with tilde SERVER_ARGS=--dir ~/mill_data --dbfilename dump.rdb --save 3600 1 --save 300 100 --save 60 10000 --appendonly yes --appendfsync everysec --auto-aof-rewrite-percentage 100 --auto-aof-rewrite-min-size 64mb REDIS_SERVER_ARGS: --dir ~/mill_data --dbfilename dump.rdb --save 3600 1 --save 300 100 --save 60 10000 --appendonly yes --appendfsync everysec --auto-aof-rewrite-percentage 100 --auto-aof-rewrite-min-size 64mb REDIS_SERVER_ARGS: --dir /home/operator/mill_data --dbfilename dump.rdb --save 3600 1 --save 300 100 --save 60 10000 --appendonly yes --appendfsync everysec --auto-aof-rewrite-percentage 100 --auto-aof-rewrite-min-size 64mb Can not find -sec REDIS -var SERVER_LOG -num 1 SERVER_LOG= Starting LinuxCNC... Starting redis server program: redis server started as: '/home/operator/tmc/bin/redis-server --dir /home/operator/mill_data --dbfilename dump.rdb --save 3600 1 --save 300 100 --save 60 10000 --appendonly yes --appendfsync everysec --auto-aof-rewrite-percentage 100 --auto-aof-rewrite-min-size 64mb', logging to: /dev/null Starting LinuxCNC server program: linuxcncsvr Starting LinuxCNC IO program: io io started halcmd loadusr io started Starting HAL User Interface program: halui halcmd loadusr -Wn halui halui -ini /home/operator/tmc/configs/tormach_mill/tormach_1100-3_sim.ini halcmd -i /home/operator/tmc/configs/tormach_mill/tormach_1100-3_sim.ini -f tormach_mill_sim.hal Note: env var PATHPILOT_NONREALTIME_MODE forced POSIX non-realtime number of cpus found: 2 wrote rtapi_app pid 4414 to /sys/fs/cgroup/cpuset/rt/tasks 2022-02-24 17:48:38.762163 | USBIO : HAL component starting [usbio.py:31] tormachheightgauge: starting 2022-02-24 17:48:39.235309 | Z-Bot ATC: HAL component : started [python/hal_zbotatc.py:31] 2022-02-24 17:48:39.280469 CST (+0:00:00.045160) | Z-Bot ATC: Simulator mode enabled. [python/hal_zbotatc.py:1631] 2022-02-24 17:48:39.649274 | Smart Cool: HAL component: started [python/hal_zbotschnozz.py:45] 2022-02-24 17:48:39.956475 | EnclosureDoorSim : E-Stop Cleared [../../python/encdoor_sim/encdoor_sim.py:129] halcmd -i /home/operator/tmc/configs/tormach_mill/tormach_1100-3_sim.ini -f xhc-hb04.hal rtapi_shmem_new failed due to shmget(key=0x48414c32): Invalid argument HAL: ERROR: could not open shared memory xhc-hb04: ERROR: hal_init failed xhc-hb04.hal:1: waitpid failed xhc-hb04 xhc-hb04 xhc-hb04.hal:1: xhc-hb04 exited without becoming ready HALCMD ini file /home/operator/tmc/configs/tormach_mill/tormach_1100-3_sim.ini load failed with config file xhc-hb04.hal Shutting down and cleaning up LinuxCNC... sudo dmidecode -s system-product-name: System Product Name uname -a: Linux tormachpcnc 4.11.9-rt7 #1 SMP PREEMPT RT Fri Aug 4 12:03:32 CDT 2017 x86_64 x86_64 x86_64 GNU/Linux 4402 Killing linuxcncsvr Killing task linuxcncsvr, PID=4402 PID TTY STAT TIME COMMAND 4401 Killing redis-server Killing task redis-server, PID=4401 PID TTY STAT TIME COMMAND 4401 ? Sl 0:00 /home/operator/tmc/bin/redis-server *:6379 PID TTY STAT TIME COMMAND Stopping realtime threads halcmd stop Unloading hal components halcmd unload all 2022-02-24 17:48:40.486003 CST (+0:00:00.529528) | EnclosureDoorSim : caught KeyboardInterrupt, hal comp shutting down. [../../python/encdoor_sim/encdoor_sim.py:154] 2022-02-24 17:48:40.493237 CST (+0:00:00.843963) | Smart Cool: KeyboardInterrupt caught, exiting. [python/hal_zbotschnozz.py:589] 2022-02-24 17:48:40.493762 CST (+0:00:00.000525) | Smart Cool: Exit sequence started [python/hal_zbotschnozz.py:593] 2022-02-24 17:48:40.499527 CST (+0:00:01.219058) | Z-Bot ATC: KeyboardInterrupt caught, exiting. [python/hal_zbotatc.py:1637] 2022-02-24 17:48:40.499974 CST (+0:00:00.000447) | Z-Bot ATC: Exit sequence started [python/hal_zbotatc.py:1640] tormachheightgauge: exiting 2022-02-24 17:48:40.515754 CST (+0:00:01.753591) | USBIO : KeyboardInterrupt caught, exiting. [usbio.py:309] 2022-02-24 17:48:40.516226 CST (+0:00:00.000472) | USBIO : Exit sequence started. [usbio.py:313] 2022-02-24 17:48:40.535720 CST (+0:00:00.041958) | Smart Cool: HAL component : exited [python/hal_zbotschnozz.py:596]2022-02-24 17:48:40.539490 CST (+0:00:00.023264) | USBIO : HAL component : exited. [usbio.py:319]2022-02-24 17:48:40.543065 CST (+0:00:00.043091) | Z-Bot ATC: HAL component : exited [python/hal_zbotatc.py:1647] Removing NML shared memory segments rm /tmp/linuxcnc.lock Cleanup done Return code from linuxcnc script: 17 ['check_machine_tool_table.py', '/home/operator/mill_data/tool2.tbl', u'mill', 'update-256'] 2022-02-24 17:48:41.253144 | tool file is /home/operator/mill_data/tool2.tbl [scripts/check_machine_tool_table.py:377] 2022-02-24 17:48:41.271098 CST (+0:00:00.017954) | machine type is mill [scripts/check_machine_tool_table.py:378] 2022-02-24 17:48:41.272003 CST (+0:00:00.000905) | Back porting tools 1-256 to old mill tool.tbl file [scripts/check_machine_tool_table.py:82] stopping at tool 257 About to undo real time cpu isolation. partrt found at /home/operator/tmc/bin/partrt /home/operator/tmc/scripts/isolatecpus.py: sudo env "PATH=$PATH" partrt undo /home/operator/tmc/scripts/isolatecpus.py: System was successfully restored crash detection file unexpectedly exists - sending into config chooser. Running /home/operator/tmc/python/config_chooser/config_chooser.py --sim --ethernet config_chooser sim mode ENABLED config_chooser.py exiting with code 1 kill -s SIGTERM -4253 PathPilot Manager exit code = 0 shifttest result is 0 Total uptime of the controller was up 1 hour, 39 minutes terminating log rotator and subprocesses kill -s SIGTERM -4244