All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Schueller <peter.schueller@domain.hid>
To: rpm@xenomai.org
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] ipipe_suspend_domain() not scheduling IRQ threads
Date: Thu, 13 Dec 2007 19:48:02 +0100	[thread overview]
Message-ID: <47617E62.3070901@domain.hid> (raw)
In-Reply-To: <474D9B1C.7060003@domain.hid>

Philippe Gerum wrote:
>> I am currently trying to port IPIPE to a new architecture and have the following symptoms with my
>> first testcase:
>>
>> - I am using a 2.6.23 Kernel and mainly looked at blackfin and i386 when porting.
>> - I create a domain with priority IPIPE_ROOT_PRIO+100 in a kernel module
>> - The domain entry does only: for(;;) ipipe_suspend_domain();
>> - After registering the domain I get the message "I-pipe: Domain Module Testdomain registered." and
>> after that the system hangs.

I was finally able to fix the problem: I had overlooked the interrupt tailcall which has to look for 
processes to be scheduled and everything so far worked good without that - except IPIPE (I had 
implemented the tailcall for syscalls only).

>> - Should I read some documentation to get help? (I only found the porting guide and some other 
>> guides which did not help me answer the following questions)
> 
> I don't know of any other doc -- this one being rather outdated,
> unfortunately.
> 

The porting guide contains no information about what the behaviour of the test module should be. If 
the test module contains a domain doing

   for(;;) ipipe_suspend_domain();

does the "insmod test.ko" command have any chance of returning to the shell? After reading the 
ipipe_register_domain code I do not think so but perhaps I missed something.


Peter

-- 

Peter Schüller
Theobroma Systems Design und Consulting GmbH
Gutheil-Schoder-Gasse 17, A-1230 Vienna, Austria
Phone: +43 (1) 2369893-403, Fax: +43 (1) 2369893-9-403
http://www.theobroma-systems.com



      parent reply	other threads:[~2007-12-13 18:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-28 15:37 [Xenomai-core] ipipe_suspend_domain() not scheduling IRQ threads Peter SchueŸller
2007-11-28 16:45 ` Philippe Gerum
2007-12-05 12:20   ` Peter SchueŸller
2007-12-13 18:48   ` Peter Schueller [this message]

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=47617E62.3070901@domain.hid \
    --to=peter.schueller@domain.hid \
    --cc=rpm@xenomai.org \
    --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.