Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764365AbYBMP1J (ORCPT ); Wed, 13 Feb 2008 10:27:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755003AbYBMP04 (ORCPT ); Wed, 13 Feb 2008 10:26:56 -0500 Received: from twin.jikos.cz ([213.151.79.26]:34887 "EHLO twin.jikos.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754836AbYBMP04 (ORCPT ); Wed, 13 Feb 2008 10:26:56 -0500 Date: Wed, 13 Feb 2008 16:24:53 +0100 (CET) From: Jiri Kosina X-X-Sender: jikos@twin.jikos.cz To: Zdenek Kabelac cc: linux-kernel@vger.kernel.org, Marcelo Tosatti Subject: Re: Qemu & KVM bug In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 892 Lines: 23 On Wed, 13 Feb 2008, Zdenek Kabelac wrote: > I get this bug in my log whenever I start qemu-kvm - I do not use kqemu > module - so it's with plain kernel modules. If more details are needed - > just ask. (Cpu; C2D) > BUG: sleeping function called from invalid context at kernel/rwsem.c:48 > in_atomic():1, irqs_disabled():0 > INFO: lockdep is turned off. > Pid: 26600, comm: qemu-kvm Not tainted 2.6.25-rc1 #29 This has been obviously caused by Marcelo's (added to CC) commit 10589a4699b, which added down_write(mmap_sem) to alloc_apic_access_page(), which is called with preempt disabled from vmx_create_vcpu(). -- Jiri Kosina SUSE Labs -- 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/