Startup error with EMC2
29 Apr 2011 14:02 #9504
by pbarrett
Startup error with EMC2 was created by pbarrett
Hi,
Let me first say that I am completely new to the world of Linux/Ubuntu, so please understand that I am unfamiliar with the terminology. My experience has always been with Windows programs, so moving over to a Linux program is a new experience.
Due to the raves reviews on EMC2, I recently downloaded the livecd version of Ubuntu/EMC2 and loaded it on to my computer. I went through the Stepcon wizard and setup my CNC Mill. I was able to operate my XYZ axis in Stepcon and do some motor tuning, so I know that I am communicating with my mill. When I finished Stepcon Wizard I re-booted my system and attempted to open EMC2 and I got the following message.....BTW I am running Ubuntu 10.04 LTS Lucid-Lynx...
Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
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.4.6
Machine configuration directory is '/home/pat/emc2/configs/PMB Mill'
Machine configuration file is 'PMB Mill.ini'
INIFILE=/home/pat/emc2/configs/PMB Mill/PMB Mill.ini
PARAMETER_FILE=emc.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
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
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=1416
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
Could not open command file 'PMB'
1416
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 41.393922] I-pipe: Domain RTAI registered.
[ 41.393936] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 41.393941] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 41.393953] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 41.393958] PIPELINE layers:
[ 41.393963] e4acbe20 9ac15d93 RTAI 200
[ 41.393968] c085cb20 0 Linux 100
[ 41.442544] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 41.442733] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 41.442743] RTAI[sched]: hard timer type/freq = APIC/6231030(Hz); default timing: periodic; linear timed lists.
[ 41.442749] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1993813000 hz.
[ 41.442754] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 41.442904] RTAI[usi]: enabled.
[ 41.589608] RTAI[math]: loaded.
[ 42.959019] RTAI[math]: unloaded.
[ 43.063188] SCHED releases registered named ALIEN RTGLBH
[ 43.077323] RTAI[malloc]: unloaded.
[ 43.176025] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 43.183203] I-pipe: Domain RTAI unregistered.
[ 43.183221] RTAI[hal]: unmounted.
Obviously I am doing something wrong, but what, I don't know. Can anyone point me in the right direction? I did run the update manager this morning so I believe that all files are current. I think it downloaded about 300 files and did the update.
My computer is a home built Intel P4, 2 .0 gig, 1 gig ram and I have disabled all the power management crap that usually runs in the background. I did this and it improved my latency numbers to around 22,000.
Any help or advice would be appreciated.
Pat
Let me first say that I am completely new to the world of Linux/Ubuntu, so please understand that I am unfamiliar with the terminology. My experience has always been with Windows programs, so moving over to a Linux program is a new experience.
Due to the raves reviews on EMC2, I recently downloaded the livecd version of Ubuntu/EMC2 and loaded it on to my computer. I went through the Stepcon wizard and setup my CNC Mill. I was able to operate my XYZ axis in Stepcon and do some motor tuning, so I know that I am communicating with my mill. When I finished Stepcon Wizard I re-booted my system and attempted to open EMC2 and I got the following message.....BTW I am running Ubuntu 10.04 LTS Lucid-Lynx...
Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
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.4.6
Machine configuration directory is '/home/pat/emc2/configs/PMB Mill'
Machine configuration file is 'PMB Mill.ini'
INIFILE=/home/pat/emc2/configs/PMB Mill/PMB Mill.ini
PARAMETER_FILE=emc.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
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
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=1416
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
Could not open command file 'PMB'
1416
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 41.393922] I-pipe: Domain RTAI registered.
[ 41.393936] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 41.393941] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 41.393953] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 41.393958] PIPELINE layers:
[ 41.393963] e4acbe20 9ac15d93 RTAI 200
[ 41.393968] c085cb20 0 Linux 100
[ 41.442544] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 41.442733] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 41.442743] RTAI[sched]: hard timer type/freq = APIC/6231030(Hz); default timing: periodic; linear timed lists.
[ 41.442749] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1993813000 hz.
[ 41.442754] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 41.442904] RTAI[usi]: enabled.
[ 41.589608] RTAI[math]: loaded.
[ 42.959019] RTAI[math]: unloaded.
[ 43.063188] SCHED releases registered named ALIEN RTGLBH
[ 43.077323] RTAI[malloc]: unloaded.
[ 43.176025] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 43.183203] I-pipe: Domain RTAI unregistered.
[ 43.183221] RTAI[hal]: unmounted.
Obviously I am doing something wrong, but what, I don't know. Can anyone point me in the right direction? I did run the update manager this morning so I believe that all files are current. I think it downloaded about 300 files and did the update.
My computer is a home built Intel P4, 2 .0 gig, 1 gig ram and I have disabled all the power management crap that usually runs in the background. I did this and it improved my latency numbers to around 22,000.
Any help or advice would be appreciated.
Pat
Please Log in or Create an account to join the conversation.
29 Apr 2011 14:07 #9505
by BigJohnT
Replied by BigJohnT on topic Re:Startup error with EMC2
You can't have a space in the configuration name even though the StepConf Wizard lets you. ![:S :S](/media/kunena/emoticons/dizzy.png)
John
![:S :S](/media/kunena/emoticons/dizzy.png)
John
Please Log in or Create an account to join the conversation.
29 Apr 2011 14:32 #9507
by pbarrett
Replied by pbarrett on topic Re:Startup error with EMC2
WOW, that was quick!!! Thank you BigJohnT. I spent the better part of yesterday afternoon and last evening trying to get EMC2 running, all on account of a SPACE. Well, it's going to be a learning experience. Thank you very much.
Pat
Pat
Please Log in or Create an account to join the conversation.
Time to create page: 0.076 seconds