Hello! I was playing with the config on my router, when suddenly I started to receive this error message. I was configuring rotary axis, got it turning, so I changed stepgen scale in INI file, restarted LinuxCNC and got this error. I tried reverting whatever changes made also prior scale change, did not help. Restarting PC also does not help. Some very old and outdated configs backup did work, I tried to check for any strange differences (like typos etc), but no luck there.
The thing is that I do not see any line, related to any of my config files and I have no idea, what is "hal_init()" and how any of config lines would affect it, so I will appreciate any suggestions. 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.6.1 Machine configuration directory is '/home/viesturs/linuxcnc/configs/hm2-5i24' Machine configuration file is '5i24.ini' INIFILE=/home/viesturs/linuxcnc/configs/hm2-5i24/5i24.ini PARAMETER_FILE=hm2-servo.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 emcMotionInit: ini_hal_init fail emcMotionInit: ini_hal_init fail emcMotionInit: ini_hal_init fail emcMotionInit: ini_hal_init fail emcMotionInit: ini_hal_init fail waiting for s.axes waiting for s.axes waiting for s.axes waiting for s.axes waiting for s.axes waiting for s.axes waiting for s.axes waiting for s.axes waiting for s.axes Shutting down and cleaning up LinuxCNC... emcMotionInit: ini_hal_init fail Killing task linuxcncsvr, PID=3708 Killing task milltask, PID=3759 Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments Debug file information: HAL: ERROR: duplicate component name 'inihal' ini_hal_init: ERROR: hal_init() failed HAL: ERROR: duplicate component name 'inihal' ini_hal_init: ERROR: hal_init() failed HAL: ERROR: duplicate component name 'inihal' ini_hal_init: ERROR: hal_init() failed HAL: ERROR: duplicate component name 'inihal' ini_hal_init: ERROR: hal_init() failed HAL: ERROR: duplicate component name 'inihal' ini_hal_init: ERROR: hal_init() failed A configuration error is preventing LinuxCNC from starting. More information may be available when running from a terminal. HAL: ERROR: duplicate component name 'inihal' ini_hal_init: ERROR: hal_init() failed 3708 PID TTY STAT TIME COMMAND 3759 PID TTY STAT TIME COMMAND Stopping realtime threads Unloading hal components Kernel message information: [ 1093.871817] I-pipe: Domain RTAI registered. [ 1093.871832] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03. [ 1093.871835] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) . [ 1093.871843] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0). [ 1093.871846] PIPELINE layers: [ 1093.871850] e2c34e20 9ac15d93 RTAI 200 [ 1093.871853] c085cb20 0 Linux 100 [ 1093.904000] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>. [ 1093.904618] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes. [ 1093.904624] RTAI[sched]: hard timer type/freq = APIC/16704445(Hz); default timing: periodic; linear timed lists. [ 1093.904629] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1804159000 hz. [ 1093.904632] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns. [ 1093.904784] RTAI[usi]: enabled. [ 1094.040807] RTAI[math]: loaded. [ 1094.123795] GANTRYKINS: joints[0] = 0 [ 1094.123804] GANTRYKINS: joints[1] = 1 [ 1094.123808] GANTRYKINS: joints[2] = 2 [ 1094.123811] GANTRYKINS: joints[3] = 1 [ 1094.123815] GANTRYKINS: joints[4] = 3 [ 1094.123819] GANTRYKINS: joints[5] = -1 [ 1094.123823] GANTRYKINS: joints[6] = -1 [ 1094.123827] GANTRYKINS: joints[7] = -1 [ 1094.123831] GANTRYKINS: joints[8] = -1 [ 1094.168659] hm2: loading Mesa HostMot2 driver version 0.15 [ 1094.174935] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7 [ 1094.175005] hm2_pci 0000:01:07.0: PCI INT A -> Link[LNK4] -> GSI 10 (level, low) -> IRQ 10 [ 1094.175011] hm2_pci: discovered 5i24 at 0000:01:07.0 [ 1094.181693] hm2/hm2_5i24.0: 72 I/O Pins used: [ 1094.181703] hm2/hm2_5i24.0: IO Pin 000 (P4-01): Encoder #0, pin A (Input) [ 1094.181708] hm2/hm2_5i24.0: IO Pin 001 (P4-03): Encoder #0, pin B (Input) [ 1094.181712] hm2/hm2_5i24.0: IO Pin 002 (P4-05): Encoder #0, pin Index (Input) [ 1094.181716] hm2/hm2_5i24.0: IO Pin 003 (P4-07): IOPort [ 1094.181720] hm2/hm2_5i24.0: IO Pin 004 (P4-09): IOPort [ 1094.181723] hm2/hm2_5i24.0: IO Pin 005 (P4-11): IOPort [ 1094.181726] hm2/hm2_5i24.0: IO Pin 006 (P4-13): IOPort [ 1094.181730] hm2/hm2_5i24.0: IO Pin 007 (P4-15): IOPort [ 1094.181735] hm2/hm2_5i24.0: IO Pin 008 (P4-17): ThreePhasePWM #0, pin Enable (Output) [ 1094.181739] hm2/hm2_5i24.0: IO Pin 009 (P4-19): ThreePhasePWM #0, pin PWM A (Output) [ 1094.181744] hm2/hm2_5i24.0: IO Pin 010 (P4-21): ThreePhasePWM #0, pin PWM B (Output) [ 1094.181748] hm2/hm2_5i24.0: IO Pin 011 (P4-23): ThreePhasePWM #0, pin PWM C (Output) [ 1094.181753] hm2/hm2_5i24.0: IO Pin 012 (P4-25): Encoder #1, pin A (Input) [ 1094.181757] hm2/hm2_5i24.0: IO Pin 013 (P4-27): Encoder #1, pin B (Input) [ 1094.181761] hm2/hm2_5i24.0: IO Pin 014 (P4-29): Encoder #1, pin Index (Input) [ 1094.181765] hm2/hm2_5i24.0: IO Pin 015 (P4-31): IOPort [ 1094.181768] hm2/hm2_5i24.0: IO Pin 016 (P4-33): IOPort [ 1094.181772] hm2/hm2_5i24.0: IO Pin 017 (P4-35): IOPort [ 1094.181775] hm2/hm2_5i24.0: IO Pin 018 (P4-37): IOPort [ 1094.181779] hm2/hm2_5i24.0: IO Pin 019 (P4-39): IOPort [ 1094.181783] hm2/hm2_5i24.0: IO Pin 020 (P4-41): ThreePhasePWM #1, pin Enable (Output) [ 1094.181787] hm2/hm2_5i24.0: IO Pin 021 (P4-43): ThreePhasePWM #1, pin PWM A (Output) [ 1094.181794] hm2/hm2_5i24.0: IO Pin 022 (P4-45): ThreePhasePWM #1, pin PWM B (Output) [ 1094.181799] hm2/hm2_5i24.0: IO Pin 023 (P4-47): ThreePhasePWM #1, pin PWM C (Output) [ 1094.181803] hm2/hm2_5i24.0: IO Pin 024 (P3-01): Encoder #2, pin A (Input) [ 1094.181807] hm2/hm2_5i24.0: IO Pin 025 (P3-03): Encoder #2, pin B (Input) [ 1094.181811] hm2/hm2_5i24.0: IO Pin 026 (P3-05): Encoder #2, pin Index (Input) [ 1094.181815] hm2/hm2_5i24.0: IO Pin 027 (P3-07): IOPort [ 1094.181819] hm2/hm2_5i24.0: IO Pin 028 (P3-09): IOPort [ 1094.181822] hm2/hm2_5i24.0: IO Pin 029 (P3-11): IOPort [ 1094.181826] hm2/hm2_5i24.0: IO Pin 030 (P3-13): IOPort [ 1094.181829] hm2/hm2_5i24.0: IO Pin 031 (P3-15): IOPort [ 1094.181833] hm2/hm2_5i24.0: IO Pin 032 (P3-17): ThreePhasePWM #2, pin Enable (Output) [ 1094.181838] hm2/hm2_5i24.0: IO Pin 033 (P3-19): ThreePhasePWM #2, pin PWM A (Output) [ 1094.181842] hm2/hm2_5i24.0: IO Pin 034 (P3-21): ThreePhasePWM #2, pin PWM B (Output) [ 1094.181847] hm2/hm2_5i24.0: IO Pin 035 (P3-23): ThreePhasePWM #2, pin PWM C (Output) [ 1094.181851] hm2/hm2_5i24.0: IO Pin 036 (P3-25): Encoder #3, pin A (Input) [ 1094.181855] hm2/hm2_5i24.0: IO Pin 037 (P3-27): Encoder #3, pin B (Input) [ 1094.181859] hm2/hm2_5i24.0: IO Pin 038 (P3-29): Encoder #3, pin Index (Input) [ 1094.181863] hm2/hm2_5i24.0: IO Pin 039 (P3-31): IOPort [ 1094.181867] hm2/hm2_5i24.0: IO Pin 040 (P3-33): IOPort [ 1094.181870] hm2/hm2_5i24.0: IO Pin 041 (P3-35): IOPort [ 1094.181874] hm2/hm2_5i24.0: IO Pin 042 (P3-37): IOPort [ 1094.181877] hm2/hm2_5i24.0: IO Pin 043 (P3-39): IOPort [ 1094.181881] hm2/hm2_5i24.0: IO Pin 044 (P3-41): ThreePhasePWM #3, pin Enable (Output) [ 1094.181886] hm2/hm2_5i24.0: IO Pin 045 (P3-43): ThreePhasePWM #3, pin PWM A (Output) [ 1094.181890] hm2/hm2_5i24.0: IO Pin 046 (P3-45): ThreePhasePWM #3, pin PWM B (Output) [ 1094.181895] hm2/hm2_5i24.0: IO Pin 047 (P3-47): ThreePhasePWM #3, pin PWM C (Output) [ 1094.181899] hm2/hm2_5i24.0: IO Pin 048 (P2-01): IOPort [ 1094.181902] hm2/hm2_5i24.0: IO Pin 049 (P2-03): IOPort [ 1094.181905] hm2/hm2_5i24.0: IO Pin 050 (P2-05): IOPort [ 1094.181909] hm2/hm2_5i24.0: IO Pin 051 (P2-07): IOPort [ 1094.181912] hm2/hm2_5i24.0: IO Pin 052 (P2-09): IOPort [ 1094.181916] hm2/hm2_5i24.0: IO Pin 053 (P2-11): IOPort [ 1094.181919] hm2/hm2_5i24.0: IO Pin 054 (P2-13): IOPort [ 1094.181923] hm2/hm2_5i24.0: IO Pin 055 (P2-15): IOPort [ 1094.181926] hm2/hm2_5i24.0: IO Pin 056 (P2-17): IOPort [ 1094.181930] hm2/hm2_5i24.0: IO Pin 057 (P2-19): IOPort [ 1094.181933] hm2/hm2_5i24.0: IO Pin 058 (P2-21): IOPort [ 1094.181936] hm2/hm2_5i24.0: IO Pin 059 (P2-23): IOPort [ 1094.181940] hm2/hm2_5i24.0: IO Pin 060 (P2-25): IOPort [ 1094.181943] hm2/hm2_5i24.0: IO Pin 061 (P2-27): IOPort [ 1094.181947] hm2/hm2_5i24.0: IO Pin 062 (P2-29): IOPort [ 1094.181950] hm2/hm2_5i24.0: IO Pin 063 (P2-31): IOPort [ 1094.181954] hm2/hm2_5i24.0: IO Pin 064 (P2-33): IOPort [ 1094.181957] hm2/hm2_5i24.0: IO Pin 065 (P2-35): IOPort [ 1094.181961] hm2/hm2_5i24.0: IO Pin 066 (P2-37): IOPort [ 1094.181964] hm2/hm2_5i24.0: IO Pin 067 (P2-39): IOPort [ 1094.181968] hm2/hm2_5i24.0: IO Pin 068 (P2-41): IOPort [ 1094.181971] hm2/hm2_5i24.0: IO Pin 069 (P2-43): IOPort [ 1094.181974] hm2/hm2_5i24.0: IO Pin 070 (P2-45): IOPort [ 1094.181978] hm2/hm2_5i24.0: IO Pin 071 (P2-47): IOPort [ 1094.182092] hm2/hm2_5i24.0: registered [ 1094.182096] hm2_5i24.0: initialized AnyIO board at 0000:01:07.0 [ 1101.137690] hm2_5i24.0: dropping AnyIO board at 0000:01:07.0 [ 1101.137702] hm2/hm2_5i24.0: unregistered [ 1101.137747] hm2_pci 0000:01:07.0: PCI INT A disabled [ 1101.139322] hm2_pci: driver unloaded [ 1101.145137] hm2: unloading [ 1103.443887] RTAI[math]: unloaded. [ 1103.543679] SCHED releases registered named ALIEN RTGLBH [ 1103.558098] RTAI[malloc]: unloaded. [ 1103.656026] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0). [ 1103.661945] I-pipe: Domain RTAI unregistered. [ 1103.661957] RTAI[hal]: unmounted. Viesturs ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users