* [Xenomai-core] rt_heap_bind error -2
@ 2005-12-01 1:37 郭宇铮
2005-12-01 8:37 ` [Xenomai-help] " Jan Kiszka
0 siblings, 1 reply; 2+ messages in thread
From: 郭宇铮 @ 2005-12-01 1:37 UTC (permalink / raw)
To: xenomai-core
Hi, I'm using xenomai instead of fusion.
When I bind a heap in user space which is created by a kernel module,
the return value is -2 which I don't know what it means for it is not
one of several values explained by the document.
This program runned well with fusion 0.9.
My kernel is 2.6.13 patched with ipipe.
Can anybody shed light on it?
And there's another strange error. In an ISR, printk must be called or
the interrupt can't be cleared. So now I add an empty printk to every
ISR.
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Xenomai-help] Re: [Xenomai-core] rt_heap_bind error -2
2005-12-01 1:37 [Xenomai-core] rt_heap_bind error -2 郭宇铮
@ 2005-12-01 8:37 ` Jan Kiszka
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2005-12-01 8:37 UTC (permalink / raw)
To: ¹ùÓîï£; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 1060 bytes --]
郭宇铮 wrote:
> Hi, I'm using xenomai instead of fusion.
> When I bind a heap in user space which is created by a kernel module,
> the return value is -2 which I don't know what it means for it is not
> one of several values explained by the document.
> This program runned well with fusion 0.9.
> My kernel is 2.6.13 patched with ipipe.
> Can anybody shed light on it?
Does /dev/rtheap still exist? Maybe something during your update has
killed it.
>
> And there's another strange error. In an ISR, printk must be called or
> the interrupt can't be cleared. So now I add an empty printk to every
> ISR.
What do you mean by "cleared"? May a snippet of the ISR would help here
to explain what you do.
Jan
PS: The question better fits to the help mailing list where other users
can also benefit from your Q&As.
--
Dipl.-Ing. Jan Kiszka
Institute for Systems Engineering, Real-Time Systems Group (RTS)
Appelstraße 9A, D-30167 Hannover
phone +49 511 762-3974 / fax +49 511 762-4012
http://www.rts.uni-hannover.de
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-01 8:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-01 1:37 [Xenomai-core] rt_heap_bind error -2 郭宇铮
2005-12-01 8:37 ` [Xenomai-help] " Jan Kiszka
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.