All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Kernel Configuration Woes
Date: Sat, 20 Dec 2014 17:04:08 +0100	[thread overview]
Message-ID: <20141220160408.GB3961@daedalus> (raw)
In-Reply-To: <20141220153337.GD24110@csclub.uwaterloo.ca>

On Sat, Dec 20, 2014 at 10:33:37AM -0500, Lennart Sorensen wrote:
> On Sat, Dec 20, 2014 at 12:05:25AM -0800, Justin Hart wrote:
> > I recently rebuilt my kernel and I seem to be running into some problems
> > that I previously encountered with xenomai.  Unforutnately, I can't seem to
> > fix them.
> > 
> > When I load my application (which runs at Barrett WAM), I get the following
> > messages in my kernel log.
> > 
> > Dec 19 23:59:01 magnum kernel: [ 1232.835449] Clocksource tsc unstable
> > (delta = 1998076024 ns)
> > Dec 19 23:59:01 magnum kernel: [ 1232.835477] Switched to clocksource
> > refined-jiffies
> > 
> > At this juncture, a few things happen, my entire system grinds to a halt,
> > my system clock starts to drift significantly, and xeno-test reports major
> > clock drift.
> > 
> > CPU  ToD offset [us] ToD drift [us/s]      warps max delta [us]
> > --- -------------------- ---------------- ---------- --------------
> >   0          164328553.0      7034205.095          0            0.0
> >   1          164329131.5      7033385.416          0            0.0
> >   2          164328794.0      7030756.296          0            0.0
> >   3          164328783.3      7030646.980          0            0.0
> > 
> > I'm running kernel 3.14.17, xenomai 2.6.4, and the default ipipe that comes
> > with 2.6.4
> > 
> > Attached is my .config
> > 
> > Does anybody have any idea what I'm doing wrong?  This looks pretty close
> > to what I had marked in my notes.
> 
> I suspect it would help a lot to know what hardware this is on.
> 
> The tsc being unstable seems rather bad, since I can't imagine using
> jiffies is going to give any removely stable for system time.
> 
> I am surprised if any modern x86 hardware has bad tsc support, unless
> of course SMI is involved.

To make it simple: from Linux point of view, Xenomai behaves just as
an SMI.

-- 
					    Gilles.


  parent reply	other threads:[~2014-12-20 16:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-20  8:05 [Xenomai] Kernel Configuration Woes Justin Hart
2014-12-20 15:33 ` Lennart Sorensen
2014-12-20 15:54   ` Gilles Chanteperdrix
2014-12-20 16:04   ` Gilles Chanteperdrix [this message]
2014-12-20 16:21     ` Lennart Sorensen
2014-12-20 16:29       ` Gilles Chanteperdrix
2014-12-22 19:57         ` Justin Hart
2014-12-22 20:05           ` Justin Hart
2014-12-22 20:22             ` Lennart Sorensen
2014-12-22 21:04               ` Justin Hart
2014-12-22 22:06                 ` Justin Hart

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=20141220160408.GB3961@daedalus \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=lsorense@csclub.uwaterloo.ca \
    --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.