All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Jim Cromie <jim.cromie@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Problems running testsuite
Date: Sun, 16 Apr 2006 19:38:40 +0200	[thread overview]
Message-ID: <44428120.8080204@domain.hid> (raw)
In-Reply-To: <443FB0BA.5060404@domain.hid>

Jim Cromie wrote:
> PS.  attached is an attempt to improve README.INSTALL along these and 
> other lines.
> Please feel free to cut out the false parts ;-)
>

I think we should simply add a link from README.INSTALL to the 
troubleshooting guide, where things are explained in length, for each 
platforms.

> 
> ------------------------------------------------------------------------
> 
> Index: README.INSTALL
> ===================================================================
> --- README.INSTALL	(revision 927)
> +++ README.INSTALL	(working copy)
> @@ -74,6 +74,19 @@
>  Once the target kernel has been prepared, all Xenomai configuration
>  options are available from the "Real-time subsystem" toplevel menu.
>  
> +When configuring, you should *disable* PM (power management), ACPI,
> +and CPU_FREQ.  The 1st 2 invoke uninterruptible BIOS routines, which
> +destroy the rt-determinism guarantees that you're presumably seeking.
> +If you're curious, build it, install it, and run xeno-test, you'll
> +likely see very large latencies.  If you see otherwise, please email
> +the evidence.
> +
> +CPU_FREQ is bad because it breaks some timing guarantees on some
> +chips, and these problems are too varied/unpredictable to accomodate.
> +For example, (my) Pentium-M laptop shows "cpu MHz : 600.000" at idle,
> +but 1700 when compiling.  Some TSCs also change frequency with the
> +processor, making them useless if the clock is changing.
> +
>  Once configured, the kernel should be built as usual.
>  
>  It might be a good idea to put all the output into a different build
> @@ -143,9 +156,11 @@
>  NAME                DESCRIPTION                      [BINDING,]DEFAULT(*)
>  
>  --enable-x86-sep    Enable x86 SEP instructions      strong,disabled
> -                    for issuing syscalls
> +                    for issuing syscalls.
> +		    You will also need NPTL
>  
>  --enable-x86-tsc    Enable x86 TSC for timings       strong,enabled
> +		    falls back to PIT if needed
>  

Nope, the user-space support could not fallback properly to PIT if TSC 
is activated using this switch. In the latter case, "rdtsc" insns will 
be wired into the code, making it invalid for using with CPUs lacking a 
timestamp counter.

-- 

Philippe.


      parent reply	other threads:[~2006-04-16 17:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-13  9:49 [Xenomai-help] Problems running testsuite Tobias Marschall
2006-04-13 13:17 ` Jim Cromie
2006-04-13 18:41   ` Philippe Gerum
2006-04-13 18:44   ` Philippe Gerum
2006-04-13 19:00 ` Scott Biddlestone
2006-04-14 11:42   ` Tobias Marschall
2006-04-14 12:32     ` Gilles Chanteperdrix
2006-04-14 14:24       ` Jim Cromie
2006-04-16 17:25         ` Philippe Gerum
2006-04-16 17:58           ` Gilles Chanteperdrix
2006-04-16 18:15             ` Philippe Gerum
2006-04-17 17:12               ` Gilles Chanteperdrix
2006-04-16 21:03           ` Jim Cromie
2006-04-17  8:43             ` Philippe Gerum
2006-04-16 17:38         ` Philippe Gerum [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44428120.8080204@domain.hid \
    --to=rpm@xenomai.org \
    --cc=jim.cromie@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.