From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IsejJ-0000Yv-8c for qemu-devel@nongnu.org; Thu, 15 Nov 2007 08:26:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IsejG-0000V6-KX for qemu-devel@nongnu.org; Thu, 15 Nov 2007 08:26:00 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IsejF-0000UK-Rh for qemu-devel@nongnu.org; Thu, 15 Nov 2007 08:25:58 -0500 Received: from qmta07.westchester.pa.mail.comcast.net ([76.96.62.64]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IsejC-0008WC-MQ for qemu-devel@nongnu.org; Thu, 15 Nov 2007 08:25:55 -0500 Received: from stuffed.lan (stuffed.lan [192.168.0.129]) by server.lan (8.14.1/8.13.8) with ESMTP id lAFDPYRo012427 for ; Thu, 15 Nov 2007 08:25:34 -0500 From: Paul Moore MIME-Version: 1.0 Content-Disposition: inline Date: Thu, 15 Nov 2007 08:25:33 -0500 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200711150825.33880.pcmoore@engin.umich.edu> Subject: [Qemu-devel] Guest OS kernel panic when using '-kernel-kqemu' Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I'm currently running into a problem when running recent Linux kernels as a guest under QEMU with KQEMU kernel acceleration. My problem is that early in the boot process the guest kernel panics, the host OS appears to be unaffected. The panic can be different depending on the guest Linux distribution/kernel but the panic is repeatable and consistent. In all cases, removing the '-kernel-kqemu' flag and only making use of userspace acceleration appears to solve the problem. Using both the QEMU monitor and the linux lsmod reference count I have verified that KQEMU is being used by QEMU. For reference, the host OS is a Gentoo 2007.0 x86 system with the Gentoo Linux kernel 2.6.23-r1, QEMU 0.9.0 and KQEMU 1.3.0_pre11; greater detail can be found in the Gentoo bug report[1]. I have also noticed this on other Gentoo based systems as well. I am able to reproduce this on a regular basis using the Fedora 8 install DVD and the following command line: # qemu -m 256 -kernel-kqemu -cdrom Fedora-8-i386-DVD.iso -boot d f8.img However, using a sample image[2] and the following command line I do not see any problems: # qemu -m 256 -kernel-kqemu linux-0.2.img Any assistance or pointers to a solution would be greatly appreciated. If there is anything I can do to help track down the problem further please let me know. Thanks, -Paul [1] http://bugs.gentoo.org/show_bug.cgi?id=199151 [2] http://fabrice.bellard.free.fr/qemu/linux-0.2.img.bz2