All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] kernel BUG at arch/x86/kernel/ipipe.c:589! on motherboard DX79SI
@ 2013-02-15 15:15 Anders Blomdell
  2013-02-15 15:26 ` Jan Kiszka
  0 siblings, 1 reply; 11+ messages in thread
From: Anders Blomdell @ 2013-02-15 15:15 UTC (permalink / raw)
  To: Xenomai

Hi,

I have a DX79SI that dies with "kernel BUG at 
arch/x86/kernel/ipipe.c:589!" when running Xenomai. This is not very 
surprising since when running the system with an ordinary kernel thera 
are a few 'do_IRQ: X.Y No irq handler for vector (irq -1)' each day.

Question is if it would be possible to do something less fatal than 
'BUG_ON(irq < 0);' in the code below:

int __ipipe_handle_irq(struct pt_regs *regs)
{
	struct ipipe_percpu_data *p = __ipipe_this_cpu_ptr(&ipipe_percpu);
	int irq, vector = regs->orig_ax, flags = 0;
	struct pt_regs *tick_regs;

	if (likely(vector < 0)) {
		irq = __this_cpu_read(vector_irq[~vector]);
		BUG_ON(irq < 0);
	} else { /* Software-generated. */
		irq = vector;
		flags = IPIPE_IRQF_NOACK;
	}

Regards

Anders Blomdell

-- 
Anders Blomdell                  Email: anders.blomdell@control.lth.se
Department of Automatic Control
Lund University                  Phone:    +46 46 222 4625
P.O. Box 118                     Fax:      +46 46 138118
SE-221 00 Lund, Sweden



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

end of thread, other threads:[~2013-02-25 15:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-15 15:15 [Xenomai] kernel BUG at arch/x86/kernel/ipipe.c:589! on motherboard DX79SI Anders Blomdell
2013-02-15 15:26 ` Jan Kiszka
2013-02-15 15:34   ` Jan Kiszka
2013-02-25 10:18   ` Anders Blomdell
2013-02-25 11:11     ` Jan Kiszka
2013-02-25 11:53       ` Anders Blomdell
2013-02-25 12:27     ` Gilles Chanteperdrix
2013-02-25 14:39       ` Anders Blomdell
2013-02-25 14:53         ` Philippe Gerum
2013-02-25 14:54         ` Jan Kiszka
2013-02-25 15:17           ` Anders Blomdell

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.