Re: [Emc-developers] EMC2-stable crashes system (reproducible)

2009-02-27 Thread Jeff Epler
On Fri, Feb 27, 2009 at 09:42:25PM +0100, Michael Buesch wrote: > Does emc use stuff like inline assembly or other special stuff > inside of the kernel? A bit, but not much. rtapi_bitops.h and rtapi_math_i386.h have inline asm, but I think the first just delegates to in kernelspace[1] and the se

Re: [Emc-developers] EMC2-stable crashes system (reproducible)

2009-02-27 Thread Chris Radek
On Fri, Feb 27, 2009 at 09:42:25PM +0100, Michael Buesch wrote: > > Yes this is related to miscompilation. > Doing "export CC=gcc-3.4" before ./configure resolves the issue. > It does not crash anymore. Yay > Does emc use stuff like inline assembly or other special stuff > inside of the kernel

Re: [Emc-developers] EMC2-stable crashes system (reproducible)

2009-02-27 Thread Michael Buesch
On Friday 27 February 2009 21:29:42 Michael Buesch wrote: > Invalid opcode looks interesting. Compiler bug? > I'll try an older compiler... Yes this is related to miscompilation. Doing "export CC=gcc-3.4" before ./configure resolves the issue. It does not crash anymore. So the Debian Lenny GCC

Re: [Emc-developers] EMC2-stable crashes system (reproducible)

2009-02-27 Thread Michael Buesch
On Friday 27 February 2009 21:08:02 Michael Buesch wrote: > On Friday 27 February 2009 20:56:52 Michael Buesch wrote: > > On Friday 27 February 2009 20:33:24 Chris Radek wrote: > > > On Fri, Feb 27, 2009 at 06:41:42PM +0100, Michael Buesch wrote: > > > > It always crashes a few microns before we re

Re: [Emc-developers] EMC2-stable crashes system (reproducible)

2009-02-27 Thread Michael Buesch
On Friday 27 February 2009 20:56:52 Michael Buesch wrote: > On Friday 27 February 2009 20:33:24 Chris Radek wrote: > > On Fri, Feb 27, 2009 at 06:41:42PM +0100, Michael Buesch wrote: > > > It always crashes a few microns before we reach the destination in Z. > > > I think this might have something

Re: [Emc-developers] EMC2-stable crashes system (reproducible)

2009-02-27 Thread Michael Buesch
On Friday 27 February 2009 20:33:24 Chris Radek wrote: > On Fri, Feb 27, 2009 at 06:41:42PM +0100, Michael Buesch wrote: > > It always crashes a few microns before we reach the destination in Z. > > I think this might have something to do with the backlash compensation. > > When it crashes what ar

Re: [Emc-developers] EMC2-stable crashes system (reproducible)

2009-02-27 Thread Michael Buesch
On Friday 27 February 2009 18:41:42 Michael Buesch wrote: > Hi, > > The following NC program reproducibly crashes my AMD64 machine running EMC2.2 > stable branch > as of last week (I don't remember the exact date). > It's either some kernel crash or a RTAI lockup. Ok, I did more tests. I instal

Re: [Emc-developers] EMC2-stable crashes system (reproducible)

2009-02-27 Thread Chris Radek
On Fri, Feb 27, 2009 at 06:41:42PM +0100, Michael Buesch wrote: > It always crashes a few microns before we reach the destination in Z. > I think this might have something to do with the backlash compensation. When it crashes what are the symptoms? can you move windows? move the mouse pointer?

[Emc-developers] EMC2-stable crashes system (reproducible)

2009-02-27 Thread Michael Buesch
Hi, The following NC program reproducibly crashes my AMD64 machine running EMC2.2 stable branch as of last week (I don't remember the exact date). It's either some kernel crash or a RTAI lockup. % G17 G40 G49 G80 G90 G94 G61 G21 G54 G0 X0 Y0 Z30 G0 Z1 G1 Z-0.5F