Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757921AbYHHSqc (ORCPT ); Fri, 8 Aug 2008 14:46:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751185AbYHHSqX (ORCPT ); Fri, 8 Aug 2008 14:46:23 -0400 Received: from yx-out-2324.google.com ([74.125.44.29]:55882 "EHLO yx-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751008AbYHHSqW (ORCPT ); Fri, 8 Aug 2008 14:46:22 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=tlAvp09Jk4wF05ZYqeCmEWG4zYB6SYVMHGHwkBfRAn/k/mCd1b70h+6FOeR76qpRjx f6EkqnWEEUjUENvY5Dl532YNt6P7sOZ0YHC0chLnCvQJ58+DyKrQ+t5hmfTtSMXZPduG kdZvSjeaWgLUUK/tHAJVCuaFV23UKxRwCz9GI= Message-ID: <19f34abd0808081146w22a3e5casd0d1fa15f2384000@mail.gmail.com> Date: Fri, 8 Aug 2008 20:46:21 +0200 From: "Vegard Nossum" To: paulmck@linux.vnet.ibm.com Subject: Re: recent -git: BUG in free_thread_xstate Cc: "Suresh Siddha" , LKML , "the arch/x86 maintainers" In-Reply-To: <20080801211036.GU14851@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <19f34abd0807231307y191c0ad7tfab4cda57ee88eb@mail.gmail.com> <20080723203109.GH14380@linux-os.sc.intel.com> <20080801211036.GU14851@linux.vnet.ibm.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2158 Lines: 61 On Fri, Aug 1, 2008 at 11:10 PM, Paul E. McKenney wrote: > On Wed, Jul 23, 2008 at 01:31:09PM -0700, Suresh Siddha wrote: >> On Wed, Jul 23, 2008 at 01:07:04PM -0700, Vegard Nossum wrote: >> > Hi, >> > >> > I just got this on c010b2f76c3032e48097a6eef291d8593d5d79a6 (-git from >> > yesterday): >> >> Do you see this in 2.6.26 aswell? I suspect it is coming from post 2.6.26 >> changes. >> >> > >> > BUG: unable to handle kernel paging request at 00664381 >> > IP: [] free_thread_xstate+0x4/0x30 >> ... >> >> > EIP is at arch/x86/kernel/process.c:36: >> > >> > if (tsk->thread.xstate) { >> > >> >> It looks like the kernel stack of that process got corrupted, corrupting the >> task pointer in thread_info. Can you send us your config file? > > I would also like to see the config file. Hi, I'm sorry for the late reply. I copied you because I saw some RCU entry in the stack trace, but it is almost definitely not a problem with (core or "leaf") RCU code. Sometimes it also happens that people will say "oh, I recognize this problem, the patch has been posted here and here", etc. It seems to be a problem with either netpoll, netconsole, or the 8139too driver. I find a UDP packet in the task_struct slab, and the stacktrace with RCU entries come from unrelated, unfortunate callbacks that stumbled upon the corruption. My config, if you are still interested, can be found here: http://userweb.kernel.org/~vegard/bugs/20080724-fork/config I don't know if the problem persists with the latest -git, it is now a while since I last tested, but I've checked kernels back to 2.6.20, so the problem has existed for a long time. Vegard -- "The animistic metaphor of the bug that maliciously sneaked in while the programmer was not looking is intellectually dishonest as it disguises that the error is the programmer's own creation." -- E. W. Dijkstra, EWD1036 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/