Re: [Emc-users] installing 2.5 in simulation mode, not working

2012-02-14 Thread Tom Easterday
This is an old-ish thread, but I finally got around to trying to figure this 
out and thought I would post what I found in case other folks run into this 
problem with Linuxcnc-sim on Parallels.   Under the Virtual Machine menu of the 
Parallels Desktop application, select Virtual Machine -> Configure.  Ubuntu 
must be shut down in order to configure.  From the dialog box that comes up 
select the Video settings and turn off Enable 3D acceleration.  I also set my 
video memory to 256MB.  Now Linuxcnc and Axis run.
Tom

On Jan 23, 2012, at 5:25 AM, andy pugh wrote:

> On 23 January 2012 06:19, Tom Easterday  wrote:
>> I am trying to install 2.5 under 10.04 running under Parallels on my Mac.  I 
>> followed the instructions (related to installing -sim) here:  
>> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Installing_EMC2#Building_emc2_simulator
> ...
>> why this isn't working?
> 
> I am not sure that the 2.5 branch works at the moment. It wouldn't
> work for me when I tried a compiled version under VMware at the
> weekend. It might be something as simple as $EMCDISPLAY not existing
> any more ($LINUXCNCDISPLAY ?)
> 
> If Parallels will create a virtual machine from an ISO image then I
> would suggest doing that with the 2.4.7 image, it is much quicker. You
> can then update to 2.5 using the buildbot debs (buildbot.linuxcnc.org)
> 
> I don't bother running a simulator version on my Mac, I run the normal
> version. I am not sure what the actual difference is.
> 
> -- 
> atp
> The idea that there is no such thing as objective truth is, quite simply, 
> wrong.
> 
> --
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] installing 2.5 in simulation mode, not working

2012-01-23 Thread andy pugh
On 23 January 2012 06:19, Tom Easterday  wrote:
> I am trying to install 2.5 under 10.04 running under Parallels on my Mac.  I 
> followed the instructions (related to installing -sim) here:  
> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Installing_EMC2#Building_emc2_simulator
...
> why this isn't working?

I am not sure that the 2.5 branch works at the moment. It wouldn't
work for me when I tried a compiled version under VMware at the
weekend. It might be something as simple as $EMCDISPLAY not existing
any more ($LINUXCNCDISPLAY ?)

If Parallels will create a virtual machine from an ISO image then I
would suggest doing that with the 2.4.7 image, it is much quicker. You
can then update to 2.5 using the buildbot debs (buildbot.linuxcnc.org)

I don't bother running a simulator version on my Mac, I run the normal
version. I am not sure what the actual difference is.

-- 
atp
The idea that there is no such thing as objective truth is, quite simply, wrong.

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] installing 2.5 in simulation mode, not working

2012-01-22 Thread Michael Haberler
looks like there's something badly wrong way below emc, python segfaults in 
libc - looks like incompatible libc and python versions:

[ 1956.652151] axis[16736]: segfault at 488bd12a ip 004aacc2 sp bfe4cec8 error 
6 in libc-2.11.1.so[39a000+153000]

if you find a core file, try this:

gdb /usr/bin/python core
backtrace
and post a few lines from the top of stack

--

your kernel oopsed during startup, see line 622 of dmesg, but that's likely not 
the issue and maybe a Parallels artefact, see the irqpoll hint
btw I run 10.04, non-RTAI kernel and linuxcnc-sim in virtualbox on a mac and 
its really stable; I gave up on Parallels eventually

-m

Am 23.01.2012 um 07:19 schrieb Tom Easterday:

