All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Franz Engel <franz_lambert_engel@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] [    1.954665] Xenomai: native skin init failed, code -19
Date: Sun, 06 Feb 2011 10:16:10 +0100	[thread overview]
Message-ID: <1296983770.2036.5.camel@domain.hid> (raw)
In-Reply-To: <000001cbc57f$6e0b1690$4a2143b0$@de>

On Sat, 2011-02-05 at 22:55 +0100, Franz Engel wrote:
> Sorry. I'm a kernel newbie. I found the line " else if (check_c1e_idle(c)) " in the process.c and replace it with " else if (maybe_c1e && check_c1e_idle(c)) " manually. And now it works!!!
> 

The patch will allow Xenomai to boot properly, but if your machine
suffers from AMD erratum 400, it may now experience interrupt lossage
when C1E is active.

The only solution to this is to disable C1E completely in your BIOS.
Switching off "Cool & Quiet mode" did not do the trick, since your CPUs
still advertised C1E after this. You should really inspect other
configuration menus in your BIOS to find a better match.

> Philippe, thank you very much!
> 
> -----Ursprüngliche Nachricht-----
> Von: Philippe Gerum [mailto:rpm@xenomai.org
> Gesendet: Freitag, 4. Februar 2011 23:32
> An: Franz Engel
> Cc: xenomai@xenomai.org
> Betreff: Re: [Xenomai-help] [ 1.954665] Xenomai: native skin init failed, code -19
> 
> On Fri, 2011-02-04 at 22:10 +0100, Franz Engel wrote:
> > Here is my full boot log:
> 
> [snip]
> 
> > [    0.030589] tseg: 0000000000
> > [    0.030596] CPU: Physical Processor ID: 0
> > [    0.030626] CPU: Processor Core ID: 0
> > [    0.030657] mce: CPU supports 6 MCE banks
> > [    0.030692] using C1E aware idle routine
> 
> This means that you are not running the patched kernel. There is no way
> the c1e_idle routine which outputs the above message could run with it
> applied.
> 
> [snip]
> 
> > [    0.030000] CPU: L2 Cache: 512K (64 bytes/line)
> > [    0.030000] CPU 1/0x1 -> Node 0
> > [    0.030000] CPU: Physical Processor ID: 0
> > [    0.030000] CPU: Processor Core ID: 1
> > [    0.430096] CPU1: AMD Phenom(tm) II X6 1055T Processor stepping 00
> > [    0.430357] checking TSC synchronization [CPU#0 -> CPU#1]: passed.
> > [    0.440015] System has AMD C1E enabled
> 
> This means you BIOS did not disable C1E properly. The CPU still
> advertises this mode. 
> 
> In fact, once C1E is properly disabled by the BIOS, you should not need
> the patch at all.
> 
> Please check your BIOS setup and kernel install. You don't seem to be
> running what you think you do actually.
> 

-- 
Philippe.




  reply	other threads:[~2011-02-06  9:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.9723.1296855625.10284.xenomai@xenomai.org>
2011-02-04 21:10 ` [Xenomai-help] [ 1.954665] Xenomai: native skin init failed, code -19 Franz Engel
2011-02-04 22:32   ` Philippe Gerum
2011-02-05 19:28     ` Franz Engel
2011-02-05 22:59       ` Gilles Chanteperdrix
2011-02-05 21:55     ` Franz Engel
2011-02-06  9:16       ` Philippe Gerum [this message]
     [not found] <mailman.9368.1296765304.10284.xenomai@xenomai.org>
2011-02-04 20:18 ` Franz Engel
2011-02-04 21:40   ` Philippe Gerum
2011-02-02 20:05 Franz Engel
2011-02-02 22:04 ` Philippe Gerum
2011-02-03 17:27   ` Franz Engel
2011-02-03 18:34     ` Philippe Gerum
2011-02-03 20:34       ` Philippe Gerum

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=1296983770.2036.5.camel@domain.hid \
    --to=rpm@xenomai.org \
    --cc=franz_lambert_engel@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.