On Sun, 2006-07-30 at 19:29 +0200, Julien Heyman wrote:
> On Friday 28 July 2006 23:32, Gilles Chanteperdrix wrote:
> > Julien Heyman wrote:
> >  > > Losing too many ticks!
> >  > > TSC cannot be used as a timesource. ~
> >  > > Possible reasons for this are:
> >  > > ~ You're running with Speedstep,
> >  > > ~ You don't have DMA enabled for your hard disk (see hdparm),
> >  > > ~ Incorrect TSC synchronization on an SMP system (see dmesg).
> >  > > Falling back to a sane timesource now.
> >  > >
> >  > > Do you see such message in kernel logs ?
> >  >
> >  > No, I don't get any of these.
> >  >
> >  > > If this is the issue you are having, then you may try passing
> >  > > idle=poll on kernel boot line. Or recompile the kernel selecting a
> >  > > processor that has no tsc (for example 486), xenomai will then use the
> >  > > 8254 counter to emulate the tsc.
> >  >
> >  > I tried to rebuild with CPU=486, but it gives the same result.
> >
> > Did you try booting with the idle=poll option ? Also, could you try
> > re-enabling ACPI, except the "processor" module ?
> 
> I tried both, without success.
> My quest goes on... :/
> 
> By the way, there is something I don't understand : I get the following error 
> message at boot time :
> Incompatible timer mode found (aperiodic, need periodic)
> VxWorks skin init failed, code -16
> 

It's because the VxWorks skin requires periodic timing whilst the
native/POSIX ones require aperiodic setup. This error is raised whenever
multiple skins with conflicting timing requirements are built statically
into the kernel. The best way to handle this is to enable skins as
modules.

> whereas I do have periodic timer enabled, I think :

> [EMAIL PROTECTED]:/usr/src/linux-2.6.17.4$ cat .config | grep PERIO
> CONFIG_XENO_OPT_TIMING_PERIODIC=y
> CONFIG_XENO_OPT_TIMING_PERIOD=0
> 
> (or am I checking the wrong setting ? Also, it "0" a legitimate value for the
>  
> timing period ?)

Yes. The skins requiring periodic timing will substitute their own
default values.

> 
> Julien Heyman
> 
> 
> 
> 
> _______________________________________________
> Xenomai-help mailing list
> [email protected]
> https://mail.gna.org/listinfo/xenomai-help
-- 
Philippe.



_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to