> I am trying to install 2.5 under 10.04 running under Parallels on my Mac.  I 
> followed the instructions (related to installing -sim) here:  
> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Installing_EMC2#Building_emc2_simulator
> 
> Everything went fine (I believe), but when I try to run linuxcnc with one of 
> the default sim configurations it fails.  Any idea why this isn't working?
> 
> 
> I get this if I try gladevcp_panel sim config:
> 
> tom@ubuntu:~/emc2-dev/configs/sim/gladevcp$ linuxcnc
> LINUXCNC - 2.5.0-pre2
> Machine configuration directory is '/home/tom/emc2-dev/configs/sim/gladevcp'
> Machine configuration file is 'gladevcp_panel.ini'
> Starting LinuxCNC...
> /home/tom/emc2-dev/scripts/linuxcnc: line 687: 17928 Illegal instruction 
> $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
> Shutting down and cleaning up LinuxCNC...
> Cleanup done
> EMC terminated with an error.  You can find more information in the log:
>/home/tom/linuxcnc_debug.txt
> and
>/home/tom/linuxcnc_print.txt
> as well as in the output of the shell command 'dmesg' and in the terminal
> tom@ubuntu:~/emc2-dev/configs/sim/gladevcp$ 
> 
> 
> This if I try axis:
> 
> tom@ubuntu:~/emc2-dev$ linuxcnc
> LINUXCNC - 2.5.0-pre2
> Machine configuration directory is '/home/tom/emc2-dev/configs/sim/axis'
> Machine configuration file is 'axis.ini'
> Starting LinuxCNC...
> /home/tom/emc2-dev/scripts/linuxcnc: line 687: 18317 Segmentation fault  
> $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
> Shutting down and cleaning up LinuxCNC...
> Cleanup done
> EMC terminated with an error.  You can find more information in the log:
>/home/tom/linuxcnc_debug.txt
> and
>/home/tom/linuxcnc_print.txt
> as well as in the output of the shell command 'dmesg' and in the terminal
> tom@ubuntu:~/emc2-dev$ 
> 
> The linuxcnc_debug.txt shows (for either config):
> tom@ubuntu:~/emc2-dev$ more /home/tom/linuxcnc_debug.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 
> 18283
>  PID TTY  STAT   TIME COMMAND
> 18316
>  PID TTY  STAT   TIME COMMAND
> Stopping realtime threads
> Unloading hal components
> 
> The linuxcnc_print.txt shows (for either config):
> tom@ubuntu:~/emc2-dev$ more /home/tom/linuxcnc_print.txt
> RUN_IN_PLACE=yes
> LINUXCNC_DIR=
> LINUXCNC_BIN_DIR=/home/tom/emc2-dev/bin
> LINUXCNC_TCL_DIR=/home/tom/emc2-dev/tcl
> LINUXCNC_SCRIPT_DIR=
> LINUXCNC_RTLIB_DIR=/home/tom/emc2-dev/rtlib
> LINUXCNC_CONFIG_DIR=
> LINUXCNC_LANG_DIR=/home/tom/emc2-dev/src/objects
> INIVAR=inivar
> HALCMD=halcmd
> LINUXCNC_EMCSH=/usr/bin/wish8.5
> INIFILE=/home/tom/emc2-dev/configs/sim/axis/axis.ini
> PARAMETER_FILE=sim.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
> Starting EMC2 TASK program: milltask
> Starting EMC2 DISPLAY program: axis
> Killing task linuxcncsvr, PID=18283
> Killing task milltask, PID=18316
> Removing HAL_LIB, RTAPI, and Real Time OS modules
> Removing NML shared memory segments
> tom@ubuntu:~/emc2-dev$ 
> 
> Dmesg output is pasted here:
> http://pastebin.com/qFC2epqR
> 
> Thanks,
> Tom
> 
> 
> --
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2

[Emc-users] installing 2.5 in simulation mode, not working

2012-01-22 Thread Tom Easterday
I am trying to install 2.5 under 10.04 running under Parallels on my Mac.  I 
followed the instructions (related to installing -sim) here:  
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Installing_EMC2#Building_emc2_simulator

Everything went fine (I believe), but when I try to run linuxcnc with one of 
the default sim configurations it fails.  Any idea why this isn't working?


I get this if I try gladevcp_panel sim config:

tom@ubuntu:~/emc2-dev/configs/sim/gladevcp$ linuxcnc
LINUXCNC - 2.5.0-pre2
Machine configuration directory is '/home/tom/emc2-dev/configs/sim/gladevcp'
Machine configuration file is 'gladevcp_panel.ini'
Starting LinuxCNC...
/home/tom/emc2-dev/scripts/linuxcnc: line 687: 17928 Illegal instruction 
$EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
Shutting down and cleaning up LinuxCNC...
Cleanup done
EMC terminated with an error.  You can find more information in the log:
/home/tom/linuxcnc_debug.txt
and
/home/tom/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
tom@ubuntu:~/emc2-dev/configs/sim/gladevcp$ 


This if I try axis:

tom@ubuntu:~/emc2-dev$ linuxcnc
LINUXCNC - 2.5.0-pre2
Machine configuration directory is '/home/tom/emc2-dev/configs/sim/axis'
Machine configuration file is 'axis.ini'
Starting LinuxCNC...
/home/tom/emc2-dev/scripts/linuxcnc: line 687: 18317 Segmentation fault  
$EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
Shutting down and cleaning up LinuxCNC...
Cleanup done
EMC terminated with an error.  You can find more information in the log:
/home/tom/linuxcnc_debug.txt
and
/home/tom/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
tom@ubuntu:~/emc2-dev$ 

The linuxcnc_debug.txt shows (for either config):
tom@ubuntu:~/emc2-dev$ more /home/tom/linuxcnc_debug.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 
18283
  PID TTY  STAT   TIME COMMAND
18316
  PID TTY  STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components

The linuxcnc_print.txt shows (for either config):
tom@ubuntu:~/emc2-dev$ more /home/tom/linuxcnc_print.txt
RUN_IN_PLACE=yes
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/home/tom/emc2-dev/bin
LINUXCNC_TCL_DIR=/home/tom/emc2-dev/tcl
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/home/tom/emc2-dev/rtlib
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/home/tom/emc2-dev/src/objects
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
INIFILE=/home/tom/emc2-dev/configs/sim/axis/axis.ini
PARAMETER_FILE=sim.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
Starting EMC2 TASK program: milltask
Starting EMC2 DISPLAY program: axis
Killing task linuxcncsvr, PID=18283
Killing task milltask, PID=18316
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
tom@ubuntu:~/emc2-dev$ 

Dmesg output is pasted here:
http://pastebin.com/qFC2epqR

Thanks,
Tom


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users