Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758174AbXJANWa (ORCPT ); Mon, 1 Oct 2007 09:22:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756442AbXJANWO (ORCPT ); Mon, 1 Oct 2007 09:22:14 -0400 Received: from pne-smtpout4-sn1.fre.skanova.net ([81.228.11.168]:38290 "EHLO pne-smtpout4-sn1.fre.skanova.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758116AbXJANWM (ORCPT ); Mon, 1 Oct 2007 09:22:12 -0400 Date: Mon, 1 Oct 2007 16:22:09 +0300 From: Sami Farin To: Linux kernel Mailing List Cc: Ingo Molnar Subject: Re: 2.6.22.6 + oprofile oops Message-ID: <20071001132209.2opuueap4nih2img@m.safari.iki.fi> Mail-Followup-To: Linux kernel Mailing List , Ingo Molnar References: <20070922112335.4wqatiewgeiottty@m.safari.iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-09-19) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2740 Lines: 51 On Mon, Oct 01, 2007 at 12:29:18 +0200, Andi Kleen wrote: > Sami Farin writes: ... > Can you reproduce it with a non tainted kernel without any patches like CFS applied? I tried without CFS and it Oopsed just as nicely, the only difference was that in call trace before :oprofile:wq_sync_buffer there's now cache_reap. Call Trace: [] get_task_mm+0x18/0x50 [] :oprofile:sync_buffer+0xf4/0x450 [] :oprofile:wq_sync_buffer+0x0/0x60 [] :oprofile:wq_sync_buffer+0x33/0x60 [] cache_reap+0x0/0x130 [] run_workqueue+0x89/0x120 [] worker_thread+0xc7/0x130 [] autoremove_wake_function+0x0/0x40 [] worker_thread+0x0/0x130 [] kthread+0x4d/0x80 [] child_rip+0xa/0x12 [] kthread+0x0/0x80 [] child_rip+0x0/0x12 > The oops happens because oprofile tries to reference a NULL task in > its event buffer for a context switch, which might well be a minor > merging mistake or similar in the CFS backport. ... > > 2007-09-22 13:53:32.527385634 <4>[ 3372.390442] Call Trace: > > 2007-09-22 13:53:32.527390314 <4>[ 3372.390457] [] get_task_mm+0x18/0x60 > > 2007-09-22 13:53:32.527391990 <4>[ 3372.390484] [] :oprofile:sync_buffer+0xf4/0x480 > > 2007-09-22 13:53:32.527393666 <4>[ 3372.390544] [] :oprofile:wq_sync_buffer+0x0/0x60 > > 2007-09-22 13:53:32.527399673 <4>[ 3372.390576] [] :oprofile:wq_sync_buffer+0x33/0x60 > > 2007-09-22 13:53:32.527401419 <4>[ 3372.390602] [] run_workqueue+0xcd/0x170 > > 2007-09-22 13:53:32.527406238 <4>[ 3372.390635] [] worker_thread+0xb3/0x120 > > 2007-09-22 13:53:32.527421324 <4>[ 3372.390652] [] autoremove_wake_function+0x0/0x40 > > 2007-09-22 13:53:32.527423140 <4>[ 3372.390684] [] worker_thread+0x0/0x120 > > 2007-09-22 13:53:32.527424816 <4>[ 3372.390697] [] kthread+0x4d/0x80 > > 2007-09-22 13:53:32.527426423 <4>[ 3372.390730] [] child_rip+0xa/0x12 > > 2007-09-22 13:53:32.527428099 <4>[ 3372.390810] [] kthread+0x0/0x80 > > 2007-09-22 13:53:32.527444931 <4>[ 3372.390822] [] child_rip+0x0/0x12 -- Do what you love because life is too short for anything else. - 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/