jepler: The Mesa LED patch: It is exactly as Andy described. I tried out his patch and the pins appear and work as he described. I think those LEDs could be quite useful for diagnostics and error messaging.
mozmck: how's it going? what's the latest news?
Hey cradek: haven't had time to do much again! I compiled with the latest patch and rtai 3.8.1, and still have intermittent boot problems.
they seem convinced it's grub doing it - sounds so bizarre.
I saw that, but I'm not sure how downgrading grub will work on 10.04
I may try that though.
yeah, possibly badly
When it boots though it seems to work great!
that sounds very close...
Compared latency on one machine with 8.04 (dual booted on same machine), and it was very close.
Even though my 10.04 kernel is compiled for SMP.
10.04 was a little worse though.
with isolcpus it's probably a lot better
at least that's how my dual p3 works
I'm using the CONFIG_PREEMPT instead of the normal desktop setting, but I don't know if this hurts or helps.
yes, but this machine was single core.
oh I see
I haven't upgraded my dual-core machine yet. It's still on 9.10
mine's dapper I think... :-/
I'm tempted by the 6-core chips to build a faster kernel builder!
I bet mine is the oldest type of smp machine you'll find people wanting to use - I'll be sure to test on it.
hmm, I think I still have a working smp P2 machine, too
You can see in my notes on the wiki the changes I make from the ubuntu generic config.
not much. there may be some other settings I should make that I haven't found yet for performance...
Is there a way I could get access to put my packages up somewhere directly? SWPadnos has done it before, but if I had a spot I wouldn't have to bother someone.
Then other folks could start testing them...
you will need to ask SWPadnos
this did not help? https://mail.rtai.org/pipermail/rtai/2010-April/022931.html
nope. was worse on one computer.
mozmck: what would it cost to update you to a fast build machine? I would be able to help a bit. Maybe others would too?
when I did the breezy build each try ran pretty much overnight - it was so frustrating - I went and bought a new motherboard/processor/ram then.
ooh, that would be neat, but I'd almost hate to do that! I think the stuff I was looking at would be about $600 or so. That's for the 3.2 gz 6-core ($300) and a motherboard to handle it and ram and etc.
A quad core may do as well though and would be cheaper.
That's what I've done several times now (compiled overnight) but I use that same machine for writing firmware and that compiler has to run in windows (blech!) I been real busy trying to get some firmware finished and debugged so haven't had the time to reboot and have the machine compiling as much.
$600 is a lot for one person but not much for 10. I'll send $60 if it would help.
(wish I could do more - I'm not feeling very rich right now with cnc workshop coming up)
That would certainly help. I might have some more junk you could use too.
I know the feeling. I won't be able to make the workshop for time as much as money.
oh you aren't coming? darnit.
no, I would like to though. If there's another one in wichita later I could probably make that though ;)
yes that is definitely tempting. stuart has a dozen projects he'd love to have us all help on...
I better get to bed. Lots to do tomorrow. goodnight.
ries_ is now known as ries
grumble, andy's patch doesn't apply for me with 'git am' or 'git apply'.
I guess it does with 'patch -p1 <' but that's just barbaric
that's what you get with diff-u
it *looks* like a git patch, with a/ and b/ prefixes
OK, I've mostly got the whitespace problems sorted out
SWPadnos: Couple questions about NML if you don't mind...
sure, but I probably can't answer them (if you don't mind :) )
this should have an NML reference: http://www.linuxcnc.org/docs/EMC2_Developer_Manual.pdf
according to the page it's linked from on linuxcnc.org
Np.. Ill take a RTFM.. If i directly communicate using NML I assume you have to link to the souce lib, is it portable across platforms?
it uses shared memory and/or sockets (and also optionally serial, but I don't know if that ever materialized)
k.... I'll start source reading to see how it's used + that manual...
I don't know if they just use POSIX or something for the shared memory code, or if there are platform-specific headers or something else
ok. sorry I can't be of much more specific help, it's been a few years since I looked at it
Np... more than helpful... I wrote a realtime controller using RTAI, then found EMC (And love it...) but it biggest project I've started digging into..
and don't worry if it's confusing finding things - I still don't know where in the source to look :)
Yeah... the realtime/user code really adds a lot of overhead to browse through.
don't even try to trace how a line of G-code actually gets parsed and eventually turned into some motion :)
gotta run, looks like it's time for breakfast
cliffb: I would be interested in helping on your project if it will be open source. I've sorta started something like it using FLTK but haven't had time to get very far.
Yeah I definatly will give it out open source.. I havn't got all that far either. If you know Qt and want to help by all means I could use a hand.
Don't know Qt yet, but I can learn it.
Is FLTK a gui designer for the TK toolkit? How far along did you get... would it be better to focus on that?
no, FLTK stand for "Fast Light Tool Kit" and it has a designer with it. C++ and small, it's normally statically linked.
I mostly was working on the overall object structure and writing shell classes so far. My plan was to make a custom designer as that looked like it would be easier than just modifying an existing one.
wtf -- "git pull --dry-run" just modified my working tree
and created a commit
cliffb: rcslib is multi-platform
emc1 used that, and it's still available
emc2 uses libnml a small subset of rcslib which drops some unused parts, including multi-platform support
but rcslib and libnml can still communicate together
so you could write a program linked to rcslib and have it talk to emc2 over NML
alex_joni: can you use the rcslib from http://www.isd.mel.nist.gov/projects/rcslib/?
or does it need an older version (or has it changed)?
Alex: I'll look into that, thanks.. Any source code which does this already i can browse?
EMC: 03jepler 07master * r920b18a1e3c2 10/ (5 files in 3 dirs): hostmot2: add support for onboard diagnostic LEDs
EMC: 03jepler 07master * rab151d6dae81 10/ (7 files in 3 dirs): Merge branch 'mesa-3pwm-led'
EMC: 03jepler 07master * rc9add70ba1d5 10/ (6 files in 3 dirs): hostmot2: add support for three-phase pwm
cradek: I downgraded grub and it booted right up. I'm going to have to test this more but that may help after all!
that is good news (I think)!
Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emcdevel/2010-05-15.txt
where dies pncconf get installed with 2.4? I don't see it in usr/bin
$ dpkg-query -S /usr/bin/pncconf
it should be
let me look again
gee wiz I'm blind today... thanks jepler
must be time for a nap
I just came in here to "rally" for a single block pin it would make any line like having a M1 on it "finish line and wait"
anyway I think it would be a great feature addition as it is now you must pause and goto step causing the tool to stop for a moment
mozmck: I don't know.. never tried
I used rcslib from emc CVS
got it to build on windows ages ago, and used a TkEmc to connect to an emc2
it was in the 2.0.0 days though
alex_joni: just wondered.
cradek: yeah, I don't know how good news. I'm not sure right now if it would work well on the livecd. I don't know if just replacing it on the livecd would do the trick, or if there are some scripts that would need to be changed.
Need to do more testing for sure though.
mozmck, was the system you had to downgrade grub on an upgrade to 10.04?
I had trouble with an upgrade, but a clean install worked fine
SWPadnos: no, clean install on 2 different computers.
This is with the rtai patched kernel though - the standard kernel boot fine every time.
patched kernel boots about half the time, rest of the time it stops immediately after selecting the kernel with a blinking cursor in a black screen
so far on this machine looks like it's booting every time with legacy grub
I wonder what the difference is
(not between grubs, but between what they do)
probably. grub2 has some bug grub1 doesn't :) I've looked some at the bug reports for grub2 and it's hard to say if any are relevant.
well, there may be some initialization that grub1 does that grub2 doesn't, wouldn't be a bug but would be a difference
yeah. I don't know. I don't know enough about what grub2 does yet. Need to dig into it some more I guess.
wonder what the harm is in just downgrading grub and forgetting about it until the rtai folks figure it out
mozmck_work: Hi Moses, welcome back. Thanks in advance for all your hard work on the new version. And it's not like you don't have enough to do already, but when you're done, would you be kind enough to update BuildingUbuntuPackages at http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?BuildingUbuntuPackages
as I think you will then be the person best qualified to update it.
And then maybe the rest of us can read it and learn something.
* KimK suddenly remembers he's in the developer's channel
I mean maybe us mere mortals can read it and learn something
cradek: if I can get it to work on the livecd I can't see why we couldn't do that.
Thanks KimK, I'll take a look at that page.