All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Martin Shepherd <mcs@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Running xeno-test
Date: Fri, 17 Apr 2009 14:57:21 +0200	[thread overview]
Message-ID: <49E87CB1.9070604@domain.hid> (raw)
In-Reply-To: <Pine.LNX.4.64.0904151951500.9694@domain.hid>

Martin Shepherd wrote:
> On Sun, 12 Apr 2009, Gilles Chanteperdrix wrote:
>> Martin Shepherd wrote:
>>> On Sun, 12 Apr 2009, Gilles Chanteperdrix wrote:
>>>> ...
>>>> Could you tell us the versions of Linux and Xenomai you are using and
>>>> post your .config ?
>>> I am using Xenomai 2.4.7, with Linux kernel 2.6.28.7, under Ubuntu 8.10.
>>>
>>> The following are the contents of the linux-2.6.28.7/.config file:
>> Ok. You seem to have avoided the usual pitfalls, however you really have
>> a lot of options enabled.
> 
> Yes, I started from the config that came with Ubuntu, which has lots
> of things turned on. However most of them are modules for drivers that
> will never be loaded.

No, there are also options which I would not recommend to turn on, such
as syscall auditing and the like.

> 
>> The symptoms of your problem really look like
>> a bug which I had and turned out to be a NO_HZ problem. So, maybe you
>> could try and disable CONFIG_NO_HZ ? You can also try to enable
>> Xenomai's NMI watchdog, which will fire if a timer overrun occur.
> 
> Correct me if I am wrong, but turning on the NMI watchdog appears to
> be contingent on having local APIC, which the processor that I am
> using (an ancient AMD Athlon), doesn't seem to have.

Last time I used an Athlon, it had a local APIC and IO-APIC. Only, the
Linux kernel disables them by default, so, you have to pass a special
option for them to be enabled (see TROUBLESHOOTING). The IO-APIC is
buggy and caused hard lockups, but the local APIC seemed to run fine.

> 
> I have tried disabling CONFIG_NO_HZ (by disabling Tickless System in
> "make menuconfig"), but this didn't change the symptoms.
> 
> It turns out that just running "dd if=/dev/zero of=/dev/null" on its
> own, without running xeno-test, hangs the computer after a random
> interval of a few seconds to a minute or so. At that point, the only
> thing that wakes it up for a few more seconds, is to hit a key on the
> keyboard of the computer, or move the mouse, and after a few times of
> doing this, the computer locks up hard and has to be rebooted. I have
> verified that this doesn't happen if I boot into Ubuntu with the
> 2.6.27-11 kernel that came with it.

Ok. Could you try a kernel without Xenomai but only with the Adeos
Interrupt pipeline enabled ?

-- 
					    Gilles.


  parent reply	other threads:[~2009-04-17 12:57 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-08 23:08 [Xenomai-help] Selecting the TSC Martin Shepherd
2009-04-09  0:11 ` Martin Shepherd
2009-04-09  2:49   ` Steven Seeger
2009-04-10 22:15   ` [Xenomai-help] Xeno-test bug Martin Shepherd
2009-04-11  0:20     ` [Xenomai-help] Running xeno-test Martin Shepherd
2009-04-11  0:24       ` Steven Seeger
2009-04-11  0:35         ` Martin Shepherd
2009-04-11 12:39           ` Gilles Chanteperdrix
2009-04-11 20:00             ` Martin Shepherd
2009-04-11 20:07               ` Gilles Chanteperdrix
2009-04-12  2:02                 ` Martin Shepherd
2009-04-12  9:11                   ` Gilles Chanteperdrix
2009-04-12 17:40                     ` Gilles Chanteperdrix
2009-04-12 19:10                     ` Martin Shepherd
2009-04-12 19:23                       ` Gilles Chanteperdrix
2009-04-16  3:20                         ` Martin Shepherd
     [not found]                           ` <4F0B1E98-862D-4031-B22E-D7DAEA554EEB@comcast.net>
     [not found]                             ` <Pine.LNX.4.64.0904161059220.24221@domain.hid>
2009-04-16 18:43                               ` Steven Seeger
2009-04-16 22:18                                 ` Martin Shepherd
2009-04-17  2:50                                 ` Martin Shepherd
     [not found]                           ` <1239872431.5845.25.camel@domain.hid>
     [not found]                             ` <Pine.LNX.4.64.0904161537400.26955@domain.hid>
2009-04-17  8:01                               ` Vikesh Rambaran
2009-04-17 12:57                           ` Gilles Chanteperdrix [this message]
2009-04-17 23:34                             ` Martin Shepherd
2009-04-19  5:15                             ` Martin Shepherd
2009-04-12 10:31     ` [Xenomai-help] Xeno-test bug Gilles Chanteperdrix
2009-04-12 10:36     ` Gilles Chanteperdrix
2009-04-12 18:52       ` Martin Shepherd
2009-04-12 19:25         ` Gilles Chanteperdrix
2009-04-13  0:42           ` Martin Shepherd

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=49E87CB1.9070604@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=mcs@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.