LinuxCNC on 12.04...got error, what does it mean?

More
04 May 2013 02:43 #33595 by greenbuggy
I was getting a few unexpected realtime errors while tuning my system on 10.04 and read that Xenomai and 12.04 works better on newer processors and mainboards so I updated to 12.04LTS and followed the instructions here:
www.anderswallin.net/2012/12/linuxcnc-on-ubuntu-12-04lts/
to get Xenomai and synaptic on my system

Now when I attempted to start linuxCNC it tries to start then I get this error in my linuxcnc_debut.txt
Can not find -sec MOT -var MOT -num 1 
Can not find -sec IO -var IO -num 1 
Can not find -sec LINUXCNC -var NML_FILE -num 1 
Can not find -sec EMC -var NML_FILE -num 1 
26699
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components

This in my linuxcnc_print.txt:
RUN_IN_PLACE=yes
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/home/kris/emc2-dev/bin
LINUXCNC_TCL_DIR=/home/kris/emc2-dev/tcl
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/home/kris/emc2-dev/rtlib
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/home/kris/emc2-dev/src/objects
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
INIFILE=/home/kris/linuxcnc/configs/Lagun/Lagun.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Killing task linuxcncsvr, PID=26699
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

I've attached my config files. Machine is running on a WTM D28 mobo with an Intel Atom 1.8, 2G ram, 500 GB HDD, Mesa 5i20-PCI.

I'm fairly new to linux so I'm not sure exactly what I did wrong here, or how to go about fixing it.

If its beyond fixing or better to do a fresh install of Ubuntu 12.04 then xenomai and compiling LinuxCNC I can do that, and don't mind being told that I should go back to 10.04 but I'm curious what I did wrong such that linuxCNC won't start, so I can learn from my mistakes. Thanks for the help.
Attachments:

Please Log in or Create an account to join the conversation.

More
04 May 2013 17:32 #33599 by ArcEye
Hi

Unfortunately from those little snippets of error messages can't tell anything.

You need to run from a terminal and post all the output plus that from the /var/logs/kern.log

For info though, 10.04 runs very well on Intel Atoms, has some of the lowest latency figures you will find for newer boards. (typically sub 10K sometimes down to 5K)

Xenomai and 12.04 runs better on my quad core machine than 10.04 and the stock rtai kernel did, but Xenomai runs horrendously on a P4 I tested on
So it is not a silver bullet, there are horses for courses

regards

Please Log in or Create an account to join the conversation.

More
05 May 2013 02:30 #33616 by greenbuggy
Replied by greenbuggy on topic LinuxCNC on 12.04...got error, what does it mean?
OK then try this:
Attachments:

Please Log in or Create an account to join the conversation.

More
05 May 2013 02:34 - 05 May 2013 02:55 #33617 by greenbuggy
Replied by greenbuggy on topic LinuxCNC on 12.04...got error, what does it mean?
and kern.log - split in two
Last edit: 05 May 2013 02:55 by greenbuggy.

Please Log in or Create an account to join the conversation.

More
05 May 2013 02:55 - 05 May 2013 05:49 #33620 by greenbuggy
Replied by greenbuggy on topic LinuxCNC on 12.04...got error, what does it mean?
kern. log pt 1 of 2
Last edit: 05 May 2013 05:49 by greenbuggy.

Please Log in or Create an account to join the conversation.

More
05 May 2013 05:54 #33628 by greenbuggy
Replied by greenbuggy on topic LinuxCNC on 12.04...got error, what does it mean?
Third try is the charm maybe....BTW Moderators "editing" and adding a file doesn't seem to be working

Please Log in or Create an account to join the conversation.

More
05 May 2013 18:24 #33648 by BigJohnT
Only some file extensions are allowed... see using this forum for the list.

John

Please Log in or Create an account to join the conversation.

More
05 May 2013 18:46 #33649 by ArcEye
Hi

From what little info there is at present I suspect your build is the problem.

dlopen error: ......../hal_lib.so: cannot open shared object file: No such file or directory


Either the libraries are not built properly to be dynamically loaded or , because you have built in your home directory, there is no path to them in the environment.

You can either build with -rpath=/path/to/library/ or try to do it afterwards by adding the path to LD_LIBRARY_PATH and / or add the paths to ~/.bashrc

Look up that error message in google for more info

regards

Please Log in or Create an account to join the conversation.

More
04 Dec 2013 12:11 #41328 by tiffany
I have the same debug information as yours. could you tell me what 's wrong about it?
thank you!

Please Log in or Create an account to join the conversation.

More
04 Dec 2013 17:38 #41336 by andypugh

I have the same debug information as yours. could you tell me what 's wrong about it?
thank you!


Was this a liveCD installation, or something built from source?

Please Log in or Create an account to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum