#linuxcnc-devel | Logs for 2013-07-29

Back
[12:34:44] -!- logger[psha] [logger[psha]!~loggerpsh@195.135.238.205] has joined #linuxcnc-devel
[12:34:44] -wolfe.freenode.net:#linuxcnc-devel- [freenode-info] help freenode weed out clonebots -- please register your IRC nick and auto-identify: http://freenode.net/faq.shtml#nicksetup
[12:36:09] -!- Wildhoney has quit [Ping timeout: 264 seconds]
[12:38:25] -!- b_b has quit [Changing host]
[12:46:53] -!- sirdancealo2 has quit [Ping timeout: 240 seconds]
[12:47:03] krusty_ar_ is now known as krusty_ar
[12:57:53] -!- sirdancealot has quit [Ping timeout: 240 seconds]
[12:59:30] -!- skorasaurus has quit [Quit: WeeChat 0.3.7]
[13:13:57] -!- Kup has quit [Ping timeout: 264 seconds]
[13:17:11] -!- kwallace [kwallace!~kwallace@smb-108.sonnet.com] has joined #linuxcnc-devel
[13:17:51] -!- KekS- has quit [Quit: Page closed]
[13:17:51] -!- Spida has quit [Ping timeout: 240 seconds]
[13:20:53] -!- odogono has quit [Ping timeout: 240 seconds]
[13:29:09] -!- md-2 has quit [Ping timeout: 248 seconds]
[13:35:54] -!- theorbtwo has quit [Remote host closed the connection]
[13:49:20] md2 is now known as Guest26486
[13:52:09] -!- maximilian_h [maximilian_h!~bonsai@g228077232.adsl.alicedsl.de] has joined #linuxcnc-devel
[13:52:58] -!- md-2 has quit [Ping timeout: 276 seconds]
[13:57:31] -!- riz_ [riz_!62dd7d6e@gateway/web/freenode/ip.98.221.125.110] has joined #linuxcnc-devel
[13:59:11] -!- rob__H [rob__H!~rob_h@94.1.85.191] has joined #linuxcnc-devel
[13:59:35] <riz_> When it comes to mdi commands. I see that halui takes in mdi_commands[n]. Is this an array of commands whereby multiple commands can be executed at once iwth mdi, or is this just an array to hold a single command?
[14:02:48] -!- rob_h has quit [Ping timeout: 256 seconds]
[14:04:37] <cradek> what are you trying to do?
[14:06:28] <riz_> I'm trying to run multi-line mdi commands
[14:06:49] <riz_> rather than a single command at a time
[14:06:50] <cradek> ah, make a sub, and use halui to issue O<sub> call
[14:06:58] -!- theorbtwo has quit [Remote host closed the connection]
[14:07:00] <riz_> I do this in one of my fanuc systems now
[14:08:08] <riz_> So mdi_commands[n] just refers to a single line string of length [n]?
[14:08:50] <cradek> in the ini file, you specify one line per halui-mdi input pin
[14:09:21] <cradek> I don't remember how it's stored in the C and it doesn't matter
[14:09:49] <cradek> mdi commands are one line at a time, whether you type them or they come from the ini file via halui
[14:09:56] <cradek> but that one line can be O-call
[14:10:06] <cradek> and this is the answer to your problem
[14:10:27] <riz_> OK, I see
[14:10:33] <riz_> Thanks. Will try it out
[14:10:47] <cradek> http://www.linuxcnc.org/docs/html/man/man1/halui.1.html
[14:11:17] <cradek> see the mdi section here in the halui docs
[14:12:21] <cradek> also http://www.linuxcnc.org/docs/html/gcode/o-code.html#_calling_files
[14:12:23] <riz_> OK. I'll check it out
[14:34:23] -!- knownasilya has quit [Ping timeout: 240 seconds]
[14:36:08] -!- Kup has quit [Read error: Connection reset by peer]
[14:40:24] -!- ktchk has quit [Ping timeout: 268 seconds]
[14:41:50] -!- psha[work] has quit [Quit: Lost terminal]
[14:42:36] -!- ktchk [ktchk!~eddie6929@n219073005028.netvigator.com] has joined #linuxcnc-devel
[14:46:43] <ktchk> Hello ubuntu precise rtai linuxcnc 2.5 is there any success road map?
[14:48:10] <cradek> ktchk: this RTAI tree is reported to work with 3.x kernels and run linuxcnc: https://github.com/ShabbyX/RTAI
[14:48:32] <cradek> ktchk: I have not tried it. if you try it, please report your results here!
[14:50:36] <ktchk> cradek: how about linuxcnc 2.5 can it be complile under rtai3.x?
[14:52:16] <cradek> I think if you can get that rtai built, linuxcnc 2.5 will run under it, but I have not tried it.
[14:53:27] <ktchk> Ok I have a ssd can test on. will come back later.
[14:54:36] <cradek> seb_kuzminsky: hmm, I thought we decided 4th saturday, not last saturday, but I see that's not in the first meeting's minutes
[14:56:23] <cradek> seb_kuzminsky: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?action=browse&diff=1&id=MeetingsOnIRC&revision=7&diffrevision=6
[14:57:17] -!- gimps_ has quit [Client Quit]
[14:57:22] -!- kwallace2 [kwallace2!~kwallace@smb-86.sonnet.com] has joined #linuxcnc-devel
[14:57:39] -!- gimps has quit [Disconnected by services]
[14:58:01] <cradek> ok I'm not imagining that there was some support for that: http://meetlog.archivist.info/meeting.php?id=201306
[14:58:31] <cradek> there was no firm decision
[14:58:54] -!- kwallace has quit [Ping timeout: 268 seconds]
[14:59:42] -!- f1oat [f1oat!~f1oat@AMontsouris-553-1-69-16.w92-151.abo.wanadoo.fr] has joined #linuxcnc-devel
[14:59:44] <cradek> seb_kuzminsky: the irc channel topic and http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Meeting201308 don't agree so we need to figure this out asap
[15:04:28] -!- riz_ has quit [Quit: Page closed]
[15:08:29] -!- JT-Shop has quit [Read error: Connection reset by peer]
[15:08:29] -!- jthornton_ has quit [Read error: Connection reset by peer]
[15:08:58] -!- jthornton_ [jthornton_!~john@198.45.190.160] has joined #linuxcnc-devel
[15:08:58] -!- JT-Shop [JT-Shop!~John@198.45.190.160] has joined #linuxcnc-devel
[15:12:35] -!- syyl_ws has quit [Quit: Verlassend]
[15:14:37] -!- ve7it [ve7it!~LawrenceG@S01060014d19d0b68.pk.shawcable.net] has joined #linuxcnc-devel
[15:20:49] <seb_kuzminsky> cradek: darn, i messed it up :-(
[15:22:37] <seb_kuzminsky> ok it seems like the 4th saturday had more support than the last saturday
[15:22:48] -!- maximilian_h has quit [Quit: Leaving.]
[15:24:32] <seb_kuzminsky> i updated the wiki, i'll mail out a correction to my earlier announcement
[15:28:27] <seb_kuzminsky> email's away
[15:28:55] <seb_kuzminsky> and i updated my proposal on the 2013 August agenda to say "4th Saturday" instead of "last Saturday"
[15:41:14] -!- mhaberler has quit [Quit: mhaberler]
[15:42:45] -!- AR__ has quit [Ping timeout: 264 seconds]
[15:44:39] <cradek> aha thanks
[15:44:57] <cradek> I didn't know if you had reasons to prefer last over 4th
[15:45:36] <seb_kuzminsky> my only reason is that it makes it 0.1% faster to identify the square to click in in the calendar
[15:45:50] <cradek> I didn't remember that we decided not to decide yet, haha
[15:46:04] <seb_kuzminsky> it's the first one fom the end, not the 4th one from the beginning
[15:46:48] <seb_kuzminsky> i guess the civic thing for me to do last month would have been to send out a broadcast email trying to build consensus for one or the other
[15:47:15] <seb_kuzminsky> i dont actually care which it is, i just want us to pick one so i dont have to think about it any more
[15:47:52] <seb_kuzminsky> oh btw, i built linux 3.4.53 with the shabby/memleak rtai, gonna try booting it on real hardware one of the next couple of nights
[15:48:13] <cradek> jepler said 4th was easier than last for putting in software calendar things - if this is true it's a strong reason I think (I don't use any calendaring stuff)
[15:48:30] <cradek> also I object on principle to calendar being a verb
[15:48:53] -!- sirdancealot has quit [Ping timeout: 240 seconds]
[15:48:57] <seb_kuzminsky> all the calendars i've used support both "Nth from the beginning" and "Nth from the end", i think
[15:49:05] <seb_kuzminsky> but like i said, i really dont care
[15:49:44] <seb_kuzminsky> and if i'd known people would have a preference for the other way of identifying a saturday i would have chosen it from the start
[15:49:47] -!- ktchk has quit [Ping timeout: 260 seconds]
[15:50:07] <cradek> it's as if you're totally reasonable
[15:50:15] <seb_kuzminsky> heh
[15:50:24] <seb_kuzminsky> only on things that don't matter ;-)
[15:51:11] <cradek> might that be useful for precise? I think precise uses an offspring of 3.2.0
[15:51:22] <seb_kuzminsky> yes i think it will be useful for precise
[15:51:39] <cradek> I am nervous about abandoning the distro's kernel - that's sure led to misery in the past
[15:51:54] <seb_kuzminsky> i've been doing all my rtai testing so far on paolo's 3.5.7 kernel on precise, and haven't run into any kernel/usr problems
[15:52:09] <cradek> skunkworks had network card problems
[15:52:22] <seb_kuzminsky> ah yes, i remember that
[15:52:24] <cradek> and I bet neither of you depend on terrible firmware blobs
[15:52:39] <cradek> stuff like that is where the misery is usually found
[15:53:32] <seb_kuzminsky> i guess we could ask memleak to port his kernel patch to 3.2
[15:53:39] <cradek> but my mind's open about this - I'm not saying it's a dead end or anything
[15:53:56] <seb_kuzminsky> he seems to enjoy that kind of work, and helpful
[15:54:02] <cradek> heck maybe it'd just work? I have no idea how different they are
[15:54:14] <seb_kuzminsky> i think it's worth trying 3.4 on precise
[15:54:15] <cradek> yeah he's awesome
[15:54:22] <cradek> sure, why not
[15:54:43] <seb_kuzminsky> 3.4 is a long-term kernel maintained by greg k-h, unlike 3.2 which is eol-ed and only sporadically maintained by canonical now
[15:55:11] <cradek> I need to find me some newer hardware that can run precise+rtai
[15:55:39] <cradek> oh, it sure makes sense to move to 3.4 if possible then
[15:55:39] <seb_kuzminsky> i'm sad it doesnt run well on your old hardware, and confused, because it runs well on my old hardware
[15:55:52] <seb_kuzminsky> maybe your old hardware is older than my old hardware
[15:56:01] <cradek> yeah I couldn't get it installed on my P4 at all
[15:56:10] <seb_kuzminsky> i ran it on my P4
[15:56:18] <cradek> huh
[15:56:18] <seb_kuzminsky> the one that runs my bridgeport
[15:56:52] <cradek> I also tried an old server class xeon box with no luck
[15:57:05] <cradek> I didn't even bother to try my dual P3
[15:57:05] -!- capricorn_1 has quit [Quit: Konversation terminated!]
[15:57:13] <seb_kuzminsky> i've also run precise (not rtai) on an old pre-p4 laptop that i gave to my nephew
[15:57:23] <seb_kuzminsky> so weird
[15:57:32] <seb_kuzminsky> what happens when these machines don't work for you?
[15:58:01] <cradek> various wrong things I didn't record carefully :-/
[15:58:14] <seb_kuzminsky> oh, that! i think i heard another bug report like that!
[15:58:16] <cradek> I think one made it to the desktop, but it was weirdly broken somehow
[15:58:17] <seb_kuzminsky> :-P
[15:58:39] <cradek> the other would just do stupid grub tricks like freezing with the rectangle in the corner of the screen
[15:58:44] -!- b_b has quit [Excess Flood]
[15:59:02] -!- b_b has quit [Excess Flood]
[15:59:09] <cradek> did you install from usb or optical?
[15:59:13] -!- b_b has quit [Excess Flood]
[15:59:22] -!- b_b has quit [Changing host]
[15:59:24] -!- b_b has quit [Excess Flood]
[15:59:32] <seb_kuzminsky> usb, musta been
[15:59:36] <cradek> my usb installer was fine - I booted my (newish) desktop from it - but maybe usb+old hardware = doom
[15:59:37] -!- b_b has quit [Remote host closed the connection]
[15:59:49] <seb_kuzminsky> ah, that could be
[16:00:01] <seb_kuzminsky> we should find one of those floppy disks or dvds or whatever they were called
[16:00:02] <skunkworks> I remember trying seb_kuzminsky rtai build recently.. I don't remember if it had the same network card issue... (as xenomai)
[16:00:10] -!- b_b has quit [Changing host]
[16:00:21] <seb_kuzminsky> i remember you tried it skunkworks
[16:00:55] <seb_kuzminsky> you have that fateful nic, rtl 86 something something
[16:01:23] <cradek> you mean the first-known fateful nic
[16:01:31] <seb_kuzminsky> yes :-/
[16:01:34] <skunkworks> right
[16:01:49] <cradek> e1000s for everyone!
[16:02:30] <skunkworks> 8168
[16:02:36] <seb_kuzminsky> that sounds right
[16:02:39] <skunkworks> 8169
[16:02:42] <skunkworks> soemthing like that
[16:02:55] <cradek> I love motherboards with slots - driver is weird? get different card from pile, throw troublesome card in pile (do this in order)
[16:02:55] <seb_kuzminsky> i hereby nickname that nic "cancer"
[16:03:12] <skunkworks> the 8168 driver running the 8168 nic
[16:03:16] <skunkworks> heh
[16:03:24] <skunkworks> the 8169 driver running the 8168 nic
[16:03:53] <skunkworks> nic cancer.. Sounds like a super hero..
[16:03:54] <cradek> 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
[16:04:10] <cradek> funny, that's what's in my (mostly slotless) newish desktop
[16:04:10] <seb_kuzminsky> super villain
[16:04:22] <cradek> works fine in lucid and precise
[16:04:27] <seb_kuzminsky> yeah i guess it's the cheapest thing available, so all mb manufacturers use it
[16:04:36] <skunkworks> cradek, sure - just don't add realtime..
[16:04:51] <seb_kuzminsky> well, i think it's "just dont switch away from linux 3.2"
[16:04:53] -!- sirdancealot has quit [Ping timeout: 240 seconds]
[16:04:56] <cradek> yeah it's not a question of realtime
[16:04:58] <skunkworks> this is zultrons quote..
[16:04:59] <skunkworks> The r8169 driver is finicky when driving an r8168 NIC, and won't drive it at 1Gb in any case. The Xenomai patches break it entirely.
[16:05:26] <cradek> someone has slogged through the mud and made it work in lucid and precise, and we don't benefit from that work when we use a different kernel
[16:05:53] <cradek> oh xenomai is actually what breaks it? I didn't expect that.
[16:05:56] <cradek> shows what I know
[16:06:03] <seb_kuzminsky> if so, rtai breaks it too
[16:06:37] <cradek> I'm sad. it's been so long since linux + wired ethernet was hard to get working
[16:06:40] <seb_kuzminsky> i think the driver worked in older kernels, then someone hacked on it and broke this particular very common hardware, and that went into the newer kernel that both rtai and xenomai are based on
[16:09:07] <skunkworks> If you have an r8168 and networking problems (or want full 1Gb speed), install the correct r8168 driver. The r8169 may be loaded in the initrd, in which case the r8168 cannot be automatically loaded, because the two drivers conflict. To fix this problem, the initrd must be rebuilt to include the r8168.
[16:09:51] -!- dway has quit [Quit: NOOOOOOooooooooo……]
[16:11:03] <cradek> $ lsmod|grep r8
[16:11:03] <cradek> r8169 62154 0
[16:11:15] <cradek> my precise machine is using r8169 and gigabit works
[16:11:32] <cradek> I didn't do anything special
[16:12:44] <cradek> oh but it's 3.2 which is before the breakage?
[16:13:21] <skunkworks> sorry - I have nothing more to copy and paste..
[16:14:17] -!- abetusk has quit [Remote host closed the connection]
[16:16:43] <pcw_home> Zultron gave me specific instructions that fixed the 8168 issue on my (D525) test system
[16:16:45] <pcw_home> so he may be the one to ask about 8169/8168 issues
[16:16:55] <skunkworks> it is on the wiki
[16:16:59] <pcw_home> (8168 is newer BTW)
[16:17:15] <skunkworks> wait - I do have one more thing to copy and paste..
[16:17:27] <skunkworks> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?XenomaiKernelPackages
[16:19:45] <zultron> the r8169 driver driving the 8168 doesn't work well, only driving it at 100Mb if it works at all.
[16:19:52] <pcw_home> Wonder if the problem is that the 8169 driver thinks its OK with a 8168 (when it clearly is not)
[16:20:11] <zultron> Lots of kernel patches mess it up, even though they don't touch it directly at all.
[16:20:22] <zultron> Xen and xenomai are two examples.
[16:20:32] <pcw_home> yuck
[16:20:36] <zultron> I'd put money on RTAI messing it up, too.
[16:21:01] <pcw_home> yay for equality
[16:21:14] <cradek> zultron: do you know: did this become the case after kernel 3.2.0? I ask because mine works with the precise kernel.
[16:22:20] <zultron> I don't really know, but I do know that the Xen kernel breaks it for 2.6.something.
[16:22:25] <cradek> I am a heavy gigabit user (my home directory and other important things are on nfs) and it's using the 8169 driver
[16:22:39] <cradek> interesting, really old problem then
[16:22:55] <zultron> Yeah. A quick google search turns up LOTS of hits.
[16:23:02] <zultron> It's RealTek's fault. :P
[16:23:14] <cradek> bleh
[16:24:31] <zultron> More annoying is you can't put an 8168 and 8169 NIC in the same host at the same time.
[16:25:22] <cradek> I snap up e1000 cards whenever I see them at goodwill...
[16:28:17] <zultron> That's exactly what I did after figuring out this mess a year ago.
[16:28:24] <cradek> :-/
[16:31:35] -!- psha [psha!~psha@213.208.162.67] has joined #linuxcnc-devel
[16:31:52] -!- AR_ has quit [Ping timeout: 246 seconds]
[16:33:19] -!- mhaberler has quit [Quit: mhaberler]
[16:33:26] -!- `Nerobro has quit [Ping timeout: 240 seconds]
[16:39:44] <pcw_home> Maybe the 8169 driver should not indicate it works with 8168s...
[16:40:48] <pcw_home> this is an issue with the RTNet driver as well
[16:41:40] <zultron> Yeah, it's hard to believe that with the proliferation of these chipsets that nobody's gotten around to fixing the problem.
[16:42:52] <pcw_home> the 8168 has got to be one of the most common GigE chips on low cost MBs
[16:44:08] <pcw_home> sort of like the next gen RTK8139 (sort of sad that buggy RTK crap pushes out decent chips however)
[16:45:06] -!- Guest26486 has quit [Remote host closed the connection]
[16:45:59] <CaptHindsight> it works fine with winders and it's the cheapest, pretty much all the mainboard MBA's care about
[16:46:08] <pcw_home> we tried using some RTK chips in PC/104 Ethernet cards a while ago
[16:46:10] <pcw_home> reliably failed temperature tests
[16:48:08] <pcw_home> They probably fix the bugs in their windows drivers since thats their bread&butter
[16:49:04] -!- odogono_ has quit [Quit: odogono_]
[16:52:13] -!- jfire has quit [Quit: Leaving.]
[16:52:45] -!- motioncontrol has quit [Quit: Sto andando via]
[16:54:58] -!- R2E4_ has quit [Ping timeout: 276 seconds]
[16:58:57] <CaptHindsight> the latest R8168 driver is from last month
[17:00:23] -!- nspiel has quit [Ping timeout: 250 seconds]
[17:04:53] -!- sirdancealot has quit [Ping timeout: 240 seconds]
[17:04:59] <CaptHindsight> been running RTAI and 2.4 kernel all week on this with no issues yet http://www.gigabyte.us/products/product-page.aspx?pid=3447#sp
[17:05:19] <CaptHindsight> uses RT 8111C
[17:05:29] <cradek> do you mean 3.4?
[17:05:38] <CaptHindsight> heh yeah
[17:05:45] <cradek> aha
[17:05:58] <cradek> ShabbyX git rtai? have you run linuxcnc 2.5 on it?
[17:06:35] <CaptHindsight> pretty sure memleak has, he'll be back later
[17:06:49] <CaptHindsight> it's his system here
[17:07:17] <cradek> cool, ktchk was asking this question earlier, I'd like to hear too
[17:07:34] <CaptHindsight> in fact he developed it all using that board
[17:08:16] <CaptHindsight> latency is still poor on the new AMD Socket FM2 Athlon™/A- Series Processors
[17:08:32] <CaptHindsight> not sure why yet
[17:09:32] <CaptHindsight> I think he's going to get 64 bit working and then work with Lars on the solving the latency issues
[17:11:23] <seb_kuzminsky> well this is appropos: https://lwn.net/Articles/561327/
[17:11:30] <CaptHindsight> I have access to the AMD emulator for all the cpu's and chipsets, it would be interesting if we find anything in the hardware design that we can recommend to AMD to change to get latency below 1uS or better
[17:14:13] -!- Wildhoney has quit [Ping timeout: 248 seconds]
[17:17:05] <pcw_home> I would guess that unless all bus master transfers are are disabled/made synchronous with the RT threads I doubt if 1 usec is possible
[17:20:58] -!- erictheise has quit [Ping timeout: 276 seconds]
[17:20:58] erictheise_ is now known as erictheise
[17:21:36] <pcw_home> Though a early thread invocation, spin till timer match should get better than
[17:21:36] <pcw_home> 1 usec on most hardware at the expense of 100*maxlatency/threadperiod % CPU wastage
[17:21:41] <CaptHindsight> there was an Atom board that was under 1uS a few years ago
[17:21:57] <pcw_home> 1 usec if no I/O was done...
[17:22:10] <pcw_home> ~50 usec if done
[17:22:14] <CaptHindsight> Padnos used it for something
[17:22:43] <CaptHindsight> speaking of him, what has become of him?
[17:23:02] <pcw_home> Yeah no video
[17:23:19] <CaptHindsight> I never tried the board, only heard about his experience
[17:33:45] -!- javisantana has quit [Ping timeout: 264 seconds]
[17:37:11] -!- andypugh [andypugh!~andy2@cpc16-basl9-2-0-cust685.20-1.cable.virginmedia.com] has joined #linuxcnc-devel
[17:37:40] -!- jfire has quit [Ping timeout: 264 seconds]
[17:41:37] -!- `Nerobro_ has quit [Read error: Connection reset by peer]
[17:42:49] -!- fragalot has quit [Read error: Connection reset by peer]
[17:43:52] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 20.0/20130329043827]]
[17:52:21] mrsun is now known as MrSunshine
[18:02:27] -!- zzolo has quit [Quit: zzolo]
[18:36:03] -!- ve7it has quit [Remote host closed the connection]
[18:47:34] Amir_ is now known as Guest50868
[18:50:16] -!- Guest50868 has quit [Client Quit]
[18:51:10] -!- javisantana has quit [Remote host closed the connection]
[18:53:57] -!- ktchk [ktchk!~eddie6929@n219073005028.netvigator.com] has joined #linuxcnc-devel
[18:55:35] -!- nikola has quit [Quit: Page closed]
[18:55:59] -!- tom_o_t has quit [Quit: Leaving]
[18:57:09] -!- franco_64 has quit [Quit: Page closed]