[Bug 505] New: RTAI causes Oops when doing not real-time thing in real-time thread

For more infomation about this bug, visit
Summary: RTAI causes Oops when doing not real-time thing in real-
time thread
Product: RTT
Version: 1.4.0
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: Operating System Abstraction - Portability
AssignedTo: orocos-dev [..] ...
ReportedBy: peter [dot] soetens [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

The setup is Linux 2.6.19.7 + rtai 3.5 UP, PREEMPT, NO_HIGHMEM.
When we execute an Orocos script with not real-time commands (like 'do
Reporter.start()') in a real-time LXRT thread, this causes a segfault + kernel
OOPS and kills that thread.
I'm not sure Orocos can do something about this and if it is caused by the
kernel config or not, but it is certainly nasty. This is the syslog trace:

LXRT CHANGED MODE (TRAP), PID = 4419, VEC = 14, SIGNO = 11.

LXRT CHANGED MODE (SYSCALL), PID = 4419, SYSCALL = 5.
------------[ cut here ]------------
kernel BUG at fs/buffer.c:1233!
invalid opcode: 0000 [#1]
PREEMPT
Modules linked in: rtai_comedi(F) ni_660x kcomedilib(F) rtai_shm(F)
rtai_sem(F) rtai_lxrt(F) nfs lockd nfs_acl sunrpc ext2 dm_mod loo
p ni_6527 comedi(F) mite(F) rtai_hal(F) intel_agp agpgart pcspkr evdev reiserfs
piix 8139too mii ata_piix libata scsi_mod ehci_hcd e10
00 uhci_hcd usbcore ide_cd cdrom
CPU: 0
EIP: 0060:[] Tainted: GF VLI
EFLAGS: 00013246 (2.6.19.7-rtai-ipipe-1.7-01 #1)
EIP is at lookup_bh_lru+0xc8/0xd5
eax: 00000000 ebx: dfbae680 ecx: ef969dd4 edx: dfe4de00
esi: 00278170 edi: 00001000 ebp: 00000000 esp: ef969bd4
ds: 007b es: 007b ss: 0068
Process cdeployer-lxrt (pid: 4419, ti=ef968000 task=ef93b550 task.ti=ef968000)
Stack: 00001000 00278170 dfbae680 00278170 c0192435 dfbae680 00278170 00001000
00001000 00278170 dfbae680 c019249d dfbae680 00278170 00001000 ef969de4
00000388 ef969dec f898021c dfbae680 00278170 00001000 00000001 00000001
Call Trace:
[] __find_get_block+0x2b/0x68
[] __getblk+0x2b/0x51
[] search_by_key+0xb7/0xd1a [reiserfs]
[] tcp_ack+0x371/0x389
[] kmem_cache_free+0x56/0xdc
[] kfree+0x2a/0xcd
[] kfree_skbmem+0x4b/0x7e
[] tcp_rcv_established+0x4bb/0x732
[] tcp_v4_do_rcv+0xd7/0xd9
[] tcp_v4_rcv+0x863/0x9d3
[] ip_local_deliver+0x65/0x229
[] ip_rcv+0x1fa/0x470
[] search_for_position_by_key+0x7b/0x39a [reiserfs]
[] netif_receive_skb+0x1ca/0x221
[] process_backlog+0x101/0x10b
[] make_cpu_key+0x59/0x65 [reiserfs]
[] reiserfs_check_for_tail_and_convert+0xe7/0x21a [reiserfs]
[] reiserfs_file_write+0x0/0x799 [reiserfs]
[] reiserfs_file_write+0x184/0x799 [reiserfs]
[] context_switch+0xb4/0x214
[] find_get_page+0x43/0x96
[] filemap_nopage+0x3cc/0x492
[] context_switch+0xb4/0x214
[] do_no_page+0x1d1/0x338
[] rt_schedule+0x35f/0x7f4 [rtai_lxrt]
[] __handle_mm_fault+0x312/0x35f
[] atomic_notifier_call_chain+0x2c/0x7c
[] do_page_fault+0x446/0x64e
[] reiserfs_file_write+0x0/0x799 [reiserfs]
[] vfs_write+0xa8/0x147
[] sys_write+0x51/0x80
[] sysenter_past_esp+0x65/0x69
[] rtai_uvec_handler+0x7/0x2f [rtai_hal]
=======================
Code: e0 ff ff 83 40 14 01 eb 8b 89 e0 25 00 e0 ff ff 83 68 14 01 eb d3 89 e0
25 00 e0 ff ff 8b 40 08 a8 08 74 d1 e8 75 f6 11 00 eb c
a <0f> 0b d1 04 07 6d 2c c0 e9 50 ff ff ff 83 ec 18 89 74 24 10 89
EIP: [] lookup_bh_lru+0xc8/0xd5 SS:ESP 0068:ef969bd4

Christian Louboutin

It is named Christian Louboutin for the reason that man who create Christian Louboutin shoes. At the same time, it's helpful to reduce the risk of injury for the player. If you think your feet should be protected well during the strenuous exercise, the Christian Louboutin Pumps are the right choice for you. There are many Cheap Christian Louboutin Heels from our shop. If you want to learn more informations of those Christian Louboutin Boots, please visite our website http://www.louboutinshopsale.com/. Are you looking for a comfortable shoes? We are ready for you to give you great discount Christian Louboutin Sandals and best service.

[Bug 505] RTAI causes Oops when doing not real-time thing in rea

For more infomation about this bug, visit

Peter Soetens
<peter [dot] soetens [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED

--- Comment #1 from Peter Soetens
<peter [dot] soetens [..] ...> 2008-03-21 11:21:33 ---
This bug disappeared by switching to RTAI 3.6. Please upgrade your systems to
RTAI 3.6 in case you experience instability.

ugg shoes

If you are looking for a pair of pretty UGG Boots, you shouldn't miss this chance for purchasing UGG Classic Cardy Boots this season in our shop. Ugg Bailey Button would give people such a deep impression. UGG Classic Short Boots appreciate it not only by the high quality with steady innovations but also by its stylish designs. There is no doubt that it could go well with you casual outfits. There are many kinds of UGG Classic Tall Boots for different ages and tastes online. So pick up your own UGG Sandals now.