EMC2 terminated with an error
19 Jul 2012 21:26 #22225
by Brett
EMC2 terminated with an error was created by Brett
Just got this error when LinuxCNC tried to open.
It did the same thing a couple of days ago, turned out to be it was trying to update,closed that and it was fine.
I'm only new to this so probably a real simple thing.
Cheers.
Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/lib/tcltk/emc2
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.5
EMC2 - 2.5.0-pre2-626-g402b6cd
Machine configuration directory is '/home/john/emc2/configs/Mazak'
Machine configuration file is 'Mazak.ini'
INIFILE=/home/john/emc2/configs/Mazak/Mazak.ini
PARAMETER_FILE=emc.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=halui
DISPLAY=axis
NML_FILE=
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Starting HAL User Interface program: halui
Shutting down and cleaning up EMC2...
Running HAL shutdown script
Killing task emcsvr, PID=1954
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/emc2/hm2_pci.ko': -1 Input/output error
Mazak.hal:9: exit value: 1
Mazak.hal:9: insmod failed, returned -1
See the output of 'dmesg' for more information.
1954
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 426.940536] I-pipe: Domain RTAI registered.
[ 426.940540] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 426.940542] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 426.940616] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 426.940617] PIPELINE layers:
[ 426.940619] f9d00e20 9ac15d93 RTAI 200
[ 426.940620] c085cb20 0 Linux 100
[ 426.952165] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 426.952347] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 426.952350] RTAI[sched]: hard timer type/freq = APIC/12555465(Hz); default timing: periodic; linear timed lists.
[ 426.952352] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3214517000 hz.
[ 426.952354] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 426.952396] RTAI[usi]: enabled.
[ 426.967259] RTAI[math]: loaded.
[ 427.018978] hm2: loading Mesa HostMot2 driver version 0.15
[ 427.020364] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 427.020383] hm2_pci: discovered 5i20 at 0000:04:07.0
[ 427.020420] hm2_5i20.0: firmware: requesting hm2/5i20/SVST8_4.BIT
[ 427.021690] hm2_5i20.0: FPGA did not reset: /INIT = 1, DONE = 1
[ 427.021701] hm2/hm2_5i20.0: failed to reset fpga, aborting hm2_register
[ 427.021703] hm2_5i20.0: board fails HM2 registration
[ 427.021711] hm2_pci: probe of 0000:04:07.0 failed with error -5
[ 427.185573] hm2: unloading
[ 427.205770] RTAI[math]: unloaded.
[ 427.212064] SCHED releases registered named ALIEN RTGLBH
[ 427.276617] RTAI[malloc]: unloaded.
[ 427.376016] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 427.377296] I-pipe: Domain RTAI unregistered.
[ 427.377376] RTAI[hal]: unmounted.
It did the same thing a couple of days ago, turned out to be it was trying to update,closed that and it was fine.
I'm only new to this so probably a real simple thing.
Cheers.
Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/lib/tcltk/emc2
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.5
EMC2 - 2.5.0-pre2-626-g402b6cd
Machine configuration directory is '/home/john/emc2/configs/Mazak'
Machine configuration file is 'Mazak.ini'
INIFILE=/home/john/emc2/configs/Mazak/Mazak.ini
PARAMETER_FILE=emc.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=halui
DISPLAY=axis
NML_FILE=
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Starting HAL User Interface program: halui
Shutting down and cleaning up EMC2...
Running HAL shutdown script
Killing task emcsvr, PID=1954
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/emc2/hm2_pci.ko': -1 Input/output error
Mazak.hal:9: exit value: 1
Mazak.hal:9: insmod failed, returned -1
See the output of 'dmesg' for more information.
1954
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 426.940536] I-pipe: Domain RTAI registered.
[ 426.940540] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 426.940542] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 426.940616] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 426.940617] PIPELINE layers:
[ 426.940619] f9d00e20 9ac15d93 RTAI 200
[ 426.940620] c085cb20 0 Linux 100
[ 426.952165] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 426.952347] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 426.952350] RTAI[sched]: hard timer type/freq = APIC/12555465(Hz); default timing: periodic; linear timed lists.
[ 426.952352] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3214517000 hz.
[ 426.952354] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 426.952396] RTAI[usi]: enabled.
[ 426.967259] RTAI[math]: loaded.
[ 427.018978] hm2: loading Mesa HostMot2 driver version 0.15
[ 427.020364] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 427.020383] hm2_pci: discovered 5i20 at 0000:04:07.0
[ 427.020420] hm2_5i20.0: firmware: requesting hm2/5i20/SVST8_4.BIT
[ 427.021690] hm2_5i20.0: FPGA did not reset: /INIT = 1, DONE = 1
[ 427.021701] hm2/hm2_5i20.0: failed to reset fpga, aborting hm2_register
[ 427.021703] hm2_5i20.0: board fails HM2 registration
[ 427.021711] hm2_pci: probe of 0000:04:07.0 failed with error -5
[ 427.185573] hm2: unloading
[ 427.205770] RTAI[math]: unloaded.
[ 427.212064] SCHED releases registered named ALIEN RTGLBH
[ 427.276617] RTAI[malloc]: unloaded.
[ 427.376016] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 427.377296] I-pipe: Domain RTAI unregistered.
[ 427.377376] RTAI[hal]: unmounted.
Please Log in or Create an account to join the conversation.
19 Jul 2012 21:31 #22227
by Brett
Replied by Brett on topic Re:EMC2 terminated with an error
Just tried it again and its working fine. No idea why.
Please Log in or Create an account to join the conversation.
19 Jul 2012 22:17 #22228
by BigJohnT
Replied by BigJohnT on topic Re:EMC2 terminated with an error
I'd try reseating the 5i20 in the slot and perhaps cleaning the PCI slot.
John
John
Please Log in or Create an account to join the conversation.
14 Jan 2016 22:26 #68409
by Tech
Replied by Tech on topic EMC2 terminated with an error
I'm having this problem now
Please Log in or Create an account to join the conversation.
14 Jan 2016 23:16 #68413
by andypugh
Replied by andypugh on topic EMC2 terminated with an error
Have you tried the same solutions?
Please Log in or Create an account to join the conversation.
14 Jan 2016 23:34 #68414
by Tech
Replied by Tech on topic EMC2 terminated with an error
In process of doing that now
Thank you for your reply
Thank you for your reply
Please Log in or Create an account to join the conversation.
Time to create page: 0.099 seconds