Hi, i've got a system running kernel 2.6.22 on a ARM9 / Freescale i.MX27
The system running well, but every time i run latency it hangs.
It occurs with rtprint too.
Could you help me?

 root@domain.hid:~# latency
== Sampling period: 100 us
== Test mode: periodic user-mode task
== All results in microseconds
[  133.840000] BUG: scheduling while atomic: sampling-2175/0x00000001/2177
[  133.850000] [<c002be28>] (dump_stack+0x0/0x14) from [<c02c68c0>] (schedule+0x
60/0x874)
[  133.860000] [<c02c6860>] (schedule+0x0/0x874) from [<c0081e60>] (xnshadow_har
den+0xd0/0x134)
[  133.860000] [<c0081d90>] (xnshadow_harden+0x0/0x134) from [<c00824e0>] (xnsha
dow_wait_barrier+0x100/0x118)
[  133.870000]  r6:c2e38000 r5:c2e39fb0 r4:c4801610
[  133.880000] [<c00823e0>] (xnshadow_wait_barrier+0x0/0x118) from [<c008250c>]
(xnshadow_sys_barrier+0x14/0x18)
[  133.890000]  r5:c2e39fb0 r4:00000001
[  133.890000] [<c00824f8>] (xnshadow_sys_barrier+0x0/0x18) from [<c00822d0>] (l
osyscall_event+0xcc/0x1dc)
[  133.900000] [<c0082204>] (losyscall_event+0x0/0x1dc) from [<c0073dd4>] (__ipi
pe_dispatch_event+0xd0/0x1c8)
[  133.910000] [<c0073d04>] (__ipipe_dispatch_event+0x0/0x1c8) from [<c002d0f0>]
 (__ipipe_syscall_root+0x80/0x130)
[  133.920000] [<c002d070>] (__ipipe_syscall_root+0x0/0x130) from [<c0027214>] (
vector_swi+0x74/0xb4)
[  133.930000]  r6:40032c94 r5:beecec7c r4:00100000
[  133.940000] I-pipe: Detected illicit call from domain 'Xenomai'
[  133.940000]         into a service reserved for domain 'Linux' and below.
[  133.940000] [<c002be28>] (dump_stack+0x0/0x14) from [<c0074440>] (ipipe_check
_context+0xd8/0xfc)
[  133.940000] [<c0074368>] (ipipe_check_context+0x0/0xfc) from [<c02c7064>] (sc
hedule+0x804/0x874)
[  133.940000]  r4:c0081e60
[  133.940000]  r4:c0081e60
den+0xd0/0x134)
[  133.940000] [<c0081d90>] (xnshadow_harden+0x0/0x134) from [<c00824e0>] (xnsha
dow_wait_barrier+0x100/0x118)
[  133.940000]  r6:c2e38000 r5:c2e39fb0 r4:c4801610
[  133.940000] [<c00823e0>] (xnshadow_wait_barrier+0x0/0x118) from [<c008250c>]
(xnshadow_sys_barrier+0x14/0x18)
[  133.940000]  r5:c2e39fb0 r4:00000001
[  133.940000] [<c00824f8>] (xnshadow_sys_barrier+0x0/0x18) from [<c00822d0>] (l
osyscall_event+0xcc/0x1dc)
[  133.940000] [<c0082204>] (losyscall_event+0x0/0x1dc) from [<c0073dd4>] (__ipi
pe_dispatch_event+0xd0/0x1c8)
[  133.940000] [<c0073d04>] (__ipipe_dispatch_event+0x0/0x1c8) from [<c002d0f0>]
 (__ipipe_syscall_root+0x80/0x130)
[  133.940000] [<c002d070>] (__ipipe_syscall_root+0x0/0x130) from [<c0027214>] (
vector_swi+0x74/0xb4)
[  133.940000]  r6:40032c94 r5:beecec7c r4:00100000
[  134.050000] Unhandled fault: external abort on non-linefetch (0x008) at 0x400
1f010