From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760570AbZAUNKm (ORCPT ); Wed, 21 Jan 2009 08:10:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753691AbZAUNKc (ORCPT ); Wed, 21 Jan 2009 08:10:32 -0500 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.124]:58145 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751902AbZAUNKb (ORCPT ); Wed, 21 Jan 2009 08:10:31 -0500 Date: Wed, 21 Jan 2009 08:10:28 -0500 (EST) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: Lampersperger Andreas cc: LKML , RT Subject: RE: 2.6.24.7-rt26 and 2.6.26.8-rt13 In-Reply-To: Message-ID: References: <1231557759.922.9.camel@localhost.localdomain> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Jan 2009, Lampersperger Andreas wrote: > 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 > [] __might_sleep+0xe5/0xea > [] ftrace_modify_code+0x22/0xa6 > [] ? ftrace_test_p6nop+0x0/0xa > [] __ftrace_update_code+0xed/0x2cf > [] ? ftrace_test_p6nop+0x0/0xa > [] ftrace_convert_nops+0x57/0x73 > [] ftrace_init_module+0x15/0x17 > [] sys_init_module+0x14c9/0x1a7d > [] ? generic_file_aio_read+0x49a/0x4d6 > [] ? sub_preempt_count+0xa2/0xb0 > [] ? strpbrk+0x0/0x2b > [] ? dput+0x34/0xe4 > [] sysenter_past_esp+0x6a/0x99 > ======================= > > Is it not possible to use rt-patches and dynamic tracepoints? No, it should. That is a bug, I'll try to reproduce it, could you send me your config. Thanks, -- Steve