RTAI

Roberto Bucher roberto.bucher at supsi.ch
Tue Oct 5 09:14:24 CEST 2004


I'll forwarding your email to the rtai mailing list. I think we need the 
following informations:

Did you start the examples in the test-suite (for example latency) in user and 
kernel space? What happens with these examples?

Which kernel and patch are you working with?

thanks

Roberto


On Monday 04 October 2004 14:23, you wrote:
> Hello,
>
> if you are wondering why I'm sending this mail directly to you, it's
> because we have trouble with rtai but also with the mailing list. Because
> of the list we already contacted david schleef. When we start the Matlab
> test routine, we always get a kernel oops you can see below. If we start
> xrtailab the problem is nearly the same as you can see at the end of this
> mail. Perhaps you have any idea what's wrong with our installation so we
> can improve it.
>
>
> Sep 29 11:33:02 wema45 kernel: Adeos: Domain RTAI registered.
> Sep 29 11:33:02 wema45 kernel: RTAI[hal]: 3.1-test4 mounted over Adeos
> 2.6r6c4/x86.
> Sep 29 11:33:02 wema45 kernel: RTAI[hal]: compiled with gcc version 3.3.3
> (SuSE Linux).
> Sep 29 11:33:02 wema45 kernel: RTAI[malloc]: loaded (global heap
> size=131072 bytes).
> Sep 29 11:33:02 wema45 kernel: RTAI[sched_lxrt]: loaded.
> Sep 29 11:33:02 wema45 kernel: RTAI[sched_lxrt]: timer=periodic
> (8254-PIT).
> Sep 29 11:33:02 wema45 kernel: RTAI[sched_lxrt]: standard tick=1000 hz,
> CPU freq=1193180 hz.
> Sep 29 11:33:02 wema45 kernel: RTAI[sched_lxrt]: timer setup=1676 ns,
> resched latency=2514 ns.
> Sep 29 11:33:22 wema45 kernel: Unable to handle kernel NULL pointer
> dereference at virtual address 00000000
> Sep 29 11:33:22 wema45 kernel:  printing eip:
> Sep 29 11:33:22 wema45 kernel: d0f66c52
> Sep 29 11:33:22 wema45 kernel: *pde = 00000000
> Sep 29 11:33:22 wema45 kernel: Oops: 0002 [#1]
> Sep 29 11:33:22 wema45 kernel: Modules linked in: rtai_netrpc rtai_msg
> rtai_mbx rtai_sem rtai_fifos rtai_lxrt rtai_hal nls_iso8859_
> 1 edd joydev sg st sd_mod sr_mod scsi_mod ide_cd cdrom nvram usbserial lp
> via_
> agp agpgart parport_pc parport evdev snd_seq_oss snd_pcm_oss snd_mixer_oss
> snd_seq_midi snd_seq_midi_event snd_seq speedstep_lib fr
> eq_table snd_via82xx snd_ac97_codec snd_pcm snd_timer snd_page_alloc
> gameport
> snd_mpu401_uart snd_rawmidi snd_seq_device ipv6 snd soundcore ne2k_pci
> 8390 usbcore nls_utf8 nls_cp437 vfat fat dm_mod
> Sep 29 11:33:22 wema45 kernel: CPU:    0
> Sep 29 11:33:22 wema45 kernel: EIP:    0060:[pg0+279690322/1068838912]
> Not tainted
> Sep 29 11:33:22 wema45 kernel: EIP:    0060:[<d0f66c52>]    Not tainted
> Sep 29 11:33:22 wema45 kernel: EFLAGS: 00213082   (2.6.7-adeos)
> Sep 29 11:33:22 wema45 kernel: EIP is at rt_receive+0xd2/0x340 [rtai_msg]
> Sep 29 11:33:22 wema45 kernel: eax: c834b040   ebx: c8341040   ecx:
> 00000000   edx: c8341040
> Sep 29 11:33:22 wema45 kernel: esi: c8341040   edi: 00000201   ebp:
> 00000000   esp: cb83ff1c
> Sep 29 11:33:22 wema45 kernel: ds: 007b   es: 007b   ss: 0068
> Sep 29 11:33:22 wema45 kernel: Process test (pid: 13301,
> threadinfo=cb83e000 task=c9868dd0)
> Sep 29 11:33:22 wema45 kernel: Stack: c8341420 c8341040 00000201 00000000
> d0f4b0c4 00000000 c8340040 08056af0
> Sep 29 11:33:22 wema45 kernel:        00000000 00000000 00000000 00000000
> 00000000 74756f00 656e696c 00000061
> Sep 29 11:33:22 wema45 kernel:        00203246 c8341040 c8341040 c834141c
> c8341420 d0f4dfa9 c028dd70 00000000
> Sep 29 11:33:22 wema45 kernel: Call Trace:
> Sep 29 11:33:22 wema45 kernel:  [pg0+279576772/1068838912]
> rt_schedule_soft+0x194/0x380 [rtai_lxrt]
> Sep 29 11:33:22 wema45 kernel:  [<d0f4b0c4>] rt_schedule_soft+0x194/0x380
> [rtai_lxrt]
> Sep 29 11:33:22 wema45 kernel:  [pg0+279588777/1068838912]
> rtai_lxrt_invoke+0xb69/0xc00 [rtai_lxrt]
> Sep 29 11:33:22 wema45 kernel:  [<d0f4dfa9>] rtai_lxrt_invoke+0xb69/0xc00
> [rtai_lxrt]
> Sep 29 11:33:22 wema45 kernel:  [write_chan+0/560] write_chan+0x0/0x230
> Sep 29 11:33:22 wema45 kernel:  [<c028dd70>] write_chan+0x0/0x230
> Sep 29 11:33:22 wema45 kernel:  [pg0+279690112/1068838912]
> rt_receive+0x0/0x340 [rtai_msg]
> Sep 29 11:33:22 wema45 kernel:  [<d0f66b80>] rt_receive+0x0/0x340
> [rtai_msg]
> Sep 29 11:33:22 wema45 kernel:  [pg0+279585708/1068838912]
> rtai_lxrt_handler+0x1c/0x50 [rtai_lxrt]
> Sep 29 11:33:22 wema45 kernel:  [<d0f4d3ac>] rtai_lxrt_handler+0x1c/0x50
> [rtai_lxrt]
> Sep 29 11:33:22 wema45 kernel:
> Sep 29 11:33:22 wema45 kernel: Code: 89 45 00 8b 86 84 00 00 00 85 c0 74
> 51 31 db c7 86 84 00 00
> Sep 29 11:33:22 wema45 kernel:  LXRT releases MBX RTS0
> Sep 29 11:33:22 wema45 kernel: LXRT releases SEM HTMRCN
> Sep 29 11:33:22 wema45 kernel: LXRT releases MBX RTM0
> Sep 29 11:36:43 wema45 su: (to root) alinder on /dev/pts/41
> Sep 29 11:36:43 wema45 su: pam_unix2: session started for user root,
> service su
> Sep 29 11:38:41 wema45 kernel: SCHED releases registered named TASK TMN0
> Sep 29 11:38:41 wema45 kernel: SCHED releases registered named TASK TBR0
> Sep 29 11:38:41 wema45 kernel: RTAI[malloc]: unloaded.
> Sep 29 11:38:41 wema45 kernel: RTAI[sched_lxrt]: unloaded.
> Sep 29 11:38:41 wema45 kernel: Adeos: Domain RTAI unregistered.
> Sep 29 11:38:41 wema45 kernel: RTAI[hal]: unmounted.
>
>
> Sep 29 15:58:14 wema45 kernel: Adeos: Domain RTAI registered.
> Sep 29 15:58:14 wema45 kernel: RTAI[hal]: 3.1-test4 mounted over Adeos
> 2.6r6c4/x86.
> Sep 29 15:58:14 wema45 kernel: RTAI[hal]: compiled with gcc version 3.3.3
> (SuSE Linux).
> Sep 29 15:58:14 wema45 kernel: RTAI[malloc]: loaded (global heap
> size=131072 bytes).
> Sep 29 15:58:14 wema45 kernel: RTAI[sched_lxrt]: loaded.
> Sep 29 15:58:14 wema45 kernel: RTAI[sched_lxrt]: timer=periodic
> (8254-PIT).
> Sep 29 15:58:14 wema45 kernel: RTAI[sched_lxrt]: standard tick=1000 hz,
> CPU freq=1193180 hz.
> Sep 29 15:58:14 wema45 kernel: RTAI[sched_lxrt]: timer setup=1676 ns,
> resched latency=2514 ns.
> Sep 29 15:58:38 wema45 kernel: Unable to handle kernel paging request at
> virtual address 0804c050
> Sep 29 15:58:38 wema45 kernel:  printing eip:
> Sep 29 15:58:38 wema45 kernel: d0f65daa
> Sep 29 15:58:38 wema45 kernel: *pde = 0fb3b067
> Sep 29 15:58:38 wema45 kernel: Oops: 0003 [#1]
> Sep 29 15:58:38 wema45 kernel: Modules linked in: rtai_netrpc rtai_msg
> rtai_mbx rtai_sem rtai_fifos rtai_lxrt rtai_hal edd joydev s
> g st sd_mod sr_mod scsi_mod ide_cd cdrom nvram usbserial lp via_agp
> agpgart parport_pc parport evdev snd_seq_oss snd_pcm_oss snd_mi
> xer_oss snd_seq_midi snd_seq_midi_event snd_seq speedstep_lib snd_via82xx
> freq_table ipv6 snd_ac97_codec snd_pcm snd_timer snd_page
> _alloc gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore
> usbcore ne2k_pci 8390 nls_utf8 nls_cp437 vfat fat dm_mod
> Sep 29 15:58:38 wema45 kernel: CPU:    0
> Sep 29 15:58:38 wema45 kernel: EIP:    0060:[pg0+279686570/1068838912]
> Not tainted
> Sep 29 15:58:38 wema45 kernel: EIP:    0060:[<d0f65daa>]    Not tainted
> Sep 29 15:58:38 wema45 kernel: EFLAGS: 00210046   (2.6.7-adeos)
> Sep 29 15:58:38 wema45 kernel: EIP is at rt_receive+0x22a/0x340 [rtai_msg]
> Sep 29 15:58:38 wema45 kernel: eax: 4080afc8   ebx: c3721840   ecx:
> 00000000   edx: c37210a8
> Sep 29 15:58:38 wema45 kernel: esi: c3721040   edi: 00000201   ebp:
> 0804c050   esp: cbf57f1c
> Sep 29 15:58:38 wema45 kernel: ds: 007b   es: 007b   ss: 0068
> Sep 29 15:58:38 wema45 kernel: Process xrtailab (pid: 11020,
> threadinfo=cbf56000 task=c7c2e740)
> Sep 29 15:58:38 wema45 kernel: Stack: c3721420 c3721040 00000201 00000000
> d0f4a0c4 00000000 c3720040 bffff1e8
> Sep 29 15:58:38 wema45 kernel:        0804c09e 0807cca0 00000001 0804c050
> 00000000 58dc778a cd4b4dd4 00000063
> Sep 29 15:58:38 wema45 kernel:        00200246 c3721040 c3721040 c372141c
> c3721420 d0f4cfa9 05d80073 00000000
> Sep 29 15:58:38 wema45 kernel: Call Trace:
> Sep 29 15:58:38 wema45 kernel:  [pg0+279572676/1068838912]
> rt_schedule_soft+0x194/0x380 [rtai_lxrt]
> Sep 29 15:58:38 wema45 kernel:  [<d0f4a0c4>] rt_schedule_soft+0x194/0x380
> [rtai_lxrt]
> Sep 29 15:58:38 wema45 kernel:  [pg0+279584681/1068838912]
> rtai_lxrt_invoke+0xb69/0xc00 [rtai_lxrt]
> Sep 29 15:58:38 wema45 kernel:  [<d0f4cfa9>] rtai_lxrt_invoke+0xb69/0xc00
> [rtai_lxrt]
> Sep 29 15:58:38 wema45 kernel:  [pg0+279686016/1068838912]
> rt_receive+0x0/0x340 [rtai_msg]
> Sep 29 15:58:38 wema45 kernel:  [<d0f65b80>] rt_receive+0x0/0x340
> [rtai_msg]
> Sep 29 15:58:38 wema45 kernel:  [pg0+279581612/1068838912]
> rtai_lxrt_handler+0x1c/0x50 [rtai_lxrt]
> Sep 29 15:58:38 wema45 kernel:  [<d0f4c3ac>] rtai_lxrt_handler+0x1c/0x50
> [rtai_lxrt]
> Sep 29 15:58:38 wema45 kernel:
> Sep 29 15:58:38 wema45 kernel: Code: 89 45 00 89 5e 70 8b 43 0c a8 10 74
> 7d 8b 43 0c 89 5b 70 48
> Sep 29 15:58:49 wema45 kernel:  SCHED releases registered named TASK RLGM0
> Sep 29 15:58:49 wema45 kernel: RTAI[malloc]: unloaded.
> Sep 29 15:58:49 wema45 kernel: RTAI[sched_lxrt]: unloaded.
> Sep 29 15:58:49 wema45 kernel: Adeos: Domain RTAI unregistered.
> Sep 29 15:58:49 wema45 kernel: RTAI[hal]: unmounted.
>
>
> Thanks in advance
> Lars Busch

-- 
University of Applied Sciences
of Southern Switzerland
Dept CS & EE
http://www.dti.supsi.ch/~bucher





More information about the Rtai mailing list