#emc-devel | Logs for 2012-01-03

Back
[00:07:23] -!- Eartaker has quit [Quit: leaving]
[00:18:31] -!- andypugh has quit [Quit: andypugh]
[00:22:02] -!- EducaSoft has quit []
[00:22:36] -!- Mjolinor has quit [Quit: Leaving]
[00:31:13] -!- adb2 [adb2!~adb2@178-211-235-133.dhcp.voenergies.net] has joined #emc-devel
[00:31:54] -!- mastor has quit [Quit: Ex-Chat]
[00:58:38] -!- sumpfralle1 has quit [Ping timeout: 240 seconds]
[01:01:43] -!- adb2 has quit [Ping timeout: 252 seconds]
[01:15:38] -!- jthornton_ [jthornton_!~chatzilla@216-41-156-59.semo.net] has joined #emc-devel
[01:22:39] -!- whistlingtony has quit [Client Quit]
[01:23:03] -!- adb2 [adb2!~adb2@178-211-235-133.dhcp.voenergies.net] has joined #emc-devel
[01:33:39] -!- zlog has quit [Remote host closed the connection]
[01:33:50] -!- Tom_itx has quit []
[01:37:57] -!- i_tarzan has quit [Ping timeout: 248 seconds]
[01:41:19] -!- tlab has quit [Quit: Leaving]
[01:48:00] -!- clytle374-emc has quit [Remote host closed the connection]
[01:49:41] -!- i_tarzan has quit [Ping timeout: 248 seconds]
[02:16:45] -!- i_tarzan has quit [Ping timeout: 268 seconds]
[02:30:02] -!- rob_h has quit [Ping timeout: 252 seconds]
[02:58:29] -!- emcrules has quit [Ping timeout: 248 seconds]
[03:16:54] -!- clytle374 [clytle374!~cory@75-105-212-57.cust.wildblue.net] has joined #emc-devel
[03:18:17] <clytle374> mesa-hostmot2/encoder.c:808 ..... uh-oh, ecoder vel is broken when slow
[03:18:21] <clytle374> mean anything?
[03:18:53] <clytle374> says report it, but I'm on a home cooked rtai kernel and compiled 2.5 from git
[03:24:24] -!- jthornton_ has quit [Quit: ChatZilla 0.9.87 [Firefox 3.6.25/20111212142243]]
[03:26:00] <seb_kuzminsky> clytle374: thanks for the report
[03:26:29] <seb_kuzminsky> 2.5 from git should work fine, and that code has been stable for a long time when running on stable hardware & stable rtai
[03:26:35] <seb_kuzminsky> what's your latency numbers like?
[03:27:41] <clytle374> jitter under 5000.
[03:27:49] <clytle374> other wise very good
[03:27:52] <clytle374> atom board
[03:28:32] <clytle374> having weirdness like this http://pastebin.com/NMH4mW0h
[03:29:19] <seb_kuzminsky> what's weird about that?
[03:29:21] <seb_kuzminsky> bbl
[03:31:21] <clytle374> sorry wrong file here it is http://pastebin.com/WcKRjqwF
[03:31:46] <clytle374> incomplete pinouts, then after letting it sit I got the message I first posted.
[03:32:11] <clytle374> Please note it's possible, something it real wrong on my end
[03:38:00] -!- Tom_L has quit []
[03:38:44] <clytle374> *Please note it's possible that something is real wrong with my builds.
[03:52:13] -!- zephyr has quit [Quit: Ex-Chat]
[03:55:34] <seb_kuzminsky> clytle374: based on that load-time dmesg and the hm2 error, my first guess is the timing in your rtai is broken somehow
[03:55:52] <seb_kuzminsky> strange that your latency numbers look good though
[03:56:20] <seb_kuzminsky> how long did you run latency-test for? how did you stress the system while it was running?
[03:56:30] <clytle374> if i disable the watchdog it hangs in the same place.
[03:56:55] <seb_kuzminsky> do you mean disable the hm2 watchdog?
[03:57:00] <clytle374> ran tests with glxgears running and recompiling for 24hours
[03:57:02] <clytle374> yes
[04:00:29] <seb_kuzminsky> what do you mean by "disable the watchdog"? I think there's no way to disable it. I'm confused
[04:00:57] <clytle374> in the hal file I comment the line for the timeout
[04:01:32] <seb_kuzminsky> ah, you mean you leave the watchdog timeout at its default value?
[04:02:12] <seb_kuzminsky> or do you mean you comment out the call to the pet_watchdog function?
[04:02:27] <clytle374> I up a # in front of hm2_..... If I set it to 50000000, still hangs at the same place
[04:02:33] <clytle374> yes
[04:03:35] <seb_kuzminsky> when you say it hangs, do you mean your computer locks up? or the anyio card goes to the watchdog-has-bitten-me state, with all outputs high and no communication with emc2, but the computer keeps running?
[04:04:13] <clytle374> computer runs... dmesg stops until I exit emc
[04:04:54] <clytle374> axis stays up and seems to work, no hardware connections yet
[04:05:00] <seb_kuzminsky> ok i see
[04:05:10] <seb_kuzminsky> that's normal, that's what the watchdog is supposed to do
[04:05:27] <clytle374> sorry, I described it badly
[04:06:30] <seb_kuzminsky> you can un-freeze the anyio board by restarting emc2, and also by running (in the shell) "halcmd setp hm2_blah.0.watchdog.has_bit 0"
[04:06:55] <seb_kuzminsky> so i think you have described two real problems, possibly related
[04:07:10] <seb_kuzminsky> one is the messages missing from dmesg when you start emc2
[04:07:20] <seb_kuzminsky> the other is the hm2 encoder error message
[04:07:48] <clytle374> any idea where to go? I know it isn't your problem. Just looking for a hint
[04:08:03] <seb_kuzminsky> the watchdog is behaving normally, if we assume you're not petting it properly or your pet interval is too long
[04:08:24] <seb_kuzminsky> well it sort of is my problem, i wrote the hm2 driver and i should fix the bugs in it ;-)
[04:08:24] <clytle374> I'm using the 5i20 servo example
[04:08:43] <seb_kuzminsky> wait, you're using an unmodified sample config, and the watchdog is still biting?
[04:08:48] <clytle374> but my kernel and rtai might be fubar
[04:08:52] -!- stormlight has quit [Quit: stormlight]
[04:08:54] <clytle374> yes
[04:08:59] <seb_kuzminsky> yeah, it's sort of seeming that way
[04:09:16] <seb_kuzminsky> that config works well for lots of folks, using the linuxcnc.org kernel
[04:11:19] <clytle374> I'll try it, the packaging system is hard to deal with on a gentoo system.
[04:11:36] <clytle374> I'll get Ubuntu when I get to town, can't download it here
[04:11:55] <seb_kuzminsky> ah heh
[04:12:07] <seb_kuzminsky> well ok now i agree with you, it's not my problem ;-)
[04:12:10] <seb_kuzminsky> good luck! :-)
[04:19:23] <clytle374> told you it has homecooked, thanks I'll need it
[04:25:47] <seb_kuzminsky> clytle374: which version of the kernel and rtai are you experimenting with?
[04:26:33] <clytle374> 2.6.37.1 and cvs magna of rtai
[04:26:42] <clytle374> nothing else is close to current
[04:27:23] <seb_kuzminsky> i think we're going to want to support Ubuntu Precise Pangolin (12.04) in a few months, it'll have Linux 3.2...
[04:27:54] <clytle374> with rtai? and unity?
[04:29:15] <clytle374> seems like rtai is dead
[04:36:29] <seb_kuzminsky> hm, that's bad news for us :-(
[04:36:54] <KimK> Hi Seb, Happy New Year (and to everyone), hope all is well there. Did you get any response to your hackfest inquiry?
[04:37:01] <seb_kuzminsky> i don't care about unity (i need just enough ui to pop open a full-screen terminal), but i like rtai a lot...
[04:37:03] <seb_kuzminsky> hi kim!
[04:37:08] <seb_kuzminsky> long time no hear!
[04:37:19] <seb_kuzminsky> hny to you too
[04:37:21] <seb_kuzminsky> :-)
[04:37:40] <KimK> Yes, been busy, but not with EMC, sorry to say.
[04:37:46] <seb_kuzminsky> the hackfest interest was underwhelming
[04:37:52] <seb_kuzminsky> what are you doing these days?
[04:38:53] <KimK> Mostly general maintenance (CNC).
[04:39:20] <KimK> How's your Bridgeport coming along?
[04:39:36] <seb_kuzminsky> still running! i haven't broken it yet :-)
[04:39:46] <seb_kuzminsky> still not done, of course ;-)
[04:40:03] <KimK> Excellent! No, it will never be done, lol!
[04:40:35] <seb_kuzminsky> at least the computer and all the mesa boards are mounted in the electronics cabinet now
[04:40:48] <seb_kuzminsky> it has a new control panel on the front (not done yet)
[04:41:02] <seb_kuzminsky> some progress on the spindle encoder (not done yet)
[04:41:11] <seb_kuzminsky> that's about it i think
[04:41:20] <KimK> What BP head do you have?
[04:41:51] <KimK> "J", probably? I think that's the most common?
[04:41:56] -!- scanf has quit [Ping timeout: 240 seconds]
[04:42:25] <seb_kuzminsky> it's an R2E3
[04:44:08] <KimK> Oh, interesting. OK, I'll look it up. And how will you work in the spindle encoder? Adding optical disc or adding magnetic gear teeth pickup? Or something else?
[04:45:48] <seb_kuzminsky> my currently plan, partially implemented is to put an optical encoder on it
[04:46:04] <seb_kuzminsky> there's access to the spindle hole at the top of the head
[04:46:40] <seb_kuzminsky> i've made a part that fits in there and friction-locks to the inside of the hole, like how the handlebar of a bike locks into the front fork (no pics, sorry)
[04:47:12] <seb_kuzminsky> i've upgraded the servo interface from a 7i33 to a 7i48, with 6 encoder input channels
[04:47:31] <KimK> clytle374: Sorry, didn't mean to interrupt your very interesting discussion with Seb about 12.04 and rtai (or not).
[04:48:45] <seb_kuzminsky> no problem :-0
[04:48:48] <seb_kuzminsky> :-)
[04:48:52] <KimK> Ah, so the encoder shaft locks to the spindle and there's an anti-rotation strap or rod for the encoder body? Sounds good!
[04:49:16] <seb_kuzminsky> i'm planning to mount the encoder sensor to the top of the head with some kind of adapter plate
[04:49:31] <clytle374> KimK, it's okay.. I think I'm doomed. rtai is about a pain
[04:50:02] <seb_kuzminsky> KimK: mine is similar to Igor's: http://igor.chudov.com/projects/Bridgeport-Series-II-Interact-2-CNC-Mill/32-Spindle-Encoder/
[04:50:39] <seb_kuzminsky> the part that goes in the spindle, that the encoder disk mounts to, i'm trying a little different design, but the basic idea is the same
[04:52:49] -!- elmo40 has quit [Quit: Leaving.]
[04:54:03] -!- Eartaker has quit [Quit: leaving]
[04:54:49] <Ekkeri> damn, I want my mill to be ready. Now. :)
[04:55:41] <Ekkeri> just ordered a new mobo and memory, had "some" latency issues with current hardware and gave up
[04:56:44] <KimK> OK, it should be great, let me know if I can help in any way. Does your head tilt (rotate in "B") so you can do gear hobbing like Andy's demo? I think that's pretty cool. (No 4th axis? There's your next project!)
[04:57:39] <Ekkeri> gear hobbing? where? :o
[04:57:58] <KimK> Ekkeri: You came to the right place to get help. Well, OK, #emc maybe, but still.
[04:58:08] <seb_kuzminsky> nah, it's strictly a 3-axis machine
[04:58:19] <seb_kuzminsky> i have a fourth servo amp, but no 4th axis yet
[04:58:39] <KimK> There you go, 4th axis here we come, lol
[04:59:10] <Ekkeri> KimK, yep, I'm there too, but emc won't help since there are "some" mechanical issues still :)
[04:59:27] <Ekkeri> but I'm starting to learn this emc-stuff, slowly
[04:59:29] <seb_kuzminsky> KimK, have you played with freecad any?
[04:59:46] <Ekkeri> just not sure where to start :)
[05:00:29] <KimK> Ekkeri: Here's Andy's gear-hobbing with EMC video: http://www.youtube.com/watch?v=ZhICrb0Tbn4
[05:01:18] <KimK> seb_kuzminsky: I have not, but if the rumors are true that Heeks is going to be dropped(?) then I guess I
[05:01:38] <KimK> seb_kuzminsky: I have not, but if the rumors are true that Heeks is going to be dropped(?) then I guess I'd better start looking around and maybe trying FreeCAD, etc.
[05:04:18] <Ekkeri> KimK, nice :)
[05:08:36] <Ekkeri> do you think it would be wise to use eagle2HAL if I have been using Eagle?
[05:09:20] <seb_kuzminsky> i've never tried it
[05:11:03] <KimK> I wonder if eagle2hal could be adapted to geda? (geda2hal?) I'm becoming a free/open software zealot, sorry.
[05:11:19] <seb_kuzminsky> that'd be nice
[05:13:41] <Ekkeri> < tom3p> http://videobin.org/+5fq/5vb.html
[05:13:45] <Ekkeri> that looked nice
[05:13:58] <clytle374> the rtai user tests don't run, is that my issue?
[05:14:05] <clytle374> kenr test do
[05:14:10] <clytle374> kern
[05:15:34] <Ekkeri> but maybe I have to co-op with notepad :)
[05:16:45] <seb_kuzminsky> clytle374: i don't know rtai, but i'd think their tests should run...
[05:20:01] <clytle374> That seems to be the neat part about rtai, nobody seems to know
[05:21:18] <seb_kuzminsky> heh yea
[05:21:25] <seb_kuzminsky> it's kind of terrifying
[05:21:59] <seb_kuzminsky> do you know any other realtime kernels that work with linux? emc2 has a "realtime kernel abstraction layer" that might make it feasible to switch from rtai to something else
[05:22:11] <seb_kuzminsky> it's called rtapi
[05:23:04] <clytle374> rt-preempt is out there. pcw said it was slower. I believe there is code in the tree for it
[05:24:14] -!- sumpfralle has quit [Ping timeout: 252 seconds]
[05:35:53] -!- clytle374 has quit [Quit: Leaving]
[06:21:52] -!- clytle374 [clytle374!~clytle374@75.105.212.57] has joined #emc-devel
[06:23:01] <clytle374> seb_kuzminsky, looks like I was wrong. first new updates to rtai in 15months happened today
[06:23:15] <clytle374> good night all
[06:23:18] -!- clytle374 [clytle374!~clytle374@75.105.212.57] has parted #emc-devel
[06:23:23] -!- clytle374 has quit [Client Quit]
[06:52:42] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #emc-devel
[07:11:47] -!- chester88 has quit [Read error: Connection reset by peer]
[07:27:10] -!- ve7it has quit [Remote host closed the connection]
[07:31:46] -!- CmdrData has quit [Ping timeout: 260 seconds]
[07:42:42] -!- capricorn_one has quit [Remote host closed the connection]
[07:46:05] -!- e-ndy [e-ndy!jkastner@nat/redhat/x-zouqzanzezlpfypb] has joined #emc-devel
[08:09:21] <CIA-10> EMC: 03mhaberler 07master * r5cdeedd479dd 10/docs/src/gui/gladevcp.txt: docs/gladevcp: fix FAQ section, add hal_spinbutton value
[08:32:07] -!- mhaberler has quit [Quit: mhaberler]
[08:46:44] -!- Eartaker has quit [Quit: leaving]
[09:39:56] -!- cevad has quit [Ping timeout: 240 seconds]
[09:44:49] -!- CmdrData has quit [Ping timeout: 276 seconds]
[09:45:36] -!- rob_h [rob_h!~rob_h@5ace704a.bb.sky.com] has joined #emc-devel
[09:56:31] -!- adb2 has quit [Ping timeout: 276 seconds]
[10:15:49] -!- adb2 [adb2!~adb2@178-211-235-133.dhcp.voenergies.net] has joined #emc-devel
[10:26:50] -!- LawrenceSeattle has quit [Quit: LawrenceSeattle]
[10:54:56] -!- davec_ has quit [Ping timeout: 240 seconds]
[11:19:03] -!- adb2 has quit [Ping timeout: 252 seconds]
[11:51:04] -!- chester88 [chester88!~chris@64.180.205.82] has joined #emc-devel
[11:52:43] -!- Loetmichel has quit [Ping timeout: 268 seconds]
[13:04:11] -!- skunkworks_ has quit [Ping timeout: 252 seconds]
[13:08:01] -!- Valen has quit [Quit: Leaving.]
[13:17:09] <jthornton> I notice this warning when building 2.5 "resolver.c:133: warning: passing argument 4 of ‘hm2_register_tram_read_region’ from incompatible pointer type"
[13:17:28] <jthornton> don't know if it is important or not...
[13:26:44] <jepler> I glanced at it. It is probably fine, but could also be corrected e.g., by adding a cast..
[13:26:47] <jepler> untested
[13:26:50] <jepler> - &hm2->resolver.velocity_reg);
[13:26:52] <jepler> + (u32**)&hm2->resolver.velocity_reg);
[13:27:11] <jepler> hm2_register_tram_read_region expects u32** but is given s32**
[13:30:21] <jthornton> morning jepler
[13:30:26] <jthornton> thanks for looking at it
[13:32:16] <jepler> hi jthornton
[13:32:17] <jepler> you're welcome
[13:33:37] <jthornton> I'll pass that on to Andy
[13:35:47] -!- automata has quit [Ping timeout: 260 seconds]
[14:04:54] <CIA-10> EMC: 03jthornton 07v2.5_branch * r966b30cc1ea1 10/docs/html/gcode.html: Docs: add o codes section and clean up table
[14:05:01] <CIA-10> EMC: 03jthornton 07v2.5_branch * rb69102f1c02c 10/docs/src/gcode/ (o-code.txt o-code_de.txt o-code_es.txt o-code_pl.txt): Docs: add links
[14:31:31] <CIA-10> EMC: 03jthornton 07v2.5_branch * rc61c1964db1b 10/docs/src/common/ (4 files): Docs: add link to ubuntu help page for hardware requirements
[14:33:45] -!- danimal_laptop has quit [Read error: Connection reset by peer]
[14:33:45] -!- Danimal_garage has quit [Read error: Connection reset by peer]
[15:37:42] -!- clytle374 [clytle374!~cory@75-105-212-57.cust.wildblue.net] has joined #emc-devel
[16:11:28] -!- clytle374 has quit [Quit: Leaving]
[16:15:55] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #emc-devel
[16:33:09] -!- danimal_laptop has quit [Read error: Connection reset by peer]
[16:33:54] -!- e-ndy has quit [Quit: Ex-Chat]
[16:43:54] -!- kbarry_ has quit [Client Quit]
[16:44:32] -!- kbarry has quit [Ping timeout: 240 seconds]
[16:44:51] -!- kbarry_ has quit [Client Quit]
[16:44:57] -!- cncbasher [cncbasher!~quassel@cpc15-hart9-2-0-cust101.11-3.cable.virginmedia.com] has joined #emc-devel
[17:19:48] -!- mhaberler has quit [Quit: mhaberler]
[17:27:49] -!- danimal_laptop has quit [Read error: Connection reset by peer]
[17:47:46] -!- clytle374 [clytle374!~clytle374@75.105.212.57] has joined #emc-devel
[17:56:27] -!- ve7it [ve7it!~LawrenceG@S0106001c10b7770f.pk.shawcable.net] has joined #emc-devel
[19:03:34] -!- isssy has quit [Quit: Bye Bye]
[19:03:44] -!- sumpfralle has quit [Read error: Operation timed out]
[19:29:33] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #emc-devel
[19:34:04] -!- clytle374-mycent has quit [Quit: Leaving]
[19:38:05] -!- IchGucksLive has quit [Quit: ChatZilla 0.9.87 [Firefox 9.0.1/20111221214946]]
[19:39:05] -!- cjdavis has quit [Read error: Connection reset by peer]
[19:51:27] -!- adb has quit [Read error: Operation timed out]
[19:59:37] -!- mhaberler has quit [Quit: mhaberler]
[20:03:05] -!- isssy has quit [Ping timeout: 240 seconds]
[20:06:36] -!- mobile has quit [Ping timeout: 240 seconds]
[20:11:20] -!- andypugh [andypugh!~andy2@cpc2-basl1-0-0-cust492.basl.cable.virginmedia.com] has joined #emc-devel
[20:14:05] -!- kbarry has quit [Ping timeout: 240 seconds]
[20:17:45] -!- mobile has quit [Read error: Connection reset by peer]
[20:17:46] -!- The_Ball has quit [Ping timeout: 268 seconds]
[20:20:09] -!- JT-mobile has quit [Read error: Connection reset by peer]
[20:24:42] -!- kbarry_ has quit [Quit: ChatZilla 0.9.88 [Firefox 8.0/20111104165243]]
[20:41:22] -!- kbarry has quit [Read error: Connection reset by peer]
[20:44:24] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #emc-devel
[21:17:23] -!- clytle374 has quit [Quit: Leaving]
[21:20:14] -!- mhaberler has quit [Quit: mhaberler]
[21:23:06] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #emc-devel
[21:28:07] -!- mhaberler has quit [Ping timeout: 276 seconds]
[21:48:19] -!- rob__H [rob__H!~rob_h@5ace704a.bb.sky.com] has joined #emc-devel
[21:52:46] -!- rob_h has quit [Ping timeout: 252 seconds]
[21:54:12] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #emc-devel
[22:03:47] -!- tom3p [tom3p!~tomp@74-93-88-241-Illinois.hfc.comcastbusiness.net] has joined #emc-devel
[22:09:29] -!- tom3p has quit [Ping timeout: 240 seconds]
[22:16:51] -!- tom3p [tom3p!~tomp@74-93-88-241-Illinois.hfc.comcastbusiness.net] has joined #emc-devel
[22:17:17] -!- theorbtwo has quit [Ping timeout: 252 seconds]
[22:23:24] -!- mhaberler has quit [Quit: mhaberler]
[22:31:46] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #emc-devel
[22:47:10] -!- Mjolinor has quit [Quit: Leaving]
[22:54:20] -!- Fox_Muldr has quit [Ping timeout: 252 seconds]
[22:55:05] -!- andypugh has quit [Quit: andypugh]
[23:00:42] <CIA-10> EMC: 03mhaberler 07master * r044525685fd0 10/docs/src/gui/gladevcp.txt: docs/gladevcp: better workaround for spinbutton initial values
[23:02:24] -!- cncbasher [cncbasher!~quassel@cpc15-hart9-2-0-cust101.11-3.cable.virginmedia.com] has parted #emc-devel
[23:09:14] -!- syyl has quit [Quit: Leaving]
[23:10:17] -!- kbarry_ has quit [Ping timeout: 252 seconds]
[23:36:33] -!- acemi has quit [Quit: WeeChat 0.3.2]
[23:45:59] -!- skunkKandT [skunkKandT!~chatzilla@184-158-82-21.dyn.centurytel.net] has joined #emc-devel
[23:51:47] -!- kbarry has quit [Remote host closed the connection]