All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] xenomai installation
@ 2008-04-25 18:37 George Pitich
  2008-04-25 19:52 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 5+ messages in thread
From: George Pitich @ 2008-04-25 18:37 UTC (permalink / raw)
  To: xenomai

I'm pretty much sure this was answered before. If this
is the case could you please refer me to the post?

I'm getting a bit frustrated in my attempts to install
xenomai. I'm following the readme.install from
xenomai-2.4.3 but to no avail. When I execute make
menuconfig after patching the kernel with
prepare-kernel.sh, Real-time sub-system presents me
with:

-- NOTE: Xenomai conflicts with PC speaker support.   
--- (menu Device Drivers/Input device
support/Miscellaneous devices)
--- NOTE: Xenomai needs either X86_LOCAL_APIC enabled
or HPET_TIMER disabled.               │ │
--- (menu Processor type and features)).

None of this options is selectable nor configurable.

By looking into .config, I can see only one xeno
option CONFIG_XENO_GENERIC_STACKPOOL=y. After
compiling the kernel and booting it, xenomai build
looks incomplete. I can't find xenomai LKMs and
therefore can't run testsuite.

I hope it is not because of AMD Athlon cpu on the box.
Many Thanks.


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Xenomai-help] xenomai installation
  2008-04-25 18:37 [Xenomai-help] xenomai installation George Pitich
@ 2008-04-25 19:52 ` Gilles Chanteperdrix
  2008-04-26 19:58   ` George Pitich
  0 siblings, 1 reply; 5+ messages in thread
From: Gilles Chanteperdrix @ 2008-04-25 19:52 UTC (permalink / raw)
  To: George Pitich; +Cc: xenomai

George Pitich wrote:
 > I'm pretty much sure this was answered before. If this
 > is the case could you please refer me to the post?
 > 
 > I'm getting a bit frustrated in my attempts to install
 > xenomai. I'm following the readme.install from
 > xenomai-2.4.3 but to no avail. When I execute make
 > menuconfig after patching the kernel with
 > prepare-kernel.sh, Real-time sub-system presents me
 > with:

Please do the following in Linux kernel configuration:

 > 
 > -- NOTE: Xenomai conflicts with PC speaker support.   
 > --- (menu Device Drivers/Input device
 > support/Miscellaneous devices)

disable PC speaker support (you will find it in the Device Drivers/Input
device support/Miscellaneous devices menu).

 > --- NOTE: Xenomai needs either X86_LOCAL_APIC enabled
 > or HPET_TIMER disabled.               │ │
 > --- (menu Processor type and features)).

Enable Local APIC option (if your box has a local APIC, but anything
recent probably has an APIC), or disable HPET timer option (you will find
these options in the Processor type and features menu).

-- 


					    Gilles.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Xenomai-help] xenomai installation
  2008-04-25 19:52 ` Gilles Chanteperdrix
@ 2008-04-26 19:58   ` George Pitich
  2008-04-26 21:45     ` George Pitich
  2008-04-27 12:04     ` Gilles Chanteperdrix
  0 siblings, 2 replies; 5+ messages in thread
From: George Pitich @ 2008-04-26 19:58 UTC (permalink / raw)
  To: xenomai


> Please do the following in Linux kernel
> configuration:
> 
>  > 
>  > -- NOTE: Xenomai conflicts with PC speaker
> support.   
>  > --- (menu Device Drivers/Input device
>  > support/Miscellaneous devices)
> 
> disable PC speaker support (you will find it in the
> Device Drivers/Input
> device support/Miscellaneous devices menu).
> 
>  > --- NOTE: Xenomai needs either X86_LOCAL_APIC
> enabled
>  > or HPET_TIMER disabled.               │
> │
>  > --- (menu Processor type and features)).
> 
> Enable Local APIC option (if your box has a local
> APIC, but anything
> recent probably has an APIC), or disable HPET timer
> option (you will find
> these options in the Processor type and features
> menu).
> 

Thanks for the help, now I made a progress and
installed xenomai. I had to compile it with
--enable-x86-tsc=no flag since my testsuite won't run
without a TSC support and I don't know where to
configure this flag during the initial kernel config
process (make menuconfig)? Is it a processor family
specific?

Interestingly enough after a boot, klatency test runs,
but if i stop it (ctrl-c) and run it again it
segfaults:

/usr/xenomai/bin/xeno-load: line 180: 22756
Segmentation fault      $suflag $* $cmdargs

irqbench also won't run:

irqloop: error starting test: Inappropriate ioctl for
device

Regards,

g.


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Xenomai-help] xenomai installation
  2008-04-26 19:58   ` George Pitich
@ 2008-04-26 21:45     ` George Pitich
  2008-04-27 12:04     ` Gilles Chanteperdrix
  1 sibling, 0 replies; 5+ messages in thread
From: George Pitich @ 2008-04-26 21:45 UTC (permalink / raw)
  To: xenomai

> Interestingly enough after a boot, klatency test
> runs,
> but if i stop it (ctrl-c) and run it again it
> segfaults:
> 
> /usr/xenomai/bin/xeno-load: line 180: 22756
> Segmentation fault      $suflag $* $cmdargs

just figured out that it might be because of (ARCH)
uname -i gives unknown?



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Xenomai-help] xenomai installation
  2008-04-26 19:58   ` George Pitich
  2008-04-26 21:45     ` George Pitich
@ 2008-04-27 12:04     ` Gilles Chanteperdrix
  1 sibling, 0 replies; 5+ messages in thread
From: Gilles Chanteperdrix @ 2008-04-27 12:04 UTC (permalink / raw)
  To: George Pitich; +Cc: xenomai

George Pitich wrote:
 > 
 > > Please do the following in Linux kernel
 > > configuration:
 > > 
 > >  > 
 > >  > -- NOTE: Xenomai conflicts with PC speaker
 > > support.   
 > >  > --- (menu Device Drivers/Input device
 > >  > support/Miscellaneous devices)
 > > 
 > > disable PC speaker support (you will find it in the
 > > Device Drivers/Input
 > > device support/Miscellaneous devices menu).
 > > 
 > >  > --- NOTE: Xenomai needs either X86_LOCAL_APIC
 > > enabled
 > >  > or HPET_TIMER disabled.               │
 > > │
 > >  > --- (menu Processor type and features)).
 > > 
 > > Enable Local APIC option (if your box has a local
 > > APIC, but anything
 > > recent probably has an APIC), or disable HPET timer
 > > option (you will find
 > > these options in the Processor type and features
 > > menu).
 > > 
 > 
 > Thanks for the help, now I made a progress and
 > installed xenomai. I had to compile it with
 > --enable-x86-tsc=no flag since my testsuite won't run
 > without a TSC support and I don't know where to
 > configure this flag during the initial kernel config
 > process (make menuconfig)? Is it a processor family
 > specific?

It depends on the processor you select.

 > 
 > Interestingly enough after a boot, klatency test runs,
 > but if i stop it (ctrl-c) and run it again it
 > segfaults:
 > 
 > /usr/xenomai/bin/xeno-load: line 180: 22756
 > Segmentation fault      $suflag $* $cmdargs

Please select the klatency kernel support as a module, not built-in
kernel. Will fix.

-- 


					    Gilles.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-04-27 12:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-25 18:37 [Xenomai-help] xenomai installation George Pitich
2008-04-25 19:52 ` Gilles Chanteperdrix
2008-04-26 19:58   ` George Pitich
2008-04-26 21:45     ` George Pitich
2008-04-27 12:04     ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.