#emc-devel | Logs for 2009-11-03

[00:21:20] <Dave911> logger_dev:
[00:21:20] <Dave911> I'm logging. I don't understand '', Dave911. Try /msg logger_dev help
[00:22:36] <skunkworks> logger_dev: bookmark
[00:22:36] <skunkworks> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emcdevel/2009-11-03.txt
[00:23:46] <Dave911> thanks... I forgot..;-)
[00:25:13] <skunkworks> ;)
[03:14:17] <SWPadnos> mozmck, do you know how that compares to the same machine with 8.04?
[03:14:31] <SWPadnos> (switched in here in case we want to get technical :) )
[03:14:58] <mozmck> no, but it seems a little better than this machine with 9.04 I think it would run as high as 12us.
[03:15:18] <SWPadnos> SMP/isolcpus on 9.04?
[03:15:31] <mozmck> I made .deb files for the kernel and rtai.
[03:15:36] <SWPadnos> oh, nice
[03:15:41] <SWPadnos> amd64 version?
[03:15:41] <mozmck> no, same configuration.
[03:15:46] <SWPadnos> ok
[03:16:01] <mozmck> no, I actually built what should be a very generic kernel.
[03:16:17] <SWPadnos> same as the "normal" emc2 RTAI kernel, or same as you tried with 9.04? :)
[03:17:25] <mozmck> ah, same configuration on 9.04 with as this. SMP, no isocpus (never got around to it)
[03:17:54] <mozmck> kernel on that one was vanilla with rtai 3.7.1 I think
[03:18:56] <mozmck> from what I read there is no longer a problem with SMP configuration on single core machines with rtai 3.7.1, so I am planning to try this out on a number of different machines.
[03:19:07] <SWPadnos> ok, so it's a relatively generic 32-bit SMP build?
[03:19:48] <mozmck> yes. processor is i686 to get the TSC
[03:20:10] <mozmck> so it should work on pentium pro on up.
[03:21:02] <mozmck> I changed only what needed to be changed for the realtime stuff and left everything else at the default ubuntu settings.
[03:21:36] <SWPadnos> cool
[03:23:47] <mozmck> I can send them in or put them up somewhere if anyone is interested...
[03:23:53] <mozmck> the .debs that is
[03:24:46] <SWPadnos> I can copy them to /experimental if you stick them somewhere I can access them
[03:25:56] <mozmck> ok. I'll have to figure out somewhere to put them.
[03:26:11] <SWPadnos> I wonder if I can give you an FTP URL to use
[03:27:19] <mozmck> I've done FTP plenty...
[03:27:39] <SWPadnos> I'm just not sure if anonymous write access is enabled anywhere
[03:28:11] <mozmck> I think I can put them on my server here. Let me try right quick...
[03:28:37] <SWPadnos> ok
[03:30:50] <mozmck> would you need the linux-source deb?
[03:31:17] <SWPadnos> it wouldn't hurt, if you have it
[03:31:33] <SWPadnos> that would give someone the exact config you started with
[03:31:33] <mozmck> I think so. My link is only 512K so it will take a little bit to get them all.
[03:44:50] <jepler> when dealing with gpl software, you must be prepared to give corresponding source
[03:45:07] <jepler> uploading it in the first place is the best way to achieve that
[03:46:09] <SWPadnos> they're all on the way to /experimental/karmic
[03:46:12] <mozmck> yeah, that's true. My link is kind of slow and the source deb is ~60 meg :)
[03:46:28] <SWPadnos> there's a badly formed index.html there now, so don't try going there yet
[03:46:44] <mozmck> great! it would be good to see if they work for others.
[03:47:34] <SWPadnos> hmmm. I'm heading for bed, so there will be a badly formed index.html until tomorrow :)
[03:47:45] <SWPadnos> the transfer will likely take an hour or more
[03:48:04] <mozmck> one thought I had is that I and maybe others can at least experiment with some of this before 10.04 and maybe get that out sooner.
[03:48:27] <SWPadnos> it'll probably help a little
[03:48:42] <mozmck> maybe there could be an SMP kernel by default in 10.04 if we can know it will work for most machines
[03:48:53] <SWPadnos> but then again, we don't know what kernel version will be released with 10.04, or when/if an RTAI patch will be made available for it
[03:49:27] <mozmck> true.
[03:50:39] <cradek> "I can see where the MAXVEL slider might be handier than a whole case of bottled beer too."
[03:50:42] <cradek> heh
[03:53:37] <mozmck> to compile emc2 I had to make a change to hostmot2 as a couple of things have changed.
[03:54:36] <mozmck> but I don't know if the change will work with the kernel in 8.04
[04:00:47] <cradek> git master?
[04:01:02] <mozmck> ?
[04:02:46] <cradek> I mean which branch are you talking about?
[04:03:01] <mozmck> master.
[04:03:18] <mozmck> the one change should be fine, the other may not. they removed bus_id from the device struct in the new kernels, and you use dev_name and dev_set_name to access the device name now.
[04:03:44] <mozmck> I don't know if those are in kernels before 2.6.27.
[04:04:54] <mozmck> they also removed FIRMWARE_NAME_MAX but I just used an #ifndef and then #defined it, so that one should be fine
[04:05:55] <cradek> there is a macro to get the kernel version and compare it to a known value - maybe you can use this if you find that your changes break backward compatibility
[04:06:30] <mozmck> ok, I was thinking of something like that. do you know what the macro name is?
[04:06:36] <cradek> hal_parport.c:214:#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0)
[04:06:51] <mozmck> thanks!
[04:07:30] <cradek> thanks for working on fixing it! we need folks on the bleeding edge :-)
[04:08:35] <mozmck> that's good :)
[04:08:42] <cradek> looks like there are about 4 other drivers that include linux/pci.h - do they all need to be updated or is it just a firmware loading thing?
[04:10:12] <mozmck> nothing else gave an error, and this code is in the hm2_register function so it looks like it's just in his firmware loading stuff.
[04:10:48] <cradek> ok, cool
[04:37:42] <CIA-3> EMC: 03m-mcknight 07master * rf88ea06895db 10/src/hal/drivers/mesa-hostmot2/ (hostmot2.c hostmot2.h): make hostmot2 work on new kernels where FIRMWARE_NAME_MAX is removed and bus_id is removed from struct device
[04:40:12] <cradek> mozmck: thanks for fixing that. also it looks like unfortunately your editor (?) changed a few hundred lines you didn't intend to change. could you try to make it not do that, or use a different editor please? your real changes got buried in the noise in this diff.
[04:41:23] <mozmck> uh-oh, how did it do that? it must have been gedit.
[04:42:35] <cradek> I wish I had a dollar for every time gedit has bitten one of us...
[04:43:09] <mozmck> weird, I don't what it did. I'll look at the diff next time.
[04:43:31] <cradek> hm, looks like it (something?) removed trailing whitespace
[04:43:47] <cradek> maybe that's a git (mis)feature
[04:44:27] <cradek> it often whines about trailing whitespace - would not surprise me if the same person who made it whine also made it strip it somehow
[04:44:29] <mozmck> or maybe it was eclipse? that's what I normally use and I haven't seen it do that before though.
[04:44:54] <cradek> oh I think I've heard that eclipse does stuff like that - there are settings somewhere - or was it kate??
[04:44:58] <mozmck> my git is
[04:46:20] <cradek> well, no big deal, but yeah maybe review the git diff - would be nice if we knew what part of the process does it
[04:46:22] <mozmck> I found it, there's a setting in eclipse for it that is checked.
[04:46:30] <cradek> ah
[04:47:00] <mozmck> that should fix it.
[04:47:04] <cradek> thanks
[04:47:55] <mozmck> time for bed here see you later.
[04:48:05] <cradek> goodnight, thanks
[04:48:13] <mozmck> np
[12:09:24] <CIA-3> EMC: 03jthornton 07v2_3_branch * rfca9f84a11ff 10/docs/src/hal/drivers.lyx: Typo and markup fixes
[12:11:15] <robh-w> apears to be a typo in the intergrater manual, page 196 table 31.1 2nd colum for classicladder
[12:11:35] <robh-w> reads numPhysOuputs should be numPhysOutputs < t missing
[12:13:50] <jthornton> thanks
[12:42:55] <CIA-3> EMC: 03jthornton 07v2_3_branch * r9a1da9e906ee 10/docs/src/ladder/classic_ladder.lyx: Fix Typo
[12:47:20] <alex_joni> jthornton: ../docs/src/Submakefile:392: *** Required image file ../docs/src/hal/images/parport-in.png does not exist. Stop.
[12:48:07] <jthornton> crumb
[12:48:29] <jthornton> 2.3 or dev?
[12:49:56] <jthornton> nm, I found it
[12:50:05] <CIA-3> EMC: 03jthornton 07v2_3_branch * rd810fdc07daa 10/docs/src/hal/images/ (parport-in.png parport-out.png): add images
[12:53:34] <alex_joni> 2.3
[13:00:13] <jthornton> thanks alex_joni
[13:01:54] <alex_joni> jthornton: no, thank _you_
[13:03:28] <jthornton> yea! the buildbot has all green lights
[13:03:56] <jepler> jthornton: by the way, don't document new probing yet -- I think it'll have to change further before it's ready
[13:04:59] <SWPadnos> mozmck's 9.10 kernel/rtai .debs are available now in http://www.linuxcnc.org/experimental/Karmic/
[13:05:28] <jthornton> ok jepler
[13:18:27] <jthornton> jepler: just let me know when it is ready
[14:07:02] <cradek_> cradek_ is now known as cradek
[14:49:59] <alex_joni> http://www.linuxcnc.org/component/option,com_kunena/Itemid,20/func,view/catid,27/id,1069/lang,en/#1079
[14:50:39] <cradek> ugh, saw that
[14:50:57] <cradek> I responded to the original and then thought better and deleted it - nice feature
[14:51:00] <alex_joni> * alex_joni looks at canned replies
[14:51:11] <alex_joni> "oh, how about you try mach?"
[14:52:34] <cradek> "how about you quit whining and go to the trouble of composing your thoughts and participating in a meaningful way?"
[14:52:56] <alex_joni> that assumes he has some way of composing his thoughts :P
[14:53:24] <cradek> I'm sure he does - he's just new and should have thought more before posting.
[14:54:33] <cradek> I did a bunch of stuff last night that involved switching between two tools - so nice to have a tool changer
[14:55:44] <alex_joni> I can imagine
[14:56:00] <alex_joni> * alex_joni runs home
[17:52:45] <micges> alex_joni: around?
[18:10:00] <alex_joni> micges: now
[18:19:44] <micges> alex_joni: how can I translate part of linuxcnc page?
[18:22:29] <micges> (I mean preview and such)
[18:22:47] <alex_joni> preview?
[18:22:54] <alex_joni> micges: what language?
[18:23:10] <micges> polish
[18:23:59] <micges> "preview" is silly, ignore it
[18:24:25] <alex_joni> I can set you up
[18:24:35] <alex_joni> do you have an account for linuxcnc.org ?
[18:24:39] <micges> yes
[18:24:54] <alex_joni> interesting .. :P
[18:25:02] <alex_joni> * alex_joni tries to guess it
[18:25:02] <SWPadnos> joomla, not shell (AFAIK)
[18:25:12] <alex_joni> yes.. webpage account
[18:25:15] <micges> same nick :)
[18:25:38] <alex_joni> found it
[18:58:35] <micges> alex_joni: ok and how can I add new language?
[19:00:48] <alex_joni> micges: working on it
[19:00:59] <micges> oh ok
[19:01:04] <alex_joni> Fatal error: Call to a member function getError() on a non-object in /home/.jared/cncman/www.linuxcnc.org/administrator/components/com_mambelfish/admin.mambelfish.php on line 132
[19:01:08] <alex_joni> bleah
[19:01:15] <micges> ouch
[19:01:17] <aystarik> alex_joni: may I do some russian translation too?
[19:03:37] <alex_joni> aystarik: yeah.. sure, if I get it going
[19:03:45] <alex_joni> aystarik: just translate the pages, and send them to me
[19:04:28] <aystarik> in .html?
[19:04:54] <alex_joni> or plain text, whatever suits you
[19:11:55] <aystarik> no preference on your side?
[19:19:41] <alex_joni> aystarik: nope
[19:19:45] <alex_joni> micges: I managed to break it :/
[19:21:14] <micges> will you fix it?;) I'll send you translations :)
[19:22:30] <micges> yes I see, no others languages available
[19:39:11] <alex_joni> micges: it's mostly working now (the infrastructure at least)
[19:39:31] <alex_joni> but I lost all translations :/ trying to recover them now
[19:40:42] <micges> oh
[19:56:00] <alex_joni> micges: most of it is back :D
[19:57:05] <alex_joni> aystarik: ok.. now you can get my attention ;)
[19:57:50] <micges> cool
[19:58:09] <alex_joni> aystarik: it would help if you grap the html, and translate it. if not, simple text is ok too
[19:58:17] <alex_joni> (a bit more work for me)
[19:58:25] <alex_joni> micges: we'll continue this in a pm
[19:58:35] <aystarik> yes, this is what I'm doing :)
[19:58:44] <alex_joni> cool
[19:58:50] <alex_joni> I'll pm you my addy
[19:59:08] <aystarik> Russian will require different code page -- 8859-1 does not have needed characters.
[19:59:34] <alex_joni> utf-8 should be ok.. we'll see
[19:59:41] <alex_joni> maybe do the front page only
[19:59:45] <alex_joni> to see if it works
[19:59:48] <aystarik> yes, utf-8 is ok.
[19:59:57] <aystarik> right
[20:24:58] <CIA-3> EMC: 03cradek 07master * r6decec1b49b4 10/src/emc/usr_intf/touchy/emc_interface.py: don't clear errors unnecessarily
[21:48:59] <alex_joni> aystarik: http://www.linuxcnc.org/index.php?lang=russian
[21:49:04] <alex_joni> does that look ok?
[21:49:55] <alex_joni> micges: http://www.linuxcnc.org/index.php?lang=polish
[21:50:30] <aystarik> alex_joni: looks ok.
[21:51:51] <aystarik> thumbnail screenshot is broken in firefox 3.5...
[21:52:21] <alex_joni> thumbnail screenshot?
[21:52:49] <aystarik> yes, it goes over voting on the right pane
[21:53:07] <aystarik> english page is ok, but russian is not
[21:55:00] <alex_joni> ok, gotcha
[21:55:06] <aystarik> and news are not translated.
[21:55:07] <alex_joni> looking at it now
[21:55:15] <alex_joni> sure, I just did the homepage
[21:55:21] <alex_joni> meaning the entry in the middle ;)
[21:55:28] <aystarik> ic
[21:55:30] <alex_joni> not the menus, not the polls, not the news
[21:55:38] <alex_joni> * alex_joni needs to do each one independently
[22:00:41] <alex_joni> aystarik: better now?
[22:01:50] <aystarik> pic is ok, hyperlinks are black/not red as before...
[22:02:47] <alex_joni> yeah, saw that.. no idea why ;)
[22:06:44] <alex_joni> aystarik: one more attempt ;)
[22:08:09] <alex_joni> aystarik: I think it's easiest if I send you the html snippets, and you translate only those
[22:08:21] <alex_joni> (easier for me to integrate too)
[22:08:51] <aystarik> looks ok now.
[22:09:10] <aystarik> re: snippets -- ok.
[22:10:37] <alex_joni> I just sent you about.html
[22:11:30] <alex_joni> hope this way will be better
[22:37:37] <micges> good night all
[22:39:29] <alex_joni> night
[23:19:53] <Guest718> Guest718 is now known as skunkworks
[23:42:30] <alex_joni> aystarik: looks good: http://www.linuxcnc.org/content/view/11/10/lang,russian/
[23:44:29] <aystarik> alex_joni: yep... Could you also recover header "Welcome" translation from index.html?
[23:47:21] <alex_joni> aystarik: welcome?
[23:47:50] <aystarik> <h1>
[23:47:53] <alex_joni> not sure what you mean
[23:48:32] <alex_joni> Ð.еÐ.Ñ.е пеÐ.аÐ.еваÑ.Ѧ на LinuxCNC.org ?
[23:48:35] <alex_joni> crap :D
[23:49:13] <aystarik> yes, this one... It should be UTF-8 encoding...
[23:49:29] <alex_joni> on the home page? or on the about page?
[23:49:47] <alex_joni> ..... .......... .. .... ....... Enhanced Machine Controller(... EMC)
[23:50:03] <alex_joni> * alex_joni hates utf-8 + putty + irssi :D
[23:51:51] <alex_joni> Dobro pojalovati na sait proekta EMC ?
[23:52:10] <aystarik> right...
[23:52:24] <alex_joni> my cyrilic is not that good :D
[23:52:25] <mozmck> dobro? na, banjo!
[23:52:56] <alex_joni> aystarik: where should I put it?
[23:53:38] <aystarik> probably every russian page, the same place as for every other language...
[23:54:03] <alex_joni> it's only on the first page
[23:55:18] <alex_joni> I'm off to bed.. 2 am here :/
[23:55:28] <alex_joni> I'll send you files for the other translations
[23:56:18] <aystarik> no, I mean the gray header words
[23:58:24] <alex_joni> ah, can't change those
[23:58:59] <alex_joni> that's part of the template, not content