Making Sense of The C6 Code

More
06 Apr 2011 02:54 - 06 Apr 2011 02:56 #8628 by 6v53
Replied by 6v53 on topic Re:Making Sense of The C6 Code
I load ubuntu, but the computer immediately gives me errors when the home screen appears that it cannot load various gnome components like the trash and the screen switcher.

it takes forever to then load EMC and will only do it from terminal.

It then spits out this when I try to load Mill


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/john/emc2/configs/Mill'
Machine configuration file is 'Mill.ini'
INIFILE=/home/john/emc2/configs/Mill/Mill.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...
Killing task emcsvr, PID=2128
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/stepgen.ko': -1 Unknown symbol in module
Mill.hal:9: exit value: 1
Mill.hal:9: insmod failed, returned -1
See the output of 'dmesg' for more information.
2128
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 821.153801] I-pipe: Domain RTAI registered.
[ 821.153818] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 821.153822] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 821.153839] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 821.153842] PIPELINE layers:
[ 821.153846] fa3f6e20 9ac15d93 RTAI 200
[ 821.153849] c085cb20 0 Linux 100
[ 821.215414] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 821.220124] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 821.220132] RTAI[sched]: hard timer type/freq = APIC/6306765(Hz); default timing: periodic; linear timed lists.
[ 821.220136] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2623430000 hz.
[ 821.220140] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 821.221995] RTAI[usi]: enabled.
[ 821.385527] RTAI[math]: loaded.
[ 821.665556] config string '0x378 out 0xc400 in '
[ 821.677286] stepgen: Unknown parameter `loadrt'
[ 822.608093] RTAI[math]: unloaded.
[ 822.736064] SCHED releases registered named ALIEN RTGLBH
[ 822.752363] RTAI[malloc]: unloaded.
[ 822.852022] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 822.864124] I-pipe: Domain RTAI unregistered.
[ 822.864139] RTAI[hal]: unmounted.
Last edit: 06 Apr 2011 02:56 by 6v53.

Please Log in or Create an account to join the conversation.

More
06 Apr 2011 07:54 #8630 by cncbasher
could you post your configuration hal file as an attachment ,
the error is in the loadrt lines at a guess , but also could be some word wrap problem also
it's easier to load the file , than to copy and paste and introduce errors etc .

is your installation up to date using update manager etc
you need to have ubunto stable before running emc , it could be an update was being performed early on giving you the problem

Dave

Please Log in or Create an account to join the conversation.

More
06 Apr 2011 09:25 #8632 by andypugh
6v53 wrote:

[ 821.677286] stepgen: Unknown parameter `loadrt'
[ 822.608093] RTAI[math]: unloaded.


You have a line-wrap problem still, there is a "loadrt abs" on the end of your "loadrt stepgen" line..

Please Log in or Create an account to join the conversation.

More
06 Apr 2011 11:38 #8638 by BigJohnT
Did you use a word processor to edit your config instead of a text editor?

John

Please Log in or Create an account to join the conversation.

More
09 Apr 2011 16:47 #8724 by 6v53
Replied by 6v53 on topic Re:Making Sense of The C6 Code
Yes I did,

I have purchased a router online and I am going to wait until I have the machine networked so I can post unaltered hal files to the boards.

Probably mid next week.

John

Please Log in or Create an account to join the conversation.

More
09 Apr 2011 22:14 #8726 by BigJohnT
If your using winblows you can use notepad++ to edit files.

John

Please Log in or Create an account to join the conversation.

More
09 Apr 2011 23:54 #8728 by 6v53
Replied by 6v53 on topic Re:Making Sense of The C6 Code
Yes, unfortunately...

But I will be using my linux box from now on to edit the code.

Just as soon as the fleabay router comes in.

Please Log in or Create an account to join the conversation.

More
10 Apr 2011 09:40 #8731 by Mike_Eitel
THX John

for your notepad++ hint.
I was looking around for a better editor than notepad..
I like your choice.
I'm also used to edit the emc2 files via network and my main (windows ) PC.

Mike

P.S.
The only small thing im missing is a BASIC filter, as I do some BASCOM coding for AVR's...

Please Log in or Create an account to join the conversation.

More
28 Apr 2011 02:23 #9438 by 6v53
Replied by 6v53 on topic Re:Making Sense of The C6 Code
ok,

I have the router and wireless adapter installed finally.
It's my last week in college so the pressure is severe right now.
I am currently simulating a 2.3 million character program in X5 while re-installing 10.04 on the mill box so the wireless will work properly.

As soon as the system is updated and stable I will start on the code again.

But at least I got one thing out of the way while I was gone, I got my dream job offer and am now working for a company that has all the cool toys. I'm in a Mazak Intergrex cell working with 9 of the Intergrex 200-IV ST 9 axis mill turns , 2 of the new Matsuura Cubelex 3500s, and the NEW "only one in the USA" Mori Seiki NMV 3000.

Makes the Campro's I use now look like a hammer and chisel!

Please Log in or Create an account to join the conversation.

More
28 Apr 2011 10:46 #9448 by andypugh
Good luck with the new job.

It would be interesting to hear how the controllers on the pro machines compare to EMC2.

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds
Powered by Kunena Forum