First, the prerequisites:

1) Downloaded ubuntu-10.04-linuxcnc1-i386.iso, and it passes md5sum.
2) Installed into a 4GB partition in VirtualBox 4.0.0 r69151.
3) Additional software installed: wget, and vim, and VirtualBox Guest 
Additions.
4) Installed emc2-sim as per instructions in the wiki (sort of, see below).
5) Full updates as of today (01-16-11).

   I downloaded, and installed Ubuntu 10.04 into VirtualBox 4.0.0.  I 
then tested that emc2 was working, but it errored out with a bunch of 
messages about realtime modules.  Figuring it was a problem with 
VirtualBox, and since I was going to use emc2-sim anyway, I updated 
using the instructions in the wiki:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC2_Pure_Simulator

   Except, that I had to first run sudo apt-get remove emc2, before I 
could run:
sudo dpkg -i emc2-sim*.deb

   After emc2 was removed, I then ran the last 2 commands without errors.

   This shows that emc2-sim is installed:
mcason@Ubuntu-VM:~$ aptitude show emc2-sim
Package: emc2-sim
New: yes
State: installed
Automatically installed: no
Version: 1:2.4.6
Priority: extra
Section: misc

   NOW, the problem.  I'm trying to use the sim/axis.ini file, but I 
cannot get it to finish loading.  I'm assuming that the RUN_IN_PLACE=no, 
shown below is the problem? as it is still looking for realtime 
modules.  Isn't this a compile time option?  or do I need to add 
RUN_IN_PLACE=yes to axis.ini?



   Emc2 errors out with this:

Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/lib/emc2/modules
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.5
EMC2 - 2.4.6
Machine configuration directory is '/home/mcason/emc2/configs/sim'
Machine configuration file is 'axis.ini'
INIFILE=/home/mcason/emc2/configs/sim/axis.ini
PARAMETER_FILE=sim.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=halui
DISPLAY=axis
NML_FILE=
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Starting HAL User Interface program: halui
Starting EMC2 TASK program: milltask
Starting EMC2 DISPLAY program: axis
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=1618
Killing task milltask, PID=1648
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Traceback (most recent call last):
   File "/usr/bin/axis", line 3951, in <module>
     make_cone()
   File "/usr/bin/axis", line 1395, in make_cone
     gluCylinder(q, 0, .1, .25, 32, 1)
minigl.error: (1282, 'invalid operation')
1618
   PID TTY      STAT   TIME COMMAND
1648
   PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components


-- 
-Mark

Ne M'oubliez   ---Family Motto
Hope for the best, plan for the worst   ---Personal Motto


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to