#linuxcnc-devel | Logs for 2013-04-04

Back
[00:00:42] -!- Nick001-Shop has quit [Remote host closed the connection]
[00:03:35] -!- jpk has quit [Ping timeout: 252 seconds]
[00:03:37] -!- crank has quit [Ping timeout: 256 seconds]
[00:09:43] -!- ravenlock has quit [Ping timeout: 245 seconds]
[00:15:37] <jepler> this problem is fixed by compilsing _posemath.c with -O0
[00:15:53] -!- micges [micges!~zenek@aei89.neoplus.adsl.tpnet.pl] has joined #linuxcnc-devel
[00:17:01] -!- jfire has quit [Read error: Connection reset by peer]
[00:19:08] <KGB-linuxcnc> 03andy 05v2.5_branch 9ae159a 06linuxcnc 10src/hal/drivers/mesa-hostmot2/sserial.c
[00:19:08] <KGB-linuxcnc> When a smart-serial card says it is going to shut down a port, make it actually do so.
[00:22:09] <andypugh> jepler: Nothing strange here in the builbot version.
[00:22:45] <andypugh> My dev machine runs headless most of the time, so is a bit more tricky to experiment with)
[00:23:23] -!- gimpspace has quit [Ping timeout: 252 seconds]
[00:24:27] r00t4rd3d_ is now known as r00t4rd3d
[00:24:45] -!- r00t4rd3d has quit [Changing host]
[00:34:16] -!- carper64 [carper64!carper64@5e091494.bb.sky.com] has joined #linuxcnc-devel
[00:35:00] -!- carper64 has quit []
[00:51:32] <jepler> andypugh: thank you for looking
[00:51:38] <jepler> andypugh: is that ubuntu 10.04 or something else?
[00:51:59] <jepler> I'm in serious weird territory here
[00:52:03] <jepler> 1636 printf("dot=%f radius=%f rad2=%f\n", dot, circle->radius, circle->radius * circle->radius);
[00:52:06] <jepler> 1637 dot = dot / (circle->radius * circle->radius);
[00:52:08] <jepler> 1638 printf("dot=%f\n", dot);
[00:52:37] <jepler> the problem is fixed by compiling just the function pmCircleInit without optimization
[00:52:52] <jepler> on the first line, the unoptimized and optimized versions print the same thing for all three value
[00:53:02] <jepler> .. on the first printf
[00:53:08] <jepler> but on the second printf, the optimized version has a wrong value
[00:54:07] <jepler> and in the disassembly of the optimized version there is a 'sqrtsq' instruciton -- but nothing near there is performing square roots
[00:54:17] <andypugh> LiveCD install, buildbot LinuxCNC
[00:55:05] <andypugh> Optimsation has bitten me before now, and you have been the one to spot it.
[00:55:59] <micges> jepler: here on c program I had many times error like yours with -O2, but I have no solution besides -O0
[00:55:59] <jepler> ubuntu 10.04 live cd?
[00:56:13] <andypugh> jepler: Yes.
[00:56:48] <mozmck> could it be something volatile variables might help with?
[00:56:50] <jepler> gcc is usually a very good compiler. In $DAY_JOB I'm aware of approximately zero optimizer-induced bugs per million lines of source code. I always look to other causes before saying "compiler bug".
[00:57:56] <andypugh> I need to leave, early start tomorrow.
[00:58:13] -!- stsydow has quit [Remote host closed the connection]
[00:58:35] -!- andypugh has quit [Quit: andypugh]
[01:11:20] -!- micges has quit [Quit: Leaving]
[01:11:50] <jepler> https://gist.github.com/jepler/5306888
[01:17:37] <jepler> >>> dot / (sqrt(rad) * rad * rad)
[01:17:37] <jepler> 1.365475101120713
[01:17:49] <jepler> the insane value being calculated is this, not dot / (rad * rad) !
[01:27:34] <cradek> that's wild
[01:27:53] <jepler> the sad thing is we added in those flags due to a specific report from a user that there were crashes in the realtime code when those flags were not enabled :-/
[01:30:11] <cradek> oh, ouch.
[01:31:18] <jepler> what can the optimizer be thinking here? it's nuts
[01:32:46] <cradek> this is on lucid too?
[01:33:41] <jepler> I do not know
[01:33:50] <jepler> both the machines I tested are debian wheezy
[01:34:20] <cradek> wouldn't we all see it right away if so?
[01:34:54] <jepler> it does not affect gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) on 32-bit or 64-bit ubuntu lucid
[01:35:25] <cradek> oh good
[01:36:05] <jepler> it does affect 64-bit gcc 4.7.2-5 on debian wheezy
[01:36:16] -!- hjhart has quit [Ping timeout: 245 seconds]
[01:36:26] -!- erictheise has quit [Quit: erictheise]
[01:36:48] -!- chopper79 has quit [Ping timeout: 245 seconds]
[01:37:58] <jepler> and 32-bit gcc 4.7.2-5 on debian
[01:40:14] <mozmck> it is fine on ubuntu 12.04 with gcc 4.6.3
[01:44:12] <cradek> unsurprisingly, works fine on gcc version 4.2.1 20070831 patched [FreeBSD]
[01:47:09] <cradek> building gcc4.7.3
[01:53:03] -!- tjb1 has quit [Ping timeout: 245 seconds]
[01:53:04] tjb1_ is now known as tjb1
[01:54:33] <jepler> it also only affects -Os, not -O1 or -O2!
[01:55:31] -!- tjb1 has quit [Quit: tjb1]
[01:56:29] <cradek> why are we using -Os?
[01:56:46] <jepler> the distant past bequeathed that flag to us, probably
[01:57:20] <jepler> probably believing that smaller code = fewer cache misses, which in realtime lead to more variability in run time or somesuch rationalization
[01:58:55] -!- Loetmichel has quit [Ping timeout: 260 seconds]
[01:59:11] -!- sumpfralle has quit [Ping timeout: 245 seconds]
[02:08:33] -!- uwe_mobile has quit [Ping timeout: 240 seconds]
[02:11:36] -!- jfire1 has quit [Quit: Leaving.]
[02:12:15] -!- hdokes has quit [Read error: No route to host]
[02:19:09] -!- KimK has quit [Quit: Leaving]
[02:19:10] -!- hdokes has quit [Read error: No route to host]
[02:40:09] -!- jmk-mcfaul has quit [Quit: Ex-Chat]
[02:47:02] -!- joe9 has quit [Read error: Connection reset by peer]
[02:47:56] -!- sumpfralle has quit [Ping timeout: 245 seconds]
[02:49:11] -!- R2E4_ has quit [Ping timeout: 245 seconds]
[02:57:00] -!- R2E4_ has quit [Client Quit]
[02:58:32] -!- Keknom has quit [Quit: Leaving.]
[03:00:44] <cradek> jepler: gcc version 4.7.3 20130323 (prerelease) (FreeBSD Ports Collection) does NOT show the weird behavior
[03:01:37] <cradek> neither with --fast-math
[03:04:56] <jepler> cradek: interesting to know. thanks
[03:05:06] <jepler> maybe I'll write an explicit configure test for it then
[03:06:12] -!- hjhart has quit [Ping timeout: 264 seconds]
[03:09:38] <kwallace> (OT : I found a bad fuse on 300D number 3. It's about the size of a two grains of sand. I have no idea what amperage.)
[03:12:58] <cradek> $ ./configure --enable-simulator
[03:12:58] <cradek> checking libgl1-mesa-dri workaround... test for libgl1-mesa-dri workaround failed, please file a bug
[03:13:01] <cradek> (sigh)
[03:37:42] -!- ve7it [ve7it!~LawrenceG@S01060014d19d0b68.pk.shawcable.net] has joined #linuxcnc-devel
[03:43:55] -!- sumpfralle has quit [Ping timeout: 260 seconds]
[03:45:09] -!- hjhart has quit [Ping timeout: 248 seconds]
[03:53:55] -!- jfire has quit [Quit: Leaving.]
[04:09:23] -!- zzolo has quit [Quit: zzolo]
[04:11:48] -!- tjb1 has quit [Quit: tjb1]
[04:16:40] -!- toastydeath has quit [Ping timeout: 258 seconds]
[04:31:45] -!- jfire has quit [Client Quit]
[04:35:05] -!- Youdaman has quit []
[04:37:40] -!- ve7it has quit [Remote host closed the connection]
[04:39:36] -!- vladimirek [vladimirek!~vladimire@95.105.250.72] has joined #linuxcnc-devel
[04:40:53] -!- erictheise has quit [Read error: Connection reset by peer]
[04:42:25] -!- AR_ has quit [Ping timeout: 256 seconds]
[04:46:32] -!- FinboySlick has quit [Quit: Leaving.]
[04:59:32] -!- gimps has quit [Remote host closed the connection]
[05:02:12] -!- Fox_Muldr has quit [Ping timeout: 276 seconds]
[05:14:54] -!- hjhart has quit [Ping timeout: 240 seconds]
[05:32:37] -!- KimK [KimK!~Kim__@wsip-184-176-200-171.ks.ks.cox.net] has joined #linuxcnc-devel
[05:38:09] -!- gambakufu has quit [Ping timeout: 276 seconds]
[05:38:10] -!- nots has quit [Ping timeout: 276 seconds]
[05:38:10] -!- foo303_ has quit [Ping timeout: 276 seconds]
[05:38:11] -!- roh has quit [Ping timeout: 276 seconds]
[05:38:11] -!- kanzure has quit [Remote host closed the connection]
[05:45:27] -!- mhaberler [mhaberler!~mhaberler@extern-186.stiwoll.mah.priv.at] has joined #linuxcnc-devel
[05:46:59] -!- jfire has quit [Quit: Leaving.]
[05:47:32] -!- vladimirek has quit [Remote host closed the connection]
[05:53:33] -!- kwallace [kwallace!~kwallace@tmb-225.sonnet.com] has parted #linuxcnc-devel
[06:10:18] -!- jthornton has quit [Ping timeout: 264 seconds]
[06:10:24] -!- JT-Shop has quit [Ping timeout: 264 seconds]
[06:11:06] -!- jthornton [jthornton!~john@162.72.171.228] has joined #linuxcnc-devel
[06:11:12] -!- JT-Shop [JT-Shop!~John@162.72.171.228] has joined #linuxcnc-devel
[06:20:01] -!- JT-Shop has quit [Read error: Connection reset by peer]
[06:20:01] -!- jthornton has quit [Read error: Connection reset by peer]
[06:23:26] -!- JT-Shop [JT-Shop!~John@162.72.171.228] has joined #linuxcnc-devel
[06:23:32] -!- jthornton [jthornton!~john@162.72.171.228] has joined #linuxcnc-devel
[06:48:43] <mhaberler> cradek: checking libgl1-mesa-dri workaround... test for libgl1-mesa-dri workaround failed, please file a bug
[06:48:49] <mhaberler> what platform ?
[06:49:49] -!- tomate_ [tomate_!~quassel@2a01:e34:ee61:a5f0:518b:4fc3:fdb7:1d6b] has joined #linuxcnc-devel
[06:51:49] -!- karavanjoW_ has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
[06:55:01] -!- JT-Shop-2 [JT-Shop-2!~John@162.72.171.228] has joined #linuxcnc-devel
[06:55:07] -!- jthornton_ [jthornton_!~john@162.72.171.228] has joined #linuxcnc-devel
[06:55:35] -!- JT-Shop has quit [Read error: Connection reset by peer]
[06:55:48] -!- jthornton has quit [Read error: Connection reset by peer]
[06:59:27] -!- karavanjoW has quit [Client Quit]
[07:04:35] -!- xxoxx has quit [Ping timeout: 260 seconds]
[07:44:55] -!- emel has quit [Excess Flood]
[07:49:33] -!- ds3 has quit [Ping timeout: 240 seconds]
[07:52:33] -!- Simooon has quit [Quit: Leaving]
[07:56:14] -!- jthornton_ has quit [Read error: Connection reset by peer]
[07:56:14] -!- JT-Shop-2 has quit [Read error: Connection reset by peer]
[08:04:52] -!- JT-Shop [JT-Shop!~John@162.72.171.228] has joined #linuxcnc-devel
[08:04:56] -!- jthornton [jthornton!~john@162.72.171.228] has joined #linuxcnc-devel
[08:12:38] -!- fomox has quit [Ping timeout: 245 seconds]
[08:25:46] -!- Tecan has quit [Changing host]
[08:31:15] -!- hjhart has quit [Ping timeout: 252 seconds]
[08:33:03] -!- fomox has quit [Ping timeout: 245 seconds]
[08:35:59] -!- b_b has quit [Changing host]
[08:38:33] -!- rob_h [rob_h!~rob_h@027c16a0.bb.sky.com] has joined #linuxcnc-devel
[08:41:23] -!- cmorley has quit [Ping timeout: 245 seconds]
[08:48:42] -!- cmorley [cmorley!~chris@S010600c09fc019c2.no.shawcable.net] has joined #linuxcnc-devel
[08:52:54] -!- cherry_lin has quit [Ping timeout: 245 seconds]
[08:54:18] -!- fomox has quit [Ping timeout: 245 seconds]
[09:01:48] -!- hdokes has quit [Ping timeout: 245 seconds]
[09:08:30] -!- mhaberler has quit [Quit: mhaberler]
[09:11:57] -!- mhaberler [mhaberler!~mhaberler@macbook.stiwoll.mah.priv.at] has joined #linuxcnc-devel
[09:45:25] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #linuxcnc-devel
[10:14:13] aude_ is now known as aude
[10:25:43] -!- cncbasher [cncbasher!~quassel@cpc15-hart9-2-0-cust101.11-3.cable.virginmedia.com] has joined #linuxcnc-devel
[10:37:38] -!- FXI_ has quit [Quit: Leaving]
[10:56:29] -!- skunkworks has quit [Remote host closed the connection]
[11:10:17] -!- ler_hydra has quit [Remote host closed the connection]
[11:13:51] -!- cncbasher [cncbasher!~quassel@cpc15-hart9-2-0-cust101.11-3.cable.virginmedia.com] has parted #linuxcnc-devel
[11:36:22] -!- stsydow has quit [Remote host closed the connection]
[11:45:12] -!- mackerski has quit [Quit: mackerski]
[12:06:11] <cradek> mhaberler: trying to build sim on freebsd 9.1 amd64 with nvidia
[12:07:25] <mhaberler> well, on that platform obviously libstc++ and libgl1-mesa cant be made to work in harmony then
[12:09:11] <mhaberler> see scripts/test-libgl-bug.sh and here https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/259219
[12:10:36] <cradek> thanks, I will look at it later today, oughta be getting ready for work.
[12:11:07] <mhaberler> basically you only option is to rebuild libgl1-mesa-dri without the broken TLS option
[12:12:14] -!- maximilian_h [maximilian_h!~bonsai@g226135182.adsl.alicedsl.de] has joined #linuxcnc-devel
[12:13:36] -!- ravenlock has quit [Remote host closed the connection]
[12:18:53] -!- Mikegg has quit [Ping timeout: 240 seconds]
[12:28:39] -!- carper64 has quit []
[12:42:37] -!- UncleG has quit [Quit: Page closed]
[12:55:38] -!- fomox has quit [Quit: ChatZilla 0.9.90 [Firefox 19.0.2/20130307023931]]
[13:03:35] -!- psha[work] has quit [Quit: leaving]
[13:04:43] -!- jpk has quit [Ping timeout: 245 seconds]
[13:07:33] -!- maximilian_h has quit [Quit: Leaving.]
[13:10:40] <cradek> heh, the test script is failing at mktemp -d
[13:13:28] <cradek> hackity hackity hackity
[13:23:42] <mhaberler> great, an excellent opportunity to improve upon it!
[13:48:30] -!- vladimirek [vladimirek!~vladimire@95.105.250.72] has joined #linuxcnc-devel
[13:58:28] <jepler> freebsd's mktemp manpage implies there's a -d flag there too (I wondered if -d was a gnuism)
[13:59:01] <jepler> ugh look how gnu mktemp and freebsd mktemp's -u options operate:
[13:59:05] <jepler> -u, --dry-run
[13:59:05] <jepler> do not create anything; merely print a name (unsafe)
[13:59:10] <jepler> -u Operate in ``unsafe'' mode. The temp file will be unlinked
[13:59:10] <jepler> before mktemp exits. This is slightly better than mktemp(3) but
[13:59:10] <jepler> still introduces a race condition. Use of this option is not
[13:59:11] <jepler> encouraged.
[13:59:31] <jepler> it's a bad idea either way, but still..
[13:59:59] gimpspace is now known as gimpswork
[14:00:28] <cradek> on freebsd, you apparently need a template
[14:00:44] <cradek> but that's just the start of my troubles
[14:00:51] -!- skunkworks [skunkworks!~skunkwork@68-115-41-210.static.eucl.wi.charter.com] has joined #linuxcnc-devel
[14:01:05] <jepler> yes
[14:01:11] <jepler> I am not surprised
[14:01:55] <jepler> I have some patches for linuxcnc on debian-kfreebsd which may help you inch closer
[14:02:02] <jepler> I wonder where they went..
[14:02:49] <jepler> http://emergent.unpythonic.net/files/sandbox/linuxcnc-debian-kfreebsd.patches.mbox
[14:04:53] -!- ravenlock has quit [Ping timeout: 248 seconds]
[14:06:40] -!- stsydow has quit [Ping timeout: 246 seconds]
[14:06:49] -!- holst has quit [Remote host closed the connection]
[14:24:37] -!- psha [psha!~psha@213.208.162.67] has joined #linuxcnc-devel
[14:26:00] -!- blommer has quit [Ping timeout: 264 seconds]
[14:27:21] <cradek> jepler: what branch were you on?
[14:27:33] -!- vladimirek has quit [Remote host closed the connection]
[14:27:46] <cradek> (I got configure to complete)
[14:28:20] -!- tmcw has quit [Remote host closed the connection]
[14:28:24] -!- carper64 has quit []
[14:29:03] roh_ is now known as roh
[14:36:03] -!- zzolo has quit [Quit: zzolo]
[14:37:30] -!- kwallace [kwallace!~kwallace@smb-81.sonnet.com] has joined #linuxcnc-devel
[14:38:46] -!- cnc_yqp has quit [Quit: ChatZilla 0.9.90 [Firefox 20.0/20130326150557]]
[14:39:48] -!- AR_ has quit [Ping timeout: 264 seconds]
[14:41:24] <cradek> I see you were probably working on 2.5, since the patches apply there
[14:47:44] -!- fewcha has quit [Ping timeout: 255 seconds]
[14:51:17] -!- AR__ has quit [Ping timeout: 252 seconds]
[14:54:18] -!- JT-Shop has quit [Read error: Connection reset by peer]
[14:54:53] -!- JT-Shop [JT-Shop!~John@162.72.171.228] has joined #linuxcnc-devel
[14:56:24] <cradek> jepler: I got a few low-hanging fruit... http://timeguy.com/typescript
[14:57:38] <cradek> include path gets lost sometimes. I see some -nostdinc for the RTOBJ, which explains some of the libintl.h trouble maybe?
[14:59:08] -!- kwallace1 [kwallace1!~kwallace@smb-233.sonnet.com] has joined #linuxcnc-devel
[15:00:39] -!- kwallace has quit [Ping timeout: 256 seconds]
[15:03:56] -!- Tecan has quit [Ping timeout: 252 seconds]
[15:05:35] -!- _javisantana has quit [Ping timeout: 252 seconds]
[15:08:21] -!- smithrobs has quit [Ping timeout: 248 seconds]
[15:08:36] smithrobs_ is now known as smithrobs
[15:29:05] -!- mhaberler has quit [Quit: mhaberler]
[15:29:17] -!- ler_hydra has quit [Remote host closed the connection]
[15:32:26] -!- stsydow has quit [Remote host closed the connection]
[15:40:46] -!- ve7it [ve7it!~LawrenceG@S01060014d19d0b68.pk.shawcable.net] has joined #linuxcnc-devel
[15:48:59] -!- mourner has quit [Quit: mourner]
[16:00:07] -!- fewcha has quit [Ping timeout: 258 seconds]
[16:01:10] -!- jfire has quit [Quit: Leaving.]
[16:07:14] <jepler> cradek: do a make V=1 and let's see the actual commandline for that failing build of stashf for realtime
[16:07:14] -!- tjb1 has quit [Quit: tjb1]
[16:07:36] <jepler> I would have expected it to be built with -DRTAPI if it's realtime
[16:11:56] <cradek> jepler: refresh
[16:13:39] -!- gimpswork has quit []
[16:14:24] <cradek> jepler: it's in /usr/local/include, which is in my environmental CFLAGS
[16:15:24] <cradek> and my system doesn't have alloca.h at all
[16:16:54] <skunkworks> sounds like the emcfest will be the best yet!
[16:17:02] <cradek> yeah it sounds really great
[16:17:59] <jepler> cradek: why is the #include on line 30 even being expanded? It should be #if'd out by the #ifdef RTAPI
[16:19:05] <jepler> cradek: use <stdlib.h> for alloca
[16:19:11] <cradek> good question
[16:20:09] <seb_kuzminsky> skunkworks: yeah, i'm excited :-)
[16:20:21] <jepler> skunkworks: even though I'm thinking of coming?
[16:20:28] <cradek> haha
[16:20:55] <cradek> you better show up.
[16:21:11] <skunkworks> :)
[16:21:14] <cradek> I need someone to drive me home if I eat at that chinese buffet again.
[16:21:35] <seb_kuzminsky> cradek: are you driving the bus again?
[16:21:53] <cradek> yes, unless something unforseen happens (to it)
[16:22:19] <cradek> I noticed it has developed a slight plumbing problem, but all major systems are working
[16:22:36] <seb_kuzminsky> plumbing, who needs it
[16:23:34] <seb_kuzminsky> are you building linuxcnc on freebsd just for fun, or is there an ulterior motive?
[16:23:34] <skunkworks> I wonder what we are going to drive..
[16:23:54] <skunkworks> probably either our toyota or dads sinada(sp)
[16:23:55] <seb_kuzminsky> i wish i had a pilot's license and a small aircraft...
[16:24:27] -!- psha has quit [Quit: Lost terminal]
[16:24:35] -!- Jymmm has quit [Ping timeout: 245 seconds]
[16:24:41] <cradek> I'd like to know whether I could use freebsd for my desktop/laptop, and having linuxcnc-sim work is important to me
[16:24:49] <mozmck> I have a small aircraft - all in pieces though :)
[16:25:12] <cradek> but it's probably not worth the trouble and I should find the least-offensive linux to use instead
[16:25:31] <seb_kuzminsky> mozmck: which one?
[16:26:01] <mozmck> It was an old Funk, but will be a homebuilt if I get to it
[16:26:21] <seb_kuzminsky> do you have your license?
[16:26:27] <mozmck> not yet!
[16:27:19] -!- fewcha_ has quit [Remote host closed the connection]
[16:28:50] <seb_kuzminsky> hmm, a cesna 172 is $20k-$30k, plus $7k-$9k for the license, plus 6-9 months of study time, i'll probably have to hold off for a while ;-)
[16:29:23] <skunkworks> I always wanted to make an ultralite helecopter...
[16:29:50] <mozmck> yeah, that's why I planning to build a homebuilt. I can build it pretty cheap (unlike what a lot of people do), and I can then do all my annuals etc. May never do it though.
[16:30:23] <seb_kuzminsky> i have a friend who has a half-built kit plane (i forget the model) in his garage, it's been there for about a decade now
[16:30:33] <mozmck> skunkworks: it's faster and cheaper if you jump off a cliff!
[16:30:48] <mozmck> seb_kuzminsky: yeah, that happens a lot apparently.
[16:31:45] <mozmck> skunkworks: just kidding :) That does sound neat.
[16:31:48] <cradek> a decade is hardly any time at all for a big ill-planned project
[16:32:08] <seb_kuzminsky> heh
[16:32:22] <seb_kuzminsky> he's switched to high-power amateur rocketry
[16:32:25] <skunkworks> mozmck, oh - it will never happen... ;)
[16:32:49] <mozmck> you can often buy one of those projects pretty inexpensively
[16:33:36] <seb_kuzminsky> yes, but would you trust a home-built aircraft that someone abandoned?
[16:33:49] -!- tjb1 has quit [Quit: tjb1]
[16:34:10] <mozmck> yes, if I inspected it carefully.
[16:34:16] <seb_kuzminsky> makes sense
[16:35:28] <cradek> that's interesting. we often make the mistake of thinking the history of a thing is more important than its current state, which is the thing can actually be sensed/measured
[16:35:55] <cradek> it's another facet of the feelings vs logic battle
[16:36:32] <mozmck> yeah, history can be helpful, but not like an actually thorough inspection.
[16:37:24] <cradek> it's almost a kind of superstition, like not wanting to buy a house someone died in. you know the dead person isn't still there...
[16:37:49] <cradek> I find humans fascinating
[16:37:58] <mozmck> and some things can't even be measured very well like aluminum fatigue apparently, so they just put a time limit on some parts and replace them after so many hours.
[16:38:41] <kwallace1> I think cradek is part Vulcan?
[16:39:28] -!- tomate_ has quit [Remote host closed the connection]
[16:40:03] <cradek> seb_kuzminsky: I didn't intend to pick on you, sorry if I did
[16:40:24] <seb_kuzminsky> there's something you don't see every day ^^^^ someone connecting from an ipv6 address
[16:40:32] <seb_kuzminsky> cradek: i don't feel picked on :-)
[16:40:38] <cradek> oh good
[16:40:56] <cradek> some day I should figure out what ipv6 is good for
[16:41:17] <seb_kuzminsky> apparently we're *just* about to run out of ipv4 addresses... still
[16:41:28] <mozmck> for years now
[16:41:33] <cradek> dhcp and nat are pretty clever hacks
[16:42:28] <cradek> fortunately only providers need real ip addresses, consumers don't. if it was the other way we'd be in trouble.
[16:42:29] <seb_kuzminsky> the best feature i've seen in ipv6 (not that i've paid that much attention) is the mobile-ip stuff
[16:42:56] <mozmck> is that like mobile oil?
[16:43:18] <seb_kuzminsky> take your ip address with you when you go to work, to the coffee shop, etc, so people can connect to your machine directly
[16:43:37] <seb_kuzminsky> it'd enable things like meetup-server-free skype
[16:43:38] <cradek> and track your movements even more easily
[16:43:46] <seb_kuzminsky> heh yeah
[16:43:52] <seb_kuzminsky> privacy is dead
[16:44:01] <mozmck> I can see it now: the gov will hand out everyone an ipv6 address at birth...
[16:44:03] <cradek> the built-in fingerprinting seems to worry privacy people
[16:44:16] <cradek> mozmck: the UN surely!
[16:44:22] <seb_kuzminsky> mozmck: more like a class A at birth
[16:44:53] <mozmck> class A?
[16:45:19] <seb_kuzminsky> https://en.wikipedia.org/wiki/Classful_network
[16:45:26] <seb_kuzminsky> 8 bits of network address, 24 bits of host
[16:46:01] <mozmck> ah
[16:54:53] -!- dway has quit [Quit: NOOOOOOooooooooo……]
[17:00:29] -!- riz [riz!62dd7d6e@gateway/web/freenode/ip.98.221.125.110] has joined #linuxcnc-devel
[17:00:39] -!- erictheise has quit [Quit: erictheise]
[17:02:40] <riz> For one complete cycle in linuxcnc, does each module (task, motion, etc) run to completion before moving to the next module (such as running motion after task completes) or are they operatring in a interleved fasion switching between threads to give the effect of running in parallel?
[17:03:26] -!- Tecan has quit [Changing host]
[17:11:34] -!- stsydow has quit [Remote host closed the connection]
[17:13:44] -!- L33TG33KG34R has quit [Ping timeout: 252 seconds]
[17:17:46] -!- mackerski has quit [Quit: mackerski]
[17:24:38] -!- _javisantana has quit [Read error: Connection reset by peer]
[17:32:15] -!- psha [psha!~psha@213.208.162.67] has joined #linuxcnc-devel
[17:35:36] <seb_kuzminsky> riz: have you seen this? http://linuxcnc.org/docs/2.5/html/code/Code_Notes.html#_architecture_overview
[17:36:22] <riz> yes I have studied it a lot
[17:36:39] <riz> my issue is the interaction between motion and task
[17:36:46] <seb_kuzminsky> it shows that task and motion are separate threads the run concurrently
[17:37:03] <riz> yes, and at different update rates
[17:37:38] <riz> the sample configuration I was looking at was setting motion to run 10 times for every single time task runs
[17:37:44] <riz> if i'm understanding it correctly
[17:37:50] <riz> motion every millisecond
[17:37:56] <riz> task every 10 milliseconds
[17:38:07] <riz> for motenc at least
[17:38:13] <riz> motenc servo board
[17:38:34] <seb_kuzminsky> that sounds right
[17:39:09] <riz> within task when you issue a command such as EMC_TASK_MODE_AUTO
[17:39:19] <riz> it causes multiple commands to be sent to the shared memory
[17:39:23] <riz> which motion reads from
[17:39:27] <riz> not just a single command
[17:39:46] <riz> seems that it sends a comand to set the motion into a coordinated mode
[17:39:47] <seb_kuzminsky> i think the AUTO command stays in task and doesn't go to motion
[17:40:02] <riz> and then task immediately sends an abort command
[17:40:05] <seb_kuzminsky> but in general, one command to task may cause 0 or more commands to be sent to motion
[17:40:32] <riz> so if you are sending let say 2 commands from task to motion
[17:40:40] <riz> how do they not overwrite each other in shared memory
[17:40:46] <seb_kuzminsky> i dont know
[17:40:53] <seb_kuzminsky> maybe it uses a fifo?
[17:40:59] <seb_kuzminsky> i'd have to go read the code
[17:41:02] <riz> a fifo would be acceptable
[17:41:04] <riz> except
[17:41:10] <riz> what if you send an abort command
[17:41:19] <riz> it needs to be received immediately
[17:41:24] <seb_kuzminsky> true
[17:41:27] <riz> it can't wait for a prior command
[17:41:32] <riz> and from reading the code endlessly
[17:41:36] <riz> I don't see a fifo
[17:41:46] <riz> i see a linked list for mdi, and for interp
[17:42:02] <seb_kuzminsky> right, those are inside task
[17:42:05] <riz> the immediate commands go straight to usrmotwritemc()
[17:42:07] <seb_kuzminsky> they dont go to motion
[17:42:10] <riz> or whatever that interface function is called
[17:42:16] <riz> yup
[17:42:19] <riz> they don't go to motion
[17:42:28] <riz> it seems motion only accepts one command at a time
[17:42:41] <riz> unless the shared memory itself it inherently setup as a fifo
[17:42:55] <seb_kuzminsky> i haven't read the code for the interface between task and motion
[17:43:02] <riz> I don't really understand the rtapi code stuff
[17:43:09] <riz> oh ok
[17:44:05] <riz> from my understanding emcmotcommand is set in task
[17:44:27] <riz> and then it is written to shared memory using theat usrwritemotcommand function
[17:44:38] <riz> i butchered the name of the function
[17:45:16] <riz> no matter how fast motion is running, I don't see how two consecutive calls from task to write to shared memory are not over writing each other
[17:47:40] <seb_kuzminsky> look at usrmotWriteEmcmotCommand()
[17:48:02] <seb_kuzminsky> it writes the new command to motion's shm buffer, then waits for the command to be acknowledged by motion
[17:48:12] <seb_kuzminsky> it won't return until motion has read the command
[17:48:25] <seb_kuzminsky> so task can only write one command at a time to motion
[17:55:08] <riz> OK, let me check that out
[17:57:13] <riz> so while task is waiting, motion will be running?
[17:57:46] <riz> it will go through all of command and control and then update status
[17:58:06] <riz> and the whole time task is just waiting on status, once it gets acknowledgment it continues
[17:58:23] <riz> does that sound about right?
[18:03:01] -!- jthornton has quit [Read error: Connection reset by peer]
[18:03:01] -!- JT-Shop has quit [Read error: Connection reset by peer]
[18:05:03] <seb_kuzminsky> riz: yes, while task is waiting, motion is running
[18:05:49] <seb_kuzminsky> when motion is ready for task to send another command, it'll acknowledge the current command, and task will continue
[18:06:02] -!- andypugh [andypugh!~andy2@cpc16-basl9-2-0-cust685.20-1.cable.virginmedia.com] has joined #linuxcnc-devel
[18:06:34] <riz> that is awesome, thank you seb! i have been trying to understand that for a long time
[18:08:04] -!- erictheise has quit [Quit: erictheise]
[18:13:07] -!- JT-Shop [JT-Shop!~John@162.72.171.228] has joined #linuxcnc-devel
[18:13:17] -!- jthornton [jthornton!~john@162.72.171.228] has joined #linuxcnc-devel
[18:16:26] <cradek> riz: are you trying to fix something or implement a new thing?
[18:16:26] -!- odogono has quit [Ping timeout: 252 seconds]
[18:16:44] -!- fomox has quit [Ping timeout: 256 seconds]
[18:16:45] <cradek> mozmck: your email showed up.
[18:17:22] <seb_kuzminsky> riz: or just spelunking for fun?
[18:17:57] <riz> I am trying to understand how the threads are running because I am not familiar with linux at all
[18:18:22] <riz> I am trying to get experience coding with an open source project and this one seemed pretty cool
[18:18:40] <riz> I'm also trying to see if I could use smart drives that I have in the future
[18:18:44] <cradek> aha, just curious
[18:19:09] <riz> I thought that would be useful
[18:19:16] <riz> and maybe even implementing Ethercat
[18:19:19] <cradek> sometimes people ask lots of questions but their actual question/problem is something else entirely
[18:19:26] <riz> But it is taking much more time than anticipated
[18:19:33] <seb_kuzminsky> beware that motion and task are different kinds of threads (motion is realtime and runs in the kernel, task is a normal userspace process)
[18:19:41] <seb_kuzminsky> bbl lunch
[18:19:57] <cradek> I think there have been some previous discussions about ethercat - I don't know anything about it though.
[18:20:04] <riz> Truthfully, this is really a bit too complicated for me
[18:20:19] <riz> linuxcnc is a bit hard to follow. That is why I bother you guys so much haha
[18:20:40] <cradek> my advice to people wanting to get involved is to start with some simpler part with a simple goal in mind, and don't make the mistake of thinking you have to understand ALL parts to change anything
[18:21:04] <cradek> new programmers sometimes make that mistake and it's just not the case
[18:21:06] <riz> You are right. I am a bit overwhelmed right now
[18:21:15] <riz> I need to take a step back and focus
[18:21:21] <pcw_home> I think the Ethercat implementation is standard in that it interfaces to HAL (no higher level changes needed)
[18:21:33] <cradek> cool
[18:21:42] -!- Nick001 has quit [Ping timeout: 264 seconds]
[18:22:32] <cradek> at $DAY_JOB we once hired a programmer who printed all the source code to study, because he wanted to understand it all before he felt confident changing anything
[18:22:50] -!- stsydow has quit [Ping timeout: 255 seconds]
[18:23:04] <pcw_home> did he ever get through it all?
[18:23:06] <cradek> he now works for one of our competitors, but he gave us all the printouts in case someone else might need them.
[18:23:10] <cradek> um, no.
[18:23:31] -!- ekolojik has quit [Changing host]
[18:24:17] <cradek> I thought that was a funny story, but now that I see it, it's just kind of sad
[18:26:56] <pcw_home> not so sad if they were young and overambitious
[18:27:15] <andypugh> Large sections of LinuxCNC remain a mystery to me, but I have committed hundreds of lines of code to sections I understand parts of (HAL, mainly)
[18:28:32] <pcw_home> Task and motion perplex me
[18:29:11] <pcw_home> freeby.mesanet.com/7I73R12.BIN = 7I73 firmware with 2 key rolover
[18:29:20] <pcw_home> rollover
[18:29:40] -!- tjb1 has quit [Quit: tjb1]
[18:30:13] <pcw_home> Beethoven
[18:33:09] <mozmck> I'm over ambitious, but not so young any more :(
[18:33:37] <pcw_home> you and me both
[18:34:20] <mozmck> If I don't add any new projects, I might can finish my currents ones in about 100 years :)
[18:34:36] <mozmck> Then I'll only be 137
[18:35:26] <pcw_home> Ha! my projects are self canceling since the technology moves one before I finish
[18:35:45] <andypugh> I am 10 years older than you, but seem to have 110 years of projects, not 90..
[18:36:22] <andypugh> I doubt that technology will move away from the 1922 Ner-a-Car restoration project.
[18:36:34] <mozmck> Mine are quite varied :) Airplane, steam engine (in the shop now) set up to run my flat belt machines, electronics stuff, etc.
[18:37:19] <mozmck> I want a doble steam car, or better yet, to design an improved automobile steam engine.
[18:39:01] -!- erictheise has quit [Ping timeout: 248 seconds]
[18:40:30] <andypugh> I wanted to make a RobotWars robot with a modern steam engine. Flash-boiler, PTFE pistons, sliding rotary valvegear. Basically a steam engine that _wasn't_ a copu of something 200 years old.
[18:41:07] <mozmck> :) I don't know about RobotWars, but I wanted to do the same thing for a normal car.
[18:41:28] <zultron> andypugh, what Ner-a-Car project?
[18:41:41] <mozmck> The doble was pretty amazing, but from what I read had lots of room for improvement.
[18:42:12] <andypugh> I have a project (stalled) to restore my crates of 1922 Ner-A-Car into a motorcycle,
[18:42:21] <zultron> No way!!! http://www.butchwax.com/2011/01/1924-ner-a-car-back-in-the-family/
[18:42:30] <zultron> UK model? Which one?
[18:42:55] <andypugh> Model A. 200cc 2-stroke
[18:43:22] <zultron> Ah, that's the closest UK model to my great-grandpa's original design. :)
[18:44:15] <andypugh> Wow!
[18:44:46] <andypugh> So, are you saying that you have a Ner-a-Car?
[18:44:51] <zultron> The UK model C took away the 2-stroke and the friction drive, which removes some of the neato simplicity.
[18:45:24] <andypugh> And adds a measure of "working properly" :-)
[18:45:40] <zultron> Yeah, that pic on my blog is of me & my dad. His name is Carl Neracher Morris, and he's the grandson of Carl Neracher.
[18:45:58] <zultron> The Blackburn engines don't work well?
[18:46:47] <zultron> Someone just sent me a pretty cool article about Cannonball Baker's coast-to-coast trip on a Neracar: http://www.motorcyclecannonball.com/index.php?option=com_content&view=article&id=268:how-i-crossed-america-on-neracar&catid=36:history-stories&Itemid=58
[18:47:17] <mozmck> zultron: is butchwax.com your site?
[18:47:23] <zultron> Yes.
[18:47:35] <zultron> That's my neglected personal site. :)
[18:47:51] <andypugh> They seem to work fine. I rode this one when I was at college: http://www2.imperial.ac.uk/blog/mascots/2013/02/04/derrick/
[18:48:00] <mozmck> neat! I see you have worked on some sewing machines? I have rebuilt a number of pfaff 1222s
[18:48:30] <andypugh> A friend of mine has something like 7 Ner-a-Cars
[18:50:06] <zultron> Just one sewing machine. I have a serger that needs fixing too. The pfaff 1222 is an 'electronic' model? But really mechanical, right?
[18:51:05] <zultron> andypugh, how did you come to ride that one? Is your friend with 7 Ner-a-Cars the owner?
[18:52:18] <zultron> My dad fired the starter pistol in the, erm, maybe 2001 Banbury Run, where 11 Ner-a-Cars showed (most were Ner-a-Cars, maybe a couple of (US model) Neracars).
[18:52:47] <andypugh> That one belongs to the students Union od Imperial College. (As well as a 1902 James and Browne car, a 1926 Morris Commerical truck, and my first (mechanical) love the 1916 Dennis fire engine: http://en.wikipedia.org/wiki/RCS_Motor_Club
[18:54:13] <zultron> Oh wow, that fire engine is gorgeous.
[18:55:03] <zultron> On your first link it says "Less than a dozen Ner-a-Cars are believed to exist in the UK today". With the 11 in the 2001 Banbury, plus your friend's seven, I bet that's been topped. :)
[18:55:13] <zultron> What's your friend's name?
[18:55:30] <mozmck> zultron: the 1222 has an electronic module which gives a more constant torque to the motor, but everything else is mechanical.
[18:55:47] <andypugh> Andy Smith
[18:56:57] <zultron> mozmck, the Husqvarna Viking 6000 series (mine's a 6030) had an electronic model that came later, maybe in the '80s. Same thing, a motor controller, and it could stop the motor with the needle in the up position.
[18:58:01] <mozmck> Yeah, The needle up is part of the pfaff 1222 "electronic" stuff. They are good machines overall.
[18:58:33] <mozmck> Much better than new stuff. My wife uses mostly industrial machines and I service those when needed as well.
[18:58:56] -!- syyl_ws has quit [Quit: Verlassend]
[18:58:58] <zultron> Hmm, Andy Smith isn't part of the Ner-a-Car communities I'm in.
[19:00:12] <andypugh> He doesn't often use his real name. He is generally known as "Crankshaft"
[19:00:13] <zultron> The Viking 6000 service manual spends the first 20-30 pages bragging about their technology. I love it. They say their hook needs something like 200 steps to manufacture.
[19:01:40] <mozmck> heh. I've heard those vikings are pretty good, and the berninas from that time frame.
[19:02:04] <zultron> Well, there's a Neracar group on Google. It's probably descended from Ken Philp, and Martin Philp is a member. You know them? I don't think there's a guy in that group close to our age, except maybe Martin.
[19:03:35] <zultron> Anyway, gotta run. The accountant we hired several months ago wouldn't even tell me what he needed to do the company taxes until yesterday.
[19:03:40] <andypugh> I basically bought all the model A parts that Andy had off of him about 4 years ago, and have done nothing at all with them since.
[19:03:57] <andypugh> Job 1: Unrivet the chassis and replace the rusted sections....
[19:06:25] -!- JT-Shop has quit [Read error: Connection reset by peer]
[19:06:25] -!- jthornton has quit [Read error: Connection reset by peer]
[19:16:33] -!- stsydow has quit [Remote host closed the connection]
[19:19:32] -!- cmorley has quit [Ping timeout: 255 seconds]
[19:20:58] -!- b_b has quit [Changing host]
[19:21:41] -!- psha has quit [Quit: Lost terminal]
[19:32:20] -!- zlog has quit [Read error: Operation timed out]
[19:32:26] -!- Tom_itx has quit [Ping timeout: 256 seconds]
[19:40:02] -!- ravenlock has quit [Ping timeout: 252 seconds]
[19:57:05] -!- _javisantana has quit [Ping timeout: 245 seconds]
[19:58:12] -!- vladimirek [vladimirek!~vladimire@95.105.250.72] has joined #linuxcnc-devel
[20:00:30] -!- zlog has quit [Remote host closed the connection]
[20:12:16] -!- FinboySlick has quit [Quit: Leaving.]
[20:16:28] -!- JT-Shop [JT-Shop!~John@162.72.171.228] has joined #linuxcnc-devel
[20:16:31] -!- jthornton [jthornton!~john@162.72.171.228] has joined #linuxcnc-devel
[20:25:39] -!- ve7it has quit [Remote host closed the connection]
[20:29:02] -!- ve7it [ve7it!~LawrenceG@S01060014d19d0b68.pk.shawcable.net] has joined #linuxcnc-devel
[20:42:10] -!- R2E4_ has quit [Ping timeout: 246 seconds]
[20:42:12] -!- riz has quit [Quit: Page closed]
[20:45:06] -!- jfire has quit [Read error: Connection reset by peer]
[20:46:07] -!- erictheise has quit [Quit: erictheise]
[20:46:08] -!- tmcw has quit [Remote host closed the connection]
[20:46:29] -!- smithrobs has quit [Ping timeout: 248 seconds]
[21:01:08] Cylly is now known as Loetmichel
[21:01:37] -!- shurshur has quit [Remote host closed the connection]
[21:05:50] -!- odogono has quit [Ping timeout: 252 seconds]
[21:09:52] -!- syyl has quit [Quit: Leaving]
[21:11:30] -!- ekolojik has quit [Quit: Konversation terminated!]
[21:14:26] -!- DJ9DJ has quit [Quit: bye]
[21:15:19] -!- skorasaurus has quit [Quit: left the building.]
[21:15:34] -!- chillly has quit [Quit: Leaving]
[21:21:45] -!- skunkworks has quit [Read error: Connection reset by peer]
[21:32:02] -!- Simooon has quit [Quit: Leaving]
[21:46:51] -!- krusty_ar has quit [Remote host closed the connection]
[21:46:51] -!- smithrobs_ has quit [Quit: ChatZilla 0.9.90 [Firefox 20.0/20130326150557]]
[21:47:43] -!- motioncontrol has quit [Quit: Sto andando via]
[21:50:44] -!- wboykinm has quit [Remote host closed the connection]
[21:52:46] -!- stsy has quit [Client Quit]
[21:59:44] -!- gabewillen has quit [Quit: gabewillen]
[22:01:51] <KGB-linuxcnc> 03seb 05v2.5_branch e04e7b5 06linuxcnc 10src/configure.in * configure: align help text
[22:01:51] <KGB-linuxcnc> 03seb 05v2.5_branch b07fa5c 06linuxcnc 10README 10docs/INSTALL * don't give bad configure advise to users
[22:01:54] <KGB-linuxcnc> 03seb 05v2.5_branch c739828 06linuxcnc 10docs/ 10INSTALL 10README * rebranding/decrufting
[22:11:52] -!- Loetmichel has quit [Ping timeout: 240 seconds]
[22:13:45] -!- erictheise has quit [Ping timeout: 276 seconds]
[22:13:49] erictheise_ is now known as erictheise
[22:17:43] -!- Simooon has quit [Quit: Leaving]
[22:23:16] -!- cmorley [cmorley!~chris@S010600c09fc019c2.no.shawcable.net] has joined #linuxcnc-devel
[22:30:59] -!- vladimirek has quit [Remote host closed the connection]
[22:32:46] -!- tanepiper has quit [Ping timeout: 246 seconds]
[22:34:00] zenek is now known as micges
[22:38:51] -!- micges [micges!~zenek@dhq92.neoplus.adsl.tpnet.pl] has joined #linuxcnc-devel
[22:38:59] <KGB-linuxcnc> 03nieson 05master d5c1c94 06linuxcnc 10configs/sim/ 10(9 files in 2 dirs)
[22:38:59] <KGB-linuxcnc> gmoccapy - new hal pins for jog increment, jog button and unlock-settings new tabs location and others
[22:39:00] <KGB-linuxcnc> 03nieson 05master 63a5c8f 06linuxcnc 10configs/sim/gmoccapy/gmoccapy_handler.py * gmoccapy 0.8.9 - fixed a bug in tool change
[22:39:07] <KGB-linuxcnc> 03nieson 05master b1728fd 06linuxcnc 10configs/sim/gmoccapy/gmoccapy_handler.py * gmoccapy - forgot to change halpin name in jog increment change
[22:44:58] -!- zzolo has quit [Quit: zzolo]
[22:56:56] -!- asdfasd has quit [Ping timeout: 252 seconds]
[22:59:24] -!- ravenlock has quit [Quit: Leaving]
[23:02:54] -!- mhaberler [mhaberler!~mhaberler@macbook.stiwoll.mah.priv.at] has joined #linuxcnc-devel
[23:04:37] -!- tanepiper has quit [Ping timeout: 246 seconds]
[23:04:38] -!- rob_h has quit [Ping timeout: 252 seconds]
[23:22:55] -!- chopper79 has quit [Quit: Leaving.]
[23:29:27] -!- andypugh has quit [Quit: andypugh]
[23:31:22] * zultron wonders what he's missed in the last few days' backlog. logger[mah]?
[23:31:40] <zultron> Heh, logger[mah] doesn't detect that.
[23:31:52] <zultron> logger[mah], you there?
[23:31:52] <logger[mah]> zultron: Log stored at http://linuxcnc.mah.priv.at/irc/%23linuxcnc-devel/2013-04-04.html
[23:33:30] -!- fomox has quit [Ping timeout: 256 seconds]
[23:33:41] -!- coors [coors!coors@c-71-193-105-131.hsd1.in.comcast.net] has joined #linuxcnc-devel
[23:34:12] <coors> hi
[23:41:43] -!- rob_h [rob_h!~rob_h@027c16a0.bb.sky.com] has joined #linuxcnc-devel
[23:50:47] -!- tmcw has quit [Remote host closed the connection]
[23:52:53] -!- ve7it has quit [Remote host closed the connection]
[23:53:17] -!- Nick001-Shop has quit [Quit: ChatZilla 0.9.90 [Firefox 19.0.2/20130307023931]]
[23:55:23] -!- stsydow has quit [Read error: Connection reset by peer]
[23:58:33] -!- linlin has quit [Remote host closed the connection]
[23:58:58] -!- linlin has quit [Excess Flood]
[23:59:08] -!- linlin has quit [Excess Flood]
[23:59:18] -!- linlin has quit [Excess Flood]
[23:59:29] -!- linlin has quit [Excess Flood]
[23:59:39] -!- linlin has quit [Excess Flood]
[23:59:47] -!- Tecan has quit [Read error: Connection reset by peer]