From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: kvm-67: kernel panic while booting debian-40r3-i386-businesscard.iso Date: Mon, 28 Apr 2008 22:06:37 +0200 Message-ID: <20080428200637.GA22789@8bytes.org> References: <1209401422.30950.27.camel@polaris> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net To: Jan Luebbe Return-path: Content-Disposition: inline In-Reply-To: <1209401422.30950.27.camel@polaris> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org On Mon, Apr 28, 2008 at 06:50:22PM +0200, Jan Luebbe wrote: > Hi! > > I'm preparing kvm-67 for debian. While testing i noticed a problem: > > When booting the debian installer from the official CD [1] this problem: > > CPU: L1 I cache: 32K, L1 D cache: 32K > CPU: L2 cache: 2048K > Compat vDSO mapped to ffffe000. > CPU: Intel QEMU Virtual CPU version 0.9.1 stepping 03 > Checking 'hlt' instruction... OK. > ACPI: Core revision 20060707 > invalid opcode: 0000 [#1] > Modules linked in: > CPU: 0 > EIP: 0060:[] Not tainted VLI > EFLAGS: 00010202 (2.6.18-6-486 #1) > EIP is at kmem_cache_zalloc+0x2a/0x53 > eax: 0000000a ebx: c7fe75c0 ecx: c7fe9e00 edx: 000000d0 > esi: c02c50c0 edi: 00000202 ebp: c036bd20 esp: c030ff80 > ds: 007b es: 007b ss: 0068 > Process swapper (pid: 0, ti=c030e000 task=c02bd7a0 task.ti=c030e000) > Stack: 00000004 c028f968 c029c49a c0146d5b 00000004 00000000 00000014 > c029c499 > 00000046 c030ffc4 00000046 00000046 00000000 00000000 00039100 > c0302800 > 003a7007 c01c7e90 00000000 00000000 00000000 c01db3b5 c0378ce8 > c01dcf07 > Call Trace: > [] kmem_cache_create+0x15e/0x410 > [] acpi_os_create_cache+0x10/0x1c > [] acpi_ut_create_caches+0x19/0x93 > [] acpi_ut_init_globals+0x5/0x1de > [] acpi_initialize_subsystem+0x1b/0x56 > [] acpi_early_init+0x45/0xfe > [] start_kernel+0x26b/0x272 > Code: c3 57 56 53 89 c6 9c 5f fa 8b 08 83 39 00 74 12 c7 41 0c 01 00 00 > 00 8b 01 > 48 89 01 8b 5c 81 10 eb 07 e8 a5 fb ff ff 89 c3 57 9d <0f> 0d 0b 90 85 > db 74 1b > 8b 56 10 31 c0 89 d1 c1 e9 02 89 df f3 > EIP: [] kmem_cache_zalloc+0x2a/0x53 SS:ESP 0068:c030ff80 > <0>Kernel panic - not syncing: Attempted to kill the idle task! I tried to reproduce this on an AMD system with no success. But when looking into the code of kmem_cache_zalloc this looks like a guest state corruption. The guest disables interrupts and the hypervisor reenables them which triggers the BUG() macro. Maybe kvmtrace can give a hint which intercept causes this. Joerg ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone