04:36:25 SWP_Away has quit 04:37:11 SWP_Away has joined #emc-devel 11:37:38 jtr has quit 11:38:00 jtr has joined #emc-devel 12:37:27 alex_joni has quit 12:38:04 alex_joni has joined #emc-devel 17:10:18 rayh has joined #emc-devel 18:35:56 Shutting down and cleaning up EMC... 18:35:56 scripts/emc: line 592: 14783 Killed sudo $EMC2_BIN_DIR/$EMCIO -ini $INIFILE 18:36:25 Got this after an attempt to get a reply from halcmd save comp. 18:36:31 any clues? 18:38:17 and "sudo rmmod hal_m5i20" fails to remove the module. 18:38:46 * rayh reboots 18:38:50 rayh has quit 19:02:44 jtr_ has quit 19:05:05 jtr_ has joined #emc-devel 19:07:55 rayh has joined #emc-devel 19:08:09 hiya Ray 19:09:08 Hi steve. 19:09:15 when you got that error, had you loaded any modules with long parameter strings? 19:09:46 It was a m5i20 19:10:00 let me look for the longest param string. 19:10:06 I haven't loaded the driver (ever :) ), though I finally installed the card in the machine 19:10:48 there is a bug in halcmd when saving the parameters, so that may be the cause of the problem if there are long lines 19:11:36 5i20.0.digital-out-write.tmax looks like the longest 19:11:46 I mean the loadrt line 19:12:02 oh. 19:12:05 like loadrt m5i20 foo=123;bar=thisisalongparameter 19:12:37 heh - funny how you see ambiguity in retrospect 19:12:55 (I wouldn't have though of that interpretation, but now that you mention it ... ;) ) 19:13:03 thought 19:14:45 loadrt classicladder_rt numRungs=4 numBits=16 numWords=4 numTimers=2 numMonostables=2 numPhysInputs=16 numPhysOutputs=8 numArithmExpr=4 numSections=1 19:15:01 would probably qualify as a long loadrt string 19:15:10 ok - the same one that was truncated in jmk's initial output 19:15:11 yep 19:15:15 but it isn't started by default 19:15:24 before he increased the max string length 19:16:03 I can't fix the bug now, but I'll describe it so it's in the logs 19:16:56 in the parameter save code, the arguments are copied into the arg_string, using strncpy 19:17:20 the max length is MAX_CMD_LEN each time strncpy is called 19:17:25 strncat, I mean 19:17:57 this allows the string to grow without bound, since up to MAX_CMD_LEN bytes can be added for each arg on the command line 19:18:37 this may be OK, since the data is hal_malloc'd later, but it probably isn't what was intended (or MAX_CMD_LEN ishould MAX_TOKEN_LENGTH or something else) 19:18:42 ok I can see that 19:19:16 ok 19:19:47 ah - OK, it is a potential problem, since arg_string is MAX_CMD_LEN+1 bytes long 19:20:51 No hurry. I've got plenty to work on with watching and editing. 19:21:06 heh - if you overwrite the end of arg_string, you screw up n, the token index in that loop (oops) :) 19:21:15 yep 19:21:30 one day soon, I'll fire up hte emc machine again - right now there's too much other stuff to do 19:22:34 speaking of too much time on our hands, are there any plans for a Fest'06 yet? :) 19:23:59 jmk was talking about having it along with -- before or after cnc-workshop in may. 19:24:23 OK - that's in Indiana or something? 19:24:25 Roland of Cardinal said he would be happy to host the extra session. 19:24:59 though he prefered after. In western IL not far from Davinport iowa 19:25:05 ok 19:25:16 yay IL 19:25:27 after probably makes sense, since we may learn some new features at the workshop 19:25:38 features / bugs / ... 19:25:39 Not quite so far. 19:26:07 And we have immediate access to test machines. 19:26:25 so it need not all be code 19:27:18 We should talk about it -- perhaps this sunday 19:27:20 NO RETROFITS! :) 19:27:46 swp slaps rayh for last year? 19:27:51 but I'm sure you know that better than I 19:27:53 nope 19:27:59 I wasn;t there, remember? ;) 19:28:14 (at least at MazakFest) 19:28:25 The Mazak will be there, right across the parking lot. 19:28:53 as long as the retrofit is done, that's OK 19:29:14 it might be fun to try a "non-standard" retrofit, like a bandsaw or lathe 19:29:17 Yes it will be. 19:29:30 Feature add time by then. 19:31:14 it would be good to have access to appropriate machines for certain features, like threading 19:32:37 I like the idea quite a bit. 19:32:49 Plenty of classroom space. Plenty of internet. 19:33:02 sounds good to me 19:33:06 No limit to open hours 19:33:19 no security cards/guards ... 19:33:33 Inexpensive hotels and food not to far away. 19:34:04 Reminds me of my recent conversation with a sherline users at Los Alamos National Labs. 19:34:25 talk about guarded to the point of paranoia 19:34:44 indeed, especially after the nuclear secrets problems (they had some of those, right?) 19:34:46 yay, Davenport IA is only 350 miles from me 19:35:09 ohh IL, not IA 19:35:11 duh 19:35:52 1120 miles for me - hmmm 19:35:54 I'm so confused, forget it 19:36:03 cradek: is closer than rayh -- 500 even from here 19:36:28 SWP_Away: that's a long drive even split to two days 19:36:33 Galesburg, IL 19:36:43 ok - 1130 miles to Galesburg ;) 19:36:47 SWP_Away: Need me to pick you up at an airport? 19:37:04 possibly. I had hoped to be able to drive so I can bring computer stuff along 19:37:21 flying into chicago would be cheap from anywhere 19:37:23 the laptop doesn't cut it for m5i20 and the like 19:37:41 I wish I were 13 miles closer to Chicago - it would then be only 15000 miles for a free flight 19:37:57 (I'm 763 away, the limit is 750) 19:38:19 Ah. I could probably bring several extra tower boxes. 19:38:34 I would want to take my mill and everything, which means driving 19:38:38 no way would I ship it 19:38:44 hang them off a network with ssh -X setup. 19:38:45 I was thinking of my dual Opteron, for SMP and 64-bit testing, plus my kiosk machine for m5i20 and other PCI tests 19:39:04 Better drive then. 19:39:10 heh 19:39:19 1100 miles is possible over two days 19:39:30 but what a drag 19:39:31 we have two vehicles now, so I can bring lots of stuff in the minivan 19:39:49 I've driven to Austin TX from here in two days - driving doesn't bother me 19:40:35 (a little over 2000 miles, and I made it by 8:00 PM the second day) 19:40:40 There you go. 19:41:06 actually, I think I went 2200 miles - I took the southern route 19:41:08 for me the harder part is driving home afterward 19:41:15 heh 19:41:29 staying up late, sleeping in motels, etc 19:41:43 I have a friend in Pittsburgh - not that I'd want to leave $6k worth of computers in the car overnight 19:41:55 Yep. 19:42:01 I'm not sure I'd want to leave the car overnight, actually ;) 19:42:34 though he does, so it probably isn't too bad 19:53:55 just started up a scripts/realtime added two ddt's and tried save comp 19:54:07 # components 19:54:08 loadrt blocks ‰D$‹A‰$èàúÿ¸/ 19:54:20 oops - that looks incorrect 19:55:15 seems so but what do I know. 19:55:39 I did just make clean and reinstall so the binaries should be okay. 19:55:44 hmmm 19:56:10 that was "bin/halcmd loadrt blocks ddt=1" or similar? 19:56:14 ddt=2 21:19:25 rayh has quit 22:15:44 logger_devel has joined #emc-devel 22:15:45 topic is: "Welcome to the Enhanced Machine Control development place. | Regular Developers' meetings 24/7 !" 22:15:45 Users on #emc-devel: logger_devel jtr_ alex_joni cradek LawrenceG SWP_Away @ChanServ jtr 23:58:53 SWP_Away is now known as SWPadnos