All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Tamas Szklenar <tszklenar@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Xenomai failure
Date: Tue, 04 Jan 2011 22:52:34 +0100	[thread overview]
Message-ID: <4D2396A2.7070006@domain.hid> (raw)
In-Reply-To: <4D239301.80803@domain.hid>

Tamas Szklenar wrote:
> Tick Device: mode:     0
> Broadcast device
> Clock Event Device: pit
>   mode:           2
> 
> 
> Tick Device: mode:     0
> Clock Event Device: lapic
>   mode:           1
> 
> Tick Device: mode:     0
> Clock Event Device: lapic
>   mode:           1
> 
> Tick Device: mode:     0
> Clock Event Device: lapic
>   mode:           1
> 
> Tick Device: mode:     0
> Clock Event Device: lapic
>   mode:           1

The pit is in broadcast mode and the lapic timers are in "shutdown" 
state, which means that Linux is using the PIT, and Xenomai fails to 
start because it tries to use the lapic.

That is probably related to the following messages in the kernel logs:
Jan  3 13:12:01 cfhat12 kernel: [    0.016000] System has AMD C1E enabled
Jan  3 13:12:01 cfhat12 kernel: [    0.160009] Switch to broadcast mode on CPU1
Jan  3 13:12:01 cfhat12 kernel: [    0.160090]  #2
Jan  3 13:12:01 cfhat12 kernel: [    0.252008] Switch to broadcast mode on CPU2
Jan  3 13:12:01 cfhat12 kernel: [    0.252052]  #3
Jan  3 13:12:01 cfhat12 kernel: [    0.016000] Switch to broadcast mode on CPU3
Jan  3 13:12:01 cfhat12 kernel: [    0.344033] Brought up 4 CPUs
Jan  3 13:12:01 cfhat12 kernel: [    0.344037] Total of 4 processors activated (27322.12 BogoMIPS).
Jan  3 13:12:01 cfhat12 kernel: [    0.345670] Switch to broadcast mode on CPU0

And explains the patch Philippe sent in the mean-time...


-- 
                                                                Gilles.


  reply	other threads:[~2011-01-04 21:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-04 15:20 [Xenomai-help] Xenomai failure Tamas Szklenar
2011-01-04 17:03 ` Stefan Kisdaroczi
2011-01-04 19:40   ` Tamas Szklenar
2011-01-04 19:43     ` Gilles Chanteperdrix
2011-01-04 19:50       ` Tamas Szklenar
2011-01-04 19:52         ` Gilles Chanteperdrix
2011-01-04 19:55           ` Gilles Chanteperdrix
2011-01-04 20:04             ` Tamas Szklenar
2011-01-04 20:12               ` Gilles Chanteperdrix
2011-01-04 20:01           ` Tamas Szklenar
2011-01-04 20:13             ` Gilles Chanteperdrix
2011-01-04 20:23               ` Tamas Szklenar
2011-01-04 21:08                 ` Gilles Chanteperdrix
2011-01-04 21:18                   ` Tamas Szklenar
2011-01-04 21:24                     ` Gilles Chanteperdrix
2011-01-04 21:37                       ` Tamas Szklenar
2011-01-04 21:52                         ` Gilles Chanteperdrix [this message]
2011-01-05  0:27                           ` Tamas Szklenar
2011-01-04 21:19                   ` Tamas Szklenar
2011-01-04 21:38                     ` 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=4D2396A2.7070006@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=tszklenar@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.