Hi Chris,
On 01/27/2013 12:17 PM, Chris George wrote:
> I've downloaded and installed your package, following the directions at
> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?XenomaiKernel on a 64-bit Ubuntu
> 12.04 install. I then followed the directions at
> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?NewRTInstall to install the new
> branch supporting Xenomai kernels, and it nearly works.
Great, that's perfect.
> The issue I have
> run into is that during the test "halmodule.0", I get the following error:
>
> Traceback (most recent call last):
> File "/home/chris/gitspace/linuxcnc-rtos/bin/pyvcp", line 41, in <module>
> import vcpparse
> File "/home/chris/gitspace/linuxcnc-rtos/lib/python/vcpparse.py", line
> 26, in <module>
> import pyvcp_widgets
> File "/home/chris/gitspace/linuxcnc-rtos/lib/python/pyvcp_widgets.py",
> line 49, in <module>
> from hal import *
> File "/home/chris/gitspace/linuxcnc-rtos/lib/python/hal.py", line 30, in
> <module>
> import _hal
> ImportError: libnative.so.3: shared object cannot be dlopen()ed
> lat.hal:6: pyvcp exited without becoming ready
> RTAPI: ERROR: Unexpected realtime delay on task 1 - 'fast' (1 overruns)
> This Message will only display once per session.
> Run the Latency Test and resolve before continuing.
> RTAPI: ERROR: Unexpected realtime delay on task 1 - 'fast' (1 overruns)
> This Message will only display once per session.
> Run the Latency Test and resolve before continuing.
> RTAPI: ERROR: Unexpected realtime delay on task 1 - 'fast' (1 overruns)
> This Message will only display once per session.
> Run the Latency Test and resolve before continuing.
> RTAPI: (further messages will be suppressed)
>
> A nearly identical error occurs when I run the latency tests or attempt to
> open LinuxCNC with a sample module. Googling has shown that generally this
> issue is caused by compiling the kernel without the
> option --enable-dlopen-skins. Eventually I'll try to compile the kernel
> myself, but I figured I'd bring this to the attention of the package
> manager.
You've figured it out. The upstream xenomai package doesn't enable
dlopen skins by default. I've rebuilt the xenomai packages; update as
usual:
sudo apt-get update
sudo apt-get install libxenomai-dev libxenomai1 xenomai-runtime
# sudo apt-get install xenomai-doc linux-patch-xenomai # optional
Thanks for the detailed bug report!
In addition, there are new kernel packages with meaningful file names
for /boot/* and /lib/modules/*:
sudo apt-get install linux-image-3.5.7-xenomai-2.6.2.1
John
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers