[Emc-users] RTAPI: ERROR: failed to map shmem

2010-01-21 Thread Francois-Marie Lefevere
Hello, I am trying to setup emc on linux kernel 2.6.28.9 with rtai-3.7.1 I've tested RTAI with the /usr/realtime/testsuite/kern/latency/run script and it seems to work. I've compiled emc from the git repository. Running emc gives the following trace: EMC2 - 2.4.0~pre Machine configuration

Re: [Emc-users] hostmot2: Unknown symbol __fixunsdfdi

2010-01-21 Thread andrea buono
Hi sorry but I don't know howto format this: set -e; echo ' CC /home/andrea/emc2-dev/src/hm2_7i43.mod.o'; cc -Wp,-MD,/home/andrea/emc2-dev/src/.hm2_7i43.mod.o.d -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.4/include -Iinclude -I/usr/src/linux-2.6.32.2/arch/x86/include -include

Re: [Emc-users] RTAPI: ERROR: failed to map shmem

2010-01-21 Thread andrea buono
Hi, I have the same problem with halcmd: hal_init() failed: -22, but if I try to run emc from root it start, realy I don't know why. Hope help you. 2010/1/21 Francois-Marie Lefevere fmlefev...@gmail.com Hello, I am trying to setup emc on linux kernel 2.6.28.9 with rtai-3.7.1 I've tested

Re: [Emc-users] RTAPI: ERROR: failed to map shmem

2010-01-21 Thread Alex Joni
Check your memlock size http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Debian_Lenny_Compile_RTAI#Memlock_Size Regards, Alex - Original Message - From: andrea buono andrea.buon...@gmail.com To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Thursday, January 21,

Re: [Emc-users] Has anyone used the dial widget in pyvcp to jog an axis?

2010-01-21 Thread Andy Pugh
2010/1/21 Michael Jones ma...@michaelandholly.com: I was able to build a panel this afternoon that uses the widget, it works on screen, but how do I connect it (or other analog controls) to the HAL? I assume you mean the pvVCP Jogwheel control?

Re: [Emc-users] hostmot2: Unknown symbol __fixunsdfdi

2010-01-21 Thread Jeff Epler
That looks OK too. Like I said earlier, we rely on gcc doing a particular thing even though gcc doesn't absolutely guarantee it. It looks like gcc is doing something else on your system, though we've eliminated the causes I can think of offhand. Jeff

Re: [Emc-users] hostmot2: Unknown symbol __fixunsdfdi

2010-01-21 Thread Jeff Epler
--- I wonder how many sites in 7i43 require __fixunsdfdi. Perhaps a way forward is to simply remove them. Here's the only possibility that I found by inspection: src/hal/drivers/mesa-hostmot2/hm2_7i43.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [Emc-users] hostmot2: Unknown symbol __fixunsdfdi

2010-01-21 Thread Sebastian Kuzminsky
Jeff Epler wrote: diff --git a/src/hal/drivers/mesa-hostmot2/hm2_7i43.c b/src/hal/drivers/mesa-hostmot2/hm2_7i43.c index 9a513c6..63088ad 100644 --- a/src/hal/drivers/mesa-hostmot2/hm2_7i43.c +++ b/src/hal/drivers/mesa-hostmot2/hm2_7i43.c @@ -312,9 +312,9 @@ int

[Emc-users] HAL question

2010-01-21 Thread Chris Reynolds
I've been running emc2 now for about four or five months. Other than get it installed, set up my basic 3 axis machine, and run my nc files, I really haven't done much experimenting with emc2. As I venture more and more into the use of it I of course want to know more about it and it's

[Emc-users] jog does not stop!

2010-01-21 Thread Gilicze Andor
Hi, I search Thomas Kaiser! Sorry for offtopic, but i'd like some information about original controller. Could you tell me in a few words, how to start this engine? I've got one (faulty?), fixed some smaller problems, but don't know the right start methode. Please help me, if you can! If panel

Re: [Emc-users] Has anyone used the dial widget in pyvcp to jog an axis?

2010-01-21 Thread Michael Jones
Andy, Thanks for pointing me in the (hopefully) right direction. Ok.. Fiddling done.. You were VERY close to actual without having an EMC machine handy.. I'm impressed. When I get to starting up EMC, I get a message thatn axis.0.jog-enable has already been assigned. I'm assuming that

Re: [Emc-users] RTAPI: ERROR: failed to map shmem

2010-01-21 Thread Francois-Marie Lefevere
On Thu, Jan 21, 2010 at 1:29 AM, andrea buono andrea.buon...@gmail.com wrote: Hi, I have the same problem with halcmd: hal_init() failed: -22, but if I try to run emc from root it start, realy I don't know why. Hope help you. Thanks a lot, it works running as root. Stupid of me, I forgot to

Re: [Emc-users] RTAPI: ERROR: failed to map shmem

2010-01-21 Thread Stephen Wille Padnos
Francois-Marie Lefevere wrote: On Thu, Jan 21, 2010 at 1:29 AM, andrea buonoandrea.buon...@gmail.com wrote: Hi, I have the same problem with halcmd: hal_init() failed: -22, but if I try to run emc from root it start, realy I don't know why. Hope help you. Thanks a lot, it

Re: [Emc-users] jog does not stop!

2010-01-21 Thread Thomas Kaiser
I just sent you a mail off list! On 01/21/2010 07:22 PM, Gilicze Andor wrote: Hi, I search Thomas Kaiser! Sorry for offtopic, but i'd like some information about original controller. Could you tell me in a few words, how to start this engine? I've got one (faulty?), fixed some smaller

Re: [Emc-users] hostmot2: Unknown symbol __fixunsdfdi

2010-01-21 Thread andrea buono
Hi I think there is a little incident because the problem come with (like email object) hostmot2.ko module. I'm realy sorry but of course I think the way to eliminate the call of __fixunsdfdi is the right one. dmesg output: [ 96.350361] HAL_LIB: kernel lib installed successfully [ 96.460136]

Re: [Emc-users] hostmot2: Unknown symbol __fixunsdfdi

2010-01-21 Thread Jeff Epler
OK, well, I'm out of guesses. I'm sorry I couldn't help. Jeff -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference

[Emc-users] Angle offsets

2010-01-21 Thread Christopher Purcell
From what I have read in the documentation, the G5x commands provide X,Y,Z offsets, but not angular offsets. I would like to apply small angle offsets to the G-Code for a part, mounted on a 3 axis mill, to accommodate a fixture that is tilted in some random way. What is the nicest way to do

Re: [Emc-users] Angle offsets

2010-01-21 Thread Gene Heskett
On Thursday 21 January 2010, Christopher Purcell wrote: From what I have read in the documentation, the G5x commands provide X,Y,Z offsets, but not angular offsets. I would like to apply small angle offsets to the G-Code for a part, mounted on a 3 axis mill, to accommodate a fixture that is