I went to use the CNC today and LinuxCNC would not load. I am not sure what could have changed. I tried to run pncconf to let it 'refresh' the configuration and found that I could not test the axis, HAL would not function.
I have been allowing Update Manager to do it's thing. The last time I ran LinuxCNC was June 2. I have changed monitors (not graphics card) so I did the installing software based Open-GL drivers with sudo apt-get install libgl1-mesa-swx11. I tried reseating the Mesa card.
I don't know how to proceed.
Here is the error when I start LinuxCNC.
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.0
Machine configuration directory is '/home/stan/linuxcnc/configs/Sweet_Mesa'
Machine configuration file is 'Sweet_Mesa.ini'
INIFILE=/home/stan/linuxcnc/configs/Sweet_Mesa/Sweet_Mesa.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
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Killing task linuxcncsvr, PID=1319
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
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hm2_pci.ko': -1 Invalid parameters
Sweet_Mesa.hal:9: exit value: 1
Sweet_Mesa.hal:9: insmod failed, returned -1
See the output of 'dmesg' for more information.
1319
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 468.501310] I-pipe: Domain RTAI registered.
[ 468.501320] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 468.501324] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 468.501334] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 468.501337] PIPELINE layers:
[ 468.501341] fae29e20 9ac15d93 RTAI 200
[ 468.501345] c085cb20 0 Linux 100
[ 468.551595] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 468.551729] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 468.551738] RTAI[sched]: hard timer type/freq = APIC/12468720(Hz); default timing: periodic; linear timed lists.
[ 468.551743] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2393706000 hz.
[ 468.551746] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 468.551841] RTAI[usi]: enabled.
[ 468.663502] RTAI[math]: loaded.
[ 468.864758] hm2: loading Mesa HostMot2 driver version 0.15
[ 468.870306] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 468.870350] hm2_pci 0000:02:01.0: enabling device (0000 -> 0002)
[ 468.870361] alloc irq_desc for 22 on node -1
[ 468.870365] alloc kstat_irqs on node -1
[ 468.870374] hm2_pci 0000:02:01.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 468.870379] hm2_pci: discovered 5i25 at 0000:02:01.0
[ 468.870505] hm2/hm2_5i25.0: invalid cookie, got 0xFFFFFFFF, expected 0x55AACAFE
[ 468.870511] hm2/hm2_5i25.0: FPGA failed to initialize, or unexpected firmware?
[ 468.870516] hm2_5i25.0: board fails HM2 registration
[ 468.870528] hm2_pci 0000:02:01.0: PCI INT A disabled
[ 468.870537] hm2_pci: probe of 0000:02:01.0 failed with error -22
[ 469.403150] hm2: unloading
[ 469.523474] RTAI[math]: unloaded.
[ 469.585612] SCHED releases registered named ALIEN RTGLBH
[ 469.600309] RTAI[malloc]: unloaded.
[ 469.700021] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 469.704392] I-pipe: Domain RTAI unregistered.
[ 469.704405] RTAI[hal]: unmounted. This attachment is hidden for guests. Please log in or register to see it.