#emc-devel | Logs for 2006-10-10

[15:56:37] <jepler> I wonder if it's worth building rtapi directly on top of adeos, to get rid of the need for rtai
[15:59:08] <SWPadnos> an adeos_rtapi or even better (maybe) xen_rtapi would be cool to have
[15:59:53] <jepler> does xen offer realtime?
[16:00:01] <SWPadnos> probably not
[16:00:33] <SWPadnos> though it may allow for RT in a different domain from the non-RT stuff, with the partitioning at a lower level than adeos/IPIPE
[16:00:59] <jepler> cradek: did you see the recent messages on the rtai list that someone found that he could get SMP booting by disabling something called "MSI" in the kernel configuration? (I don't know what MSI is..)
[16:01:26] <cradek> yes!
[16:01:29] <cradek> I will try it
[16:02:20] <jepler> do you know what MSI is?
[16:02:24] <cradek> no
[16:03:01] <cradek> /boot/config-2.6.12-9-386:# CONFIG_PCI_MSI is not set
[16:03:21] <cradek> that's not in 12-magma at all, hmm
[16:05:31] <SWPadnos> heh - from Andrew Morton: "CONFIG_MSI=y is probably broken - try disabling it before reporting interrupt-related oopses. Then please report it whether or not that fixed it."
[16:06:24] <cradek> I wish Paolo would post his working config instead of just saying "works for me" whenever someone says their machine crashes.
[16:06:48] <SWPadnos> just ssh into his box and copy /boot/config ;)
[16:06:55] <cradek> I know he uses SMP but several people say it just crashes (which is my experience too)
[16:08:05] <cradek> I have read (scanned) the new user guide thing for kernel config hints...
[16:08:50] <SWPadnos> hah - "Message Signaled Interrupts" : http://lxr.linux.no/source/drivers/pci/Kconfig?v=2.6.18
[16:09:12] <SWPadnos> the option does exist in 2.6.11 as well
[16:09:37] <SWPadnos> there's nothing on lxr.linux.no between 2.6.11 and
[21:15:00] <alex_joni> hi all
[21:16:37] <anonimasu> hi
[21:24:08] <A-L-P-H-A> I would like to build emc2, but without the RT linux kernel on my workstation, not my shop maching. All I require is the simulation. Could someone tell me how would I go about this?
[21:25:08] <alex_joni> A-L-P-H-A: get the latest emc2 CVS (check the wiki), and ./configure --enable-run-in-place --enable-simulator
[21:25:14] <alex_joni> after that "make"
[21:25:41] <A-L-P-H-A> alex_joni, that's it?
[21:26:24] <alex_joni> A-L-P-H-A: yes
[21:26:31] <A-L-P-H-A> sweet
[21:34:26] <A-L-P-H-A> alex_joni, I just did an "cvs -z 5...... emc2" and there's no confiure file to run under ./emc2
[21:34:54] <A-L-P-H-A> nm
[21:34:58] <A-L-P-H-A> hahaha ./emc2/src
[21:36:41] <jepler> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC2_Pure_Simulator
[21:38:10] <A-L-P-H-A> I think it was looking for some sort of tk lib.
[21:38:28] <A-L-P-H-A> well... emc2 was ... don't know about the pure sim.
[21:38:31] <A-L-P-H-A> check that now
[21:40:22] <jepler> A-L-P-H-A: you mean during the configure process? Yeah there are build requirements you need to install, they're more or less the same as for the real thing
[21:40:37] <A-L-P-H-A> how do I get that?
[21:40:53] <jepler> what kind of system are you on?
[21:40:57] <A-L-P-H-A> ubuntu
[21:40:57] <jepler> debian/ubuntu?
[21:41:01] <A-L-P-H-A> dapper drake
[21:41:19] <jepler> look at the file debian/control -- it has lists of packages for Depends and Build-Depends
[21:41:33] <jepler> that will help you find the right packages to install with synaptic or apt
[21:43:08] <jepler> build-essential tk8.4-dev tcl8.4-dev python2.4-dev yapps2 libreadline5-dev bwidget
[21:44:12] <A-L-P-H-A> yeah... just installing them now.
[21:44:23] <jepler> it may be a lot of packages if you're not already set up to build software on that machine
[21:52:33] <A-L-P-H-A> compiling now... I didn't have tk8.4-dev... just tk8.4-common or something to that effect.
[21:52:36] <A-L-P-H-A> jepler, thanks
[21:54:24] <A-L-P-H-A> axis dies on compiling
[21:54:52] <A-L-P-H-A> claims missing files, and undeclared functions/variables.
[21:57:31] <jepler> pastebin?
[21:58:14] <jepler> maybe I missed suggesting: libglu1-mesa-dev
[22:05:55] <A-L-P-H-A> sorry, I went to grab a snack
[22:06:02] <A-L-P-H-A> http://pastebin.ca/196817
[22:07:34] <A-L-P-H-A> mirc keeps crashing.
[22:07:40] <A-L-P-H-A> silly wine->mirc combo
[22:08:47] <jepler> yep looks like libglu1-mesa-dev is the (next) problem
[22:09:05] <A-L-P-H-A> what was that module again?
[22:09:16] <A-L-P-H-A> sudo apt-get install ...?
[22:09:42] <A-L-P-H-A> logger_devel: bookmark
[22:09:42] <A-L-P-H-A> I'm feeling lazy .. but here's the log anyways:
[22:11:30] <jepler> libglu1-mesa-dev
[22:12:56] <A-L-P-H-A> now I'm confused sa to how to run this... I did all this now without errors. http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC2_Pure_Simulator
[22:13:14] <A-L-P-H-A> can't find an emc2 binary anywhere
[22:13:43] <A-L-P-H-A> nm
[22:13:50] <A-L-P-H-A> ./emc2-puresim/scripts/emc2
[22:15:02] <A-L-P-H-A> err
[22:15:53] <A-L-P-H-A> I'm lost
[22:16:34] <jepler> it's called scripts/emc
[22:16:36] <jepler> even though it's emc2
[22:17:05] <jepler> if that file's not there, then the compile didn't really succeed
[22:17:51] <A-L-P-H-A> I got that far...
[22:18:16] <A-L-P-H-A> but emc crashes when I select axis-puresim... let me double check
[22:18:19] <jepler> from the top directory of emc2-puresim you would run: scripts/emc2 configs/sim/axis
[22:18:23] <jepler> er
[22:18:25] <jepler> from the top directory of emc2-puresim you would run: scripts/emc2 configs/sim/axis.ini
[22:18:56] <A-L-P-H-A> okay
[22:19:02] <A-L-P-H-A> I picked the wrong config file.
[22:19:08] <A-L-P-H-A> hence the nasty hiccup.
[22:19:52] <jepler> did it start this time?
[22:19:58] <A-L-P-H-A> omg, who defined the torture test?
[22:20:02] <A-L-P-H-A> jepler: yes.
[22:20:11] <A-L-P-H-A> it's a bunch of 3d scribbles.
[22:21:04] <jepler> load 3D_Chips if you want something a little more pleasing
[22:21:37] <A-L-P-H-A> this is odd... maybe it's designed to do so...
[22:21:42] <A-L-P-H-A> but I stopped the script...
[22:21:46] <A-L-P-H-A> but I can't open a new file or anything
[22:22:00] <jepler> the program scripts/torture.py made that.. at the time we wanted to make sure emc2 always followed the velocity and acceleration limits, especially on weird curvy shapes
[22:22:04] <jepler> what do you mean you stopped it? ctrl-z?
[22:23:33] <A-L-P-H-A> when I was in torture test...
[22:23:51] <A-L-P-H-A> I stopped it somehow, but the open menu didn't work... nothing worked, only exiting the program.
[22:24:11] <jepler> did you hit 'p' to pause it? You can't load a program while it's paused
[22:24:52] <A-L-P-H-A> no, the only active button at the time was the red X (far left)
[22:25:04] <A-L-P-H-A> and only responsive to me killing the app...
[22:25:58] <jepler> if you can repeat that I'd love to know how
[22:26:31] <A-L-P-H-A> I'm trying to repeat it now
[22:28:05] <A-L-P-H-A> oh neat! I can select the desired tool path in the window.
[22:28:11] <A-L-P-H-A> I can't reproduce it now
[22:28:21] <A-L-P-H-A> maybe it was a figment of my imagination...
[22:28:30] <jepler> yeah -- you can click on part of the path and see the corresponding line of code, or vice versa
[23:05:39] <A-L-P-H-A> jepler: what other new features are there in axis?
[23:27:19] <jepler> A-L-P-H-A: I'm not sure what's particularly new, but you might benefit from reading the documentation: http://linuxcnc.org/docs/html/gui/axis/index.html
[23:27:37] <A-L-P-H-A> checking
[23:30:14] <jmkasunich> * jmkasunich is back
[23:30:38] <jepler> hi jmk!
[23:30:42] <jmkasunich> hi
[23:30:56] <jmkasunich> I discovered that southern Ohio is "the South"
[23:31:11] <jmkasunich> they speak with drawls and serve sweet tea at restaruants
[23:32:25] <jepler> I'm glad you escaped alive
[23:34:35] <jmkasunich> its not Deliverance south
[23:39:41] <jepler> A-L-P-H-A: I think that the other day I mentioned the ability to automatically run a .php file and load the resulting output as g-code .. that is in the version of axis you're using now
[23:39:55] <A-L-P-H-A> wicked!
[23:40:10] <A-L-P-H-A> well... albeit I'm running if locally on my workstation now my emc machine
[23:40:12] <jepler> you would add something like this to your .ini file:
[23:40:12] <jepler> [FILTER]
[23:40:13] <jepler> PROGRAM_EXTENSION = .php PHP Source Code
[23:40:13] <jepler> .php = php
[23:40:27] <A-L-P-H-A> what do you use guys use for CAD?
[23:40:32] <A-L-P-H-A> CAD/CAM?
[23:41:47] <jepler> mostly what I do with CNC is circuit boards, and not a lot of that. I have some code in the eagle scripting language for that
[23:42:03] <A-L-P-H-A> cool.
[23:42:18] <A-L-P-H-A> I did write a script to change excellon drill files to gcode
[23:42:35] <A-L-P-H-A> but subsequently lost it in one of my many HD formats.
[23:59:23] <jepler> alex_joni: cradek: sometime when we're all around I want to talk about the packaging changes I've done in the improved-dpkg branch, which exists in the debian/ subdirectory only
[23:59:30] <jepler> I think it's about ready...