Re: [Emc-developers] Building an smp rtai kernel 2.0

2009-01-30 Thread Mario.
> You're slowly seeing where the issues are. It's not that it's hard to > compile a kernel.. It's just a frustrating process to figure it out in the > beginning, then do it 4-5 times till it eventually is right. (not to mention > trying to build one that runs on all machines..). > > Regards, > Alex

Re: [Emc-developers] Inkscape, biarcs, and G-code!

2009-01-30 Thread Johnny Stenback
Mario. wrote: > Does it work as as an export pluging for gcode, right? Right now it still works as an "effect" (as Jeffs original extension did), i.e. you have to select what you want to generate G-code for and then run the gcode effect on that selection. But eventually I think it makes more se

Re: [Emc-developers] Building an smp rtai kernel 2.0

2009-01-30 Thread Alex Joni
> Hi all, > > Thanks for the help so far on building an smp kernel. I think I understand > the basic process of building a kernel, selecting the features I want in > the > kernel, and building a kernel with the rtai extensions. I am still a bit > lost however on the exact versions of kernel and rt

Re: [Emc-developers] Building an smp rtai kernel 2.0

2009-01-30 Thread Mario.
Magma is a codename of certain RTAI development branch... https://www.rtai.org/index.php?&MMN_position=1:1 there were names like Vesuvio, Kilauea and such... they simply specify a code branch much like when we talk about 2.4 and 2.6 kernels. On Fri, Jan 30, 2009 at 11:33 PM, Eric H. Johnson wrot

Re: [Emc-developers] Inkscape, biarcs, and G-code!

2009-01-30 Thread Mario.
Does it work as as an export pluging for gcode, right? Z-axis? so, it can use a real paintbrush or engrave illustrations with varying tool depth depending on line width? On Fri, Jan 30, 2009 at 10:09 PM, Johnny Stenback wrote: > Hello all, > > I just wanted to share one of my recent late-night h

[Emc-developers] Building an smp rtai kernel 2.0

2009-01-30 Thread Eric H. Johnson
Hi all, Thanks for the help so far on building an smp kernel. I think I understand the basic process of building a kernel, selecting the features I want in the kernel, and building a kernel with the rtai extensions. I am still a bit lost however on the exact versions of kernel and rtai code to use

[Emc-developers] Inkscape, biarcs, and G-code!

2009-01-30 Thread Johnny Stenback
Hello all, I just wanted to share one of my recent late-night hacking outcomes. I recently started looking into G-code generation of various kinds, and I stumbled across Inkscape and Jeff Epler's gcode extension, and his work on biarcs. I started playing around and eventually got the extension

Re: [Emc-developers] Building a core2 / SMP rtai kernel

2009-01-30 Thread Mario.
make.conf perharps in /etc/? I don'r temembere and I can't look and "prescott" is P4, the same P4 where the hyperthreading was invented, the same ISA is in the Atom. And the other Atomium is in Belgium. On Fri, Jan 30, 2009 at 6:07 PM, Eric H. Johnson wrote: > Mario, > >>> You should use > 32 bit

Re: [Emc-developers] Building a core2 / SMP rtai kernel

2009-01-30 Thread Eric H. Johnson
Alex, What it says is this: "For non-SMP systems, disable symmetric multi-processing support: Processor type and features ---> Symmetric multi-processing support ---> disabled" So I do the reverse because it is an smp system. At least that is how I read it. Regards, Eric Those instructions ar

Re: [Emc-developers] Building a core2 / SMP rtai kernel

2009-01-30 Thread Alex Joni
> I believe I have those settings correct. I used the instructions here with > the settings selected through make menuconfig: > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Debian_Lenny_Compile_RTAI Those instructions are not for SMP, they specifically disable SMP support. Regards, Alex ---

Re: [Emc-developers] Building a core2 / SMP rtai kernel

2009-01-30 Thread Eric H. Johnson
Mario, >> You should use 32 bit profile (x86): CHOST="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j5" That is P4... you also may consider turning the hyperthreading OFF on BIOS, it may, or it may not make a change. << Are you saying

Re: [Emc-developers] Building a core2 / SMP rtai kernel

2009-01-30 Thread Eric H. Johnson
Steve, >> One performance note: you should probably disable hyperthreading on this CPU. I think the latest benchmark I read (probably not for this exact CPU) said that power usage was higher and performance was lower with HT enabled. This is probably a BIOS thing, and there may be a kernel optio

Re: [Emc-developers] Building a core2 / SMP rtai kernel

2009-01-30 Thread Eric H. Johnson
Alex, I did a pastebin of dmesg following boot of the kernel where I selected 586/K5/5x86/6x86/6x86MX for the processor family: http://pastebin.com/m6763cacd It clearly seems to detect only one processor. The regular debian kernel correctly detects 4 processors. I am not sure what you mean by tr

Re: [Emc-developers] Building a core2 / SMP rtai kernel

2009-01-30 Thread Stephen Wille Padnos
Eric H. Johnson wrote: >John, > >You are correct, SMP support is right above the selection for processor >family and was enabled for all three kernels. Under the Debian Lenny stock >kernel the same board shows 4 processors and 2 CPU Cores. > > One performance note: you should probably disable h

Re: [Emc-developers] Building a core2 / SMP rtai kernel

2009-01-30 Thread Eric H. Johnson
John, You are correct, SMP support is right above the selection for processor family and was enabled for all three kernels. Under the Debian Lenny stock kernel the same board shows 4 processors and 2 CPU Cores. Likewise the standard rtai kernel used by EMC and the three kernels I built all show a

Re: [Emc-developers] Building a core2 / SMP rtai kernel

2009-01-30 Thread Mario.
You should use 32 bit profile (x86): CHOST="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j5" That is P4... you also may consider turning the hyperthreading OFF on BIOS, it may, or it may not make a change. I heard you need magma-smp

Re: [Emc-developers] Building a core2 / SMP rtai kernel

2009-01-30 Thread Alex Joni
It would be interesting to see the first few lines from dmesg on one of the kernels. Does it detect it correctly? Try a regular debian smp kernel (not sure what the package name is .. probably something like linux-image-*-smp or so). Regards, Alex - Original Message - From: "Eric H. Jo

Re: [Emc-developers] Building a core2 / SMP rtai kernel

2009-01-30 Thread John Kasunich
Eric H. Johnson wrote: > Mario, > > Ok, I added a hard drive, installed Debian Lenny and was able to follow the > instructions here: > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Debian_Lenny_Compile_RTAI > > I built three kernels, using processor family selections of > 586/K5/5x86/6x86/6x86mx, e

Re: [Emc-developers] Building a core2 / SMP rtai kernel

2009-01-30 Thread Eric H. Johnson
Mario, Ok, I added a hard drive, installed Debian Lenny and was able to follow the instructions here: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Debian_Lenny_Compile_RTAI I built three kernels, using processor family selections of 586/K5/5x86/6x86/6x86mx, even though the instructions said it was