Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422672AbWHEAbt (ORCPT ); Fri, 4 Aug 2006 20:31:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422673AbWHEAbt (ORCPT ); Fri, 4 Aug 2006 20:31:49 -0400 Received: from mx1.redhat.com ([66.187.233.31]:11957 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S1422672AbWHEAbs (ORCPT ); Fri, 4 Aug 2006 20:31:48 -0400 Date: Fri, 4 Aug 2006 20:31:42 -0400 From: Dave Jones To: Linus Torvalds , Michal Piotrowski , Dave Jones , LKML Subject: Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug() Message-ID: <20060805003142.GH18792@redhat.com> Mail-Followup-To: Dave Jones , Linus Torvalds , Michal Piotrowski , Dave Jones , LKML References: <6bffcb0e0608041204u4dad7cd6rab0abc3eca6747c0@mail.gmail.com> <20060804222400.GC18792@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060804222400.GC18792@redhat.com> User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2856 Lines: 81 On Fri, Aug 04, 2006 at 06:24:00PM -0400, Dave Jones wrote: > > DaveJ, any ideas? > > So I'm at a loss to explain why this made this bug suddenly appear, but > I don't think this is anything new. Fixing it however... > I'm looking at it, but I don't see anything obvious yet. Ok, debugging this is getting ridiculous. I dug out a core duo, built a kernel and watched it spontaneously reboot before it even got to init. Digging out a serial cable yielded this gem: Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 1020104k/1047108k available (2082k kernel code, 26324k reserved, 1107k data, 240k init, 129604k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. ============================================= [ INFO: possible recursive locking detected ] --------------------------------------------- swapper/0 is trying to acquire lock: (cpu_bitmask_lock){--..}, at: [] mutex_lock+0x21/0x24 but task is already holding lock: (cpu_bitmask_lock){--..}, at: [] mutex_lock+0x21/0x24 other info that might help us debug this: 1 lock held by swapper/0: #0: (cpu_bitmask_lock){--..}, at: [] mutex_lock+0x21/0x24 stack backtrace: [] show_trace_log_lvl+0x58/0x152 [] show_trace+0xd/0x10 [] dump_stack+0x19/0x1b [] __lock_acquire+0x74f/0x96d [] lock_acquire+0x4b/0x6d [] __mutex_lock_slowpath+0xb0/0x1f6 [] mutex_lock+0x21/0x24 [] lock_cpu_hotplug+0x4a/0x4c [] kmem_cache_create+0x61/0x577 [] kmem_cache_init+0x177/0x38c [] start_kernel+0x221/0x3b3 [] 0xc0100210 DWARF2 unwinder stuck at 0xc0100210 Leftover inexact backtrace: ======================= ======================= ======================= bad: scheduling from the idle thread! [] show_trace_log_lvl+0x58/0x152 [] show_trace+0xd/0x10 [] dump_stack+0x19/0x1b [] schedule+0xa6/0x9d3 [] __mutex_lock_slowpath+0x110/0x1f6 [] mutex_lock+0x21/0x24 [] lock_cpu_hotplug+0x4a/0x4c [] kmem_cache_create+0x61/0x577 [] kmem_cache_init+0x177/0x38c [] start_kernel+0x221/0x3b3 [] 0xc0100210 DWARF2 unwinder stuck at 0xc0100210 Leftover inexact backtrace: ======================= ======================= ======================= Waaaay before cpufreq even enters the picture. Sigh. Dave -- http://www.codemonkey.org.uk - 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/