#emc-devel | Logs for 2008-10-30

Back
[02:09:45] <jmkasunich> hi guys
[02:10:06] <jepler> hi jmkasunich
[02:10:14] <jmkasunich> regarding test suite on the farm, I have a couple reservations
[02:10:25] <jmkasunich> 1) I'm currently not doing RIP builds
[02:11:00] <jmkasunich> 2) I'm not doing make install (which would require me to set up passwordless sudo, and I'm not gonna do that
[02:11:15] <jepler> you can't "sudo make setuid" either, then
[02:11:22] <jmkasunich> 2a) even if I was doing RIP builds, I'm not doing sudo ma.... what he said
[02:11:42] <jepler> sim doesn't require "make setuid"
[02:11:54] <jmkasunich> hmm
[02:11:55] <jepler> but that won't change the testsuite not working
[02:12:04] <jmkasunich> ?
[02:12:04] <jepler> without --enable-run-in-place
[02:12:21] <jmkasunich> the question is why am I not doing RIP
[02:12:47] <jmkasunich> (I have no clue, unless we figured the devs are more likely to test RIP so the farm should test normal)
[02:13:13] <jmkasunich> there are (or can be) separate build scripts on a per system and per version basis
[02:13:25] <jmkasunich> so the sim system could do RIP and run tests, while the others just build
[02:13:39] <jepler> that sounds easy enough
[02:14:09] <jmkasunich> my other concern is that some of the failures have resulted in lockups
[02:14:17] <jepler> maybe the 6.06 and 8.04/rt slots should test the full debian package building (that doesn't require root either)
[02:14:33] <jepler> yes lockups will be a bigger risk
[02:14:54] <jmkasunich> I suspect the risk of a hard lock is lower on sim than on rt
[02:15:05] <jepler> it won't kill linux but the testsuite might hang forever
[02:15:25] <jmkasunich> but even a "soft lock" would require either some tricky timeout/kill stuff, or manual intervention
[02:15:29] <jepler> if it becomes a problem I can look at adding a timeout to the runtests script
[02:16:38] <jmkasunich> I have some timeout stuff in the main farm scripts, to deal with cases like CVS down, email down, sftp down, and other such hiccups
[02:16:42] <jmkasunich> but nothing for the build itself
[02:17:17] <jmkasunich> regarding debian, if you tell me what needs done, I don't see why I can't do it
[02:17:29] <jmkasunich> note that we don't have slots for 8.04 yet (rt or sim)
[02:18:14] <jmkasunich> crap, I just realized how old the farm is
[02:18:36] <jmkasunich> the VMs are running breezy (rt and sim)
[02:18:42] <jmkasunich> and bdi-4.51
[02:18:54] <jepler> for a full build I think you would: debian/configure <kernelversion-or-"sim">; dpkg-buildpackage -rfakeroot -uc -us
[02:19:02] <jmkasunich> the only dapper slot is not a VM, and I don't keep it running all the time
[02:19:05] <jepler> (oh, this will require that you put all the stuff for building pdfs on those vms)
[02:20:13] <jmkasunich> I think I should take this system down this weekend and add another 2G of ram, then add some more VMs
[02:20:32] <jepler> for an incremental build, I this captures the intent: make -C src; debian/rules binary
[02:20:37] <jmkasunich> dapper sim and RT, hardy sim and RT
[02:21:12] <jepler> this will have the side effect of dumping debian packages in the parent directory (mumble.tgz, mumble.dsc, mumble.i386.deb and maybe something else)
[02:21:40] <jmkasunich> does that mean at release time, the release manager simply has to copy them?
[02:23:28] <jepler> it is possible for the packages themselves to be signed with gpg, and it's a requirement (or all users get scary errors) that the repostory be signed -- so like passwordless sudo it's something I'm reluctant to suggest
[02:23:55] <jmkasunich> ok
[02:24:24] <jepler> in some ways it would be nice if adventurous users had an easier way to get prereleases, particularly from the stable tree
[02:24:45] <jepler> but that's another separate step from this -- if we want to go this way it *would* get us closer though
[02:25:13] <jmkasunich> turns out I already have a separate script for the -sim slot
[02:25:15] <jmkasunich> http://cvs.linuxcnc.org/cgi-bin/cvsweb.cgi/infrastructure/farm-scripts/emc2_build_sim?rev=1.3
[02:25:55] <jmkasunich> I wonder if we want to build docs too?
[02:26:14] <jepler> if you build the package that will be testing the pdf doc building process
[02:26:18] <jmkasunich> I think I may have disabled that, either because of dependencies that I didn't feel like installing, or because it was taking a long time
[02:26:24] <jepler> both the html and pdf docs are regularly built on a system of mine, but it's not even an ubuntu system
[02:26:28] <jepler> or both :-P
[02:27:08] <jmkasunich> until I have VM based dapper and hardy systems, I think all this is moot
[02:28:15] <jmkasunich> the dapper-rt system is my former dev box - it tends to be off for months, then on for a month or so because I feel bad about the dapper farm being so out of date, then off again because it is a lot noisier than the new system
[02:28:29] <jmkasunich> its been off for a few weeks ;-)
[02:29:04] <jepler> ok, let me know when you are to the point where you need my expertise on the build system
[02:29:09] <jepler> I should be around this weekend
[02:29:27] <jmkasunich> I'll try to get more memory tomorrow evening, and set up VMs over the weekend
[02:30:09] <jmkasunich> I was about to start a hardy download, but... should I be downloading stock hardy and doing the install.sh route, or should I install our iso?
[02:30:22] <jmkasunich> (for the RT VM, the -sim one will use stock hardy)
[02:30:33] <jepler> I'd go with the linuxcnc live cd
[02:31:04] <jmkasunich> * jmkasunich downloads
[02:40:42] <jmkasunich> jepler: has the dapper iso changed since 10/27/2007?
[02:40:54] <jmkasunich> (our dapper iso)
[02:41:47] <jmkasunich> oh wow, I not only have that iso, I have the hardy one too
[02:41:55] <jmkasunich> I guess I can md5sum them and see
[02:42:20] <jepler> -rw-rw-r-- 1 emcboard pg167418 706035712 2007-12-04 12:43 emc2.2.2-1-ubuntu6.06-desktop-i386.iso
[02:42:42] <jepler> looking at the file size is probably enough
[02:43:49] <jepler> -rw-r--r-- 1 juve pg167418 728793088 2008-04-29 16:24 hardy/ubuntu-8.04-desktop-emc2-aj07-i386.iso
[02:44:03] <jepler> even if it's a bit older they're probably similar in terms of number of packages to download/update
[02:44:19] <jmkasunich> yeah, but I might as well use the one we are pushing to users
[02:45:16] <jmkasunich> the 8.04 I have here matches the md5sum of the one online
[02:45:45] <jmkasunich> I'll dl the newer 6.06 one while I sleep, along with stock 8.04 from ubuntu
[02:47:39] <cradek> for one install there is no disadvantage to using the cd you already have and then running updates
[02:48:12] <jmkasunich> the number of updates is about the same?
[02:48:41] <jmkasunich> (note that downloading an iso happens while I sleep a day or two before I do the installs, the updates probably happen while I'm waiting impatiently
[02:48:48] <cradek> heh
[02:49:14] <jmkasunich> ls
[02:49:30] <cradek> ls: .: Permission denied
[02:50:33] <jepler> exec /bin/false
[02:51:14] <jmkasunich> oops?
[02:51:15] <cradek> meanie
[02:51:36] <jepler> hahaahahahah that's exactly what I was hoping would happen
[02:56:55] <jmkasunich> I wonder if the 8.04 LTS server edition would be a nice base for a somewhat smaller emc distro
[02:57:11] <jmkasunich> add basic X and a light window manager
[02:57:41] <SWPadnos> reading back, is there a difference between "normal" and RIP builds (when you don't install)?
[02:58:02] <jmkasunich> not sure
[02:58:19] <SWPadnos> ok, so the idea is that there shouldn't be, and testing that is a good idea?
[02:58:19] <cradek> yes
[02:58:48] <SWPadnos> oh, there are differences? do you know them off the top of your head?
[02:58:54] <SWPadnos> or some anyway
[02:59:11] <cradek> some paths in scripts, defines in some source files
[02:59:20] <cradek> that's why rip is a build option
[03:00:18] <SWPadnos> oh right, something like module-helper will change
[03:02:46] <jmkasunich> I love fast internet
[03:02:57] <jmkasunich> 3 downloads, all sustaining 200+ Kbytes/sec
[03:02:59] <SWPadnos> sigh
[03:03:03] <SWPadnos> you have cable?
[03:03:07] <jmkasunich> DSL
[03:03:18] <SWPadnos> oh, fast DSL then, 6Mbit?
[03:03:21] <jmkasunich> yeah
[03:03:36] <SWPadnos> if only something faster than 1.5 were available here
[03:03:52] <jmkasunich> the one from DH is doing 200K, the two from ubuntu.com are doing 261 and 289
[03:04:05] <cradek> SWPadnos: http://whitewhine.com/
[03:04:24] <SWPadnos> you know, I didn't even have to click to know what that was about ;)
[03:04:33] <cradek> haha
[03:05:22] <cradek> too bad you can't search - surely there's one about broadband speed
[03:05:28] <jmkasunich> goodnight guys, time to walk le mutt
[03:05:35] <cradek> bye
[03:06:02] <SWPadnos> see you
[08:49:02] <micges> yesterday someone ask for hal designer for emc..
[08:50:52] <micges> now the best tool for this is Eagle 4.1.6 with eagle2hal packed installed
[08:51:24] <micges> Designing in Eagle can be done with free version of it
[08:51:49] <micges> It is very good and VERY usable
[10:42:02] <lerman______> lerman______ is now known as lerman
[11:48:18] <micges> when I enable override limit in axis, I can enable motion even if axis.n.neg-lim-sw-in is True ?
[11:49:38] <CIA-37> EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/config/ini_config.lyx: add filter section
[11:50:22] <cradek> micges: yes that is how it works
[11:50:56] <micges> motion is allowed in both directions ?
[11:51:24] <cradek> no, only in the positive direction in your example
[11:51:31] <micges> great, thanks
[11:52:35] <cradek> there are cases where both directions are allowed - consider that neg-lim-sw-in and pos-lim-sw-in are both True (if the axis has only one limit switch and two cams)
[11:52:54] <cradek> in this case emc has to allow both directions and it is up to the user to go the right way
[11:54:42] <micges> I just wonder of this case, thanks
[11:55:18] <cradek> welcome
[11:55:21] <cradek> bbl
[12:29:15] <CIA-37> EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/ (7 files): minor fix to remove error on fresh Hardy build
[12:42:09] <CIA-37> EMC: 03jepler 07TRUNK * 10emc2/docs/man/man9/motion.9: remove bogus text
[14:37:49] <micges> I have this situation:
[14:38:58] <micges> I've stopped machine (table mill) with 2mm diameter in spindle
[14:39:18] <micges> rpm was 14000
[14:40:05] <micges> and after stop and moving z axis up there was a wider row in that point
[14:40:18] <micges> precision was 0.05 mm
[14:40:29] <alex_joni> what do you mean wider row?
[14:42:52] <fenn> dwell mark
[14:43:46] <micges> row was 1mm wide
[14:44:31] <micges> in point when I stopped was 1.1 mm wide after spindle stopping rotating in that point
[14:45:21] <SWPadnos> steppers or servos?
[14:49:31] <micges> servos
[14:54:55] <jepler> when emc goes into "estop" or "machine off" state, it turns off the servo amplifiers (axis.#.amp-enable-out goes false). it doesn't try to decelerate according to inifile settings or the like. there's no guarantee it will be keeping the commanded position. cutting forces could push the tool around a bit before the spindle stops. if moving at an angle, movement along each axis will stop at a different rate.
[14:56:55] <SWPadnos> 0.1mm is only 2 steps
[14:57:27] <SWPadnos> uh, wait. 2mm tool, 1.1mm hole?
[14:57:50] <cradek> I'm with fenn - are you describing something other than a regular old dwell mark that happens when you stop motion in the work?
[14:59:20] <alex_joni> SWPadnos: tricky, eh?
[15:00:05] <micges> SWPadnos: this is only example to show what is happening
[15:01:31] <micges> cradek: I think this is it
[15:01:38] <cradek> I do not understand the problem you are trying to explain with this example then
[15:02:43] <cradek> if it is a dwell mark, this is a machining question, not an emc question; the answer is remove the tool from the work before stopping it
[15:03:40] <micges> I understand
[15:03:54] <micges> thanks
[15:03:54] <micges> bbl
[15:03:58] <cradek> welcome
[15:34:51] <jepler> building docs is giving an error: IOError: [Errno 2] No such file or directory: '../docs/src/common/User_Concepts.lyx'
[15:35:19] <jepler> BigJohnT: I think I saw that you added an include of this file .. did you miss adding the file itself?
[15:36:20] <BigJohnT> jepler: yes, and no :)
[15:36:39] <BigJohnT> I forgot I put it in the master this morning and need to add the file now
[15:36:52] <BigJohnT> gee you catch everything :)
[15:58:55] <CIA-37> EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/common/User_Concepts.lyx: note: don't commit before your first cup of coffee or you will forget something
[16:01:29] <cradek> jepler: wooo wooo! chugga chugga chugga
[16:05:06] <jepler> alex_joni: nobody is making text editors to embed in Tk apps these days. you're stuck with mediocre text editors that are probably about 8 years old based on Tk's text widget
[16:12:23] <alex_joni> hmm.. ok
[16:53:20] <seb_kuzminsky> jmkasunich: i made an ubuntu 8.04 farm slave vm
[16:53:55] <seb_kuzminsky> i wanna check some things with you before i try it
[17:25:51] <alex_joni> seb_kuzminsky: did you find the farm scripts in CVS?
[17:26:25] <seb_kuzminsky> yes
[17:26:43] <seb_kuzminsky> jmk pointed me to these instructions: http://cvs.linuxcnc.org/cgi-bin/cvsweb.cgi/infrastructure/farm-scripts/README?rev=1.6
[17:27:40] <seb_kuzminsky> alex_joni: i havent tested your latest pid fix on my system yet but it seems good
[19:47:40] <alex_joni> SWPadnos: that was close to poetic :P
[19:47:50] <SWPadnos> thanks :)
[23:23:35] <CIA-37> EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/ (Submakefile docs.xml index.tmpl): *** empty log message ***
[23:23:51] <CIA-37> EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/config/stepconf.lyx: clear up what to type for a latency test
[23:26:06] <BigJohnT> * BigJohnT kicks cia-37
[23:26:06] <CIA-37> ow
[23:26:26] <BigJohnT> * BigJohnT don't know what that does but it is fun
[23:29:44] <CIA-37> EMC: 03bigjohnt 07v2_2_branch * 10emc2/docs/src/config/ (ini_config.lyx stepconf.lyx): clear up what to type for a latency test
[23:31:26] <CIA-37> EMC: 03bigjohnt 07v2_2_branch * 10emc2/docs/src/common/User_Concepts.lyx: add file
[23:32:37] <CIA-37> EMC: 03bigjohnt 07v2_2_branch * 10emc2/docs/src/Master_User.lyx: added iportant user concepts to user manual
[23:33:05] <BigJohnT> crap I can't even spell tonight