#linuxcnc-devel | Logs for 2013-12-30

Back
[11:05:17] <skunkworks> micges, I am having trouble with the watchdog bitting with rtpreemt.. I am thinking I am doing something wrong with the network setup..
[11:05:44] <skunkworks> if I set the watchdog timeout really high - it runs for a few seconds before it fails.
[11:05:45] <micges> another test setup?
[11:06:02] <skunkworks> I have tried it in a few different computers with the same result
[11:06:16] <micges> ah, what was working wd timeout?
[11:06:58] <skunkworks> 1000000000 iirc - but it only runs for a few seconds before it hits again
[11:07:28] <skunkworks> is there anything special I have to do with the network inteface setup?
[11:07:56] <micges> in rt-preempt no
[11:08:11] <micges> besides connecting 7i80 directly
[11:08:22] <skunkworks> hmm - then I don't know what I am doing wrong
[11:08:44] <skunkworks> the latency when running the latency test is around 50us
[11:09:04] <micges> and making sure that eth driver is fixed for preempting kernel
[11:09:33] <skunkworks> ? how do you know?
[11:09:40] <micges> probably there is list somewhere
[11:10:01] <micges> I'll check this in few hours, I'm bit busy now
[11:10:09] <skunkworks> No problem
[11:18:24] <micges> what did you run on 7i80?
[11:19:47] <KGB-linuxcnc> 03Norbert Schechner 05master 99bdcd3 06linuxcnc 10configs/sim/gmoccapy/gmoccapy_plasma/signals.glade 10share/gscreen/skins/gmoccapy/gmoccapy_handler.py 10share/gscreen/skins/gmoccapy/release_notes.txt gmoccapy_0_9_9_7_3 - plasma screen layout reworked * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=99bdcd3
[11:21:03] <skunkworks> I was just flashing a gpio with siggen
[11:21:58] <micges> 1kHz ?
[11:22:16] <micges> (servo thread)
[11:22:48] <skunkworks> yes
[11:23:05] <micges> ok
[11:23:57] <skunkworks> tried it on some amd hardware, older atom board, dell workstation.
[11:24:34] <skunkworks> all different nics - also tried a pci intel pro/100
[11:48:19] <pcw_home> skunkworks: make sure that:
[11:48:20] <pcw_home> 1. You have ubuntu set for manual operation of the network port you are using
[11:48:21] <pcw_home> 2. The port has a route of 0.0.0.0
[11:48:23] <pcw_home> 3. The IP address range of the RT port does not overlap any active (for normal IP) ports range
[11:50:33] <pcw_home> (I set my 7I76e to 10.10.10.10 so its not in my internet connection range at all: lots of problems went away...)
[11:54:11] <pcw_home> micges: BTW mesaflash doesn't report the EEPROM IP address correctly (it reports the current address, not the EEPROM setting)
[11:54:24] <skunkworks> pcw_home, do you mean the gateway of 0.0.0.0?
[11:54:37] <pcw_home> Yes
[11:54:49] <skunkworks> will try
[11:54:58] <skunkworks> I set the ip6 to ignore
[11:55:00] <skunkworks> also
[11:55:21] <pcw_home> and manual (otherwise ubuntu mucks about with the port preiodically)
[11:56:29] <pcw_home> fixing the IP address seems to have fixed the occasional latency spikes with the on card MAC also
[11:56:37] <skunkworks> ok - so set the ip6 to manual? (it has an option of ignore)
[11:56:58] <pcw_home> set ipv6 to ignore and IPv4 to manual
[11:57:44] <pcw_home> (though the ubuntu network control panel stuff is infested with bugs)
[11:58:05] <pcw_home> half the time setting the ip address fails
[11:58:05] <micges> pcw_home: did you check ip returned by --verbose ?
[11:59:07] <pcw_home> Yes its wrong
[12:00:45] <pcw_home> (its a subtle issue maybe wrong is not the right word)
[12:01:51] <micges> ok, I just didn;t notice it yet
[12:02:10] <pcw_home> I expected to read the physical EEPROM value (which would reflect the new IP address immediately)
[12:02:31] <pcw_home> but maybe its OK
[12:04:01] <micges> if you have 10.10.10.10 then it should report it
[12:05:35] <pcw_home> the EEPROM IP was 192.168.1.122
[12:05:36] <pcw_home> I wrote a new 10.10.10.10 IP address
[12:05:38] <pcw_home> then mesaflash -- verbose (without power cycling 7I76E)
[12:06:28] <pcw_home> it still reports 192.168.1.122 (which is what the RO memory space would read but not the physical EEPROM)
[12:07:53] <pcw_home> so I guess its OK (fixed by power cycle)
[12:12:21] <pcw_home> looks like either moving to 3.12 or fixing my IP overlap got rid of the latency Ethernet latency spike on the MB Atheros MAC
[12:15:12] <pcw_home> still lousy due to video driver inteference on this system (maybe 280 usec worst case on rx) but acceptable at 1 KHz
[12:18:45] <skunkworks> still same issue. ip4 set to manual, gateway 0.0.0.0
[12:20:26] <micges> pcw_home: I see error, I'm reporting ip according to boot jumpers settings
[12:20:40] <micges> seems wrong approach
[12:21:56] <pcw_home> I just that it confused me since i check the EEPROM setting after I wrote it and
[12:21:58] <pcw_home> to me it looked like it didn't write (even though it did)
[12:22:47] <pcw_home> skunkworks: no ip-addr overlap with internet connection?
[12:23:21] <skunkworks> 1 cable hooked from the network card to the 7i80
[12:23:42] <skunkworks> no other network
[12:25:35] <pcw_home> odd, I have tested three systems so far and nothing like that (D525/8139,Asus with core Duo 5200, my desktop (running now))
[12:25:58] <skunkworks> darn
[12:26:09] <pcw_home> what kernel?
[12:27:12] <pcw_home> (3.12.5-rt7mah #1 SMP PREEMPT RT Thu Dec 19 18:57:34 CET 2013 i686 i686 i386 GNU/Linux)
[12:28:02] <skunkworks> huh - 3.10.4 - rt1mah #2
[12:28:29] <pcw_home> wheres the rest? (uname -a)
[12:28:36] <skunkworks> sorry - not on the network... hold on
[12:28:38] <skunkworks> :)
[12:28:49] <micges> oh new kernel available :)
[12:29:05] <pcw_home> seems more stable
[12:29:28] <pcw_home> (not skunkwords problem I dont think though)
[12:30:25] <micges> pcw_home: ok fixed, now eth eeprom area will report eeprom value and board section will report current ip
[12:31:04] <pcw_home> thats nicer (so you can verify whats there and not work in the dark when you change IP)
[12:31:27] <skunkworks> 3.10.4-rt1mah #2 SMP PREEMPT RT Thu Aug 1 23:59:36 CEST 2013 i686 i686 i386 GNU/Linux
[12:31:41] <skunkworks> where is the new one?
[12:32:00] <pcw_home> That should be OK
[12:32:04] <skunkworks> ok
[12:36:10] <micges> bbl
[12:36:38] <pcw_home> bye
[13:32:21] <KGB-linuxcnc> 03Norbert Schechner 05master c4beeab 06linuxcnc 10(5 files in 2 dirs) gmoccapy_0_9_9_7_3 - plasma support persistence vars * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=c4beeab
[17:12:49] <memleak> has anyone here tested preempt rt with latency-test and got latency numbers under 100K consistantly?
[17:13:13] <memleak> been several months since i last tried, just wondering if it's all fixed now since i saw some people running preempt_rt kernels
[17:20:23] <memleak> logger[mah], skunkworks
[17:20:23] <logger[mah]> memleak: Log stored at http://linuxcnc.mah.priv.at/irc/%23linuxcnc-devel/2013-12-30.html
[17:45:17] <skunkworks> memleak - I see about 60us or so max usually
[17:46:15] <skunkworks> but I just installed 12.04.3 and upated it - just before I left the latency test was 15us... (don't know how long that would last though)
[17:46:23] <skunkworks> with rt-preempt
[17:51:01] <memleak> great thanks!
[19:02:18] <PCW> skunkworks: 945GCLF works fine for me (using built in Ethernet)
[19:02:56] <eric_unterhause1> PCW: you were reporting decent results with rt-preempt and 12.04, correct?
[19:03:31] <skunkworks> ok - well I installed a fresh copy of 12.04 - isntalled rt-preempt and then build linuxcnc - I will play with it tomorrow
[19:03:52] <PCW> Yes though the latency test lies
[19:04:22] <PCW> I have a MB that has around 14 usec _reported_ latency
[19:04:56] <PCW> just some old ASUS MB with a Core Duo 5200
[19:05:08] <micges> rt-preempt have some tools to check latency?
[19:05:17] <eric_unterhause1> linuxcnc
[19:05:29] <eric_unterhause1> unified build
[19:06:02] <eric_unterhause1> PCW, what video?
[19:09:13] <PCW> let me check, not sure, its a ASUS P5KPL-CM, on board video
[19:11:34] <eric_unterhause1> looks like it's intel gma, whatever that is
[19:12:56] <PCW> maybe in the Intel chipset
[19:20:17] <skunkworks> was it the rtl61111?
[19:30:49] <PCW> Actually other then the D525 now i dont see an issue with the 8168
[21:18:22] <skunkworks> http://groups.yahoo.com/neo/groups/mach1mach2cnc/conversations/messages/142759
[21:19:40] <skunkworks> http://groups.yahoo.com/neo/groups/mach1mach2cnc/conversations/messages/142761
[21:21:08] <skunkworks> http://groups.yahoo.com/neo/groups/mach1mach2cnc/conversations/messages/142773
[21:23:08] <cradek> surely he's not thinking he can use velocity (!) feedback for threading/tapping
[21:24:13] <skunkworks> someone does...
[21:24:27] <skunkworks> Hi chirs
[21:24:28] <skunkworks> chris
[21:24:31] <cradek> hi
[21:25:27] <cradek> http://i254.photobucket.com/albums/hh100/TD7012/tumblr_mwwyqfoPr91qdlh1io1_400_zps9c8c8207.gif
[21:25:38] <cradek> what can't the internet do
[21:26:37] <skunkworks> heh
[21:42:27] <skunkworks> cradek: how is the delta coming? :)
[21:43:06] <cradek> dejectedly now that ja3/4 almost surely won't be in 2.6
[21:43:37] <skunkworks> what has that seb been doing? Jeezee
[21:43:43] <skunkworks> ;)
[21:43:54] <cradek> probably familying and holidaying
[21:44:02] <skunkworks> the nerve!
[21:44:23] <cradek> right now I'm fixing the house whenever I have any extra energy
[21:44:38] <cradek> probably no big shop projects for a while - maybe when it gets warm again (if it ever does)
[21:44:56] <skunkworks> heh - we just remodeled a small back room and moved the washer and dryer up to that closet..
[21:45:39] <cradek> I'd rather have a bathroom than laundry on the main floor. I pee dozens of times for every load of laundry I do.
[21:45:59] <skunkworks> wife giggles every time she does the laundry now. (yes I do laundry too - I just don't giggle..)
[21:46:04] <cradek> haha
[21:46:42] <skunkworks> that was what we did previous - remodeled the bathroom on the first floor.
[21:46:49] <cradek> I felt that way for a while after I got the new stove - but now I'm used to it and would whine if I had to use something else
[21:47:16] <skunkworks> (this house only has 1.5 bathroooms..)
[21:47:32] <skunkworks> what did you get for a new stove?
[21:47:40] <cradek> heh I have 1.0 and it's on the top floor
[21:48:00] <cradek> oh I "restored" an old 1957 roper and it's really nice to use
[21:48:12] <cradek> restored = updated safety equipment and fixed it all, mostly
[21:48:28] <skunkworks> heh - cool
[21:49:33] <cradek> http://cdn.c.photoshelter.com/img-get/I0000BSim0gRVWrY/s/900/900/ADVT-1956420-2.jpg
[21:49:54] <skunkworks> nice
[21:49:55] <cradek> this model, except mine has some extra stuff (oven window, timers)
[21:50:08] <cradek> I'm not as excited as she is, anymore
[21:50:13] <skunkworks> http://www.ebay.com/itm/Roper-4-burner-gas-stove-circa-1957-Model-Excellent-Condition-/200935419686?ViewItem=&item=200935419686&lgeo=1&vectorid=229466&nma=true&si=x7NRJNXeySBLughDIB8dKmCL1XI%253D&orig_cvip=true&rt=nc&_trksid=p2047675.l2557
[21:51:26] <cradek> cool griddle
[21:52:41] <cradek> my favorite uncommon-today feature on mine is a timer that turns a burner off
[21:53:02] <cradek> like you can set it to simmer for an hour and then turn off
[21:54:00] <cradek> but anyway, that's done, now I'm doing walls (learning to plaster)
[21:54:02] <skunkworks> that would be nice
[21:54:08] <skunkworks> yeck
[21:54:15] <skunkworks> sorry - did I say that?
[21:54:20] <cradek> heh
[21:56:59] <skunkworks> http://imagebin.org/index.php?mode=image&id=284562
[21:57:27] <skunkworks> needs a threshold yet...
[21:57:59] <cradek> whoah fancy
[22:02:42] <skunkworks> (this is also stella's play room - (why it is yellow)
[22:39:28] <Tom_itx> i dislike doing plaster with a passion
[22:39:37] <Tom_itx> but i've done plenty
[22:40:23] <Tom_itx> skunkworks, no regrets with a frontloader?
[22:40:30] <Tom_itx> i'd never buy another one
[22:40:38] <Tom_itx> the bearings can't take the load