Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752215AbZAZPCg (ORCPT ); Mon, 26 Jan 2009 10:02:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751496AbZAZPC2 (ORCPT ); Mon, 26 Jan 2009 10:02:28 -0500 Received: from outbound-sin.frontbridge.com ([207.46.51.80]:33733 "EHLO SG2EHSOBE001.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751454AbZAZPC1 (ORCPT ); Mon, 26 Jan 2009 10:02:27 -0500 X-BigFish: VPS-49(z21eW5c9iz1432R62a3L98dR936eQ4015M1805M1315mzzzzz32i6bh43j66h) X-Spam-TCS-SCL: 5:0 X-WSS-ID: 0KE333D-03-813-01 Date: Mon, 26 Jan 2009 16:02:03 +0100 From: Robert Richter To: hooanon05@yahoo.co.jp CC: linux-kernel@vger.kernel.org, akpm@linux-foundation.org Subject: Re: oprofile? lockdep warning from 2.6.27-rc1-mm1 Message-ID: <20090126150203.GJ21604@erda.amd.com> References: <7045.1217680122@jrobl> <20080805110649.GJ811@erda.amd.com> <9061.1217935746@jrobl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <9061.1217935746@jrobl> User-Agent: Mutt/1.5.16 (2007-06-09) X-OriginalArrivalTime: 26 Jan 2009 15:02:03.0489 (UTC) FILETIME=[0C180510:01C97FC7] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2224 Lines: 66 On 05.08.08 20:29:06, hooanon05@yahoo.co.jp wrote: > > Robert Richter: > > this is new to me. I will take a look at this. > > Thanks. > Here is another message at shutdown time. Junjiro, I reworked the code around this bug and it is upstream in v2.6.29-rc1. Could you test with this version and look if the problem still exists, please? Thanks, -Robert > > > Junjiro R. Okajima > > ---------------------------------------------------------------------- > BUG: sleeping function called from invalid context at /home/jro/transparent/linux-2.6.27-rc1-mm1/kernel/sched.c:4613 > in_atomic():1, irqs_disabled():0 > 1 lock held by oprofiled/1843: > #0: (start_mutex){--..}, at: [] oprofile_shutdown+0xf/0x5a > Pid: 1843, comm: oprofiled Not tainted 2.6.27-rc1-mm1jrousD #1 > [] __might_sleep+0xdf/0x103 > [] wait_for_common+0x1f/0x140 > [] ? sub_preempt_count+0x62/0xb0 > [] ? _spin_unlock_irqrestore+0x53/0x69 > [] wait_for_completion+0x12/0x14 > [] synchronize_rcu+0x2d/0x33 > [] ? wakeme_after_rcu+0x0/0xd > [] atomic_notifier_chain_unregister+0x2b/0x32 > [] unregister_die_notifier+0xf/0x14 > [] nmi_shutdown+0x44/0x84 > [] oprofile_shutdown+0x2c/0x5a > [] event_buffer_release+0x10/0x3c > [] __fput+0xc7/0x1b8 > [] fput+0x22/0x3b > [] filp_close+0x43/0x69 > [] ? exit_files+0x30/0x3c > [] put_files_struct+0xb1/0xd6 > [] exit_files+0x37/0x3c > [] do_exit+0x292/0x909 > [] ? put_lock_stats+0x27/0x3a > [] ? lock_release_holdtime+0x52/0x6b > [] ? sys_munmap+0x3b/0x42 > [] do_group_exit+0x45/0x9d > [] sys_exit_group+0xf/0x11 > [] sysenter_do_call+0x12/0x31 > ======================= > -- Advanced Micro Devices, Inc. Operating System Research Center email: robert.richter@amd.com -- 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/