00:02:05 TorbaX has quit 00:08:49 A-L-P-H-A has joined #emc 00:31:20 Ephexis has joined #EMC 00:34:29 03cradek * 10emc2/debian/emc2.files: I didn't mean to check these in 01:32:14 roltek has quit 01:39:48 lerman_ has joined #emc 01:40:17 lerman has quit 01:40:30 lerman_ is now known as lerman 01:41:34 roltek has joined #emc 01:46:34 acemi has quit 01:46:51 roltek has quit 01:55:51 robin_z has joined #emc 01:56:04 meep? 01:56:11 hi robin 01:56:22 hi ;) 01:56:31 what happened to your s? 01:56:52 I guess you lost it somewhere 01:57:01 my other PC is using it :) 01:57:17 I suppose there are only so many s in the world 02:02:19 yeah, I was lucky to get one 02:14:06 giacus has quit 02:15:00 robin_z is now known as robin_sz 02:17:45 skunkworks has joined #emc 02:31:03 lerman has quit 02:34:05 orpheus has quit 02:35:34 anybody running the new debs (emc2, axis) under ubuntu? 02:38:58 LawrenceG: I have run them a little bit 02:39:47 ubuntu? eek. 02:40:01 I trod in some ubuntu once. 02:40:12 I am having trouble getting the rt modules to install 02:40:38 are there errors in 'dmesg'? (type 'dmesg' at a terminal window and look at the last lines) 02:40:51 on adeos.ko, get a files exists error 02:41:08 and a bunch of operation not permitted on rtai_* 02:41:26 this is in a terminal window when I run emc from the terminal 02:41:53 skunkworks has quit 02:42:10 look at 'dmesg', sometimes it has additional information 02:42:38 from what you've told me so far, it sounds like the symptom that when emc fails to start once, it can leave some modules around, and you get this message the next time .. instead of whatever the underlying problem was. 02:42:52 dmesg shows a whole pile of unknown symbol errors on all the rtai modules 02:42:54 umm, I don't know if what I just said made any sense 02:43:22 scroll back to the earliest errors (or use dmesg | less) 02:44:08 one thing I ran into on my laptop was that the very first module would complain about my 'APIC', which was disabled. Do you have a message like that? 02:44:41 * LawrenceG looking 02:46:36 this is the message I got: 02:46:37 ./base/arch/i386/hal/hal.piped: printk("RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT AVAILABLE/ENABLED\n"); 02:47:02 hmmm.. first error in dmesg seems to be "RTAI[hal] .... yep thats the one I see 02:48:19 OK. The next thing to try is to boot the kernel with the "lapic" flag. Are you familiar with setting kernel flags in grub? 02:51:38 not recently, but I can probably figure it out..... is there a special line you can paste into menu.lst 02:51:43 http://pastebin.com/542682 02:52:09 basically, copy the group of lines for the -magma kernel to above the AUTOMAGIC line, and then add 'lapic' after 'ro' 02:52:57 zwisk has joined #emc 02:53:04 what hardware are you using (CPU)? 02:54:06 http://www.captain.at/programming/rtai/apic.php 02:54:59 its an old 200mhz P?? 196mb 02:55:12 looks like this error would go away if I compiled the kernel without CONFIG_X86_LOCAL_APIC but I don't know what problems that might cause 02:55:14 suspect there will be an issue with period as well 02:55:42 rebooting now 02:55:49 original pentiums might not have a local APIC 02:56:44 bah, ignore me, I don't know why I said that 02:58:06 I get spoiled running 2+ghz devel machine... its takes patience on the sub 500mhz boxes, but they still work! 02:59:18 LawrenceG: did you just install this ubuntu? 03:00:09 I was using it as a test box for working with the surplus 3ph ac servo driver 03:00:22 so its been around for a few months 03:00:45 LawrenceG: are you using the packages from http://solaris.cs.utt.ro/emc2/ ? 03:01:06 yes... kernel, modules, emc2, axis 03:01:10 gotcha 03:01:30 cradek: hm, in my linux-2.6.git tree (indeterminate version) there's a flag CONFIG_X86_GOOD_APIC which seems to force use of the local APIC .. with a scary comment 03:01:33 I didn't know you were doing that; I'm still a bit in the development phase with these 03:01:46 jepler: interesting 03:03:25 LawrenceG: I encourage you to use them, but beware they're still changing 03:03:52 same problem.... "no local apic present or hradware disabled" 03:04:11 have a look at 'cat /proc/cmdline' 03:04:15 showed up higher up in the desg stuff.... can play with bios settings 03:04:31 make sure it says lapic there 03:05:02 says root=/dev/hda3 ro lapic 03:05:23 hmm, yeah maybe you need to look at the system bios 03:05:52 I'm pretty sure all the power save stuff is shut off.... 03:06:53 no problem thats its under devel... I am very happy to see that.... it will make installs very easy. 03:07:22 I wanted to see if I could help test it 03:07:36 that's great 03:07:41 I appreciate it 03:07:50 maybe there's something about APIC in your bios 03:07:59 note ACPI (power management) does not equal APIC 03:10:09 The other approach would be to rebuid the kernel and rtai without X86_FEATURE_APIC, but that would take a fortnight on your machine 03:10:28 rats... monitor is not syncing to bios display... 03:11:31 got it.... had to power up with monitor disconnected.... 03:14:09 """What is APIC? APIC is a distributed set of devices that make up an interrupt controller. In current implementations, each part of a system is connected by an APIC bus. One part of the system, the "local APIC," delivers interrupts to a specific processor; for example, a machine with three processors must have three local APICs. Intel has been building local APICs into their processors since the Pentium P54c in 1994. Computers built with genuine 03:14:18 -- http://www.microsoft.com/whdc/system/sysperf/IO-APIC.mspx 03:14:45 nice find 03:15:04 I think I remember some of those very old boards had bios settings about interrupt routing 03:15:30 looks like P54c covers 75MHz and up Pentiums 03:15:33 http://www.x86.org/intel.doc/586manuals.htm 03:15:45 I have a couple P90 around I think 03:15:51 but some of the comments in the linux source code seem to imply that it was only usable since Pentium MMX 03:16:10 MMX were the P166? 03:16:14 * If we were told we had a good local APIC, check for buggy Pentia, 03:16:15 * i.e. all B steppings and the C2 stepping of P54C when using their 03:16:15 * integrated APIC (see 11AP erratum in "Pentium Processor 03:16:15 * Specification Update"). 03:16:21 -- asm-i386/bugs.h 03:16:28 is linux considered to be a pnp aware o/s? 03:16:30 yikes 03:16:49 cradek: I don't know about MMX and speeds. This is the list I was reading: http://www.x86.org/intel.doc/586manuals.htm 03:16:58 bbl 03:17:06 LawrenceG: I think so 03:17:34 LawrenceG: anything about interrupts or interrupt routing in there? 03:18:00 will try turning it on.... that should leave the pci resource allocations to theos 03:18:03 LawrenceG: if your pentium is one of those blacklisted, you might be somewhat out of luck 03:19:38 bios is from 1995... it does have the table of irq/dma allocations 03:21:35 main proc is a p54c (on bios boot info splash) 03:22:06 when it boots, we'll check the stepping and see if it's blacklisted 03:22:40 we could also try booting with "noapic" 03:22:56 booting now 03:23:37 I've got a Pentium PRO 200 board/processor here you could have if you were nearby 03:26:21 np.... I have a dual pp200 in the junk somewhere... not sure if that would help or hurt emc 03:26:57 you'd also have to rebuild to get smp, and I don't know what rtai thinks of that 03:27:11 but you could easily run it on one processor 03:29:46 trying boot with noapic..... 03:30:02 did you check your processor stepping (cat /proc/cpuinfo) 03:30:16 would like to know if it's one listed in bugs.h 03:30:26 will in a moment 03:31:00 itel pentium stepping 0c flashed by on booting 03:36:42 ok.... intel, family 5, model 2, pentium 75-200, stepping 12, 199.453mhz 03:37:30 hmm, I wonder if stepping 12 is B or C2 03:41:30 LawrenceG: does noapic have any effect? 03:41:51 http://pastebin.com/542718 03:41:58 still failed..... looking through dmesg now 03:42:18 it looks like 5 / 2 / 12 doesn't trigger the test 03:43:09 no panic anyway! 03:43:12 cradek: are you sure that the person who used 'noapic' was actually able to run emc, or just to boot with the realtime kernel? The way I read the source to rtai3.3test4 it won't load the realtime modules without an APIC 03:43:28 jepler: I'm 100% sure 03:43:46 LawrenceG: well, that code is actually #if'd out, because CONFIG_X86_GOOD_APIC isn't defined in cradek's kernel 03:43:47 jepler: it surprised me too 03:44:23 maybe I should rebuild with 586MMX and GOOD_APIC 03:45:24 althought that still wouldn't have helped jmk's machine which needed 'noapic' 03:45:31 I'm pretty sure LawrenceG's machine isn't MMX 03:45:35 so it won't help him either 03:45:52 hmm. 03:46:14 this is a mess and I don't remember it ever being a problem with 2.4 kernels. 03:46:45 It would be nice if there was a combination of settings that would give me that old behavior, whatever it was 03:46:58 of course maybe I've just been lucky for a long time 03:48:06 rebuild with CONFIG_X86_LOCAL_APIC off? 03:48:07 dmesg still gives RTAI[hal]: ERROR local apic configured but not available/enabled 03:53:31 goodnight folks 03:53:42 G'Night jepler 03:54:09 thanks for helping 03:54:33 LawrenceG: I'm going to build a new kernel package that should fix this. 03:54:41 LawrenceG: it will take a little while. 03:54:59 I can test it whenever you say 03:55:20 ok I will let you know 03:55:25 it will probably be done in an hour or less 03:55:30 not nearly as long as building on this box! 03:55:46 yeah, days faster probably 03:56:01 I was joking when I said "fortnight", but probably not by more than a factor of 10... 03:56:24 ugh, another 190 megs of updates on my fedora machine 03:56:30 I started palying with emc in about 1997 and it took 2 weeks to get my first running system so you are right 03:56:32 it would probably take no more than a day or two. 03:56:49 jepler: holy crap 03:57:41 looks like they upgraded kde from 3.5.0 to 3.5.1 03:57:46 == 150 megs 03:57:59 LawrenceG: does that machine have working network so you can use apt-get upgrade? 03:58:09 jepler: do you use kde? 03:58:13 cradek: nope! 03:58:20 jepler: that's pretty funny then 03:58:22 when stuff updates, does the old stuff get purged? 03:58:46 cradek: yes... all setup with the .ro repository 03:58:51 LawrenceG: cool 03:58:55 A-L-P-H-A: "depends" 03:58:58 If I'd known then what I know now, I might have installed ubuntu on this machine 03:59:21 jepler: of course it's never too late 03:59:26 cradek, oh 03:59:39 A-L-P-H-A: what specifically do you mean? I can give a better answer. 04:00:01 like, if I do an apt-get update kde, will it clean everything up nicely? 04:00:37 apt-get upgrade replaces old packages with the new. It does it carefully and nicely. 04:01:28 for example if you have a config file that you changed, but the package updates it, it will show you the differences and ask which you want to keep. 04:01:41 cool 04:02:14 typically though, software can be updated without asking any questions like that. 04:02:16 unless you're running the apt-rpm patch, in which case is gleefully ransacks your system, leaving a mess that you cant even fix with a rescue disk 04:02:30 :( 04:02:32 what is apt-rpm? 04:02:42 so dont ever try to upgrade glibc with rpm 04:02:49 apt-get for rpm based distro's 04:02:55 its an ugly hack really 04:03:01 who would use that? that's crazy talk 04:03:12 04:03:16 <--- newb remember? 04:03:27 I should really turn on my CNC machine... I haven't in months. 04:03:37 stupid machine, sitting there doing dink. 04:03:43 stupid humans 04:04:17 kinkos should have cnc mills 04:04:23 haha 04:04:37 and 3d scanners 04:05:11 that would certainly be branching out into different markets. 04:05:22 they could afford it 04:05:24 yummm... 3d scanners. 04:05:29 I would so love one... 04:05:40 take apart my cellphone, and make a cover for it. 04:08:23 how cool would alu cell phone cover be?!?! :) 04:08:30 cover = case 04:08:52 I think my previous phone was Ti - it was very light and wore well 04:09:02 i think titanium is the "how cool would it be" material these days 04:09:06 :( 04:09:13 I'm too poor to make an ti case. 04:09:17 I'd like to make a wood shell for my cellphone, but too darn thin =) 04:09:19 =( 04:09:20 I hear Ti is cheap now 04:09:22 and besides, it would involve forming. 04:09:25 really? 04:09:28 not that cheap 04:09:37 yeah mine was thin and stamped, not milled 04:09:44 carbon fiber/kevlar would be more suitable for custom work 04:10:04 yeah... stamped works for large numbers. 04:10:06 not for one offs. 04:10:21 hmm... not sude how I would like a CF weaved case. 04:10:23 hard-coat anodized aluminum would wear well 04:10:46 I got a hard coater around here. 04:10:48 you'd have to have aluminum buttons to match 04:11:37 I think if you're going to make art, make art - not a cover for a piece of junk throwaway consumer item 04:12:13 all cell phones are. 04:12:18 and if you're going to make art, don't weld a bunch of rusty crap together in my shop and leave it laying around on the floor 04:12:21 are throw away. 04:12:28 try keeping a phone longer than 3 years 04:12:32 yeah I know, that's actually my point 04:12:45 hahaha 04:12:50 who played in your shop fenn? 04:13:01 * fenn sighs 04:13:05 it wasn't me 04:13:08 hehe 04:13:24 I have welded rusty crap together, but called it a repair job, not art 04:13:25 I'm going to machine some spikes for my snowboard (stomp pad) 04:13:38 tomorrow. 04:17:50 something like these. http://cgi.ebay.com/Snowboard-Stomp-pad-Dakine-stomp-pad-Studs-New_W0QQitemZ7216768726QQcategoryZ62170QQrdZ1QQcmdZViewItem 04:19:17 looks like a lathe job 04:25:50 how do those 6 things attach to whatever? 04:26:33 oh I see it says adhesive 04:50:27 cradek: how is that kernel build going? 04:51:08 finished, working on updating the repository now 04:51:44 cool.... do you have scripts set up for building the debs? or is it in the make files 04:51:59 it's an unholy combination of things 04:52:26 I believe it.... 04:54:28 ok, uploading everything now. maybe 10 mins. 04:55:10 how close is the offical release? 04:55:37 I was shooting for the end of last year 04:55:47 but that doesn't answer your question... 04:56:05 mostly it's in the hands of ray and jmk, they are working on last-minute stuff. 04:56:50 well, I have been using emc2 since about the middle of last year.... the new config stuff looks good... I'd like to play with cl a bit. 04:57:02 aside from the configurating tools, I think emc2 is ready 04:57:30 it does MANY things better than emc1 already. 04:58:17 yes, I havent used the subroutines and conditional stuff yet.... But I have made 1/2 a dozen circuit boards 04:58:41 some where prettier than others 04:58:52 that's the way it goes I'm sure 04:59:42 getting repeatable depth control is hard on the shoptask because of the huge rack and pinion feed 04:59:53 on the quill... 05:00:08 would like to add a small high speed spindle and z axis 05:10:45 still sending..... 05:11:21 on my PCBs I cut .0045 deep iirc 05:11:33 it's pretty critical since it's a V tool 05:12:30 yea... I did one board and it was perfect.... peeled the copper off cleanly without disturbing the fiberglass 05:12:46 peeled? 05:13:04 too deep and the fiberglass messes things up 05:13:04 I leave the extra copper on the board - it doesn't hurt anything 05:13:18 sometimes I use it as the ground plane 05:13:25 well... cut the copper isolation tracks cleanly 05:13:38 yea I leave all the extra on as well 05:15:07 a buddy of mine just built a small router table and cut a double sidded board... very nice... it is made from suplus printer steppers and 1/4 20 all thread with bronnze bearings running on ground rod ways 05:15:35 what are the leadnuts? 05:15:50 he made anti backlash nuts from brass plumbing fittings threaded on the inside 05:16:06 a spring loaded deal? 05:16:08 about a 10x10x3" work zone 05:16:33 sounds neat 05:16:38 he should post some photos 05:16:41 run by emc? 05:16:50 I got him to take lots of pictures so he could do a web page.... he is running emc2/axis 05:17:00 cool 05:17:36 what did he use for stepper drivers? 05:17:50 he even made a spindle from an old router shaft/collet driven by a treadmill motor 05:18:11 cool, that's closed-loop speed control then 05:18:31 some 3955 boards ge got from pmi I think 05:18:32 I bet he had to gear it up a lot... 05:19:17 treadmill motor runs at 6000rpm@90vdc... I think his speed up is between 2 and 3 05:19:45 12-18k is a good range for small stuff 05:20:02 only problem so far is the treadmill motor gets very toasty.... needs fan cooling 05:20:21 yeah they usually have fans on the back shaft 05:21:27 67mb of updates.... downloading now 05:22:11 no, the upload isn't done! 05:22:11 opps 05:22:21 I wish there was a way I could prevent that... 05:22:27 control c... 05:22:34 I bet apt wouldn't install them because the gpg sig doesn't match. 22:16:17 logger_aj has joined #emc 22:16:17 topic is: "Welcome to the Enhanced Machine Control forum - Support and development of a linux based CNC control. | Home:www.linuxcnc.org | Regular Developers' meetings every Sunday 14:00-18:00 GMT | wiki up @ http://wiki.linuxcnc.org | EMC usage map: http://www.frappr.com/emctheenhancedmachinecontroller" 22:16:17 Users on #emc: logger_aj scott__ k4ts Jymmm acemi giacus_afk alex_joni zwisk Ephexis A-L-P-H-A bill20r3 paelscrit anonimasu jepler SWPadnos LawrenceG CIA-8 picnet fenn jtr_ @ChanServ ccjoe cradek djb_rh bill2or3 robin steves_logging ValarQ websys 22:16:21 hmm, sf cvs is still down. 22:19:26 scott_ has joined #emc 22:19:40 scott__ has quit 22:20:42 if you clone my git repository of emc2 (git://axis.unpy.net/emc.git) you can at least perform actions like git-diff offline 22:30:45 k4ts has quit 23:04:06 night all 23:20:27 scott_ has quit 23:21:50 scott_ has joined #emc 23:31:09 lerman_ has joined #emc 23:31:11 lerman_ is now known as lerman