From: Jakub Nowacki <j.s.nowacki@domain.hid>
To: Xenomai help <xenomai@xenomai.org>
Subject: [Xenomai-help] Xenomai on i7-870
Date: Mon, 13 Jun 2011 11:44:33 +0100 [thread overview]
Message-ID: <4DF5EA11.5010006@domain.hid> (raw)
Dear All,
I've recently installed Xenomai for our RT lab machine that uses RTXI
(http://www.rtxi.org/). I followed the installation instruction on the
web page but I got a number of issues in the process. Just to set some
common ground: the machine is mentioned i7-870 on Intel's Q57 board; the
setup is done for kernel 2.6.37.6 on Xubuntu 11.04 with the latest
stable Xenomai (2.5.6) and Adeos patch. As for myself, I have some
experience with Linux kernel setup but I'm not an expert.
Before I found that the Intel's white paper describing Xenomai
installation [Ugal 2009] shouldn't be used, I followed some suggestions
there and disabled power management (PM) completely. The kernel compiles
without any problems and works fine, but I the system sees only 4 out of
8 cores (just a reminder that i7-870 has 4 cores but 8 threads that are
normally visible as CPUs). It is not end of the world for me at this
point and the system seems to work fine (I have low latencies etc.) but
I wanted to fix that.
I've started to read into the installation and other resources, and
disabled only the important bits, i.e. CONFIG_CPU_FREQ,
CONFIG_ACPI_PROCESSOR, CONFIG_INTEL_IDLE; the rest of the kernel is
pretty much generic Ubuntu config (I used
https://wiki.ubuntu.com/KernelTeam/GitKernelBuild as a reference). The
outcome is that machine now seems to have all cores but just after login
the system freezes completely (without running anything related with
Xenomai, just a couple of seconds after each login into Xfce). I
actually managed to find on the mailing list that it can be caused by
CONFIG_HPET_TIMER but I'm not able to disable it. Meaning, it is
excluded from config GUIs (I've tried practically all of them) and if I
change it manually in the .config file, it just somehow switches back to
being enabled when I compile the kernel.
BTW I've tried the APIC options from the FAQ, but they do not fix the
freezing. Also, HPET_TIMER is enabled in the previous kernel config
where I disable whole PM, and the system seems to work fine with it.
Also I had similar problem with CONFIG_PCI_MSI, namely, it is blocked
(cannot be disabled) in the GUI when PM is enabled (or something there,
I'm not sure). But than later in the HPET thread I've found that I
should leave MSI enabled, hence, I'm not sure what should I do here.
Moreover, there is a problem with CONFIG_APM in this kernel, namely, it
seems to not be there. I'm not sure if it just does not exist for the
new kernel or I'm not doing something right.
Do you have any suggestions? I can provide you with the config file.
Also, I can try doing some test and debugging if it's needed.
Best wishes,
Jakub
next reply other threads:[~2011-06-13 10:44 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-13 10:44 Jakub Nowacki [this message]
2011-06-13 17:43 ` [Xenomai-help] Xenomai on i7-870 Gilles Chanteperdrix
2011-06-13 19:06 ` Jakub Nowacki
2011-06-14 5:58 ` Jan Kiszka
2011-06-14 11:18 ` Jakub Nowacki
2011-06-14 11:30 ` Jan Kiszka
2011-06-15 16:21 ` Jakub Nowacki
2011-06-15 16:51 ` Gilles Chanteperdrix
2011-06-15 20:43 ` Jakub Nowacki
2011-06-16 7:01 ` Gilles Chanteperdrix
2011-06-16 8:52 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2011-06-16 9:18 Jakub Nowacki
2011-06-16 10:37 ` Gilles Chanteperdrix
2011-06-17 14:05 ` Jakub Nowacki
2011-06-17 19:00 ` Gilles Chanteperdrix
2011-06-17 19:44 ` Gilles Chanteperdrix
2011-06-17 19:52 ` Jakub Nowacki
2011-06-18 15:17 ` Gilles Chanteperdrix
2011-06-20 14:34 ` Jakub Nowacki
2011-06-20 15:02 ` Gilles Chanteperdrix
2011-06-20 15:25 ` Jakub Nowacki
2011-06-20 16:16 ` Philippe Gerum
2011-06-20 17:34 ` Gilles Chanteperdrix
2011-06-20 21:30 ` Jakub Nowacki
2011-06-20 17:43 ` Gilles Chanteperdrix
2011-06-17 19:48 ` Jakub Nowacki
2011-06-16 9:19 Jakub Nowacki
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=4DF5EA11.5010006@domain.hid \
--to=j.s.nowacki@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.