From: Anders Blomdell <anders.blomdell@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: "Benner Bernd (MH/EES)" <B.Benner@domain.hid>,
"xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Same problems with ipipe-2.6.37-x86-branch and xenoami-head.git on Core 2 Duo E8400 - fixed with CONFIG_HPET_TIMER disabled
Date: Thu, 19 May 2011 12:29:46 +0200 [thread overview]
Message-ID: <4DD4F11A.4060506@domain.hid> (raw)
In-Reply-To: <4DD3EAAF.2010902@domain.hid>
On 05/18/2011 05:50 PM, Jan Kiszka wrote:
> On 2011-05-18 17:40, Benner Bernd (MH/EES) wrote:
>> Hello,
>>
>> I have rebuild my Kernel 2.6.37.6-x86 and uses xenomai-head.git. ( is this xenomai-2.6 git ? )
>> This version has the same problems on the Core 2 Duo E8400 machines.
>>
>> But there are some strange kernel messages on startup:
>>
>> May 18 16:07:33 (none) user.warn kernel: CE: hpet3 increased min_delta_ns to 7500 nsec
>> May 18 16:07:33 (none) user.warn kernel: CE: hpet3 increased min_delta_ns to 11250 nsec
>> May 18 16:07:33 (none) user.warn kernel: hrtimer: interrupt took 5978 ns
>> ...
>> May 18 16:07:33 (none) user.warn kernel: CE: hpet2 increased min_delta_ns to 11250 nsec
>> ...
>> after a start of latency ( via ssh ) the linux domain will slow down and the sata driver will come in trouble.
>>
>>
>> If I rebuild my Kernel with CONFIG_HPET_TIMER disabled, latency will run normally on the Core 2 Duo E8400 machines.
>>
>> CONFIG_HPET_TIMER has to be disabled on faster Core 2 Duo machines! There must be a consistency problem! ( probably in
>> io_apic- handling with CONFIG_HPET_TIMER enabled )
>>
>> I will rebuild and test my kernel with stable 2.5.X xenomai versions and ADEOS patches with CONFIG_HPET_TIMER disabled!
>
> Ah! I bet you have>3 HPET timers, and they are MSI capable. In that
> case, Linux will actually prefer them over the LAPIC as clockevent
> device, and Xenomai breaks apart. I didn't discovered this as my test
> "machine" (QEMU/KVM) requires extra switches to enable that scenario.
> However, it's getting more and more common on modern hardware, we should
> take some measures to catch this conflict.
Very timely report, this explains why my new powerful i7 (8 comparators)
machine hangs when WATCHDOG is enabled. This leaves me three choices (I
think):
1. Disable watchdog (not desirable)
2. Disable MSI support -> more IRQ conflicts between devices, making it
harder to get a system without conflicts between Linux and Xenomai.
3. Disable HPET timers.
Are there any known problems (or performance considerations) with only
disabling HPET timers?
Best regards
Anders
--
Anders Blomdell Email: anders.blomdell@domain.hid
Department of Automatic Control
Lund University Phone: +46 46 222 4625
P.O. Box 118 Fax: +46 46 138118
SE-221 00 Lund, Sweden
next prev parent reply other threads:[~2011-05-19 10:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-13 9:55 [Xenomai-help] Xenomai 2.5.X - 32 bit X86 is not running on newer Kernel Versions Benner Bernd (MH/EES)
2011-05-13 10:43 ` Gilles Chanteperdrix
2011-05-13 10:54 ` Jan Kiszka
2011-05-16 10:18 ` [Xenomai-help] Same problems with ipipe-2.6.37-x86-branch on Core 2 Duo E8400 Benner Bernd (MH/EES)
2011-05-17 7:18 ` Jan Kiszka
2011-05-17 11:37 ` Gilles Chanteperdrix
2011-05-18 15:40 ` [Xenomai-help] Same problems with ipipe-2.6.37-x86-branch and xenoami-head.git on Core 2 Duo E8400 - fixed with CONFIG_HPET_TIMER disabled Benner Bernd (MH/EES)
2011-05-18 15:50 ` Jan Kiszka
2011-05-19 10:29 ` Anders Blomdell [this message]
2011-05-19 10:34 ` Jan Kiszka
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=4DD4F11A.4060506@domain.hid \
--to=anders.blomdell@domain.hid \
--cc=B.Benner@domain.hid \
--cc=jan.kiszka@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.