From: Philippe Gerum <rpm@xenomai.org>
To: "M. Koehrer" <mathias_koehrer@domain.hid>
Cc: xenomai@xenomai.org, jan.kiszka@domain.hid
Subject: Re: [Xenomai-help] Xenomai and MSI enabled crashes kernel
Date: Fri, 27 Apr 2007 16:40:41 +0200 [thread overview]
Message-ID: <1177684841.5010.99.camel@domain.hid> (raw)
In-Reply-To: <1646519.1177684097169.JavaMail.ngmail@domain.hid>
On Fri, 2007-04-27 at 16:28 +0200, M. Koehrer wrote:
> Hello Philippe,
>
> here it is: (I have no idea what BUGON does...)
This triggers a kernel panic whenever the assertion is true.
The bug we are chasing is typical of an indirect function call using an
unexpectedly null pointer. There are a few callbacks in the interrupt
grabbing code, I'm trying to locate the one that jumps out of the
window.
>
> Mathias
>
> ++++++++++++++++++++++++++++++++++++++++++++++ START +++++++++++++++++++++++++++
> Performing network-prepareConfiguring network interfaces...BUG: unable to handle kernel NULL pointer dereference-1 0 256
> printing eip:
> *pde = 00000000
> Oops: 0000 [#1]
> -1 0 256
> -208 207 256
> -208 207 256
> SMP -1 0 256
> -208 207 256
> -208 207 256
>
> Modules linked in:-1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> e1000-1 0 256
> -208 207 256
> -208 207 256
>
> CPU: 0
> EIP: 0060:[<00000000>] Not tainted VLI
> EFLAGS: 00010286 (2.6.20.4 #16)
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> EIP is at _stext+0x3feffc70/0x14
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> eax: c0112274 ebx: 00000006 ecx: c011437d edx: df04a000
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> esi: c0118e42 edi: c03847e6 ebp: ffffffff esp: df04be10
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> ds: 007b es: 007b ss: 0068
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> Process ifconfig (pid: 1241, ti=df04a000 task=dfc2b560 task.ti=df04a000)-1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
>
> Stack: -1 0 256
> -208 207 256
> -208 207 256
> c03e5680 -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> 000000db -1 0 256
> -208 207 256
> -208 207 256
> 00000000 -1 0 256
> -208 207 256
> -208 207 256
> c03d9100 -1 0 256
> -208 207 256
> -208 207 256
> c010efb3 -1 0 256
> -208 207 256
> -208 207 256
> c03847e6 -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> ffffff24 -1 0 256
> -208 207 256
> -208 207 256
> 000000db -1 0 256
> -208 207 256
> -208 207 256
>
> -1 0 256
> -208 207 256
> -208 207 256
> 00000100 -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> 00006d80 -1 0 256
> -208 207 256
> -208 207 256
> 00000001 -1 0 256
> -208 207 256
> -208 207 256
> 00000060 -1 0 256
> -208 207 256
> -208 207 256
> e099a210 -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> 00000286 -1 0 256
> -208 207 256
> -208 207 256
> ffffff24 -1 0 256
> -208 207 256
> -208 207 256
> df70c5c8 -1 0 256
> -208 207 256
> -208 207 256
>
> -1 0 256
> -208 207 256
> -208 207 256
> 00000000 -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> 0000000f -1 0 256
> -208 207 256
> -208 207 256
> 00000001 -1 0 256
> -208 207 256
> -208 207 256
> c0103439 -1 0 256
> -208 207 256
> -208 207 256
> df70c5c8 -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> e099a0ff -1 0 256
> -208 207 256
> -208 207 256
> e09c0000 -1 0 256
> -208 207 256
> -208 207 256
> 00000000 -1 0 256
> -208 207 256
> -208 207 256
>
> Call Trace:
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> [<c010efb3>] -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> __ipipe_handle_irq+0x1db/0x22d
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> [<e099a210>] -1 0 256
> -208 207 256
> -208 207 256
> e1000_set_multi+0x111/0x189 [e1000]
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> [<c0103439>] -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> common_interrupt+0x21/0x38
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> [<e099a0ff>] -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> e1000_set_multi+0x0/0x189 [e1000]
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> [<e099a210>] -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> e1000_set_multi+0x111/0x189 [e1000]
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> [<c02dcfb1>] -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> __dev_mc_upload+0x1d/0x1e
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> [<c02dd0d1>] -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> dev_mc_upload+0x24/0x37
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> [<c02db5dc>] -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> dev_open+0x44/0x62
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> [<c02da0a9>] -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> dev_change_flags+0x47/0xe4
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> [<c030d1c2>] -1 0 256
> -208 207 256
> -208 207 256
> devinet_ioctl+0x252/0x56f
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> [<c02db1ba>] -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> dev_ifsioc+0x113/0x38d
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> [<c02d15d4>] -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> sock_ioctl+0x0/0x1ad
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> [<c02d1762>] -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> sock_ioctl+0x18e/0x1ad
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> [<c02d15d4>] -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> sock_ioctl+0x0/0x1ad
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> [<c015e1bf>] -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> do_ioctl+0x1f/0x62
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> [<c015e446>] -1 0 256
> -208 207 256
> -208 207 256
> vfs_ioctl+0x244/0x256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> [<c015e48b>] -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> sys_ioctl+0x33/0x4c
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> [<c01029f3>] -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> sysenter_past_esp+0x6c/0x70
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> =======================
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> Code: -208 207 256
> -208 207 256
> Bad EIP value.-208 207 256
>
> EIP: [<00000000>] _stext+0x3feffc70/0x14-208 207 256
> SS:ESP 0068:df04be10
> -208 207 256
> -208 207 256
> -1 0 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> Kernel panic - not syncing: Fatal exception in interrupt
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
> -208 207 256
> -208 207 256
> -220 219 256
> -1 0 256
> -208 207 256
> -208 207 256
> -1 0 256
>
> ++++++++++++++++++++++++++++++++++++++++++++++ END +++++++++++++++++++++++++++
>
>
>
> > On Fri, 2007-04-27 at 16:08 +0200, M. Koehrer wrote:
> > > Hi Jan,
> > >
> > > here is the result - I have logged with a serial console (as my kernel
> > freezes).
> > > There are many printk messages...
> > >
> >
> > --- arch/i386/kernel/ipipe.c~ 2007-02-26 10:31:39.000000000 +0100
> > +++ arch/i386/kernel/ipipe.c 2007-04-27 16:19:06.000000000 +0200
> > @@ -167,6 +167,7 @@
> > static int __ipipe_ack_irq(unsigned irq)
> > {
> > irq_desc_t *desc = irq_desc + irq;
> > + BUG_ON(!desc->ipipe_ack);
> > desc->ipipe_ack(irq, desc);
> > return 1;
> > }
> >
> > --
> > Philippe.
> >
> >
> >
>
--
Philippe.
next prev parent reply other threads:[~2007-04-27 14:40 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-26 12:04 [Xenomai-help] Xenomai and MSI enabled crashes kernel M. Koehrer
2007-04-27 11:48 ` Jan Kiszka
2007-04-27 13:14 ` Philippe Gerum
2007-04-27 13:22 ` Jan Kiszka
2007-04-27 13:31 ` M. Koehrer
2007-04-27 13:47 ` Jan Kiszka
2007-04-27 14:08 ` M. Koehrer
2007-04-27 14:19 ` Philippe Gerum
2007-04-27 14:28 ` M. Koehrer
2007-04-27 14:40 ` Philippe Gerum [this message]
2007-04-27 14:56 ` Philippe Gerum
2007-04-27 15:05 ` Philippe Gerum
2007-04-27 15:10 ` M. Koehrer
2007-04-27 15:36 ` Philippe Gerum
2007-04-27 15:41 ` M. Koehrer
2007-04-30 9:05 ` Jan Kiszka
2007-04-30 10:11 ` M. Koehrer
2007-04-30 11:27 ` Jan Kiszka
2007-04-30 12:51 ` M. Koehrer
2007-04-30 15:10 ` Jan Kiszka
2007-04-27 20:39 ` Philippe Gerum
2007-04-30 15:39 ` Philippe Gerum
2007-05-02 7:05 ` M. Koehrer
2007-05-02 8:39 ` Jan Kiszka
2007-05-02 9:14 ` M. Koehrer
2007-05-02 9:39 ` Jan Kiszka
2007-05-02 12:42 ` Philippe Gerum
2007-05-02 13:44 ` M. Koehrer
2007-05-02 13:49 ` Jan Kiszka
2007-04-27 14:31 ` Jan Kiszka
2007-04-27 14:52 ` M. Koehrer
2007-04-28 12:54 ` Bernhard Walle
-- strict thread matches above, loose matches on Subject: below --
2007-05-02 12:57 M. Koehrer
2007-05-02 13:23 ` Jan Kiszka
2007-05-02 14:47 ` Philippe Gerum
2007-05-03 7:06 ` M. Koehrer
2007-05-03 8:29 ` Philippe Gerum
2007-05-04 7:45 M. Koehrer
2007-05-04 7:59 ` Jan Kiszka
2007-05-04 8:20 ` M. Koehrer
2007-05-04 12:20 ` Philippe Gerum
2007-05-04 12:46 ` M. Koehrer
2007-05-04 13:03 ` Philippe Gerum
2007-05-05 17:21 ` Philippe Gerum
2007-05-08 11:53 ` M. Koehrer
2007-05-08 12:28 ` Philippe Gerum
2007-05-08 12:38 ` M. Koehrer
2007-05-08 13:28 ` Philippe Gerum
2007-05-08 13:37 ` Philippe Gerum
2007-05-08 14:35 ` M. Koehrer
2007-05-09 8:00 ` Philippe Gerum
2007-05-07 7:11 M. Koehrer
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=1177684841.5010.99.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=jan.kiszka@domain.hid \
--cc=mathias_koehrer@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.