From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759070AbZDIVKc (ORCPT ); Thu, 9 Apr 2009 17:10:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754590AbZDIVKW (ORCPT ); Thu, 9 Apr 2009 17:10:22 -0400 Received: from relay6.ptmail.sapo.pt ([212.55.154.26]:35342 "HELO sapo.pt" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with SMTP id S1752433AbZDIVKV (ORCPT ); Thu, 9 Apr 2009 17:10:21 -0400 X-AntiVirus: PTMail-AV 0.3-0.92.0 Date: Thu, 9 Apr 2009 22:07:38 +0100 From: Luis Henriques To: Avi Kivity Cc: Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org Subject: Problem with kvm on -tip Message-ID: <20090409210738.GA4566@hades.domain.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Hi, Since I am not sure if this problem has already been reported, here it goes. My log gets the following messages in -tip tree. I don't know for how long this issue is around and whether the problem is on lockdep or on kvm. After the first lockdep message, I get a huge amount of BUGs from kvm (which stop only when I kill kvm). So, I believe issue is on kvm. I am running on an AMD64. Please let me know if more info is needed (config, etc). [ 3293.134688] BUG: MAX_LOCK_DEPTH too low! [ 3293.134704] turning off the locking correctness validator. [ 3293.134718] Pid: 5117, comm: kvm Not tainted 2.6.30-rc1-tip-01420-g58e70a8 #18 [ 3293.134727] Call Trace: [ 3293.134749] [] __lock_acquire+0x4c6/0xbf0 [ 3293.134764] [] lock_acquire+0x10e/0x160 [ 3293.134780] [] ? mm_take_all_locks+0x110/0x150 [ 3293.134798] [] _spin_lock_nest_lock+0x3b/0x50 [ 3293.134811] [] ? mm_take_all_locks+0x110/0x150 [ 3293.134823] [] mm_take_all_locks+0x110/0x150 [ 3293.134838] [] do_mmu_notifier_register+0xdf/0x1f0 [ 3293.134852] [] mmu_notifier_register+0x13/0x20 [ 3293.134899] [] kvm_dev_ioctl+0x1ae/0x360 [kvm] [ 3293.134914] [] vfs_ioctl+0x36/0xb0 [ 3293.134927] [] do_vfs_ioctl+0x92/0x5c0 [ 3293.134942] [] ? up_read+0x2b/0x40 [ 3293.134955] [] sys_ioctl+0x4f/0x80 [ 3293.134971] [] system_call_fastpath+0x16/0x1b request [ 3297.598606] BUG: using smp_processor_id() in preemptible [00000000] code: kvm/5118 [ 3297.598630] caller is kvm_arch_vcpu_ioctl_run+0x61c/0xd10 [kvm] [ 3297.598635] Pid: 5118, comm: kvm Not tainted 2.6.30-rc1-tip-01420-g58e70a8 #18 [ 3297.598638] Call Trace: [ 3297.598647] [] debug_smp_processor_id+0xe3/0xf0 [ 3297.598660] [] kvm_arch_vcpu_ioctl_run+0x61c/0xd10 [kvm] [ 3297.598667] [] ? file_update_time+0xc7/0x130 [ 3297.598672] [] ? do_wp_page+0x1eb/0x7e0 [ 3297.598684] [] kvm_vcpu_ioctl+0x4b3/0x8f0 [kvm] [ 3297.598691] [] ? trace_hardirqs_on_thunk+0x3a/0x3f [ 3297.598696] [] ? do_IRQ+0x95/0x100 [ 3297.598702] [] ? irq_exit+0x8a/0xc0 [ 3297.598707] [] vfs_ioctl+0x36/0xb0 [ 3297.598712] [] do_vfs_ioctl+0x92/0x5c0 [ 3297.598716] [] sys_ioctl+0x4f/0x80 [ 3297.598723] [] system_call_fastpath+0x16/0x1b