Am 01.11.2012 um 21:09 schrieb Kent A. Reed:

> On 11/1/2012 5:10 AM, Michael Haberler wrote:
>> I got LinuxCNC 2.5 to run on an x86 with Xenomai kernel threads, by 
>> replacing RTAI calls by their Xenomai equivalents.
>> 
>> Initial results look promising. This is still unpolished and not ready for a 
>> merge yet - I'm publishing this at this stage to enable feedback.
>> 
>> - Michael
>> 
>> 
>> ---README.Xenomai from 
>> http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/xenomai-integration-mah-kernel
>>  --
> 
> Wunderbar, Michael, and a tip of the hat to you.
> 
> I want to try this on the same boards that gave me trouble with the 
> PREEMPT_RT work from Charles.
> 
> Gotta run to pick up my wife from yet another appointment, but one thing 
> jumped out at me...
> 
>> 
>> <...>
>> Build requisites:
>> -----------------
>> 
>> You need:
>> - a machine running Ubuntu 10.04 lts
>> - a 3.2.21 kernel with Xenomai 2.6.1 patches applied (see below for packages)
>> - the Xenomai 2.6.1 userland support package configured with 
>> --enable-dlopen-skins
>> - a grub configuration which grants Xenomai permissions to your userid
> 
> And what is an appropriate "grub configuration which grants Xenomai 
> permissions to your userid"? The instructions below talk only 
> configuring grub to isolate a cpu.

Oops, I mixed up two things here.

When using usermode RT resources, the user must be member of group xenomai. I 
think originally that groupid was set through a boot cmdline option like
GRUB_CMDLINE_LINUX_DEFAULT="xeno_nucleus.xenomai_gid=1002  <other opts like 
isolcpus=1>" but that nowadays is taken care of udev rules now (see  
/etc/udev/rules.d/xenomai.rules)

Summary: no change to /etc/default/grub needed except isolcpus=1 if you have a 
multicore CPU

I'll clarify the README.xenomai

- Michael

> 
> I have some superficial knowledge of grub and grub2 but not Xenomai so 
> I'm unclear just what is being said here.
> 
> 
> Thanks.
> 
> Regards,
> Kent
> 
> 
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to