good morning all. Little help here. please look at this: http://imagebin.org/21826
Is this an error I'm creating or something more? if me, how? I get this using emc2-trunk on 3 different installations (3 unique computers with clean installs)
oh, this is an 'AXIS error' 'unexpected realtime delay'
few questions... Onboard video? what kind of hardware?
could you run latency-test from terminal and see what numbers you get?
also do a lspci -v and pastebin the results.
also - what is your base period?
This is also good reading http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TroubleShooting#Unexpected_realtime_delay_check_dmesg_for_details
good morning. yes, onboard vid. mb= asus p5gc-mx/133, 2g mem. http://www.asus.com/products.aspx?l1=3&l2=11&l3=498&model=1574&modelmenu=1
lspci -> http://pastebin.com/m76adeb8
here's a clean dmesg: http://pastebin.com/d3964b97d
here's the full .ini file: http://pastebin.com/da8985f8
it's got a 3GHz CPU?
ah - 2.66
here's a latency-test: http://pastebin.com/d5706cb8e
You have to run it longer.
at least a couple of minutes
and you should be doing "stressful" things while it runs
can i pipe the output to a file?
run glxgears, open OpenOffice, drag windows around ...
you can run latency-test (it is a gui)
don't worry about that - just copy/paste from the terminal once you stop the test
(select an area then middle-click to paste, in case you don't know that trick :) )
SWPadnos: tab complete working with directorys is awsome. It was a duh moment.
tab completion has been in the shell for far longer than it's been in any program I know (with the possible exception of emacs or vi)
i understand about 'stressing', but this happens just sitting there with AXIS running and nothing else going on. also, it is occuring on 3 seperate boxes.
yep - two separate things
it's bad enough to trigger the RT delay error, let's see how bad it is overall
where is glxgears?
hit ctrl-shift-t for a new terminal tab
runnign glxgears full screen. openoffice, several firefox........
what is your ovl max?
at the moment
at this time: 16519
let it keep running
by the way, this is 8.04
drag windows around
stays fixed at 16519
if emc2 and axis were running, the error would have come up long ago.
you're not using any usb keychain drives are you?
do you have it plugged in now?
remove it now.
remove it and plug it back in for grins
back in now.
up to 17241 a bit ago, then with thumb drive back in up to 22892
all that other stuff is still running.
not too bad.. What happens when you open the drive?
you can probably stop the test now and pastebin the last few lines of output
opened the file, and opened gedit with a file on the drive, still at 22892
[13:51:43] <Roguish> http://pastebin.com/d201635ee
just for grins, please run the EMC latency test
I think it may be in the CNC menu, or latency-test if not
open terminal and type latency-test
type latency-test in a terminal, or run the latency test from the menu if it's there
I don't think it is a menu item yet.
ok - I thought it might be on the 8.04 CD
now do the same things as before: glxgears, openoffice, window dragging/resizing ...
ok, 3 glxgears running, another firefox, the drive is still in......
sounds good to me
base period max latency?
it looks like you have a lot of stuff running for your machine (scope, classicladder, some custom HAL files ...), I wonder if the servo thread is actually using to much time sometimes
'Base thread' Max Interval = 51479
max jitter= 27444
of base thread
you could pastebin the result of 'halcmd show thread' and 'halcmd show pin *tmax'
yes - after you get the error
of course, close the latency-test before running EMC
ok, started emc
now, just sitting with out running gcode or anything, the error will show in a minute or 2.
op -- 'halcmd show param *tmax' (not pin)
and halcmd show thread
ok, i'm thick.. i run show thread > halinfo.txt where's the file get created?
run from in HAL configuration in emc
in the current directory
cannot find it.
ls should show it to you
wait - did you do that fom within halcmd?
i guess. from the command window in 'hal configuration' in emc.
go to a terminal, and type `halcmd show param *tmax`
then `halcmd show thread`
do you need to do a . scripts\emc-environment first? (he is running trunk)
I doubt that you can do ">" shell redirections in the 'hal configuration' program
oh, for trunk you probably do need to do that
I'm not sure that commands work all the time either (I think there was a problem with that at some point)
ok, just did the '. scripts/emc-environment', and now emc won't start:
how do you normally start EMC?
in term, with scripts/emc
insmod: error inserting '/usr/realtime-2.6.24-16-rtai/modules/rtai_hal.ko': -1 File exists
are you running a run-in-place EMC, or installed?
you can't run emc at the same time as the latency test
no lat tests running
so you open a terminal, cd /path/to/emc, then scripts/emc ?
and this is on a system that was installed from an EMC2 liveCD?
i've done a half dozen or more install lately, i'm not sure it this was the live cd or using the install script after a new 8.04 install.
probably the latter.
ok, but there's an installed EMC that you can get to from the Applications menu though, right?
hmmm. that should cause problems then :)
when you compiled this TRUNK, did you do the `sudo make setuid` step?
i pretty much blindly follow what's in the wiki.
a system that has an installed EMC has path and environment settings that point to the installed EMC
when you run in place, you need to replace those with settings that point to the run-in-place location
if you don't do that, then some things load from the compiled version, and others load from the installed version
I have rip and installed here on my laptop and don't have issues running rip using the . scripts/emc....
assuming that you have no latency test or EMC (or RTAI latency test) running, you should be able to open a terminal, type `. /path/to/emc/scripts/emc-environment`, and then run the R-I-P emc or halcmd by just typing emc or halcmd
ecripts/emc may work, but when you go to another terminal and run halcmd, you end up with the installed one (I think)
there are times when that doesn't work at all (when the SHM_ID changes, for example)
just did that: http://pastebin.com/d21c5585e
insmod: error inserting '/usr/realtime-2.6.24-16-rtai/modules/rtai_hal.ko': -1 File exists
you have a left-over latency test or something running, or something didn't clean up after itself when it exited.
all that testing goof something up?
if you're not familiar with how to use lsmod/rmmod to clean things up, a reboot is the easiest way to fix that problem.
will halrun -U do the trick?
SWPadnos: dunno, maybe
did that one, don't think it worked.
could you pastebin the output of lsmod?
then reboot if it's the easiest thing to do :)
[14:35:14] <Roguish> http://pastebin.com/d69e27b04
yep - rtai_hal is there
if you haven't rebooted, try `sudo rmmod rtai_hal`
oh duh - I should have seen that
well, could you pastebin the output of `ps ax` ?
[14:38:46] <Roguish> http://pastebin.com/d6eda83b4
gotta love that pastebin.
ok - I've got to ru. I think rebooting is the easiest thing to do at the moment
run, not ru
back for more
SWPadnos, cradek, jepler: thanks for the help. i'm off to Yosemite to hike up Half Dome. back by Friday. I would like to take this up again then, or possibly Saturday.
* alex_joni finished work :D
alex_joni: hi, i noticed your emc branch on launcpad
have you been playing with it? how's that working out?
seb_kuzminsky: if you have an launchpad account, I can add you
I poked around, but mostly to reserve it for "possible" future use
i've been using bzr for my hostmot2 development, and i just added my main hm2 dev branch to lp
[17:19:50] <seb_kuzminsky> https://code.launchpad.net/~seb-highlab/emc/hostmot2
gotta run for a bit, will be back later
fenn_ is now known as fenn
is it very involved to add a file to the docs?
what kind of file?
lyx document file
for hardware examples
you simply create it on your local dir
did that part :)
then use cvs add file/ cvs commit -m "message"
ok easy enough
but you need to be careful where you stick it
moving it around is a PITA with CVS
I was thinking that the hardware examples needed a folder
is there some step to generate pdf/html etc from it?
well no worry, someone can help with that
I see you have to do something in docs/src/Submakefile
I'm not at that computer at the moment so I can't look
if you add a part to the integrator manual will it not create the pdf/html?
I'm not sure - it looks a bit intricate
ask for help if it doesn't do what you want :-)
I think it does
there's a python foo jepler wrote which checks dependencies from lyx included files
ok, it will be later in the week I think
before it is ready
the listing in the makefile is for the html, I think
for html you have to add some foo in Submakefile, but someone else can do it too
the html doesn't look at the "container" lyx files
jepler: indeed it does :)
must be true if we both remember it the same way :D
I wonder if 2.3 should stop pretending support for pre-2.6 kernels; I don't believe we regularly test on any or get any user reports about old kernels either.
hostmot2 wont work on pre-2.6 kernels as is
i'm for dropping 2.4
hmm.. haven't tested 2.4 in a while either
anything not tested by the build farm should be considered "unmaintained, unsupported, suspected broken"
we only know whether stuff on the build farm builds, not whether it runs :-P
I tested a 2.4 build not long ago - it worked.
but tcl, python, etc., were all too old. pretty much just the kernel stuff worked. I only got the basic emc/xemc to run.
jepler: i'd like to work on unit testing and integration testing of emc2 one day... and roll it into the build system
cradek: great, so you're the volunteer to maintain 2.4 support now
cradek: have any kernel 2.2 systems in the closet?
I can take or leave 2.4. If it's working we shouldn't tear it out, but as soon as it's a pain (and nobody steps up to maintain it), whatever.
jepler: no, the first machine I ran emc on was 2.4.
linux 2.6.0 was released on 2003-12-18. fedora core 2 (2004) and
newer, and every ubuntu version ever, use it
btw, where is the buildfarm webpages?
debian wated until 2005 for it
seb_kuzminsky: linuxcnc.org/c_f or /compile_farm if you prefer the joomla decorations on the page
* alex_joni heads to bed
good night all
good night alex
the dapper buildslave hasnt run since april