2010-07-07 15:14:18     xenomai kernel panic

Document created by Aaronwu Employee on Aug 22, 2013
Version 1Show Document
  • View in full screen mode

2010-07-07 15:14:18     xenomai kernel panic

Shawn Morgan (UNITED STATES)

Message: 91010   

 

I'm trying to add xenomai support to the uClinux kernel. I've enabled the xenomai package (2.4.0) that is included in the 2008R1.5-RC3 distribution. When I download the kernel to my device and try to run the latency benchmark app the kernel panics.  Any help would be appreciated.

 

Shawn Morgan

 

./usr/bin/latency -h

 

== Sampling period: 100 us

 

== Test m[17179590.384000] BUG: scheduling while atomic: display-216/0x00000001/218

 

[17179590.384000] Hardware Trace:

 

[17179590.384000]    0 Target : <0x000049c8> { _dump_stack + 0x0 }

 

<edit>

 

[17179590.384000]   15 Target : <0x0002fc8e> { ___ipipe_sync_stage + 0x2ba }

 

[17179590.384000]      Source : <0x0000c362> { _try_to_wake_up + 0x46 }

 

[17179590.384000] Stack from 0337be1c:

 

[17179590.384000]         03a6061c ffa0173a 03a6061c 0003a61a 00100000 03190c4c 00000001 000000da

 

[17179590.384000]         0337be74 0000ba08 0337a000 00887704 0088767c 00000000 00000000 00000018

 

[17179590.384000]         0000ba10 00234048 0003a61a 03a6061c 00887704 0088767c 0337a000 00000000

 

[17179590.384000]         00000018 00000000 00000001 00234048 0003a6fa 0003a6fa 0337bf24 00887684

 

[17179590.384000]         00000001 03190ac0 00000018 00881bc4 00030754 00881bc0 00881bc4 00881bc0

 

[17179590.384000]         00100000 00100000 00000000 0000ffff 0337bf00 00000000 00000000 000000d0

 

[17179590.384000]

 

[17179590.384000] Call Trace:

 

[17179590.384000] [<00008598>] ___ipipe_syscall_root+0x40/0xfc

 

[17179590.384000] [<00008000>] _set_dma_curr_desc_addr+0x8/0x78

 

[17179590.384000] [<0003022b>] ___ipipe_lock_irq+0x13/0xac

 

[17179590.384000] [<0003022b>] ___ipipe_lock_irq+0x13/0xac

 

[17179590.384000] [<0003022b>] ___ipipe_lock_irq+0x13/0xac

 

[17179590.384000]

 

ode: periodic user-mode task

 

== All results[17179590.396000] BUG: scheduling while atomic: display-216/0x00000001/218

 

[17179590.396000] Hardware Trace:

 

[17179590.396000]    0 Target : <0x000049c8> { _dump_stack + 0x0 }

 

[17179590.396000]      Source : <0xffa01736> { _schedule + 0x60a }

 

<edit>

 

[17179590.396000]   15 Target : <0x0002fc8e> { ___ipipe_sync_stage + 0x2ba }

 

[17179590.396000]      Source : <0x0000c362> { _try_to_wake_up + 0x46 }

 

[17179590.396000] Stack from 0337be1c:

 

[17179590.396000]         03a6061c ffa0173a 03a6061c 0003a61a 0338fbe3 03190c4c 00000001 000000da

 

[17179590.396000]         0337be74 0000ba08 0337a000 00887704 0088767c 00000000 00100000 00000100

 

[17179590.396000]         0000ba10 00234048 0003a61a 03a6061c 00887704 0088767c 0337a000 00100000

 

[17179590.396000]         00000100 00000008 00000000 00000000 00000000 0003a718 0337bf24 00887684

 

[17179590.396000]         00000006 03190ac0 00000100 00881bc4 00030754 00881bc0 00881bc4 00881bc0

 

[17179590.396000]         00100000 00100000 00000000 0000ffff 0337bf00 0337a000 0337a000 000000d0

 

[17179590.396000]

 

[17179590.396000] Call Trace:

 

[17179590.396000] [<00008598>] ___ipipe_syscall_root+0x40/0xfc

 

[17179590.396000] [<00009298>] _safe_speculative_execution+0x0/0x8

 

[17179590.396000] [<00008000>] _set_dma_curr_desc_addr+0x8/0x78

 

[17179590.396000]

 

in [17179590.400000] BUG: scheduling while atomic: sampling-216/0x00000001/219

 

[17179590.400000] Hardware Trace:

 

[17179590.400000]    0 Target : <0x000049c8> { _dump_stack + 0x0 }

 

[17179590.400000]      Source : <0xffa01736> { _schedule + 0x60a }

 

[17179590.400000]    1 Target : <0xffa0172c> { _schedule + 0x600 }

 

[17179590.400000]      Source : <0x0000f372> { _printk + 0x5a }

 

