From: Thomas Gleixner Subject: Re: Problem with 2.6.31-rt11 + iptables on shutdown Date: Wed, 30 Sep 2009 15:33:43 +0200 (CEST) Message-ID: References: <20090930131054.GM3466@uudg.org> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: linux-rt-users To: "Luis Claudio R. Goncalves" Return-path: Received: from www.tglx.de ([62.245.132.106]:40221 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754469AbZI3Ndu (ORCPT ); Wed, 30 Sep 2009 09:33:50 -0400 In-Reply-To: <20090930131054.GM3466@uudg.org> Sender: linux-rt-users-owner@vger.kernel.org List-ID: On Wed, 30 Sep 2009, Luis Claudio R. Goncalves wrote: > Hello, > > This is apparently a new manifestation of the same issue I have been chasing > for quite a while and have been failing in a very shameful way to fix. In > the original issue, whenever I run deluge (bit torrent client) at > SCHED_FIFO, I got the error message below and system would freeze / panic > during shutdown: > > ================================================ > [ BUG: lock held when returning to user space! ] > ------------------------------------------------ > deluged/3035 is leaving the kernel with locks still held! > 1 lock held by deluged/3035: > #0: (&lock->lock){......}, at: [] ipt_do_table+0x10c/0x5f3 [ip_tables] Yikes. Can you please decode the code line for ffffffffa02ae965 ? Does the bug happen with function tracer enabled ? If yes, enable ftrace_dump_on_oops hook up a serial console and capture the dump. > BUG: unable to handle kernel paging request at 0000001e316060fe > IP: [] plist_add+0x54/0xba The list is corrupted. Looks like we look at stale data. ftrace output might help there as well. Thanks, tglx