[Rtai] linux kernel 2.6.32.11 + RTAI stable 3.8.1

joe M joe9mail at gmail.com
Mon Mar 26 23:00:25 CEST 2012


Hello,

This is the command that caused the below stack/call trace.

cd /usr/realtime/testsuite/user/latency
display*  latency*  run*
-(/usr/realtime/testsuite/user/latency)-------------(pts/1 at firefox)--
./run
*
*
* Type ^C to stop this application.
*
*

## RTAI latency calibration tool ##
# period = 100000 (ns)
# average time = 1 (s)
# use the FPU
# start the timer
# timer_mode is oneshot

CANNOT INIT MASTER TASK

Thanks
Joe

On Mon, Mar 26, 2012 at 4:59 PM, joe M <joe9mail at gmail.com> wrote:
> Hello,
>
> I am getting this call trace in my dmesg when I start ../user/latency/run.
>
> Wondering if anyone has any thoughts?
>
> I had to disable ftrace in the kernel, as it was causing a kernel
> panic on kernel startup. But, other than that, I followed the
> instructions.
>
> Thanks
> Joe
>
> Mar 26 16:46:59 firefox kernel: [  104.411400] I-pipe: Domain RTAI registered.
> Mar 26 16:47:00 firefox kernel: [  104.411408] RTAI[hal]: <3.8.1>
> mounted over IPIPE-NOTHREADS 2.6-03.
> Mar 26 16:47:00 firefox kernel: [  104.411410] RTAI[hal]: compiled
> with gcc version 4.5.3 (CRUX) .
> Mar 26 16:47:00 firefox kernel: [  104.411415] RTAI[hal]: mounted
> (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED),
> ISOL_CPUS_MASK: 0).
> Mar 26 16:47:00 firefox kernel: [  104.411417] PIPELINE layers:
> Mar 26 16:47:00 firefox kernel: [  104.411419] f8adf080 9ac15d93 RTAI 200
> Mar 26 16:47:00 firefox kernel: [  104.411421] c14dd480 0 Linux 100
> Mar 26 16:47:00 firefox kernel: [  104.492008] RTAI[malloc]: global
> heap size = 2097152 bytes, <BSD>.
> Mar 26 16:47:00 firefox kernel: [  104.492141] RTAI[sched]: loaded
> (IMMEDIATE, UP, USER/KERNEL SPACE: <without RTAI OWN KTASKs>, kstacks
> pool size = 524288 bytes.
> Mar 26 16:47:00 firefox kernel: [  104.492145] RTAI[sched]: hard timer
> type/freq = APIC/24900153(Hz); default timing: periodic; linear timed
> lists.
> Mar 26 16:47:00 firefox kernel: [  104.492148] RTAI[sched]: Linux
> timer freq = 250 (Hz), TimeBase freq = 2191098000 hz.
> Mar 26 16:47:00 firefox kernel: [  104.492151] RTAI[sched]: timer
> setup = 999 ns, resched latency = 2943 ns.
> Mar 26 16:47:00 firefox kernel: [  104.492238] RTAI[usi]: enabled.
> Mar 26 16:47:01 firefox kernel: [  105.809835] BUG: Unhandled
> exception over domain RTAI at 0xc1001d8a - switching to ROOT
> Mar 26 16:47:01 firefox kernel: [  105.809900] Pid: 526, comm: cut Not
> tainted 2.6.32.11-rtai #8
> Mar 26 16:47:01 firefox kernel: [  105.809902] Call Trace:
> Mar 26 16:47:01 firefox kernel: [  105.809920]  [<c1019119>]
> __ipipe_handle_exception+0x219/0x220
> Mar 26 16:47:01 firefox kernel: [  105.809925]  [<c1001d8a>] ?
> __switch_to+0x3a/0x180
> Mar 26 16:47:01 firefox kernel: [  105.809932]  [<c12d30b4>]
> error_code+0x70/0x80
> Mar 26 16:47:01 firefox kernel: [  105.809935]  [<c1001d8a>] ?
> __switch_to+0x3a/0x180
> Mar 26 16:47:01 firefox kernel: [  105.809942]  [<c1022c20>]
> context_switch+0xd0/0x2a0
> Mar 26 16:47:01 firefox kernel: [  105.809947]  [<c10037b1>] ?
> common_interrupt+0x31/0x40
> Mar 26 16:47:01 firefox kernel: [  105.809963]  [<f8bd0714>] ?
> rt_schedule+0x84/0x810 [rtai_lxrt]
> Mar 26 16:47:01 firefox kernel: [  105.809971]  [<f8bd5550>] ?
> rt_sleep+0x210/0x230 [rtai_lxrt]
> Mar 26 16:47:01 firefox kernel: [  105.809978]  [<f8bd29c7>] ?
> handle_lxrt_request+0xb7/0xe30 [rtai_lxrt]
> Mar 26 16:47:02 firefox kernel: [  105.809983]  [<c1006254>] ?
> mask_and_ack_8259A+0x64/0x110
> Mar 26 16:47:02 firefox kernel: [  105.809988]  [<c109b673>] ?
> mlock_fixup+0x63/0x190
> Mar 26 16:47:02 firefox kernel: [  105.809991]  [<c12d1502>] ?
> wait_for_completion+0x12/0x20
> Mar 26 16:47:02 firefox kernel: [  105.809998]  [<f8bd5440>] ?
> rt_sleep+0x100/0x230 [rtai_lxrt]
> Mar 26 16:47:02 firefox kernel: [  105.810003]  [<c107261a>] ?
> __ipipe_ack_level_irq+0x1a/0x50
> Mar 26 16:47:02 firefox kernel: [  105.810009]  [<f8bd3799>] ?
> rtai_lxrt_invoke+0x59/0x180 [rtai_lxrt]
> Mar 26 16:47:02 firefox kernel: [  105.810018]  [<f8adddb2>] ?
> rtai_syscall_dispatcher+0x22/0x100 [rtai_hal]
> Mar 26 16:47:02 firefox kernel: [  105.810023]  [<f8adc02c>] ?
> rtai_uvec_handler+0x2c/0x50 [rtai_hal]
> Mar 26 16:47:02 firefox kernel: [  105.820134] BUG: Unhandled
> exception over domain RTAI at 0xc1001d8a - switching to ROOT
> Mar 26 16:47:02 firefox kernel: [  105.820199] Pid: 37, comm:
> md0_raid1 Not tainted 2.6.32.11-rtai #8
> Mar 26 16:47:02 firefox kernel: [  105.820202] Call Trace:
> Mar 26 16:47:02 firefox kernel: [  105.820219]  [<c1019119>]
> __ipipe_handle_exception+0x219/0x220
> Mar 26 16:47:02 firefox kernel: [  105.820224]  [<c1001d8a>] ?
> __switch_to+0x3a/0x180
> Mar 26 16:47:02 firefox kernel: [  105.820231]  [<c12d30b4>]
> error_code+0x70/0x80
> Mar 26 16:47:03 firefox kernel: [  105.820234]  [<c1001d8a>] ?
> __switch_to+0x3a/0x180
> Mar 26 16:47:03 firefox kernel: [  105.820241]  [<c1022c20>]
> context_switch+0xd0/0x2a0
> Mar 26 16:47:03 firefox kernel: [  105.820251]  [<f8adcff5>] ?
> rtai_hirq_dispatcher+0x295/0x2c0 [rtai_hal]
> Mar 26 16:47:03 firefox kernel: [  105.820256]  [<c10037b1>] ?
> common_interrupt+0x31/0x40
> Mar 26 16:47:03 firefox kernel: [  105.820272]  [<f8bd0714>] ?
> rt_schedule+0x84/0x810 [rtai_lxrt]
> Mar 26 16:47:03 firefox kernel: [  105.820280]  [<f8bd5550>] ?
> rt_sleep+0x210/0x230 [rtai_lxrt]
> Mar 26 16:47:03 firefox kernel: [  105.820287]  [<f8bd29c7>] ?
> handle_lxrt_request+0xb7/0xe30 [rtai_lxrt]
> Mar 26 16:47:03 firefox kernel: [  105.820292]  [<c1006254>] ?
> mask_and_ack_8259A+0x64/0x110
> Mar 26 16:47:03 firefox kernel: [  105.820297]  [<c109b673>] ?
> mlock_fixup+0x63/0x190
> Mar 26 16:47:03 firefox kernel: [  105.820301]  [<c12d1502>] ?
> wait_for_completion+0x12/0x20
> Mar 26 16:47:03 firefox kernel: [  105.820307]  [<f8bd5440>] ?
> rt_sleep+0x100/0x230 [rtai_lxrt]
> Mar 26 16:47:03 firefox kernel: [  105.820312]  [<c107261a>] ?
> __ipipe_ack_level_irq+0x1a/0x50
> Mar 26 16:47:03 firefox kernel: [  105.820319]  [<f8bd3799>] ?
> rtai_lxrt_invoke+0x59/0x180 [rtai_lxrt]
> Mar 26 16:47:04 firefox kernel: [  105.820324]  [<f8adddb2>] ?
> rtai_syscall_dispatcher+0x22/0x100 [rtai_hal]
> Mar 26 16:47:04 firefox kernel: [  105.820328]  [<f8adc02c>] ?
> rtai_uvec_handler+0x2c/0x50 [rtai_hal]
> Mar 26 16:47:04 firefox kernel: [  105.827233] BUG: Unhandled
> exception over domain RTAI at 0xc1001d8a - switching to ROOT
> Mar 26 16:47:04 firefox kernel: [  105.827298] Pid: 535, comm: sed Not
> tainted 2.6.32.11-rtai #8
> Mar 26 16:47:04 firefox kernel: [  105.827301] Call Trace:
> Mar 26 16:47:04 firefox kernel: [  105.827319]  [<c1019119>]
> __ipipe_handle_exception+0x219/0x220
> Mar 26 16:47:04 firefox kernel: [  105.827323]  [<c1001d8a>] ?
> __switch_to+0x3a/0x180
> Mar 26 16:47:04 firefox kernel: [  105.827331]  [<c12d30b4>]
> error_code+0x70/0x80
> Mar 26 16:47:04 firefox kernel: [  105.827334]  [<c1001d8a>] ?
> __switch_to+0x3a/0x180
> Mar 26 16:47:04 firefox kernel: [  105.827340]  [<c1022c20>]
> context_switch+0xd0/0x2a0
> Mar 26 16:47:04 firefox kernel: [  105.827345]  [<c10037b1>] ?
> common_interrupt+0x31/0x40
> Mar 26 16:47:04 firefox kernel: [  105.827362]  [<f8bd0714>] ?
> rt_schedule+0x84/0x810 [rtai_lxrt]
> Mar 26 16:47:04 firefox kernel: [  105.827370]  [<f8bd5550>] ?
> rt_sleep+0x210/0x230 [rtai_lxrt]
> Mar 26 16:47:04 firefox kernel: [  105.827376]  [<f8bd29c7>] ?
> handle_lxrt_request+0xb7/0xe30 [rtai_lxrt]
> Mar 26 16:47:04 firefox kernel: [  105.827382]  [<c1006254>] ?
> mask_and_ack_8259A+0x64/0x110
> Mar 26 16:47:04 firefox kernel: [  105.827387]  [<c109b673>] ?
> mlock_fixup+0x63/0x190
> Mar 26 16:47:05 firefox kernel: [  105.827390]  [<c12d1502>] ?
> wait_for_completion+0x12/0x20
> Mar 26 16:47:05 firefox kernel: [  105.827397]  [<f8bd5440>] ?
> rt_sleep+0x100/0x230 [rtai_lxrt]
> Mar 26 16:47:05 firefox kernel: [  105.827401]  [<c107261a>] ?
> __ipipe_ack_level_irq+0x1a/0x50
> Mar 26 16:47:05 firefox kernel: [  105.827408]  [<f8bd3799>] ?
> rtai_lxrt_invoke+0x59/0x180 [rtai_lxrt]
> Mar 26 16:47:05 firefox kernel: [  105.827417]  [<f8adddb2>] ?
> rtai_syscall_dispatcher+0x22/0x100 [rtai_hal]
> Mar 26 16:47:05 firefox kernel: [  105.827421]  [<f8adc02c>] ?
> rtai_uvec_handler+0x2c/0x50 [rtai_hal]
> Mar 26 16:47:05 firefox kernel: [  105.829529] BUG: Unhandled
> exception over domain RTAI at 0xc1001d8a - switching to ROOT
> Mar 26 16:47:05 firefox kernel: [  105.829586] Pid: 535, comm: sed Not
> tainted 2.6.32.11-rtai #8
> Mar 26 16:47:05 firefox kernel: [  105.829588] Call Trace:
> Mar 26 16:47:05 firefox kernel: [  105.829594]  [<c1019119>]
> __ipipe_handle_exception+0x219/0x220
> Mar 26 16:47:05 firefox kernel: [  105.829597]  [<c1001d8a>] ?
> __switch_to+0x3a/0x180
> Mar 26 16:47:05 firefox kernel: [  105.829601]  [<c12d30b4>]
> error_code+0x70/0x80
> Mar 26 16:47:05 firefox kernel: [  105.829604]  [<c1001d8a>] ?
> __switch_to+0x3a/0x180
> Mar 26 16:47:05 firefox kernel: [  105.829608]  [<c1022c20>]
> context_switch+0xd0/0x2a0
> Mar 26 16:47:05 firefox kernel: [  105.829612]  [<c10037b1>] ?
> common_interrupt+0x31/0x40
> Mar 26 16:47:05 firefox kernel: [  105.829620]  [<f8bd0714>] ?
> rt_schedule+0x84/0x810 [rtai_lxrt]
> Mar 26 16:47:05 firefox kernel: [  105.829627]  [<f8bd5550>] ?
> rt_sleep+0x210/0x230 [rtai_lxrt]
> Mar 26 16:47:06 firefox kernel: [  105.829633]  [<f8bd29c7>] ?
> handle_lxrt_request+0xb7/0xe30 [rtai_lxrt]
> Mar 26 16:47:06 firefox kernel: [  105.829637]  [<c1006254>] ?
> mask_and_ack_8259A+0x64/0x110
> Mar 26 16:47:06 firefox kernel: [  105.829641]  [<c109b673>] ?
> mlock_fixup+0x63/0x190
> Mar 26 16:47:06 firefox kernel: [  105.829644]  [<c12d1502>] ?
> wait_for_completion+0x12/0x20
> Mar 26 16:47:06 firefox kernel: [  105.829650]  [<f8bd5440>] ?
> rt_sleep+0x100/0x230 [rtai_lxrt]
> Mar 26 16:47:06 firefox kernel: [  105.829654]  [<c107261a>] ?
> __ipipe_ack_level_irq+0x1a/0x50
> Mar 26 16:47:06 firefox kernel: [  105.829660]  [<f8bd3799>] ?
> rtai_lxrt_invoke+0x59/0x180 [rtai_lxrt]
> Mar 26 16:47:06 firefox kernel: [  105.829667]  [<f8adddb2>] ?
> rtai_syscall_dispatcher+0x22/0x100 [rtai_hal]
> Mar 26 16:47:06 firefox kernel: [  105.829671]  [<f8adc02c>] ?
> rtai_uvec_handler+0x2c/0x50 [rtai_hal]
> Mar 26 16:47:06 firefox kernel: [  105.862632] BUG: Unhandled
> exception over domain RTAI at 0xc1001d8a - switching to ROOT
> Mar 26 16:47:06 firefox kernel: [  105.862694] Pid: 539, comm: cut Not
> tainted 2.6.32.11-rtai #8
> Mar 26 16:47:06 firefox kernel: [  105.862696] Call Trace:
> Mar 26 16:47:06 firefox kernel: [  105.862713]  [<c1019119>]
> __ipipe_handle_exception+0x219/0x220
> Mar 26 16:47:06 firefox kernel: [  105.862718]  [<c1001d8a>] ?
> __switch_to+0x3a/0x180
> Mar 26 16:47:06 firefox kernel: [  105.862726]  [<c12d30b4>]
> error_code+0x70/0x80
> Mar 26 16:47:06 firefox kernel: [  105.862729]  [<c1001d8a>] ?
> __switch_to+0x3a/0x180
> Mar 26 16:47:06 firefox kernel: [  105.862735]  [<c1022c20>]
> context_switch+0xd0/0x2a0
> Mar 26 16:47:07 firefox kernel: [  105.862740]  [<c10037b1>] ?
> common_interrupt+0x31/0x40
> Mar 26 16:47:07 firefox kernel: [  105.862757]  [<f8bd0714>] ?
> rt_schedule+0x84/0x810 [rtai_lxrt]
> Mar 26 16:47:07 firefox kernel: [  105.862765]  [<f8bd5550>] ?
> rt_sleep+0x210/0x230 [rtai_lxrt]
> Mar 26 16:47:07 firefox kernel: [  105.862771]  [<f8bd29c7>] ?
> handle_lxrt_request+0xb7/0xe30 [rtai_lxrt]
> Mar 26 16:47:07 firefox kernel: [  105.862777]  [<c1006254>] ?
> mask_and_ack_8259A+0x64/0x110
> Mar 26 16:47:07 firefox kernel: [  105.862782]  [<c109b673>] ?
> mlock_fixup+0x63/0x190
> Mar 26 16:47:07 firefox kernel: [  105.862785]  [<c12d1502>] ?
> wait_for_completion+0x12/0x20
> Mar 26 16:47:07 firefox kernel: [  105.862792]  [<f8bd5440>] ?
> rt_sleep+0x100/0x230 [rtai_lxrt]
> Mar 26 16:47:07 firefox kernel: [  105.862796]  [<c107261a>] ?
> __ipipe_ack_level_irq+0x1a/0x50
> Mar 26 16:47:07 firefox kernel: [  105.862803]  [<f8bd3799>] ?
> rtai_lxrt_invoke+0x59/0x180 [rtai_lxrt]
> Mar 26 16:47:07 firefox kernel: [  105.862812]  [<f8adddb2>] ?
> rtai_syscall_dispatcher+0x22/0x100 [rtai_hal]
> Mar 26 16:47:07 firefox kernel: [  105.862816]  [<f8adc02c>] ?
> rtai_uvec_handler+0x2c/0x50 [rtai_hal]
> Mar 26 16:47:07 firefox kernel: [  105.865035] BUG: Unhandled
> exception over domain RTAI at 0xc1001d8a - switching to ROOT
> Mar 26 16:47:07 firefox kernel: [  105.865100] Pid: 542, comm: cut Not
> tainted 2.6.32.11-rtai #8
> Mar 26 16:47:07 firefox kernel: [  105.865102] Call Trace:
> Mar 26 16:47:07 firefox kernel: [  105.865119]  [<c1019119>]
> __ipipe_handle_exception+0x219/0x220
> Mar 26 16:47:07 firefox kernel: [  105.865123]  [<c1001d8a>] ?
> __switch_to+0x3a/0x180
> Mar 26 16:47:08 firefox kernel: [  105.865130]  [<c12d30b4>]
> error_code+0x70/0x80
> Mar 26 16:47:08 firefox kernel: [  105.865133]  [<c1001d8a>] ?
> __switch_to+0x3a/0x180
> Mar 26 16:47:08 firefox kernel: [  105.865140]  [<c1022c20>]
> context_switch+0xd0/0x2a0
> Mar 26 16:47:08 firefox kernel: [  105.865144]  [<c10037b1>] ?
> common_interrupt+0x31/0x40
> Mar 26 16:47:08 firefox kernel: [  105.865160]  [<f8bd0714>] ?
> rt_schedule+0x84/0x810 [rtai_lxrt]
> Mar 26 16:47:08 firefox kernel: [  105.865169]  [<f8bd5550>] ?
> rt_sleep+0x210/0x230 [rtai_lxrt]
> Mar 26 16:47:08 firefox kernel: [  105.865175]  [<f8bd29c7>] ?
> handle_lxrt_request+0xb7/0xe30 [rtai_lxrt]
> Mar 26 16:47:08 firefox kernel: [  105.865180]  [<c1006254>] ?
> mask_and_ack_8259A+0x64/0x110
> Mar 26 16:47:08 firefox kernel: [  105.865185]  [<c109b673>] ?
> mlock_fixup+0x63/0x190
> Mar 26 16:47:08 firefox kernel: [  105.865189]  [<c12d1502>] ?
> wait_for_completion+0x12/0x20
> Mar 26 16:47:08 firefox kernel: [  105.865195]  [<f8bd5440>] ?
> rt_sleep+0x100/0x230 [rtai_lxrt]
> Mar 26 16:47:08 firefox kernel: [  105.865200]  [<c107261a>] ?
> __ipipe_ack_level_irq+0x1a/0x50
> Mar 26 16:47:08 firefox kernel: [  105.865206]  [<f8bd3799>] ?
> rtai_lxrt_invoke+0x59/0x180 [rtai_lxrt]
> Mar 26 16:47:08 firefox kernel: [  105.865215]  [<f8adddb2>] ?
> rtai_syscall_dispatcher+0x22/0x100 [rtai_hal]
> Mar 26 16:47:08 firefox kernel: [  105.865219]  [<f8adc02c>] ?
> rtai_uvec_handler+0x2c/0x50 [rtai_hal]
> Mar 26 16:47:08 firefox kernel: [  106.025259] LXRT releases PID 523
> (ID: latency).
> Mar 26 16:47:08 firefox kernel: [  107.505444] SCHED releases
> registered named ALIEN RTGLBH
> Mar 26 16:47:09 firefox kernel: [  107.594145] RTAI[malloc]: unloaded.
> Mar 26 16:47:09 firefox kernel: [  107.693458] RTAI[sched]: unloaded
> (forced hard/soft/hard transitions: traps 0, syscalls 0).
> Mar 26 16:47:09 firefox kernel: [  107.781766] I-pipe: Domain RTAI unregistered.
> Mar 26 16:47:09 firefox kernel: [  107.781775] RTAI[hal]: unmounted


More information about the Rtai mailing list