From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751108AbWHZK2h (ORCPT ); Sat, 26 Aug 2006 06:28:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751363AbWHZK2h (ORCPT ); Sat, 26 Aug 2006 06:28:37 -0400 Received: from adsl-69-232-92-238.dsl.sndg02.pacbell.net ([69.232.92.238]:31369 "EHLO gnuppy.monkey.org") by vger.kernel.org with ESMTP id S1751108AbWHZK2h (ORCPT ); Sat, 26 Aug 2006 06:28:37 -0400 Date: Sat, 26 Aug 2006 03:28:25 -0700 To: Robert Crocombe Cc: Esben Nielsen , Ingo Molnar , Thomas Gleixner , rostedt@goodmis.org, linux-kernel , "Bill Huey (hui)" Subject: Re: rtmutex assert failure (was [Patch] restore the RCU callback...) Message-ID: <20060826102825.GA7769@gnuppy.monkey.org> References: <20060822013722.GA628@gnuppy.monkey.org> <20060822232051.GA8991@gnuppy.monkey.org> <20060823202046.GA17267@gnuppy.monkey.org> <20060823210558.GA17606@gnuppy.monkey.org> <20060823210842.GB17606@gnuppy.monkey.org> <20060824014658.GB19314@gnuppy.monkey.org> <20060825071957.GA30720@gnuppy.monkey.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11+cvs20060403 From: Bill Huey (hui) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 25, 2006 at 06:24:29PM -0700, Robert Crocombe wrote: > On 8/25/06, hui Bill Huey wrote: > > http://mmlinux.sourceforge.net/public/against-2.6.17-rt8-2.diff > BUG: scheduling while atomic: make/0x00000001/14632 > > Call Trace: > {plist_check_head+60} > {__schedule+155} > {task_blocks_on_rt_mutex+643} > {__mod_page_state_offset+25} > {find_task_by_pid_type+24} > {__mod_page_state_offset+25} > {schedule+236} > {rt_lock_slowlock+416} > {rt_lock+13} > {__mod_page_state_offset+25} > {__free_pages_ok+336} > {__free_pages+47} > {free_pages+128} > {free_task+26} > {__put_task_struct+182} > {thread_return+163} > {schedule+236} > {pipe_wait+111} > {autoremove_wake_function+0} > {rt_mutex_lock+50} > {pipe_readv+785} > {rt_lock_slowunlock+98} > {__lock_text_start+9} > {pipe_read+30} > {vfs_read+171} > {sys_read+71} > {system_call+126} > --------------------------- > | preempt count: 00000001 ] > | 1-level deep critical section nesting: > ---------------------------------------- > .. [] .... __schedule+0xb3/0x57b > .....[] .. ( <= schedule+0xec/0x11a) Things like this make me wonder if you're even appying the patch correctly. The occurance of free_task() and friends should be completely gone. All of those scheduling in atomics should be flat out kernel panics and the kernel should immediately stop. I'll look at it again to see if missed a compile options or something, but this is really odd cause it should stop the kernel dead in its tracks. bill