RE: 2.6.24.7-rt26 and 2.6.26.8-rt13

From: Lampersperger Andreas
Date: Wed Jan 21 2009 - 07:43:43 EST


Hi,

I'm using kernel 2.6.26.8-rt13 with CONFIG_DYNAMIC_FTRACE=y set.
When loading a kernel object the following message appear:

BUG: sleeping function called from invalid context insmod(1370) at include/asm/uaccess_32.h:560
in_atomic():0 [00000000], irqs_disabled():1
Pid: 1370, comm: insmod Not tainted 2.6.26.8-rt13-heros5 #8
[<c011e13e>] __might_sleep+0xe5/0xea
[<c011439a>] ftrace_modify_code+0x22/0xa6
[<c0114364>] ? ftrace_test_p6nop+0x0/0xa
[<c0162fb4>] __ftrace_update_code+0xed/0x2cf
[<c0114364>] ? ftrace_test_p6nop+0x0/0xa
[<c0163730>] ftrace_convert_nops+0x57/0x73
[<c0163761>] ftrace_init_module+0x15/0x17
[<c01491da>] sys_init_module+0x14c9/0x1a7d
[<c016d89d>] ? generic_file_aio_read+0x49a/0x4d6
[<c0311ef9>] ? sub_preempt_count+0xa2/0xb0
[<c02180c4>] ? strpbrk+0x0/0x2b
[<c019b7b9>] ? dput+0x34/0xe4
[<c0104b31>] sysenter_past_esp+0x6a/0x99
=======================

Is it not possible to use rt-patches and dynamic tracepoints?

-Andreas

-------------------------------------------------------------------------------------------------------
Registergericht: Traunstein / Registry Court: HRB 275 â Sitz / Head Office: Traunreut
Aufsichtsratsvorsitzender / Chairman of Supervisory Board: Rainer Burkhard
GeschÃftsfÃhrung / Management Board: Thomas Sesselmann (Vorsitzender / Chairman),
Michael Grimm, Matthias Fauser

E-Mail Haftungsausschluss / E-Mail Disclaimer: http://www.heidenhain.de/disclaimer