All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Stuart O Anderson <soa@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Xenomai IRQ Disable
Date: Fri, 19 Sep 2008 17:21:08 +0200	[thread overview]
Message-ID: <48D3C364.2000204@domain.hid> (raw)
In-Reply-To: <48D34D46.7050207@domain.hid>

Jan Kiszka wrote:
> Jan Kiszka wrote:
>> Stuart O Anderson wrote:
>>> Oh - I forgot to mention - when I boot the machine, about 50% of the
>>> time it comes up with the keyboard and mouse locked by the time it
>>> gets to a login screen.  The rest of the time it's fine until I run my
>>> rtnet program.  I suspect this is because some interrupt is randomly
>>> getting assigned on boot to one processor or the other, and when it's
>>> the wrong one things break?

That's why I would like to make things more deterministic by freezing
the cpu affinity. Also, if the issue is a race between cpus, one could
narrow it down a bit by pushing all Xenomai load on one cpu e.g.

>>>
>>> ipipe version: 2.0-08
>>> kernel config: attached
>>> varying versions: will try this when I have more time
>>> playing with affinities: I'm trying to find documentation for
>>> /proc/xenomai/affinity - do you know where it is located?
>> Don't think we have any, however the usage is straightforward: This is a
>> bitmask describing the CPUs on which Xenomai threads and IRQs that will
>> be created in the future shall be bound to. Just set it before firing up
>> RTnet and your application.
>>
>> BTW, I found a hint on an "IRQ19 issue" in my archive, but I still need
>> to interview my colleague on details.

We had such an issue with a SCSI RAID controller. Even after deep
debugging inside ipipe, the problem looked like a race during hardware
initialization and finally disappeared after reconfiguring the SCSI
controller's firmware. So we closed the issue.

Jan

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux


  reply	other threads:[~2008-09-19 15:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-17 20:47 [Xenomai-help] Xenomai IRQ Disable Stuart O Anderson
2008-09-17 21:30 ` Jan Kiszka
2008-09-18 23:40   ` Rob Wheeler
2008-09-19  6:39     ` Jan Kiszka
2008-09-19 17:08       ` Rob Wheeler
2008-09-21 10:39         ` Jan Kiszka
2008-10-02  5:45           ` Rob Wheeler
2008-10-02  9:30             ` Philippe Gerum
2008-10-03 16:00               ` Rob Wheeler
2008-10-06 15:27                 ` Philippe Gerum
2008-10-06 19:51                   ` Rob Wheeler
     [not found]   ` <7ed3bc8b0809181700qdcaa43dpd78d020b13afe306@domain.hid>
2008-09-19  6:44     ` [Xenomai-core] " Jan Kiszka
2008-09-19  6:57       ` Jan Kiszka
2008-09-19 15:21         ` Jan Kiszka [this message]
2008-10-16  7:36 ` Gilles Chanteperdrix

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=48D3C364.2000204@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=soa@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.