All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Gajamohan Mohanarajah <gajamohan.m@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] switchtest/xeon-test fails: Help needed (Ubuntu/Core i7)
Date: Sat, 25 Sep 2010 23:39:45 +0200	[thread overview]
Message-ID: <4C9E6C21.8010403@domain.hid> (raw)
In-Reply-To: <AANLkTikR8pc1w27pi11wA7rS-K6C3wzSQXkE33iKHfcX@mail.gmail.com>

Gajamohan Mohanarajah wrote:
> Hi Gilles,
> 
> On 25 September 2010 10:32, Gilles Chanteperdrix
> <gilles.chanteperdrix@xenomai.org> wrote:
>> Gajamohan Mohanarajah wrote:
>>>> You can also configure your kernel to only keep what is needed for you
>>>> real-time system. In any case, please make sure to take a look at:
>>>> http://www.xenomai.org/index.php/Configuring_x86_kernels
>>> I will double check once I solve the switchtest error.
>> Please check this first.
> I went through the x86 config page and FAQ.  There was one change
> regarding the CPU family I had to do.
> Since mine is an i7 (/proc/cpuinfo: cpu family 6) i changed the
> processor family to Core 2 / newer xeon (The help text said this is
> for cpu families 6 and 15). But native skin init fails with this
> option. Please note that this didn't happen when generic-X86_64 was
> selected.

You also have ACPI disabled whereas you should not. The issue you see is
an allocation failure.

Now that I think about it, when you increased XENO_OPT_SYS_STACKPOOLSZ
to solve the original issue, you probably changed some other option,
because the second error you had when relaunching switchtest happens
earlier than the first one in the program execution. So, you should
restart from the first configuration file, and only change the
XENO_OPT_SYS_STACKPOOLSZ option.

And now that I think about it(2), the error is probably due to the size
you pass to XENO_OPT_SYS_STACKPOOLSZ, the size you ask is passed
directly to kmalloc, so 9192 is really too large. I think you can forget
about running switchtest on your platform, switchtest is more a
maintainer tool anyway. Check latency instead.

> Also note that enabling SMI workaround did not help.

Err, what has SMI workaround to do with this? SMI workaround helps
solving latency issues, not configuration issues.

> Sep 25 22:55:00 totoro kernel: [    1.161571] WARNING: at
> mm/page_alloc.c:1806 __alloc_pages_nodemask+0x607/0x6d0()
(...)
> __get_free_pages+0xe/0x50
(...)
> Sep 25 22:55:00 totoro kernel: [    1.161607]  [<ffffffff810f466b>]
> xnpod_init+0x27b/0x3c0


-- 
                                                                Gilles.


  reply	other threads:[~2010-09-25 21:39 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-24 20:05 [Xenomai-help] switchtest/xeon-test fails: Help needed (Ubuntu/Core i7) Gajamohan Mohanarajah
2010-09-24 20:31 ` Gilles Chanteperdrix
2010-09-24 22:15   ` Gajamohan Mohanarajah
2010-09-25  8:32     ` Gilles Chanteperdrix
2010-09-25 21:20       ` Gajamohan Mohanarajah
2010-09-25 21:39         ` Gilles Chanteperdrix [this message]
2010-09-26 11:37           ` Gajamohan Mohanarajah
2010-09-26 11:41             ` Gilles Chanteperdrix
2010-09-26 12:38               ` Gajamohan Mohanarajah
2010-09-26 12:42                 ` Gilles Chanteperdrix
2010-09-27  9:29                   ` Gajamohan Mohanarajah
2010-09-27 14:11                     ` Gilles Chanteperdrix
2010-09-27 17:06                       ` Gajamohan Mohanarajah
2010-09-27 17:23                         ` Gilles Chanteperdrix
2010-09-27 20:54                           ` Gajamohan Mohanarajah
2010-09-27 21:00                             ` Gilles Chanteperdrix
2010-09-28 10:39                               ` Gajamohan Mohanarajah
2010-09-28 11:09                                 ` Gilles Chanteperdrix
2010-09-26 12:43                 ` Gilles Chanteperdrix
2010-09-24 21:21 ` Stefan Kisdaroczi
2010-09-24 21:24   ` Gilles Chanteperdrix
2010-09-24 22:08     ` Stefan Kisdaroczi
2010-09-24 22:11       ` Gilles Chanteperdrix
2010-09-25 21:40       ` Gilles Chanteperdrix

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=4C9E6C21.8010403@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=gajamohan.m@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.