Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756538AbZF2JNS (ORCPT ); Mon, 29 Jun 2009 05:13:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753783AbZF2JNF (ORCPT ); Mon, 29 Jun 2009 05:13:05 -0400 Received: from mail-pz0-f188.google.com ([209.85.222.188]:43343 "EHLO mail-pz0-f188.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753215AbZF2JND (ORCPT ); Mon, 29 Jun 2009 05:13:03 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=IEsdFaevLcnKMpGkAnQg6nqJ1ZGI5f7WxPQsyvqfdkz/Z1C71PxJvqnaDfC58DQBsm xOLCfexkwCHfC4d1GxybiNsybe98RQzQLDb1E8I3gjwmI9zfq8dAQKpJ2bZfbBf8GNPT p+N5snmd1FpuWgBzU5mPdkLhXpa987ZeVinS4= Date: Mon, 29 Jun 2009 17:15:08 +0800 From: Amerigo Wang To: Joao Correia Cc: =?utf-8?Q?Am=C3=A9rico?= Wang , linux-kernel@vger.kernel.org Subject: Re: Crashes during boot on 2.6.30 / 2.6.31-rc, random programs Message-ID: <20090629091508.GA6308@cr0.nay.redhat.com> References: <2375c9f90906281908k7aa089a3v932dd368d572194b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1898 Lines: 54 On Mon, Jun 29, 2009 at 09:53:41AM +0100, Joao Correia wrote: >Hello > >Well, it doesnt complain about MAX_STACK_TRACE_ENTRIES anymore, but >now it gives me: > >BUG: MAX_LOCK_DEPTH too low! >turning off the locking correctness validator. >Pid: 1672, comm: qemu-kvm Not tainted 2.6.30-wl #2 >Call Trace: > [] ? printk+0x22/0x3b > [] __lock_acquire+0xa77/0xb05 > [] lock_acquire+0xb7/0xeb > [] ? mm_take_all_locks+0xb3/0xf1 > [] ? mm_take_all_locks+0xb3/0xf1 > [] _spin_lock_nest_lock+0x30/0x71 > [] ? mm_take_all_locks+0xb3/0xf1 > [] mm_take_all_locks+0xb3/0xf1 > [] do_mmu_notifier_register+0x9f/0x14e > [] mmu_notifier_register+0x1e/0x31 > [] kvm_dev_ioctl+0xfd/0x25d [kvm] > [] ? kvm_dev_ioctl+0x0/0x25d [kvm] > [] vfs_ioctl+0x29/0x91 > [] do_vfs_ioctl+0x496/0x4e3 > [] ? do_page_fault+0x229/0x26a > [] ? sched_clock+0x9/0xd > [] ? lock_release_holdtime+0x39/0x143 > [] ? do_page_fault+0x229/0x26a > [] sys_ioctl+0x55/0x86 > [] sysenter_do_call+0x12/0x38 > >which looks like its younger brother :-). (Also appears on other >programs, not just qemu-kvm) Hmmm.. also known. :) > >Should i increase its value too? Am i not just masking something else >by doing this? Just try to modify your sysctl.conf file, on Fedora it should be /etc/sysctl.conf, try to double the value of /proc/sys/kernel/max_lock_depth. If this doesn't work, try to increase the value of 'max_lock_depth' in the kernel source. :) I think Peter will have a patch to fix this. -- 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/