From: Jan Kiszka <jan.kiszka@domain.hid>
To: rpm@xenomai.org
Cc: xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] crashing 2.6.22 (was: [Xenomai-help] Non-APIC setup broken for 2.4-SVN?)
Date: Sun, 30 Sep 2007 13:42:49 +0200 [thread overview]
Message-ID: <46FF8BB9.9080207@domain.hid> (raw)
In-Reply-To: <46FF81BA.1020506@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 4938 bytes --]
Jan Kiszka wrote:
> Philippe Gerum wrote:
>> On Sun, 2007-09-30 at 12:22 +0200, Jan Kiszka wrote:
...
>>> And a third
>>> one only gives me "Detected illicit call from domain Xenomai" before the
>>> box reboots. :(
>> Grmff... Do you run with your smp_processor_id() instrumentation in?
>
> Yes, but I suspect this is just a symptom of some severe memory
> corruption that (also?) hits I-pipe data structures. I just put in some
> different instrumentation, and that warning is gone, the box just hangs
> hard at a different point. Very unfriendly.
Hah! Got some crash log by hacking a raw printk-to-uart:
[...]
<6>Xenomai: starting RTDM services.
<6>NET: Registered protocol family 10
<6>lo: Disabled Privacy Extensions
<6>ADDRCONF(NETDEV_UP): eth0: link is not ready
<3>I-pipe: Detected illicit call from domain 'Xenomai'
<3> into a service reserved for domain 'Linux' and below.
f3a6bc18 00000000 00000000 c05dad6c f3a6bc3c c0105fc3 c03513c7 c05dc100
00000009 f3a6bc54 c01479cb c03592f8 c0357ae2 c035e069 f3a6bc88 f3a6bc70
c0127224 c0111df8 00000000 f3a6bd74 00000000 f3a6bd74 f3a6bc80 c012727f
Call Trace:
[<c010520f>] show_trace_log_lvl+0x1f/0x40
[<c01052e1>] show_stack_log_lvl+0xb1/0xe0
[<c0105fc3>] show_stack+0x33/0x40
[<c01479cb>] ipipe_check_context+0x7b/0x90
[<c0127224>] __atomic_notifier_call_chain+0x24/0x60
[<c012727f>] atomic_notifier_call_chain+0x1f/0x30
[<c0131e02>] notify_die+0x32/0x40
[<c0105d29>] do_invalid_op+0x59/0xa0
[<c0111d0b>] __ipipe_handle_exception+0x7b/0x144
[<c02dfaeb>] error_code+0x6f/0x7c
[<c0111d13>] __ipipe_handle_exception+0x83/0x144
[<c02dfaeb>] error_code+0x6f/0x7c
[<c01117df>] __ipipe_handle_irq+0x4f/0x140
[<c0104c5e>] ipipe_ipi3+0x26/0x40
[<c0111df8>] mcount+0x24/0x29
[<c0115c49>] kunmap_atomic+0x9/0x60
[<c015a040>] __handle_mm_fault+0x210/0x910
[<c0114dac>] do_page_fault+0x1dc/0x5f0
[<c0111d0b>] __ipipe_handle_exception+0x7b/0x144
[<c02dfaeb>] error_code+0x6f/0x7c
=======================
I-pipe tracer log (30 points):
#*func 0 ipipe_trace_panic_freeze+0x8 (ipipe_check_context+0x40)
#*func 0 ipipe_check_context+0xc (__atomic_notifier_call_chain+0x24)
#*func 0 __atomic_notifier_call_chain+0x14 (atomic_notifier_call_chain+0x1f)
#*func 0 atomic_notifier_call_chain+0xb (notify_die+0x32)
#*func 0 notify_die+0xb (do_invalid_op+0x59)
#*func 0 do_invalid_op+0x10 (__ipipe_handle_exception+0x7b)
#*func -1 __ipipe_handle_exception+0xe (error_code+0x6f)
#*func -1 __ipipe_restore_root+0x8 (__ipipe_handle_exception+0x83)
| #*func -2 do_page_fault+0xe (__ipipe_handle_exception+0x7b)
| # func -2 __ipipe_handle_exception+0xe (error_code+0x6f)
| +func -3 __ipipe_dispatch_wired+0x16 (__ipipe_handle_irq+0x4f)
| +func -3 __ipipe_ack_apic+0x8 (__ipipe_handle_irq+0x8f)
| +func -3 __ipipe_handle_irq+0x14 (ipipe_ipi3+0x26)
+func -3 kunmap_atomic+0x9 (__handle_mm_fault+0x210)
+func -3 ipipe_check_context+0xc (__handle_mm_fault+0x204)
+func -4 page_add_file_rmap+0x8 (__handle_mm_fault+0x586)
+func -4 ipipe_check_context+0xc (__handle_mm_fault+0x196)
+func -4 kmap_atomic_prot+0xb (kmap_atomic+0x13)
+func -4 kmap_atomic+0x8 (__handle_mm_fault+0x186)
+func -4 mark_page_accessed+0x9 (filemap_nopage+0x13c)
+func -4 ipipe_check_context+0xc (find_get_page+0x65)
#func -4 __ipipe_unstall_root+0x8 (find_get_page+0x5b)
#func -4 radix_tree_lookup+0x16 (find_get_page+0x36)
#func -4 ipipe_check_context+0xc (find_get_page+0x2d)
+func -5 ipipe_check_context+0xc (find_get_page+0x18)
+func -5 find_get_page+0xa (filemap_nopage+0x1de)
+func -5 filemap_nopage+0xe (__handle_mm_fault+0x11f)
+func -5 ipipe_check_context+0xc (kunmap_atomic+0x50)
+func -5 kunmap_atomic+0x9 (__handle_mm_fault+0xcc)
+func -5 kmap_atomic_prot+0xb (kmap_atomic+0x13)
<0>PANIC: double fault, gdt at c0392000 [255 bytes]
<0>double fault, tss at c038d7e0
<0>eip = c0127266, esp = dfec1ff8
<0>eax = c05dad6c, ebx = dfec20f4, ecx = dfec2008, edx = 00000009
<0>esi = 00000000, edi = dfec20f4
Double fault, explains why it is so slippery... And the crash looks a
bit like that backtrace I once posted for an earlier ipipe version.
Time for a break, will dig deeper later - now that I have the tools :)
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]
next prev parent reply other threads:[~2007-09-30 11:42 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-25 14:09 [Xenomai-help] Non-APIC setup broken for 2.4-SVN? Jan Kiszka
2007-09-25 14:25 ` Leopold Palomo-Avellaneda
2007-09-25 21:37 ` Philippe Gerum
2007-09-26 9:31 ` Jan Kiszka
2007-09-30 10:22 ` Jan Kiszka
2007-09-30 10:52 ` Philippe Gerum
2007-09-30 11:00 ` Jan Kiszka
2007-09-30 11:42 ` Jan Kiszka [this message]
2007-09-30 12:42 ` [Xenomai-core] crashing 2.6.22 (was: [Xenomai-help] Non-APIC setup broken for 2.4-SVN?) Philippe Gerum
2007-09-30 15:31 ` [Xenomai-core] crashing 2.6.22 Jan Kiszka
2007-09-30 20:04 ` Philippe Gerum
2007-10-01 9:04 ` Gilles Chanteperdrix
2007-10-01 9:17 ` Jan Kiszka
2007-10-01 9:23 ` Gilles Chanteperdrix
2007-10-01 9:32 ` Jan Kiszka
2007-10-01 9:38 ` Gilles Chanteperdrix
2007-10-01 12:12 ` [Xenomai-core] ARM compiling error Patrick
2007-10-01 12:25 ` Gilles Chanteperdrix
[not found] ` <200710011255.l91CtkvR000470@domain.hid>
2007-10-01 13:10 ` Gilles Chanteperdrix
2007-10-01 13:43 ` Patrick
2007-10-01 14:29 ` Gilles Chanteperdrix
2007-10-01 12:42 ` [Xenomai-core] crashing 2.6.22 Labozzetta, Saverio
2007-10-01 13:32 ` Labozzetta, Saverio
2007-10-02 9:04 ` [Xenomai-help] rt_task crash kernel Patrick
2007-10-02 9:11 ` Gilles Chanteperdrix
[not found] ` <200710020940.l929ep0p021831@domain.hid>
2007-10-02 9:46 ` [Xenomai-core] " Gilles Chanteperdrix
2007-10-08 7:33 ` [Xenomai-core] crashing 2.6.22 Jan Kiszka
2007-10-08 8:45 ` Gilles Chanteperdrix
2007-10-09 9:11 ` Philippe Gerum
2007-09-30 19:45 ` [Xenomai-core] crashing 2.6.22 (was: [Xenomai-help] Non-APIC setup broken for 2.4-SVN?) Philippe Gerum
2007-09-30 19:52 ` [Xenomai-help] Non-APIC setup broken for 2.4-SVN? Philippe Gerum
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=46FF8BB9.9080207@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=rpm@xenomai.org \
--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.