Way back when, I setup and installed a bleeding edge 2.5.0 ish emc2 to take advantage of then new smart serial interface/hm2 support. The machine has run well, but on occasion I have problems with the smart serial interface showing up during init... I decided to try to upgrade to the latest release.
My original was a run in place configuration - I'm now using the installed deb's from synaptic package manager. I moved my config into ~/linuxcnc/configs and fired it up: _tkinter.TclError: couldn't read file "/home/murph/emc2.5/share/axis/tcl/accel.tcl": no such file or directory I don't have an emc2.5 directory, and don't recall creating one, but suspect this may be a vestigial toe from my old RIP configuration. Any pointers to a configuration value or environment variable that might be messing me up? The full debug/startup log is below: ----------------------------------------- Print file information: 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/realtime-2.6.32-122-rtai/modules/linuxcnc LINUXCNC_CONFIG_DIR= LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs INIVAR=inivar HALCMD=halcmd LINUXCNC_EMCSH=/usr/bin/wish8.5 LINUXCNC - 2.5.2 Machine configuration directory is '/home/murph/linuxcnc/configs/BOSSV' Machine configuration file is 'BOSSV.ini' INIFILE=/home/murph/linuxcnc/configs/BOSSV/BOSSV.ini PARAMETER_FILE=emc.var TASK=milltask HALUI=halui DISPLAY=axis Starting LinuxCNC... 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 Starting TASK program: milltask Starting DISPLAY program: axis Shutting down and cleaning up LinuxCNC... Running HAL shutdown script Killing task linuxcncsvr, PID=8499 Killing task milltask, PID=8562 Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments Cleanup done Debug file information: Can not find -sec MOT -var MOT -num 1 Can not find -sec IO -var IO -num 1 Can not find -sec LINUXCNC -var NML_FILE -num 1 Can not find -sec EMC -var NML_FILE -num 1 Traceback (most recent call last): File "/usr/bin/hal_manualtoolchange", line 56, in <module> rs274.options.install(app) File "/usr/lib/python2.6/dist-packages/rs274/options.py", line 164, in install root.call('source', LINUXCNC_TCL) _tkinter.TclError: couldn't read file "/home/murph/emc2.5/tcl/linuxcnc.tcl": no such file or directory Traceback (most recent call last): File "/usr/bin/axis", line 118, in <module> nf.start(root_window) File "/usr/lib/python2.6/dist-packages/nf.py", line 118, in start source_lib_tcl(r, "accel.tcl") File "/usr/lib/python2.6/dist-packages/nf.py", line 111, in source_lib_tcl r.tk.call("source", os.path.join(tcl_libdir, f)) _tkinter.TclError: couldn't read file "/home/murph/emc2.5/share/axis/tcl/accel.tcl": no such file or directory 8499 PID TTY STAT TIME COMMAND 8562 PID TTY STAT TIME COMMAND Stopping realtime threads Unloading hal components Kernel message information: [83756.098381] I-pipe: Domain RTAI registered. [83756.098404] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03. [83756.098412] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) . [83756.098474] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0). [83756.098481] PIPELINE layers: [83756.098489] fba85e20 9ac15d93 RTAI 200 [83756.098496] c085cb20 0 Linux 100 [83756.149658] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>. [83756.150173] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes. [83756.150186] RTAI[sched]: hard timer type/freq = APIC/8313070(Hz); default timing: periodic; linear timed lists. [83756.150195] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1596337000 hz. [83756.150201] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns. [83756.150354] RTAI[usi]: enabled. [83756.279492] RTAI[math]: loaded. [83756.478119] hm2: loading Mesa HostMot2 driver version 0.15 [83756.494371] hm2_7i43: loading HostMot2 Mesa 7i43 driver version 0.3 [83756.496462] hm2_7i43.0: firmware: requesting hm2/7i43-4/BOSSVSS.BIT [83756.917038] hm2/hm2_7i43.0: Smart Serial Firmware Version 33 [83756.955131] hm2/hm2_7i43.0: 48 I/O Pins used: [83756.955144] hm2/hm2_7i43.0: IO Pin 000 (P4-01): StepGen #0, pin Step (Output) [83756.955152] hm2/hm2_7i43.0: IO Pin 001 (P4-03): StepGen #0, pin Direction (Output) [83756.955160] hm2/hm2_7i43.0: IO Pin 002 (P4-05): StepGen #1, pin Step (Output) [83756.955168] hm2/hm2_7i43.0: IO Pin 003 (P4-07): StepGen #1, pin Direction (Output) [83756.955175] hm2/hm2_7i43.0: IO Pin 004 (P4-09): IOPort [83756.955181] hm2/hm2_7i43.0: IO Pin 005 (P4-11): IOPort [83756.955188] hm2/hm2_7i43.0: IO Pin 006 (P4-13): IOPort [83756.955194] hm2/hm2_7i43.0: IO Pin 007 (P4-15): IOPort [83756.955200] hm2/hm2_7i43.0: IO Pin 008 (P4-17): IOPort [83756.955206] hm2/hm2_7i43.0: IO Pin 009 (P4-19): IOPort [83756.955213] hm2/hm2_7i43.0: IO Pin 010 (P4-21): IOPort [83756.955221] hm2/hm2_7i43.0: IO Pin 011 (P4-23): Smart Serial Interface #0, pin RxData0 (Input) [83756.955228] hm2/hm2_7i43.0: IO Pin 012 (P4-25): IOPort [83756.955236] hm2/hm2_7i43.0: IO Pin 013 (P4-27): Smart Serial Interface #0, pin RxData1 (Input) [83756.955243] hm2/hm2_7i43.0: IO Pin 014 (P4-29): IOPort [83756.955249] hm2/hm2_7i43.0: IO Pin 015 (P4-31): IOPort [83756.955257] hm2/hm2_7i43.0: IO Pin 016 (P4-33): StepGen #2, pin Step (Output) [83756.955265] hm2/hm2_7i43.0: IO Pin 017 (P4-35): StepGen #2, pin Direction (Output) [83756.955273] hm2/hm2_7i43.0: IO Pin 018 (P4-37): StepGen #3, pin Step (Output) [83756.955281] hm2/hm2_7i43.0: IO Pin 019 (P4-39): StepGen #3, pin Direction (Output) [83756.955289] hm2/hm2_7i43.0: IO Pin 020 (P4-41): Smart Serial Interface #0, pin TxData0 (Output) [83756.955298] hm2/hm2_7i43.0: IO Pin 021 (P4-43): Smart Serial Interface #0, pin TxData1 (Output) [83756.955306] hm2/hm2_7i43.0: IO Pin 022 (P4-45): PWMGen #0, pin Out0 (PWM or Up) (Output) [83756.955315] hm2/hm2_7i43.0: IO Pin 023 (P4-47): PWMGen #0, pin Out1 (Dir or Down) (Output) [83756.955323] hm2/hm2_7i43.0: IO Pin 024 (P3-01): StepGen #4, pin Step (Output) [83756.955331] hm2/hm2_7i43.0: IO Pin 025 (P3-03): StepGen #4, pin Direction (Output) [83756.955339] hm2/hm2_7i43.0: IO Pin 026 (P3-05): PWMGen #1, pin Out0 (PWM or Up) (Output) [83756.955347] hm2/hm2_7i43.0: IO Pin 027 (P3-07): PWMGen #1, pin Out1 (Dir or Down) (Output) [83756.955355] hm2/hm2_7i43.0: IO Pin 028 (P3-09): IOPort [83756.955361] hm2/hm2_7i43.0: IO Pin 029 (P3-11): IOPort [83756.955367] hm2/hm2_7i43.0: IO Pin 030 (P3-13): IOPort [83756.955374] hm2/hm2_7i43.0: IO Pin 031 (P3-15): IOPort [83756.955380] hm2/hm2_7i43.0: IO Pin 032 (P3-17): IOPort [83756.955386] hm2/hm2_7i43.0: IO Pin 033 (P3-19): IOPort [83756.955393] hm2/hm2_7i43.0: IO Pin 034 (P3-21): IOPort [83756.955399] hm2/hm2_7i43.0: IO Pin 035 (P3-23): IOPort [83756.955405] hm2/hm2_7i43.0: IO Pin 036 (P3-25): IOPort [83756.955413] hm2/hm2_7i43.0: IO Pin 037 (P3-27): Smart Serial Interface #0, pin TxEn0 (Output) [83756.955421] hm2/hm2_7i43.0: IO Pin 038 (P3-29): Smart Serial Interface #0, pin TxEn1 (Output) [83756.955429] hm2/hm2_7i43.0: IO Pin 039 (P3-31): IOPort [83756.955435] hm2/hm2_7i43.0: IO Pin 040 (P3-33): IOPort [83756.955441] hm2/hm2_7i43.0: IO Pin 041 (P3-35): IOPort [83756.955448] hm2/hm2_7i43.0: IO Pin 042 (P3-37): IOPort [83756.955454] hm2/hm2_7i43.0: IO Pin 043 (P3-39): IOPort [83756.955460] hm2/hm2_7i43.0: IO Pin 044 (P3-41): IOPort [83756.955467] hm2/hm2_7i43.0: IO Pin 045 (P3-43): IOPort [83756.955473] hm2/hm2_7i43.0: IO Pin 046 (P3-45): IOPort [83756.955479] hm2/hm2_7i43.0: IO Pin 047 (P3-47): IOPort [83756.955602] hm2/hm2_7i43.0: registered [83756.955609] hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide ON) found [83758.973004] hm2_7i43.0: releasing board [83758.973037] hm2/hm2_7i43.0: unregistered [83758.973124] hm2_7i43: driver unloaded [83758.978853] hm2: unloading [83759.064859] RTAI[math]: unloaded. [83759.125820] SCHED releases registered named ALIEN RTGLBH [83759.157036] RTAI[malloc]: unloaded. [83759.256039] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0). [83759.262101] I-pipe: Domain RTAI unregistered. [83759.262183] RTAI[hal]: unmounted. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users