[17179590.400000]    2 Target : <0x0000f368> { _printk + 0x50 }

 

[17179590.400000]      Source : <0x0000f1c8> { _vprintk + 0x214 }

 

[17179590.400000]    3 Target : <0x0000f1a8> { _vprintk + 0x1f4 }

 

[17179590.400000]      Source : <0x00030004> { ___ipipe_unstall_root + 0x40 }

 

[17179590.400000]    4 Target : <0x0002fff4> { ___ipipe_unstall_root + 0x30 }

 

[17179590.400000]      Source : <0x00030048> { ___ipipe_unstall_root + 0x84 }

 

[17179590.400000]    5 Target : <0x00030048> { ___ipipe_unstall_root + 0x84 }

 

[17179590.400000]      Source : <0x0002fa88> { ___ipipe_sync_stage + 0xb4 }

 

[17179590.400000]    6 Target : <0x0002fa7a> { ___ipipe_sync_stage + 0xa6 }

 

[17179590.400000]      Source : <0x0002fa68> { ___ipipe_sync_stage + 0x94 }

 

[17179590.400000]    7 Target : <0x0002fa46> { ___ipipe_sync_stage + 0x72 }

 

[17179590.400000]      Source : <0x0002fbde> { ___ipipe_sync_stage + 0x20a }

 

[17179590.400000]    8 Target : <0x0002fbd0> { ___ipipe_sync_stage + 0x1fc }

 

[17179590.400000]      Source : <0x0002fc78> { ___ipipe_sync_stage + 0x2a4 }

 

[17179590.400000]    9 Target : <0x0002fc6e> { ___ipipe_sync_stage + 0x29a }

 

[17179590.400000]      Source : <0x0002fc8e> { ___ipipe_sync_stage + 0x2ba }

 

[17179590.400000]   10 Target : <0x0002fc8e> { ___ipipe_sync_stage + 0x2ba }

 

[17179590.400000]      Source : <0x0000c362> { _try_to_wake_up + 0x46 }

 

[17179590.400000]   11 Target : <0x0000c346> { _try_to_wake_up + 0x2a }

 

[17179590.400000]      Source : <0x00030092> { ___ipipe_restore_root + 0x46 }

 

[17179590.400000]   12 Target : <0x0003008e> { ___ipipe_restore_root + 0x42 }

 

[17179590.400000]      Source : <0x00030080> { ___ipipe_restore_root + 0x34 }

 

[17179590.400000]   13 Target : <0x0003004c> { ___ipipe_restore_root + 0x0 }

 

[17179590.400000]      Source : <0x0000c342> { _try_to_wake_up + 0x26 }

 

[17179590.400000]   14 Target : <0x0000c340> { _try_to_wake_up + 0x24 }

 

[17179590.400000]      Source : <0x0000c370> { _try_to_wake_up + 0x54 }

 

[17179590.400000]   15 Target : <0x0000c36c> { _try_to_wake_up + 0x50 }

 

[17179590.400000]      Source : <0x0000c416> { _try_to_wake_up + 0xfa }

 

[17179590.400000] Stack from 0337de1c:

 

[17179590.400000]         03a60e1c ffa0173a 03a60e1c 0003a61a 00100000 031909ac 00000001 000000db

 

[17179590.400000]         0337de74 0000ba08 0337c000 00887704 0088767c 00000000 00000000 00000018

 

[17179590.400000]         0000ba10 00234048 0003a61a 03a60e1c 00887704 0088767c 0337c000 00000000

 

[17179590.400000]         00000018 00000000 00000001 00234048 0003a6fa 0003a6fa 0337df24 00887684

 

[17179590.400000]         00000001 0337dec4 00000018 00881bc4 00030754 00881bc0 00881bc4 00881bc0

 

[17179590.400000]         00100000 00100000 00000000 0000ffff 0000b8a4 032fce80 10000000 000000d0

 

[17179590.400000]

 

[17179590.400000] Call Trace:

 

[17179590.400000] [<00008598>] ___ipipe_syscall_root+0x40/0xfc

 

[17179590.400000] [<00008000>] _set_dma_curr_desc_addr+0x8/0x78

 

[17179590.400000] [<0003022b>] ___ipipe_lock_irq+0x13/0xac

 

[17179590.400000] [<0003022b>] ___ipipe_lock_irq+0x13/0xac

 

[17179590.400000] [<0003022b>] ___ipipe_lock_irq+0x13/0xac

 

[17179590.400000]

 

micr[17179590.404000] Kernel panic - not syncing: BUG!

 

<4>[17179590.404000] BUG: failure at kernel/ipipe/core.c:319/__ipipe_restore_root()!

 

QuoteReplyEditDelete

 

 

2010-07-08 00:09:35     Re: xenomai kernel panic

Sonic Zhang (CHINA)

Message: 91022   

 

Please update to 2009R1.1 release. We have no resource to support 2008R1.5.

QuoteReplyEditDelete

Attachments

    Outcomes