Package: linux-2.6 Version: 2.6.32-8 Severity: normal After installing linux-image-2.6.32-2-amd64 (version 2.6.32-8) on the *host*, some linux *guest* kernels oops in kvm_leave_lazy_mmu on boot. Tested guest kernels that fail are linux-image-2.6.30-2-amd64 (2.6.30-8squeeze1), linux- image-2.6.32-trunk-amd64 (2.6.32-5), linux-image-2.6.32-2-amd64 (2.6.32-8), linux-image-2.6.32-3-amd64 (2.6.32-9). However linux-image-2.6.26-2-amd64 from stable (version 2.6.26-21lenny3) boots ok.
After rebooting the host back to linux-image-2.6.32-trunk-amd64 (2.6.32-5) guest kernels boot normally. Ubuntu seems to have similar bug report: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/531823 Kernel logs from guest are attached. KVM version is qemu-kvm 0.11.1+dfsg-1 -- Vadim Solomin
Loading Linux 2.6.32-3-amd64 ... Loading initial ramdisk ... [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.32-3-amd64 (Debian 2.6.32-9) (m...@debian.org) (gcc version 4.3.4 (Debian 4.3.4-8) ) #1 SMP Wed Feb 24 18:07:42 UTC 2010 [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-3-amd64 root=UUID=ba75fa3b-56f7-4d29-a88c-56681927c7e5 ro rootflags=acl console=tty0 console=ttyS0,115200n8 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Centaur CentaurHauls [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f000 (usable) [ 0.000000] BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 000000006fff0000 (usable) [ 0.000000] BIOS-e820: 000000006fff0000 - 0000000070000000 (ACPI data) [ 0.000000] BIOS-e820: 00000000fffbc000 - 0000000100000000 (reserved) [ 0.000000] DMI 2.4 present. [ 0.000000] last_pfn = 0x6fff0 max_arch_pfn = 0x400000000 [ 0.000000] x86 PAT enabled: cpu 0, old 0x0, new 0x7010600070106 [ 0.000000] init_memory_mapping: 0000000000000000-000000006fff0000 [ 0.000000] RAMDISK: 37651000 - 37fef99e [ 0.000000] ACPI: RSDP 00000000000fbdb0 00014 (v00 QEMU ) [ 0.000000] ACPI: RSDT 000000006fff0000 00034 (v01 QEMU QEMURSDT 00000001 QEMU 00000001) [ 0.000000] ACPI: FACP 000000006fff01b4 00074 (v01 QEMU QEMUFACP 00000001 QEMU 00000001) [ 0.000000] ACPI: DSDT 000000006fff0280 01DD4 (v01 BXPC BXDSDT 00000001 INTL 20090521) [ 0.000000] ACPI: FACS 000000006fff0240 00040 [ 0.000000] ACPI: SSDT 000000006fff2054 009E3 (v01 BXPC BXSSDT 00000001 INTL 20090521) [ 0.000000] ACPI: APIC 000000006fff2a38 000EA (v01 QEMU QEMUAPIC 00000001 QEMU 00000001) [ 0.000000] ACPI: HPET 000000006fff2b90 00038 (v01 QEMU QEMUHPET 00000001 QEMU 00000001) [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at 0000000000000000-000000006fff0000 [ 0.000000] Bootmem setup node 0 0000000000000000-000000006fff0000 [ 0.000000] NODE_DATA [000000000000a000 - 0000000000011fff] [ 0.000000] bootmap [0000000000012000 - 000000000001ffff] pages e [ 0.000000] (7 early reservations) ==> bootmem [0000000000 - 006fff0000] [ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] [ 0.000000] #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000] [ 0.000000] #2 [0001000000 - 000166aa14] TEXT DATA BSS ==> [0001000000 - 000166aa14] [ 0.000000] #3 [0037651000 - 0037fef99e] RAMDISK ==> [0037651000 - 0037fef99e] [ 0.000000] #4 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 - 0000100000] [ 0.000000] #5 [000166b000 - 000166b065] BRK ==> [000166b000 - 000166b065] [ 0.000000] #6 [0000008000 - 000000a000] PGTABLE ==> [0000008000 - 000000a000] [ 0.000000] found SMP MP-table at [ffff8800000fbc90] fbc90 [ 0.000000] kvm-clock: cpu 0, msr 0:14d9541, boot clock [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000000 -> 0x00001000 [ 0.000000] DMA32 0x00001000 -> 0x00100000 [ 0.000000] Normal 0x00100000 -> 0x00100000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[2] active PFN ranges [ 0.000000] 0: 0x00000000 -> 0x0000009f [ 0.000000] 0: 0x00000100 -> 0x0006fff0 [ 0.000000] ACPI: PM-Timer IO Port: 0xb008 [ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x04] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x05] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x06] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x07] lapic_id[0x07] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x08] lapic_id[0x08] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x09] lapic_id[0x09] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x0a] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x0b] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x0c] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x0d] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x0e] disabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x0f] lapic_id[0x0f] disabled) [ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) [ 0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000 [ 0.000000] SMP: Allowing 16 CPUs, 15 hotplug CPUs [ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e8000 [ 0.000000] PM: Registered nosave memory: 00000000000e8000 - 0000000000100000 [ 0.000000] Allocating PCI resources starting at 70000000 (gap: 70000000:8ffbc000) [ 0.000000] Booting paravirtualized kernel on KVM [ 0.000000] NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:16 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 29 pages/cpu @ffff880001800000 s89880 r8192 d20712 u131072 [ 0.000000] pcpu-alloc: s89880 r8192 d20712 u131072 alloc=1*2097152 [ 0.000000] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 [ 0.000000] kvm-clock: cpu 0, msr 0:1815541, primary cpu clock [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 452266 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-3-amd64 root=UUID=ba75fa3b-56f7-4d29-a88c-56681927c7e5 ro rootflags=acl console=tty0 console=ttyS0,115200n8 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Initializing CPU#0 [ 0.000000] Checking aperture... [ 0.000000] No AGP bridge found [ 0.000000] Memory: 1789320k/1834944k available (3014k kernel code, 388k absent, 45236k reserved, 1860k data, 580k init) [ 0.000000] SLUB: Genslabs=14, HWalign=64, Order=0-3, MinObjects=0, CPUs=16, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:4352 nr_irqs:536 [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] console [tty0] enabled [ 0.000000] console [ttyS0] enabled [ 0.000000] HPET: 3 timers in total, 0 timers will be used for per-cpu timer [ 0.000000] Detected 2813.046 MHz processor. [ 0.028001] Calibrating delay loop (skipped) preset value.. 5626.09 BogoMIPS (lpj=11252184) [ 0.028001] Security Framework initialized [ 0.028027] SELinux: Disabled at boot. [ 0.032660] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.037619] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.040054] Mount-cache hash table entries: 256 [ 0.041405] Initializing cgroup subsys ns [ 0.042074] Initializing cgroup subsys cpuacct [ 0.042867] Initializing cgroup subsys devices [ 0.043588] Initializing cgroup subsys freezer [ 0.044015] Initializing cgroup subsys net_cls [ 0.044856] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) [ 0.046012] CPU: L2 Cache: 512K (64 bytes/line) [ 0.046744] CPU 0/0x0 -> Node 0 [ 0.047268] mce: CPU supports 10 MCE banks [ 0.048104] Performance Events: AMD PMU driver. [ 0.048923] ... version: 0 [ 0.049614] ... bit width: 48 [ 0.050274] ... generic registers: 4 [ 0.050920] ... value mask: 0000ffffffffffff [ 0.052005] ... max period: 00007fffffffffff [ 0.052853] ... fixed-purpose events: 0 [ 0.053517] ... event mask: 000000000000000f [ 0.054410] SMP alternatives: switching to UP code [ 0.182511] ACPI: Core revision 20090903 [ 0.184585] Setting APIC routing to flat [ 0.186867] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.187900] CPU0: AMD QEMU Virtual CPU version 0.11.1 stepping 03 [ 0.192001] Brought up 1 CPUs [ 0.192001] Total of 1 processors activated (5626.09 BogoMIPS). [ 0.192001] devtmpfs: initialized [ 0.194256] regulator: core version 0.5 [ 0.195067] NET: Registered protocol family 16 [ 0.196098] ACPI: bus type pci registered [ 0.196959] PCI: Using configuration type 1 for base access [ 0.198602] bio: create slab <bio-0> at 0 [ 0.201565] ACPI: Interpreter enabled [ 0.202202] ACPI: (supports S0 S3 S4 S5) [ 0.202967] ACPI: Using IOAPIC for interrupt routing [ 0.206818] ACPI: No dock devices found. [ 0.207516] ACPI: PCI Root Bridge [PCI0] (0000:00) [ 0.209909] pci 0000:00:01.3: quirk: region b000-b03f claimed by PIIX4 ACPI [ 0.211180] pci 0000:00:01.3: quirk: region b100-b10f claimed by PIIX4 SMB [ 0.219238] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11) [ 0.220407] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11) [ 0.221551] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11) [ 0.222684] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11) [ 0.224071] vgaarb: loaded [ 0.224714] PCI: Using ACPI for IRQ routing [ 0.225812] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 [ 0.226730] hpet0: 3 comparators, 64-bit 100.000000 MHz counter [ 0.232009] Switching to clocksource kvm-clock [ 0.234436] pnp: PnP ACPI init [ 0.234998] ACPI: bus type pnp registered [ 0.235995] pnp: PnP ACPI: found 6 devices [ 0.236395] ACPI: ACPI bus type pnp unregistered [ 0.242040] NET: Registered protocol family 2 [ 0.243627] IP route cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.252647] TCP established hash table entries: 262144 (order: 10, 4194304 bytes) [ 0.259678] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) [ 0.261994] TCP: Hash tables configured (established 262144 bind 65536) [ 0.263130] TCP reno registered [ 0.264050] NET: Registered protocol family 1 [ 0.264847] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 0.265865] pci 0000:00:01.0: PIIX3: Enabling Passive Release [ 0.266852] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 0.267990] Unpacking initramfs... [ 0.507347] Freeing initrd memory: 9850k freed [ 0.513183] audit: initializing netlink socket (disabled) [ 0.514134] type=2000 audit(1268062689.512:1): initialized [ 0.517876] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.520385] VFS: Disk quotas dquot_6.5.2 [ 0.521143] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.522322] msgmni has been set to 3514 [ 0.523273] alg: No test for stdrng (krng) [ 0.524053] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.525324] io scheduler noop registered [ 0.525996] io scheduler anticipatory registered [ 0.526783] io scheduler deadline registered [ 0.527541] io scheduler cfq registered (default) [ 0.530031] Linux agpgart interface v0.103 [ 0.530740] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.532124] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.533640] 00:05: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.534697] input: Macintosh mouse button emulation as /devices/virtual/input/input0 [ 0.536066] PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12 [ 0.538105] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 0.538953] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 0.539906] mice: PS/2 mouse device common for all mice [ 0.541338] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1 [ 0.543089] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0 [ 0.544273] rtc0: alarms up to one day, 114 bytes nvram, hpet irqs [ 0.545465] cpuidle: using governor ladder [ 0.546168] cpuidle: using governor menu [ 0.546842] No iBFT detected. [ 0.547824] TCP cubic registered [ 0.548588] NET: Registered protocol family 10 [ 0.550579] lo: Disabled Privacy Extensions [ 0.551576] Mobile IPv6 [ 0.552036] NET: Registered protocol family 17 [ 0.552911] registered taskstats version 1 [ 0.554077] rtc_cmos 00:01: setting system clock to 2010-03-08 15:38:09 UTC (1268062689) [ 0.555485] Freeing unused kernel memory: 580k freed [ 0.556794] Write protecting the kernel read-only data: 4144k [ 0.572016] BUG: unable to handle kernel paging request at ffffffff8102c1f1 [ 0.572016] IP: [<ffffffff8102c1f1>] kvm_leave_lazy_mmu+0x54/0x7c [ 0.572016] PGD 1003067 PUD 1007063 PMD 6d329063 PTE 102c161 [ 0.572016] Oops: 0003 [#1] SMP [ 0.572016] last sysfs file: [ 0.572016] CPU 0 [ 0.572016] Modules linked in: [ 0.572016] Pid: 1, comm: init Not tainted 2.6.32-3-amd64 #1 [ 0.572016] RIP: 0010:[<ffffffff8102c1f1>] [<ffffffff8102c1f1>] kvm_leave_lazy_mmu+0x54/0x7c [ 0.572016] RSP: 0018:ffff88006fb5b970 EFLAGS: 00010293 [ 0.572016] RAX: 0000000000000002 RBX: 0000000000000018 RCX: 000000000180e460 [ 0.572016] RDX: 0000000000000000 RSI: ffff880000000001 RDI: ffff88000180e460 [ 0.572016] RBP: ffff88000180e460 R08: 0000000000000000 R09: ffff88006d3582f0 [ 0.572016] R10: 000000000006a47f R11: 0000000000000001 R12: 0000000000000018 [ 0.572016] R13: ffff88000180e460 R14: 0000000000000000 R15: 0000000000000002 [ 0.572016] FS: 0000000000000000(0000) GS:ffff880001800000(0000) knlGS:0000000000000000 [ 0.572016] CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b [ 0.572016] CR2: ffffffff8102c1f1 CR3: 000000006d32d000 CR4: 00000000000006f0 [ 0.572016] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 0.572016] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 0.572016] Process init (pid: 1, threadinfo ffff88006fb5a000, task ffff88006fb60000) [ 0.572016] Stack: [ 0.572016] 00007fffffffe000 8000000001554067 00007ffffffff000 ffff88006d348ff8 [ 0.572016] <0> 00007fff33a77000 ffff88006d34c3b8 00007fffffffe000 ffffffff810d213d [ 0.572016] <0> 0000000000100173 00007ffffffff000 00007fffffffe000 ffff88006d358000 [ 0.572016] Call Trace: [ 0.572016] [<ffffffff810d213d>] ? move_page_tables+0x3ad/0x524 [ 0.572016] [<ffffffff810f2a73>] ? setup_arg_pages+0x198/0x2f3 [ 0.572016] [<ffffffff81124808>] ? load_elf_binary+0x0/0x1958 [ 0.572016] [<ffffffff81124cef>] ? load_elf_binary+0x4e7/0x1958 [ 0.572016] [<ffffffff810ed38d>] ? do_sync_read+0xce/0x113 [ 0.572016] [<ffffffff81064a56>] ? autoremove_wake_function+0x0/0x2e [ 0.572016] [<ffffffff81124808>] ? load_elf_binary+0x0/0x1958 [ 0.572016] [<ffffffff810f1ad6>] ? search_binary_handler+0xb4/0x245 [ 0.572016] [<ffffffff81123244>] ? load_script+0x0/0x1ec [ 0.572016] [<ffffffff81123405>] ? load_script+0x1c1/0x1ec [ 0.572016] [<ffffffff810f16ea>] ? get_arg_page+0x4b/0xa4 [ 0.572016] [<ffffffff810f1ad6>] ? search_binary_handler+0xb4/0x245 [ 0.572016] [<ffffffff810f2f27>] ? do_execve+0x1e8/0x2dc [ 0.572016] [<ffffffff8100f4eb>] ? sys_execve+0x35/0x4c [ 0.572016] [<ffffffff81011c28>] ? kernel_execve+0x68/0xd0 [ 0.572016] [<ffffffff8100a20a>] ? init_post+0x95/0x187 [ 0.572016] [<ffffffff814da6c8>] ? kernel_init+0x1a9/0x1b4 [ 0.572016] [<ffffffff814da140>] ? early_idt_handler+0x0/0x71 [ 0.572016] [<ffffffff81011baa>] ? child_rip+0xa/0x20 [ 0.572016] [<ffffffff814da140>] ? early_idt_handler+0x0/0x71 [ 0.572016] [<ffffffff814da51f>] ? kernel_init+0x0/0x1b4 [ 0.572016] [<ffffffff81011ba0>] ? child_rip+0x0/0x20 [ 0.572016] Code: 00 04 00 00 85 c0 74 3b 41 89 c4 49 89 ed 41 bf 02 00 00 00 45 31 f6 4c 89 ef 44 89 e3 e8 44 9d 00 00 4c 89 f2 48 89 c1 44 89 f8 <0f> 01 c1 48 63 d0 49 01 d5 41 29 c4 75 de c7 85 00 04 00 00 00 [ 0.572016] RIP [<ffffffff8102c1f1>] kvm_leave_lazy_mmu+0x54/0x7c [ 0.572016] RSP <ffff88006fb5b970> [ 0.572016] CR2: ffffffff8102c1f1 [ 0.572016] ---[ end trace de0b1dfc95c99fb7 ]---