Gajamohan Mohanarajah wrote:
> Hi Gilles,
>
> On 25 September 2010 10:32, Gilles Chanteperdrix
> <[email protected]> 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.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help