All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Eric Noulard <eric.noulard@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Multiple NIC trouble
Date: Mon, 12 Feb 2007 10:35:59 +0100	[thread overview]
Message-ID: <45D034FF.90900@domain.hid> (raw)
In-Reply-To: <cbe23c50702120058s2bf042d0o95bb1a69997e921a@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 2276 bytes --]

Eric Noulard wrote:
> 2007/2/9, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>:
>> Maybe you should enable kernel debugging and xenomai debugging. If I
>> were you, I would reserve the console for error logging, I would not use
>> it to log in.
>>
>> From your logs, there is one thing you should try first: disable HPET
>> timer, since the box seems to have one and it is used by Linux, and
>> there is no support whatsoever of the HPET timer by Xenomai.
> 
> Bingo,
> 
> I disable HPET and xeno-test now runs just fine with no hang at all.
> 

Interesting.

>>>>>>>>>>
> == Sampling period: 100 us
> == Test mode: periodic user-mode task
> == All results in microseconds
> warming up...
> RTT|  00:00:01  (periodic user-mode task, 100 us period, priority 99)
> RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat
> worst
> RTD|       3.346|       3.622|      13.130|       0|       3.346|     
> 13.130
> RTD|       3.352|       3.626|      12.365|       0|       3.346|     
> 13.130
> RTD|       3.352|       3.629|      12.533|       0|       3.346|     
> 13.130
> RTD|       3.342|       3.625|      11.598|       0|       3.342|     
> 13.130
>>>>>>>>>>>
> 
> Thanks to all of us for this bug hunt.
> 
> I've just added CONFIG_HPET and CONFIG_HPET_TIMER to
> "should be avoided?" kernel option in the Wiki FAQ:
> http://www.xenomai.org/index.php/FAQs#Installation_and_Setup
> 
> I don't know much about Kconfig syntax but I think it should be
> useful to add explicit warnings when HPET_xxx are enabled
> just as you do with APM, CPU_FREQ etc...
> 
> I located this in linux/init/Kconfig
> and would try something like:
> 
> comment "WARNING! You enabled HPET timer support "
>        depends on HPET || HPET_TIMER
> comment "option. These options are known to cause troubles with Xenomai."
>        depends on HPET || HPET_TIMER

ACK.

But can someone explain *why* there is a clash? Is it due to I-pipe
injecting tick events *aside* HPET-generated ticks? I think we should
address this clash when I-pipe has to be adopted to clock_event/dyntick
in 2.6.21.

> 
> I may try to re-enable MSI in order to see if its OK without HPET
> but with MSI.
> 
> Thanks again.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2007-02-12  9:35 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-06 21:37 [Xenomai-help] Multiple NIC trouble Eric Noulard
2007-02-06 21:56 ` Gilles Chanteperdrix
2007-02-07  7:57   ` Eric Noulard
2007-02-07 11:28     ` Jan Kiszka
2007-02-07 11:38       ` Jan Kiszka
2007-02-07 14:03         ` Eric Noulard
2007-02-08 15:11       ` Eric Noulard
2007-02-08 15:32         ` Jan Kiszka
2007-02-09 16:49           ` Eric Noulard
2007-02-09 17:03             ` Gilles Chanteperdrix
2007-02-09 17:09               ` Jan Kiszka
2007-02-09 17:39                 ` Eric Noulard
2007-02-09 17:31               ` Eric Noulard
2007-02-09 17:48                 ` Gilles Chanteperdrix
2007-02-12  8:58               ` Eric Noulard
2007-02-12  9:35                 ` Jan Kiszka [this message]
2007-02-12 13:01                   ` Gilles Chanteperdrix
2007-02-06 21:59 ` Jan Kiszka
2007-02-06 23:39 ` Philippe Gerum

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=45D034FF.90900@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=eric.noulard@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.