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.7.1 Machine configuration directory is '/home/ot/linuxcnc/configs/Lathe_v7' Machine configuration file is 'lathe_v7.ini' INIFILE=/home/ot/linuxcnc/configs/Lathe_v7/lathe_v7.ini PARAMETER_FILE=linuxcnc.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 Found file(REL): ./lathe_v7.hal Found file(REL): ./spindle.hal Shutting down and cleaning up LinuxCNC... Running HAL shutdown script Killing task linuxcncsvr, PID=2619 Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments Debug file information: insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/pid.ko': -1 File exists ./spindle.hal:13: exit value: 1 ./spindle.hal:13: insmod for pid failed, returned -1 See the output of 'dmesg' for more information. 2619 PID TTY STAT TIME COMMAND Stopping realtime threads Unloading hal components Kernel message information: [21795.629993] I-pipe: Domain RTAI registered. [21795.630003] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03. [21795.630006] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) . [21795.630015] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0). [21795.630018] PIPELINE layers: [21795.630021] fa19ce20 9ac15d93 RTAI 200 [21795.630025] c085cb20 0 Linux 100 [21795.658913] RTAI[malloc]: global heap size = 2097152 bytes, . [21795.659069] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: , kstacks pool size = 524288 bytes. [21795.659076] RTAI[sched]: hard timer type/freq = APIC/12468720(Hz); default timing: periodic; linear timed lists. [21795.659080] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2792505000 hz. [21795.659083] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns. [21795.659197] RTAI[usi]: enabled. [21795.771140] RTAI[math]: loaded. [21795.897812] hm2: loading Mesa HostMot2 driver version 0.15 [21795.904834] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7 [21795.904882] hm2_pci 0000:02:07.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [21795.904887] hm2_pci: discovered 5i25 at 0000:02:07.0 [21795.906036] hm2/hm2_5i25.0: Smart Serial Firmware Version 43 [21795.966698] Board hm2_5i25.0.7i84.0.0 Hardware Mode 0 = standard [21795.969009] Board hm2_5i25.0.7i84.0.0 Software Mode 0 = input_output [21795.972430] Board hm2_5i25.0.7i84.0.0 Software Mode 1 = io_analog_fieldvoltage [21795.975298] Board hm2_5i25.0.7i84.0.0 Software Mode 2 = io_encoder_analog [21796.122087] hm2/hm2_5i25.0: 34 I/O Pins used: [21796.122095] hm2/hm2_5i25.0: IO Pin 000 (P3-01): Smart Serial Interface #0, pin RxData0 (Input) [21796.122100] hm2/hm2_5i25.0: IO Pin 001 (P3-14): Smart Serial Interface #0, pin TxData0 (Output) [21796.122105] hm2/hm2_5i25.0: IO Pin 002 (P3-02): PWMGen #0, pin Out0 (PWM or Up) (Output) [21796.122109] hm2/hm2_5i25.0: IO Pin 003 (P3-15): PWMGen #0, pin Out1 (Dir or Down) (Output) [21796.122114] hm2/hm2_5i25.0: IO Pin 004 (P3-03): StepGen #2, pin Step (Output) [21796.122118] hm2/hm2_5i25.0: IO Pin 005 (P3-16): StepGen #2, pin Direction (Output) [21796.122122] hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #1, pin Step (Output) [21796.122125] hm2/hm2_5i25.0: IO Pin 007 (P3-17): StepGen #1, pin Direction (Output) [21796.122129] hm2/hm2_5i25.0: IO Pin 008 (P3-05): StepGen #0, pin Step (Output) [21796.122133] hm2/hm2_5i25.0: IO Pin 009 (P3-06): StepGen #0, pin Direction (Output) [21796.122138] hm2/hm2_5i25.0: IO Pin 010 (P3-07): Muxed Encoder Select #0, pin Mux Select 0 (Output) [21796.122142] hm2/hm2_5i25.0: IO Pin 011 (P3-08): Muxed Encoder #0, pin Muxed A (Input) [21796.122146] hm2/hm2_5i25.0: IO Pin 012 (P3-09): Muxed Encoder #0, pin Muxed B (Input) [21796.122150] hm2/hm2_5i25.0: IO Pin 013 (P3-10): Muxed Encoder #0, pin Muxed Index (Input) [21796.122154] hm2/hm2_5i25.0: IO Pin 014 (P3-11): Muxed Encoder #1, pin Muxed A (Input) [21796.122158] hm2/hm2_5i25.0: IO Pin 015 (P3-12): Muxed Encoder #1, pin Muxed B (Input) [21796.122162] hm2/hm2_5i25.0: IO Pin 016 (P3-13): Muxed Encoder #1, pin Muxed Index (Input) [21796.122166] hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort [21796.122169] hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort [21796.122173] hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort [21796.122176] hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort [21796.122179] hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort [21796.122182] hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort [21796.122185] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort [21796.122189] hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort [21796.122192] hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort [21796.122195] hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort [21796.122199] hm2/hm2_5i25.0: IO Pin 027 (P2-07): Muxed Encoder Select #4, pin Mux Select 0 (Output) [21796.122203] hm2/hm2_5i25.0: IO Pin 028 (P2-08): Muxed Encoder #2, pin Muxed A (Input) [21796.122207] hm2/hm2_5i25.0: IO Pin 029 (P2-09): Muxed Encoder #2, pin Muxed B (Input) [21796.122211] hm2/hm2_5i25.0: IO Pin 030 (P2-10): Muxed Encoder #2, pin Muxed Index (Input) [21796.122215] hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort [21796.122218] hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort [21796.122221] hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort [21796.122432] hm2/hm2_5i25.0: registered [21796.122436] hm2_5i25.0: initialized AnyIO board at 0000:02:07.0 [21797.062877] hm2_5i25.0: dropping AnyIO board at 0000:02:07.0 [21797.062887] hm2/hm2_5i25.0: unregistered [21797.062922] hm2_pci 0000:02:07.0: PCI INT A disabled [21797.064066] hm2_pci: driver unloaded [21797.068404] hm2: unloading [21799.304844] RTAI[math]: unloaded. [21799.384920] SCHED releases registered named ALIEN RTGLBH [21799.401077] RTAI[malloc]: unloaded. [21799.500033] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0). [21799.504586] I-pipe: Domain RTAI unregistered. [21799.504598] RTAI[hal]: unmounted.