01:23:39 SWPadnos has joined #emc-devel 01:29:03 Hey SWPadnos 01:29:31 hi Ray 01:47:53 jmkasunich has quit 02:47:48 alex_jon1 has joined #emc-devel 02:47:48 alex_joni has quit 03:22:33 rayh has quit 06:41:22 jmkasunich has joined #emc-devel 06:41:37 hiya jmk. 06:41:41 go to bed :) 06:41:51 about to 06:41:57 good plan 06:41:59 I just got ubuntu working 06:42:03 with cradek's help 06:42:05 cool! 06:42:09 and installed the emc2 deb 06:42:12 amd64 or i386? 06:42:22 and checked out and compiled the cvs source 06:42:25 i386 06:42:29 ok 06:42:31 I have a sempron, not a 64 06:42:51 I had fits with my network card, needed to use noapic to get it to work 06:43:20 interesting. Ubuntu is usually quite good about drivers 06:43:39 though I guess they can't tell every possible problem combination 06:43:59 strange thing is cradek has the same NIC (its on the mobo, not a card) and his is fine 06:44:11 BIOS revisions? 06:44:15 might be some bios config combination, we messed with that a little 06:44:19 different MBs 06:44:27 that wouldn't help 06:44:33 (go to bed) 06:44:39 I suspect jmk's MB is just buggy 06:44:48 linus rants about that somewhat on mailing lists 06:44:53 my mobo is a SY-KT600 btw 06:45:11 lots of people can't stand VIA chipsets 06:45:15 goodnight guys 06:45:21 see you later 06:45:27 night 06:46:37 well - I've go to hit the hay - got a 9:00 AM meeting tomorrow to blow up some balloons 06:46:54 (nichrome wire is fun :) ) 06:48:52 SWPadnos is now known as SWP_Away 06:59:10 jmkasunich is now known as jmk_sleep 08:21:40 alex_jon1 is now known as alex_joni 15:10:43 rayh has joined #emc-devel 16:28:36 jepler has quit 17:51:10 rayh is now known as rayh-away 17:51:25 jmk_sleep is now known as jmkasunich 18:11:11 cradek: did you notice Gene Heskett's comment on the dev list about the dmesg buffer length? Is that an issue on your kernel or do you have a larger buffer? 18:14:00 mine is also 14, the ubuntu default 18:14:10 but my /var/log/dmesg has everything from line one 18:14:35 ok 18:15:10 I just recalled the old line about "smart folks learn from their mistakes, really smart ones learn from other peoples mistakes" 18:16:28 I wish you had pointed that out a half hour ago - I'm in the middle of a build to fix that symlink problem 18:18:02 ok, I changed it, rebuilding 18:18:32 I was eating breakfast a half hour ago, sorry ;-) 18:18:45 no problem, I wasn't serious 18:19:18 jmkasunich: *hint* : he never is 18:19:27 even if he tries 18:19:30 cradek: :P 18:21:49 oh, another thing.. 18:21:56 I brought Tasks to life 18:22:09 https://sourceforge.net/pm/?group_id=6744 18:22:17 I think it's better to keep the TODO in there 18:22:34 we can set-up dependencies and schedules & people working on stuff 18:23:54 nice 18:24:51 have a look around, and if you like it, I'll move all the TODO over there 18:25:32 is there provision for closing the task when "Percent Complete" hits 80%? 18:26:42 lol 18:27:19 I like the dependencies thing 18:27:31 release emc2 can be made dependent on other things 18:29:59 I already made it dependent on the univpwm 18:30:07 only 3 things are already there.. 18:41:09 are you going to add all the TODO items? 18:41:23 I can add some if you like (save you a little work) 18:42:40 oh good, when I change it to Tasks For: cradek, they all disappear 18:42:50 we can fix that 18:43:09 cradek: that's very easy to fix 18:43:10 :P 18:43:11 I see he is already adding them 18:43:15 he = alex 18:43:17 jmkasunich: almost done with them 18:43:21 ok 18:43:54 there are the ones about licensing (CL & m5i20_HM5-4E.h), but I think I'd rather waste the time doing the actual fix 18:44:19 cradek: I think there's a bug we need to investigate before release 18:44:37 which is that? 18:44:45 if emc2 is running, then you select puter shutdown on ubuntu it totally hangs the machine 18:45:08 doctor doctor! it hurts when I do this! 18:45:17 sorry 18:45:19 then don't do it 18:45:50 jmkasunich: same for reboot, or logout 18:45:58 logout?? 18:46:02 yup 18:46:07 gnome logout 18:46:08 I was joking, I do agree its a bug 18:46:20 anything involving X I think 18:46:33 dunno why it would be X related 18:46:48 X might not shut processes down as it should 18:47:39 the cleanup after shutdown of emc is done by the run script 18:47:43 * alex_joni tests some more.. 18:47:48 and starts after the gui returns 18:48:00 if the script gets killed before the gui... no cleanup 18:48:02 well, I see all gnome stuff go away, but tkemc is still there 18:48:28 I think the script traps kill, and does a shutdown 18:49:03 I guess my first question is what is locking it up? modules removed in the wrong order, some user process, or ?? 18:49:21 modules removed while RT code is still running ;-/ 18:49:47 do you get a kernel oops or panic? or just a freeze 18:54:47 freeze 18:55:03 nothing that helps me figuring out 18:55:29 btw, the new emc2 deb was already waiting for me this morning ;) 18:55:35 updating is sooo easy 19:00:47 hrmmm.. odd 19:01:03 I had another session on ssh watching /var/log/messages 19:01:08 nothing appeared in there.. 19:01:27 won't appear there unless it gets written to disk 19:01:33 probably 19:01:46 I'm rebooting now, maybe something did get written 19:01:53 you might try removing "quiet" from the kernel line in /boot/grub/menu.lst 19:02:01 that way it will appear on the text console 19:02:09 what text console ;) 19:02:26 then do ctrl-alt-F1 to the text console, and try a shutdown -h while emc2 is running 19:02:36 ahh.. I see 19:04:42 no emc-shutdown stuff in /var/log/messages 19:04:46 doing the console stuff now 19:09:54 not very helpfull.. 19:10:03 * Switching to runlevel: 0 19:10:11 * Sending processes the TERM signal 19:10:23 * Stopping GNOME Display Manager 19:10:26 --- 19:10:28 and that's about it 19:10:31 it hangs then 19:10:56 did you get kernel messages on bootup? 19:11:05 or when you started emc2? 19:11:18 yup 19:11:33 well, I had to login 19:12:12 but I saw the BLOCKS: installed 6 differentiators message 19:12:13 lemme try something 19:12:14 and SCOPE_RT 19:12:17 ok 19:12:18 those were the last 2 19:12:33 no removal messages, not surprising 19:12:40 no oops or panic either 19:12:47 I suppose that is good ;-/ 19:12:48 right 19:12:54 did you kill the runscript? 19:13:12 ? 19:13:35 I didn't do anything, I was commenting on what you said abouyt blocks and scopert 19:13:36 oh, thought you were seeing it too 19:13:58 right 19:14:01 I'm not gonna try (this is the ubuntu box, I don't feel like rebooting) 19:14:11 I was just gonna see what normal messages I get 19:14:45 so the problem I'm seeing is that emc2 doesn't get shutdown 19:14:51 no idea what causes the lockup 19:17:05 I'll try killing the runscript next 19:19:21 ook, killing the runscript leaves emc running ;) 19:19:30 all components are still there, and they work 19:19:52 what happens when you close the gui? 19:21:53 nothing .. stuff gets left behind 19:21:59 but nothing bad 19:22:59 does emc get cleaned up (RT modules removed, RTAI removed, etc)? 19:23:19 no 19:23:30 of course not 19:23:35 but machine is still ok 19:23:54 the next run cleans everything up 19:27:21 cradek: you around? 19:27:57 yes 19:28:10 cradek: spotted another cause of problems on ubuntu 19:28:15 uh-oh 19:28:24 if emc script crashes, and GUI gets killed, emc stays loaded 19:28:38 the next run of emc would bring everything down, and it would work ok 19:28:49 IF the user had a chance to answer Y to the answer 19:28:59 to the question 19:29:01 duh 19:33:19 cradek: get what I mean? 19:33:59 SWP_Away is now known as SWPadnos 19:35:25 sorry, reading back 19:36:29 so you mean it stops and asks a question? 19:36:41 yeah, the runscript does that 19:36:51 is that a feature? 19:36:54 maybe we can add a timeout 19:37:10 and if the user doesn't press 'n' the cleanup gets done anyways 19:37:23 cradek: it was a feature 19:48:46 let me try to do that 19:56:37 rayh-away is now known as rayh 20:04:03 cradek: still around? 20:04:27 yes 20:04:37 but I'm not working on that bug... 20:11:58 yeah I know.. I am.. will commit a bash foo thingie 20:12:03 maybe you can eyeball it 20:13:15 ok 20:16:29 < echo -n "EMC is running -- restart it? [y/n] " 20:16:30 < read input 20:16:30 --- 20:16:30 > echo -n "EMC still running -- Want to restart it? (default is yes) [Y/n]" 20:16:31 > if read -t 5 input; then 20:16:32 > input=n 20:16:34 > else 20:16:37 > input=y 20:16:39 > fi 20:18:29 what happens if I answer Y? 20:18:38 same thing 20:18:40 (or N) - either will have the same result, no? 20:18:42 I think? 20:18:49 doesn't look right to me 20:18:50 let me try 20:19:02 any input will have one result, no input will be the other result 20:19:24 you want to not modify the var if the user enters something 20:19:27 SWPadnos: right :( 20:20:03 read -t 5 input || input=Y 20:20:09 just take out the input=n case, or change the prompt to say "press enter to unload now", so that any entry continues immediately 20:20:22 case $input in [Yy]*) do the yes thing; *) do the no thing; esac 20:20:37 cradek: testing now 20:21:17 if the read times out, you get a nonzero return? 20:21:26 yup 20:21:27 timeout = returns false 20:21:32 ok 20:27:33 jmkasunich, are you seeing any difference in univpwm_load vs univstep_load? 20:27:47 it seemed to me that the only file that needs to change is univxxx_motion 20:28:30 agreed, but we had a short discussuon about that (we = alex and me with Jon listening in) and decided that two dirs is less confusing for the users, even tho the files are almost identical 20:28:43 maybe some of the files could go in common later 20:28:57 ok - I was thinking along the lines of stepper_{inch,mm} 20:29:17 two inis, two *motion, everything else the same 20:29:50 yeah, but same hardware there 20:29:57 different products here 20:30:17 these are different products, but use the same driver and almost all configuration 20:30:30 (and the same board, other than the FPGA configuration EEPROM) 20:30:35 but either way is cool with me 20:55:21 rayh is now known as rayh-away 20:59:15 staggerlytom has joined #emc-devel 20:59:28 hello all 21:05:54 how can I use the LED widget in halvcp? it seems it cannot be the child of any other widget. 21:10:07 the LED widget isn't done yet 21:10:15 so you can't use it at all, sorry 21:10:19 ok 21:15:28 jmk: the rest worked fine & the pack idea is familiar from the tcltk part of emc. (you oughtta get feedback ). 21:44:36 ok guys, going to bed now 21:56:57 rayh-away has quit 22:11:14 so that's got the univpwm ready for tuning / refinement? 22:11:26 think so 22:11:31 cool 22:11:54 it's mostly changes to univpwm_motion + changing the ini to load it, right? 22:12:18 yeah, only those two files 22:12:34 ok - I suspected as much 22:12:41 we probably should revisit the common files issue, it is kinda dumb having two copies, but for now... 22:13:04 yep 22:13:33 make a configs/library dir (or use common), and allow for hardware-specific sub-configs there (or ladder ...) 22:15:50 logger_devel has joined #emc-devel 22:15:50 topic is: "Welcome to the Enhanced Machine Control development place. | Regular Developers' meetings 24/7 !" 22:15:50 Users on #emc-devel: logger_devel staggerlytom jmkasunich alex_joni SWPadnos LawrenceG jtr_ anonimasu @ChanServ cradek steves_logging 22:16:12 staggerlytom has quit 22:16:52 jmkasunich has left #emc-devel