All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Borkhuis <j.borkhuis@domain.hid>
To: Xenomai help <xenomai@xenomai.org>
Subject: [Xenomai-help] Moving from 2.6.14(ppc) to 2.6.20(powerpc): illicit calls detected by ipipe
Date: Fri, 14 Mar 2008 14:25:33 +0100	[thread overview]
Message-ID: <47DA7CCD.40901@domain.hid> (raw)

Hello,

I am trying to move from 2.6.14(ppc) to 2.6.20(powerpc). On ppc I am 
using Xenomai 2.4.1 and I-Pipe version 1.5-03, on powerpc I am using 
Xenomai 2.4.1, I-Pipe version 1.7-12.
Most of the system is working, but I am having some problems with one 
device driver. This is a "standard" Linux driver, that I converted into 
a Xenomai driver. This driver does a very limited initialization, the 
main init is done when the device is opened and after some IOCTL calls.

The problem is that I am getting "Detected illicit call from domain 
'Xenomai' into a service reserved for domain 'Linux' and below." 
messages from Adeos, which I did not get when using 2.6.14. The code I 
use is identical, except for some small areas where the API kernel 
changed between 2.6.14 and 2.6.20. Has there been a change between the 
versions of Adeos or Xenomai which could cause this change in behavior?
(BTW: this message is generated when the option IPIPE_DEBUG_CONTEXT is 
on, when this option is off I get a kernel Oops in kernel/ipipe/core.c:210.

The affected calls are calls like kmalloc and kfree, but also calls like 
check_mem_region, which uses kmem_cache_zalloc inside the function. 
Normally these should not be used inside a RT application, but this is 
the startup phase of the application and there are no RT restraints at 
this point.

Kind regards,
    Johan Borkhuis

-- 
Johan Borkhuis                                  Dutch Space BV
email:        j.borkhuis@domain.hid          Newtonweg 1
phone:        071-5245788                       Leiden
fax:          071-5245499                       The Netherlands



             reply	other threads:[~2008-03-14 13:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-14 13:25 Johan Borkhuis [this message]
2008-03-14 13:57 ` [Xenomai-help] Moving from 2.6.14(ppc) to 2.6.20(powerpc): illicit calls detected by ipipe Philippe Gerum
2008-03-14 14:15   ` Johan Borkhuis
2008-03-14 14:32     ` Philippe Gerum
2008-03-14 14:58       ` Johan Borkhuis

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=47DA7CCD.40901@domain.hid \
    --to=j.borkhuis@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.