All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Panic in rt_queue_create: bug or misuse?
@ 2006-04-04  6:04 Brian L.
  2006-04-04  7:53 ` Philippe Gerum
  2006-04-04 13:06 ` Philippe Gerum
  0 siblings, 2 replies; 8+ messages in thread
From: Brian L. @ 2006-04-04  6:04 UTC (permalink / raw)
  To: xenomai

I apologize for not including the panic here. I will be obtaining a
serial cable tomorrow and accessing panic text should become much
simpler. Since the panic is several screen-fulls long, even if I were
to painstakingly type it in, it would be missing vital information.

I'm posting this now in case this is a known issue with a simple fix.
Newsgroup history doesn't turn up any messages with rt_queue_create
and panic in the past few months. I am running xenomai 2.1.0 on linux
2.6.15 with APIC disabled in kernel config on a celeron 566/440bx.

Code:
======
int main() {
RT_TASK main_task;
RT_QUEUE queue;
RT_MUTEX lock;

if (0 != rt_task_shadow(&main_task,"MAIN",1,T_FPU)) {
   die("Couldn't Shadow Main Task\n");
}

rt_mutex_create(&lock,0);
rt_queue_create(&queue,"log_queue",8192,100,Q_FIFO);
...
}
======

The kernel panics and freezes the test machine in rt_queue_create. I
will post panic text as soon as it is accessible to me. The panic
occurs whether or not I shadow the main task and whether or not the
mutex is named. Am I misusing an API or am I possibly looking at a
bug?

The bottom 25 lines of the panic seem to involve a call to the ipipe
exception handler every 6-8 lines. It doesn't look like endless
recursion, though, so we could just be walking up an exception tree.
I'm missing the top of the trace and the panic type because it doesn't
get logged and I can't scroll a frozen machine.

Thanks,

Brian


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-04-04 13:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-04  6:04 [Xenomai-help] Panic in rt_queue_create: bug or misuse? Brian L.
2006-04-04  7:53 ` Philippe Gerum
2006-04-04  8:18   ` Jan Kiszka
2006-04-04 12:53     ` Brian L.
2006-04-04 13:08       ` Jan Kiszka
2006-04-04 13:52         ` [Xenomai-core] " Philippe Gerum
2006-04-04 12:56     ` Philippe Gerum
2006-04-04 13:06 ` Philippe Gerum

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.