[fusion] userspace POSIX skin

Jan Kiszka kiszka at rts.uni-hannover.de
Fri Jun 17 20:00:50 CEST 2005


Jan Kiszka schrieb:
> Philippe Gerum wrote:
> 
>> ...
>>
>>> Now, with fusion release 0.8 and kernel 2.6.11.12-adeos-r11c1, I even 
>>> get a fatal lock-up after "Hit ^C ...". Normal fusion latency tests 
>>> and other stuff seems to run flawlessly.
>>>
>>> Any ideas where to search?
>>>
>>
>> If it's a hard lockup, nmi_watchdog=2 lapic=1 would help us getting a 
>> backtrace, hopefully.
>>
> 
> I just checked this on a different system without getting in troubles. I 
> also noticed (as a did a clean check-out) that accuracy_rt is not 
> automatically (re-)build. I suspect now that I used an older build of 
> the demo with the recent fusion core on my test system at home. Will 
> check this again this evening.
> 

Ok, pure noise. I solved the issue by cleanly recompiling accuracy_rt. 
All lights green now. :)

However, the dual-skin unloading bug remains, and it is independent of 
the order rtai_posix and rtai_native gets loaded and unloaded. After 
unloading the last skin, I get this dump:

Jun 17 21:50:16 marvin kernel: RTAI: Intel chipset found, enabling SMI 
workaround.
Jun 17 21:50:16 marvin kernel: Adeos: Domain RTAI registered.
Jun 17 21:50:16 marvin kernel: RTAI: hal/x86 loaded.
Jun 17 21:50:20 marvin kernel: Adeos: Domain IShield registered.
Jun 17 21:50:20 marvin kernel: RTAI: fusion core v0.8 (Time Machine) 
started.
Jun 17 21:50:22 marvin kernel: RTAI: starting native API services.
Jun 17 21:50:25 marvin kernel: RTAI: starting POSIX services.
Jun 17 21:50:32 marvin kernel: RTAI: stopping POSIX services.
Jun 17 21:50:39 marvin kernel: RTAI: stopping native API services.
Jun 17 21:50:39 marvin kernel: Unable to handle kernel NULL pointer 
dereference at virtual address 000006f4
Jun 17 21:50:39 marvin kernel:  printing eip:
Jun 17 21:50:39 marvin kernel: d10980c0
Jun 17 21:50:39 marvin kernel: *pde = 00000000
Jun 17 21:50:39 marvin kernel: Oops: 0000 [#1]
Jun 17 21:50:39 marvin kernel: Modules linked in: rtai_native 
rtai_nucleus rtai_hal joydev sg st sr_mod ndiswrapper snd_seq_oss 
snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss 
snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd soundcore 
snd_page_alloc e100 mii ipt_TOS ipt_MASQUERADE ipt_LOG ehci_hcd 
ipt_TCPMSS ipt_state uhci_hcd evdev usbcore ip6t_LOG ip6table_mangle 
ipt_REJECT iptable_mangle iptable_filter ip_nat_ftp iptable_nat 
ip_conntrack_ftp ip_conntrack ip_tables ip6table_filter ip6_tables ipv6 
nls_cp437 vfat fat nls_iso8859_15 ntfs ide_cd cdrom ide_floppy piix reiserfs
Jun 17 21:50:39 marvin kernel: CPU:    0
Jun 17 21:50:39 marvin kernel: EIP:    0060:[<d10980c0>]    Tainted: P 
     VLI
Jun 17 21:50:39 marvin kernel: EFLAGS: 00010002   (2.6.11.12-adeos)
Jun 17 21:50:39 marvin kernel: EIP is at xnpod_remove_hook+0xc0/0x190 
[rtai_nucleus]
Jun 17 21:50:39 marvin kernel: eax: 00000000   ebx: 000006f4   ecx: 
c031d00c   edx: 00000003
Jun 17 21:50:39 marvin kernel: esi: d10c21a0   edi: 00000000   ebp: 
d0f301a8   esp: cd58ff24
Jun 17 21:50:39 marvin kernel: ds: 007b   es: 007b   ss: 0068
Jun 17 21:50:39 marvin kernel: Process rmmod (pid: 12512, 
threadinfo=cd58e000 task=cc0bb060)
Jun 17 21:50:39 marvin kernel: Stack: c03bd1c7 00000246 00000000 
00000000 d10d5740 00000000 cd58e000 d10c22c5
Jun 17 21:50:39 marvin kernel:        00000003 d10c21a0 d10c203f 
d10cf954 d10c2180 d10c219b 00000000 c012819e
Jun 17 21:50:39 marvin kernel:        d10d5740 00000880 cd58ff70 
00000000 69617472 74616e5f 00657669 00000020
Jun 17 21:50:39 marvin kernel: Call Trace:
Jun 17 21:50:39 marvin kernel:  [<d10c22c5>] 
__task_pkg_cleanup+0x35/0x40 [rtai_native]
Jun 17 21:50:39 marvin kernel:  [<d10c21a0>] __task_delete_hook+0x0/0xd0 
[rtai_native]
Jun 17 21:50:39 marvin kernel:  [<d10c203f>] rtai_shutdown+0x3f/0x60 
[rtai_native]
Jun 17 21:50:39 marvin kernel:  [<d10c2180>] __fusion_skin_exit+0x0/0x20 
[rtai_native]
Jun 17 21:50:39 marvin kernel:  [<d10c219b>] 
__fusion_skin_exit+0x1b/0x20 [rtai_native]
Jun 17 21:50:39 marvin kernel:  [<c012819e>] sys_delete_module+0x16e/0x180
Jun 17 21:50:39 marvin kernel:  [<c0125c96>] __adeos_handle_event+0xf6/0x140
Jun 17 21:50:39 marvin kernel:  [<c0102575>] sysenter_past_esp+0x66/0x73
Jun 17 21:50:39 marvin kernel: Code: 8b 6c 24 18 83 c4 1c c3 8d 76 00 83 
fa 03 75 bb 8b 1d 80 4d 0a d1 81 c3 f4 06 00 00 eb 0d 90 90 90 90 90 90 
90 90 90 90 90 90 90 <8b> 0b 31 c0 39 d9 74 02 89 c8 85 c0 89 c1 75 15 
eb 8e 8b 11 31

Jan




More information about the Rtai mailing list