#emc | Logs for 2006-09-02

[02:14:33] <SWPadnos_> SWPadnos_ is now known as SWPadnos
[08:48:35] <Lerneaen_Hydra> 'lo alex
[08:48:54] <alex_joni> hi
[08:49:26] <alex_joni> powerloss last night.. and my ups didn't manage to hold it :)
[08:50:50] <Lerneaen_Hydra> how big a ups do you have?
[08:51:00] <alex_joni> way too small :D
[08:51:05] <alex_joni> need to get a good one ;)
[08:52:17] <alex_joni> I think 500VA or so
[08:54:57] <Lerneaen_Hydra> how long did that last?
[08:55:11] <Lerneaen_Hydra> my 600VA only lasts for 10 minutes or so
[08:55:29] <Lerneaen_Hydra> AFAICT the battery tiny
[08:55:34] <Lerneaen_Hydra> *is tiny
[08:55:43] <robin_sz> mine is fscked ... its 1400VA, gone bad and lets out a loud "BZZZZZZT" every hour or so
[08:56:32] <Lerneaen_Hydra> nasty
[08:56:43] <alex_joni> i think the battery is screwed again
[08:56:56] <Lerneaen_Hydra> how old is it?
[08:57:00] <alex_joni> I changed it oncealready, but it doesn't hold 2 minutes
[08:57:15] <alex_joni> 1-2years (battery), 4years ups
[08:57:32] <alex_joni> I think I'll get a 2000VA one
[08:57:40] <alex_joni> saw one not very expensive
[09:01:47] <robin_sz> my advice:
[09:02:01] <robin_sz> buy a older larger prfessional unit with dead batteries
[09:02:20] <alex_joni> robin_sz: not likely to get any around here :/
[09:02:31] <robin_sz> by some "leisure" batteries (used in boats, caravans etc) that can stand deep discharge
[09:02:48] <robin_sz> build a large wooden box and sit it on top
[09:02:54] <alex_joni> we have a lot of security companies, they use the same batteries as in UPS-es
[09:02:55] <robin_sz> batteries inside
[09:02:58] <alex_joni> not very expensive
[09:03:01] <robin_sz> right
[09:03:48] <alex_joni> 10-20$
[09:03:50] <robin_sz> leisure batteries are good because they are HUGE and cheap.
[09:04:15] <robin_sz> same dimensions as car bateries, but can take a deep discharge without damage
[09:05:07] <robin_sz> mmm breakfast
[09:05:21] <robin_sz> nice cup of tea + mushrooms on taost with some ketchup
[09:07:00] <Lerneaen_Hydra> I just got +b from a channel becuase I apparently changed my nick too quickly, too many times. O.o (there was only support for 9 chars, so that makes my nick rather hard)
[09:07:34] <alex_joni> use LH
[09:09:21] <Lerneaen_Hydra> hmm
[09:09:28] <Lerneaen_Hydra> good idea, why didn't I think of that
[09:09:59] <Lerneaen_Hydra> though as the +b is still in effect (indefinetly) it doesn't really matter
[09:10:08] <Lerneaen_Hydra> probably a bot or something
[09:32:08] <alex_joni> http://teo.esuper.ro/news/cleopatra-stratan-ghita/
[09:47:24] <Lerneaen_Hydra> what an exceedingly strange/unnerving melody
[09:52:46] <alex_joni> unnerving ?
[09:54:22] <alex_joni> anyways, I think she has a lot of talent (for a 3 year old ;)
[09:59:45] <Lerneaen_Hydra> yeah
[09:59:49] <Lerneaen_Hydra> definetly
[10:00:20] <Lerneaen_Hydra> the melody/lyrics just sounded, strange.
[10:01:00] <Lerneaen_Hydra> which is quite strange, as I don't exactly limit myself to standard western music
[10:01:36] <alex_joni> the music is written by her father
[10:01:42] <alex_joni> which sounds very much similar
[10:01:49] <alex_joni> let me find something ;)
[10:02:43] <alex_joni> http://www.youtube.com/watch?v=L_L5qaen3Zg&mode=related&search=
[10:09:10] <acemi> does EMC2 in HEAD run with kernel in BDI?
[10:10:20] <acemi> i can run it with 2.6.16 kernel but not with 2.6.12
[10:10:54] <alex_joni> acemi: it should run, but you probably need to reconfigure / recompile
[10:11:08] <alex_joni> if you did that, and still get any errors, I'd like to see a list of errors ;)
[10:11:23] <Lerneaen_Hydra> alex_joni: that was quite similar indeed
[10:11:35] <acemi> i recompiled it but still get error
[10:11:46] <alex_joni> acemi: can you pastebin.ca the output?
[10:11:53] <alex_joni> Lerneaen_Hydra: most his songs sound like that ;)
[10:12:01] <alex_joni> Lerneaen_Hydra: http://www.youtube.com/watch?v=0Ry4XEJlvsk&mode=related&search=
[10:12:15] <acemi> i see start emc and then so many dot
[10:12:57] <alex_joni> acemi: try running "emc -v" or "emc -d"
[10:14:06] <acemi> 1 min
[10:14:24] <alex_joni> acemi: do you get an error "Can't write to /dev/rtai_shm - aborting" ?
[10:15:12] <alex_joni> Lerneaen_Hydra: it seems she's the youngest in the world to ever have an Live concert :D
[10:15:45] <Lerneaen_Hydra> oh? cool
[10:16:43] <acemi> http://rafb.net/paste/results/eXbDNc12.html
[10:17:08] <acemi> the dot is stopped after ctrl+C
[10:17:16] <alex_joni> let it go for a bit
[10:17:38] <acemi> http://pastebin.com/781899
[10:17:46] <acemi> this is with emc -v
[10:19:27] <acemi> http://rafb.net/paste/results/8RWtNK92.html (with emc -d )
[10:20:33] <alex_joni> acemi: ok, I think I know what the problem is..
[10:20:43] <alex_joni> not sure I know how to properly fix it for BDI though
[10:20:57] <alex_joni> it seems that udev is not playing nice along
[10:21:07] <alex_joni> and the /dev/rtai_shm isn't created as it should
[10:23:11] <alex_joni> acemi: to make it work in Ubuntu, we have a file called /etc/udev/emc2.rules
[10:23:15] <alex_joni> it holds this line:
[10:23:16] <alex_joni> KERNEL=="RTAI_SHM" SYMLINK=="rtai_shm" MODE="0666"
[10:23:45] <acemi> i have no problem with 2.6.16 kernel in BDI
[10:23:52] <acemi> is this normal
[10:25:25] <alex_joni> acemi: maybe the 2.6.16 does the udev stuff differently
[10:25:33] <alex_joni> what kernel do you have booted now ?
[10:25:40] <acemi> 2.6.12
[10:25:42] <acemi>
[10:25:51] <alex_joni> ok, check "ls /dev/rtai_*"
[10:26:20] <acemi> No such file or direct
[10:27:06] <alex_joni> ok, that's the problem you are seeing
[10:27:24] <alex_joni> try creating it, then emc2 should work
[10:27:34] <acemi> ok
[10:27:35] <alex_joni> mknod -m 666 /dev/rtai_shm c 10 254
[10:28:36] <alex_joni> but this should be taken care of by the OS, you shouldn't fiddle with it, and neither should emc2
[10:28:37] <acemi> yes, it's running now
[10:28:40] <Bo^Dick> what did i do wrong? http://www.carmi.se/misterstarshine/img/crap.jpg
[10:29:05] <alex_joni> acemi: maybe ask Paul how to properly make it work for BDI ?
[10:29:52] <acemi> emc2 in BDI is running without modification
[10:30:18] <alex_joni> acemi: right, but you need to enter the mknod manually which is not something I would like to do on every reboot
[10:30:40] <alex_joni> https://mail.rtai.org/pipermail/rtai/2006-March/014457.html <- this sounds like a good way to solve it
[10:30:57] <alex_joni> but I am not sure what kind of udev is on the BDI, and if the solution proposed there works
[10:35:16] <acemi> alex_joni, thanks
[10:36:29] <Lerneaen_Hydra> Bo^Dick: that looks inverted and like the ink from the OH has run
[10:49:56] <alex_joni> acemi: np, thanks for the reports ;)
[11:11:34] <alex_joni> Lerneaen_Hydra: check this out: http://www.youtube.com/watch?v=Ndc7330AdAQ&mode=related&search=
[11:13:22] <Lerneaen_Hydra> HAHA
[11:59:56] <alex_joni> bbl
[12:19:26] <robin_sz> might have found a cheap laser :)
[12:20:14] <robin_sz> its got a twisted resonator, will cost 30K to have realligned in the factory ...
[13:22:44] <Lerneaen_Hydra> resonater?
[13:30:50] <CIA-8> 03jepler 07HEAD * 10emc2/src/ (configure configure.in): New flag can be used to specify the python interpreter if the one called 'python' is too old: --with-python=python2.4
[14:08:14] <danex> * danex is away: Away at the moment
[14:55:54] <Lerneaen_Hydra2> I just had a strange EMC error
[14:56:12] <Lerneaen_Hydra2> on startup it died and said that realtime subsystem coundn't start
[14:56:22] <Lerneaen_Hydra2> then on next startup it started fine
[14:56:50] <Lerneaen_Hydra2> I didn't run it in a terminal though the first time so I didn't see the exact terminal messages
[15:00:35] <acemi> after to run "sudo /etc/init.d/udev restart " can you try to start emc again,
[15:02:11] <acemi> i think to create rtai_shm node at the first time take long time
[15:02:37] <alex_joni> acemi: that might be true, however on the systems I've seen it only takes a very short time
[15:02:46] <alex_joni> you don't get the first . before t happens
[15:02:55] <alex_joni> it
[15:06:22] <acemi> i added emc2.rules for udev in my BDI with kernel 2.6.12; to create to node takes a bit longer. maybe Lerneaen_Hydra has the same
[15:06:37] <alex_joni> no, I think he uses Ubuntu
[15:06:41] <acemi> ok
[15:06:44] <alex_joni> acemi: so the rules made it work?
[15:06:45] <Lerneaen_Hydra> yeah
[15:06:48] <acemi> yes
[15:06:53] <alex_joni> good
[15:06:54] <Lerneaen_Hydra> I use ubuntu
[15:06:58] <Lerneaen_Hydra> 6.06
[15:07:11] <Lerneaen_Hydra> still, I run head, so maybe not unexpected
[15:07:18] <alex_joni> actually it is
[15:07:22] <Lerneaen_Hydra> oh
[15:07:40] <Lerneaen_Hydra> didn't sound like an EMC error
[15:07:45] <Lerneaen_Hydra> more like the RT subsystem
[15:08:03] <alex_joni> yeah, and that hasn't been touched lately
[15:09:30] <Lerneaen_Hydra> oh
[15:09:35] <Lerneaen_Hydra> that's strange
[15:09:43] <Lerneaen_Hydra> IIRC this happened once before
[15:10:04] <Lerneaen_Hydra> and it was attributed to a non-clean shutdown of EMC
[15:10:13] <alex_joni> that can be a reason
[15:10:14] <Lerneaen_Hydra> it was a while back though
[16:18:48] <CIA-8> 03alex_joni 07HEAD * 10emc2/share/axis/tcl/axis.tcl: halmeter Menu entry, usually very handy to have around
[17:00:30] <CIA-8> 03eric-johnson 07HEAD * 10emc2/src/emc/usr_intf/emcrsh.cc: Replaced "fork" with "pthread" in the handling of threads.
[17:02:16] <CIA-8> 03compile-farm 07Ubuntu 5.10 (2.6.12-magma) * 10emc2head/: build FAILED ; see http://linuxcnc.org/compile_farm/emc2head_slot7_log.txt
[17:02:41] <CIA-8> 03eric-johnson 07HEAD * 10emc2/src/emc/usr_intf/Submakefile: Added pthread to the linking of emcrsh.cc
[17:05:32] <CIA-8> 03compile-farm 07BDI-2.18 (2.2.18-rtl3.0) * 10emc2head/: build FAILED ; see http://linuxcnc.org/compile_farm/emc2head_slot2_log.txt
[17:06:09] <CIA-8> 03alex_joni 07HEAD * 10emc2/src/hal/utils/meter.c: fixed bug #1526647, halmeter does not select default pin/sig choice (actually now no rows are selected by default)
[17:09:22] <CIA-8> 03compile-farm 07BDI-TNG (2.4.18-rtai) * 10emc2head/: build FAILED ; see http://linuxcnc.org/compile_farm/emc2head_slot3_log.txt
[17:09:37] <CIA-8> 03compile-farm 07Ubuntu 5.10 (2.6.12-magma) * 10emc2head/: build PASSED
[17:12:11] <jepler> hm looks like a configure test for pthread will be necessary
[17:16:44] <CIA-8> 03compile-farm 07BDI-2.18 (2.2.18-rtl3.0) * 10emc2head/: build PASSED
[17:25:15] <CIA-8> 03compile-farm 07BDI-TNG (2.4.18-rtai) * 10emc2head/: build PASSED
[17:30:00] <alex_joni> hi jeff
[17:31:19] <CIA-8> 03alex_joni 07HEAD * 10emc2/src/hal/utils/scope_horiz.c: fixed the bug #1526647 in halscope too, when halscope starts the first time it will by default take the first thread (which already was selected) if the user presses OK
[17:34:50] <alex_joni> bbl..
[17:34:57] <robin_sz> bye
[18:46:49] <simon78_> Does anyone know if its possible to find any examples or such for more advanced 3D objects? (without payining $$$ or signing up for spam)
[19:51:23] <tomp> hello all, happy labor day
[20:15:57] <alex_joni> hi tomp
[20:40:57] <acemi> i think there is bug in EMC2 when removing user space HAL components
[20:41:52] <acemi> in file bin/emc, between line 353-360
[20:42:42] <acemi> hal component name is not as in "ps auxw" output and KillTaskWtihTimeout can't find PID
[20:47:14] <alex_joni> acemi: which one?
[20:48:09] <acemi> http://rafb.net/paste/results/zsFmnL62.html
[20:52:16] <alex_joni> acemi: ok, but which is the process which doesn't match ?
[20:52:46] <acemi> after stopped axis, i get Could not find pid(s) for task hal_manualtoolchange
[20:53:22] <acemi> in "ps aux" this porecess is axis_manualtoolchange
[20:54:18] <alex_joni> I see..
[20:54:38] <alex_joni> so this is for HEAD.. afaik emc2 doesn't have manualtoolchange
[20:54:48] <acemi> yes, for HEAD
[20:55:08] <acemi> print $4 in AWK gives the PID
[20:55:18] <alex_joni> I'll test a bit, and put it in ;)
[20:55:22] <alex_joni> thanks for spotting it
[20:55:26] <acemi> np
[20:58:47] <robin_sz> meep?
[20:59:03] <jmkasunich> peem
[20:59:08] <alex_joni> beew
[20:59:25] <robin_sz> sigh ... missed an opportunity this week ...
[20:59:38] <robin_sz> guy scrapped a combination punch/laser
[21:00:04] <robin_sz> for some trivial reason ... I only heard about it as my mate was hacksawing the laser off :(
[21:00:31] <jmkasunich> not sawing it off to save it I assume?
[21:02:03] <robin_sz> well, stripping the laser off to keep it as a useful part ...
[21:02:19] <robin_sz> theyd already pulled off the motion systems and the controllers.
[21:02:20] <jmkasunich> and you would rather have had the whole machine?
[21:03:34] <robin_sz> hell yes
[21:03:40] <alex_joni> hi john
[21:04:23] <robin_sz> it was only the hydraulic servo valve on the punch that was faulty
[21:06:18] <robin_sz> they are a cute thing ... servo motor driving a ballscrew thats on a hydraulic servo valve
[21:07:01] <robin_sz> you end up with a 20w electronic servo that has an 80tonne punch on the end of it
[21:07:12] <robin_sz> at up to 300 blows a minute
[21:07:16] <alex_joni> 20W ?
[21:07:22] <CIA-8> 03alex_joni 07HEAD * 10emc2/scripts/emc.in: patch by acemi to properly shutdown HAL userspace components which have differencies between the hal name and the linux process name
[21:07:31] <robin_sz> well, 25 at a push
[21:08:27] <robin_sz> well, alright maybe 100W, but trivial electronic power controlling awesome physical power
[21:08:51] <jmkasunich> the power gain is high, but not amazing
[21:09:03] <jmkasunich> the impressive part is the force gain
[21:09:19] <robin_sz> when you see it smack a 60mm hole through 6mm steel sheet, its amazing :)
[21:09:24] <jmkasunich> yeah
[21:09:51] <robin_sz> aw well, too late on that one
[21:09:56] <jmkasunich> but how big is the hydraulic pump? 10Kw? 20? with 20 watts to the servo, that is a power gain of only 1000
[21:10:11] <robin_sz> they'll be hauling the carcass off to the scrappy on monday
[21:10:13] <jmkasunich> force gain on the other hand, is a wee bit higher ;-)
[21:10:20] <robin_sz> 20Kw would sound about right
[21:11:20] <robin_sz> never mind I have a sniff on another laser in London thats probably going to be scrapped ...
[21:13:10] <robin_sz> im a bit ahead of the game this time, so thees a chance I can get it as a lump, before the wrecking crews start pulling bits off it.
[21:40:33] <robin_sz> this time its "only" an alignment issue
[22:06:50] <acemi> alex_joni, KILL_PID=$HAL_COMP_PID will be KILL_PIDS=$HAL_COMP_PID there is S after KILL_PID
[22:07:55] <alex_joni> argh
[22:08:04] <acemi> :)
[22:12:06] <CIA-8> 03alex_joni 07HEAD * 10emc2/scripts/emc.in: stupid typo
[22:22:47] <alex_joni> * alex_joni heads to bed
[22:22:50] <alex_joni> night all
[22:57:06] <danex> * danex is away: Away at the moment
[23:21:17] <robin_sz> and so it begins