[Home]XenomaiKernel

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

Showing revision 17

The Xenomai RT Kernel

Michael Haberler's new branch supports the Xenomai Realtime kernel. Information on installing it can be found here: NewRTInstall.

Links

Building a Debian or Ubuntu Xenomai runtime tools package

The XenomaiRuntimePackage recipe is prerequisite to building the kernel itself.

Building a Debian or Ubuntu kernel package with Xenomai patches

The XenomaiKernelPackageFromTarball recipe is a quick way to build a one-off kernel package.

Experimental Ubuntu Xenomai kernel package repository

John Morris has put up a temporary Ubuntu package repository containing Xenomai packages. Here is how to enable it and install the packages; these must be run as superuser:

 # Add the repository to /etc/apt/sources.list
 echo "deb http://distro.zultron.com/zultron/cadcam/debian precise main" >> /etc/apt/sources.list
 # Install the package containing the signing keys; answer 'y' to install despite missing keys
 apt-get install zultron-keyring
 # Install the xenomai tools
 apt-get install xenomai-runtime
 # Install the xenomai-patched kernel
 apt-get install linux-image-3.5.7-xenomai-2.6.2.1

Running Xenomai regression tests

To be sure your Xenomai kernel is behaving as expected, run the regression tests whenever you install a new kernel or new hardware. All tests, with the exception of clocktest -C 42 -T 30, should always pass. The test script will stop upon failure of any test.

On Debian or Ubuntu:

  sudo xeno-regression-test -l "/usr/lib/xenomai/testsuite/dohell -m /tmp 100" -t 2

On RedHat-like distros, 64-bit:

  sudo xeno-regression-test -l "/usr/lib64/xenomai/dohell -m /tmp 100" -t 2

On RedHat-like distros, 32-bit:

  sudo xeno-regression-test -l "/usr/lib/xenomai/dohell -m /tmp 100" -t 2

If a test fails, please make a bug report to the Xenomai mailing list: http://www.xenomai.org/mailman/listinfo/xenomai Be sure to put the output of the regression test (incl. command line), kernel config (/boot/config-*) and output of dmesg on e.g. pastebin and provide links to them in your bug report.

If all tests run successfully, you can be fairly sure that Xenomai is running correctly.


LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
This page is read-only. Follow the BasicSteps to edit pages. | View other revisions | View current revision
Edited January 24, 2013 7:30 am by Zultron (diff)
Search:
Published under a Creative Commons License