ENVIRONS: I'm running - Debian Squeeze. - QEMU PC emulator version 0.12.5 (qemu-kvm-0.12.5) - 2.6.32-5-686-bigmem #1 SMP Tue Mar 8 22:14:55 UTC 2011 i686 GNU/Linux - Quad Phenom II 965, 8GB RAM I'm booting generic 2.6.35.11 through syslinux. The command is generated via a script I wrote. It works fine until I assign more than 1005M RAM to the VM; it's been working fine (at less than 1GB RAM) for many months. The system I am booting boots and runs fine on bare metal. I got the same results when I DLed and installed ver. 0.14. PROBLEM: The command: kvm -cpu phenom -smp 2 \ -drive if=ide,media=disk,serial=111111,file=/scratch/prtest.img,index=0 \ -drive if=ide,media=disk,serial=222222,file=/dev/sdd,index=1 \ -boot menu=on -m 1005M -vga std -serial stdio produces the following output then keeps one physical CPU at 100% utilization. With '-m 1004M', the VM boots OK; '-m 1005M' through '-m 1024M' fail as follows: ---------- [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.35.11-roadster (root@gb68) (gcc version 4.4.3 (GCC) ) #1 SMP Tue Mar 29 01:21:10 BST 2011 [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f400 (usable) [ 0.000000] BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 000000003ecfd000 (usable) [ 0.000000] BIOS-e820: 000000003ecfd000 - 000000003ed00000 (reserved) [ 0.000000] BIOS-e820: 00000000fffbc000 - 0000000100000000 (reserved) [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] DMI 2.4 present. [ 0.000000] last_pfn = 0x3ecfd max_arch_pfn = 0x1000000 [ 0.000000] found SMP MP-table at [c00f8880] f8880 [ 0.000000] init_memory_mapping: 0000000000000000-0000000037bfe000 [ 0.000000] RAMDISK: 3cff2000 - 3ecfc000 [ 0.000000] Allocated new RAMDISK: 01526000 - 0322fd9c [ 0.000000] Move RAMDISK from 000000003cff2000 - 000000003ecfbd9b to 01526000 - 0322fd9b [ 0.000000] ACPI: RSDP 000f8830 00014 (v00 BOCHS ) [ 0.000000] ACPI: RSDT 3ecfdd70 00034 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001) [ 0.000000] ACPI: FACP 3ecffe40 00074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001) [ 0.000000] ACPI: DSDT 3ecfdf30 01EC4 (v01 BXPC BXDSDT 00000001 INTL 20100528) [ 0.000000] ACPI: FACS 3ecffe00 00040 [ 0.000000] ACPI: SSDT 3ecfdee0 00044 (v01 BOCHS BXPCSSDT 00000001 BXPC 00000001) [ 0.000000] ACPI: APIC 3ecfddf0 0007A (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001) [ 0.000000] ACPI: HPET 3ecfddb0 00038 (v01 BOCHS BXPCHPET 00000001 BXPC 00000001) [ 0.000000] 112MB HIGHMEM available. [ 0.000000] 891MB LOWMEM available. [ 0.000000] mapped low ram: 0 - 37bfe000 [ 0.000000] low ram: 0 - 37bfe000 [ 0.000000] kvm-clock: Using msrs 12 and 11 [ 0.000000] kvm-clock: cpu 0, msr 0:13aac81, boot clock [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000001 -> 0x00001000 [ 0.000000] Normal 0x00001000 -> 0x00037bfe [ 0.000000] HighMem 0x00037bfe -> 0x0003ecfd [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[2] active PFN ranges [ 0.000000] 0: 0x00000001 -> 0x0000009f [ 0.000000] 0: 0x00000100 -> 0x0003ecfd [ 0.000000] Using APIC driver default [ 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] enabled) [ 0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) [ 0.000000] IOAPIC[0]: apic_id 2, version 23, address 0xfec00000, GSI 0-14 [ 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] ERROR: Unable to locate IOAPIC for GSI 15 [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000 [ 0.000000] SMP: Allowing 2 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000 [ 0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000 [ 0.000000] Allocating PCI resources starting at 3ed00000 (gap: 3ed00000:c12bc000) [ 0.000000] Booting paravirtualized kernel on KVM [ 0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 14 pages/cpu @c3c00000 s33728 r0 d23616 u1048576 [ 0.000000] pcpu-alloc: s33728 r0 d23616 u1048576 alloc=1*2097152 [ 0.000000] pcpu-alloc: [0] 0 1 [ 0.000000] kvm-clock: cpu 0, msr 0:3c07c81, primary cpu clock [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 255169 [ 0.000000] Kernel command line: initrd=/iniramfs.igz r0 scroll console=ttyS0,115200 BOOT_IMAGE=vmlinuz explore [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Enabling fast FPU save and restore... done. [ 0.000000] Enabling unmasked SIMD FPU exception support... done. [ 0.000000] Initializing CPU#0 [ 0.000000] Subtract (43 early reservations) [ 0.000000] #1 [0000001000 - 0000002000] EX TRAMPOLINE [ 0.000000] #2 [0001000000 - 0001517ca4] TEXT DATA BSS [ 0.000000] #3 [0001518000 - 0001525049] BRK [ 0.000000] #4 [000009f400 - 00000f8880] BIOS reserved [ 0.000000] #5 [00000f8880 - 00000f8890] MP-table mpf [ 0.000000] #6 [00000f8984 - 0000100000] BIOS reserved [ 0.000000] #7 [00000f8890 - 00000f8984] MP-table mpc [ 0.000000] #8 [0000002000 - 0000003000] TRAMPOLINE [ 0.000000] #9 [0000003000 - 0000007000] ACPI WAKEUP [ 0.000000] #10 [0000007000 - 0000008000] PGTABLE [ 0.000000] #11 [0001526000 - 0003230000] NEW RAMDISK [ 0.000000] #12 [0003230000 - 0003231000] BOOTMEM [ 0.000000] #13 [0003231000 - 0003a11000] BOOTMEM [ 0.000000] #14 [0001517cc0 - 0001517cc4] BOOTMEM [ 0.000000] #15 [0001517d00 - 0001517dc0] BOOTMEM [ 0.000000] #16 [0001517dc0 - 0001517e68] BOOTMEM [ 0.000000] #17 [0003a11000 - 0003a14000] BOOTMEM [ 0.000000] #18 [0001517e80 - 0001517e98] BOOTMEM [ 0.000000] #19 [0001525080 - 0001525680] BOOTMEM [ 0.000000] #20 [0001517ec0 - 0001517eed] BOOTMEM [ 0.000000] #21 [0001517f00 - 0001517f2f] BOOTMEM [ 0.000000] #22 [0001525680 - 000152577c] BOOTMEM [ 0.000000] #23 [0001517f40 - 0001517f80] BOOTMEM [ 0.000000] #24 [0001517f80 - 0001517fc0] BOOTMEM [ 0.000000] #25 [0001517fc0 - 0001518000] BOOTMEM [ 0.000000] #26 [0001525780 - 00015257c0] BOOTMEM [ 0.000000] #27 [00015257c0 - 0001525800] BOOTMEM [ 0.000000] #28 [0001525800 - 0001525840] BOOTMEM [ 0.000000] #29 [0001525840 - 0001525850] BOOTMEM [ 0.000000] #30 [0001525880 - 00015258cf] BOOTMEM [ 0.000000] #31 [0001525900 - 000152594f] BOOTMEM [ 0.000000] #32 [0003c00000 - 0003c0e000] BOOTMEM [ 0.000000] #33 [0003d00000 - 0003d0e000] BOOTMEM [ 0.000000] #34 [0001525980 - 0001525984] BOOTMEM [ 0.000000] #35 [00015259c0 - 00015259c4] BOOTMEM [ 0.000000] #36 [0001525a00 - 0001525a08] BOOTMEM [ 0.000000] #37 [0001525a40 - 0001525a48] BOOTMEM [ 0.000000] #38 [0001525a80 - 0001525b20] BOOTMEM [ 0.000000] #39 [0001525b40 - 0001525b88] BOOTMEM [ 0.000000] #40 [0003a14000 - 0003a18000] BOOTMEM [ 0.000000] #41 [0003a18000 - 0003a98000] BOOTMEM [ 0.000000] #42 [0003a98000 - 0003ad8000] BOOTMEM [ 0.000000] Initializing HighMem for node 0 (00037bfe:0003ecfd) [ 0.000000] Memory: 984704k/1029108k available (2267k kernel code, 44012k reserved, 1119k data, 372k init, 115708k highmem) [ 0.000000] virtual kernel memory layout: [ 0.000000] fixmap : 0xfff15000 - 0xfffff000 ( 936 kB) [ 0.000000] pkmap : 0xffc00000 - 0xffe00000 (2048 kB) [ 0.000000] vmalloc : 0xf83fe000 - 0xffbfe000 ( 120 MB) [ 0.000000] lowmem : 0xc0000000 - 0xf7bfe000 ( 891 MB) [ 0.000000] .init : 0xc134f000 - 0xc13ac000 ( 372 kB) [ 0.000000] .data : 0xc1236d30 - 0xc134e948 (1119 kB) [ 0.000000] .text : 0xc1000000 - 0xc1236d30 (2267 kB) [ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok. [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU-based detection of stalled CPUs is disabled. [ 0.000000] Verbose stalled-CPUs detection is disabled. [ 0.000000] NR_IRQS:512 [ 0.000000] Console: colour VGA+ 80x25 [ 0.000000] console [ttyS0] enabled [ 0.000000] Detected 3415.784 MHz processor. [ 0.040000] Calibrating delay loop (skipped) preset value.. 6831.56 BogoMIPS (lpj=34157840) [ 0.040000] pid_max: default: 32768 minimum: 301 [ 0.040000] Security Framework initialized [ 0.040000] SELinux: Disabled at boot. [ 0.040000] Mount-cache hash table entries: 512 [ 0.040000] Initializing cgroup subsys ns [ 0.040000] Initializing cgroup subsys cpuacct [ 0.040000] Initializing cgroup subsys devices [ 0.040000] mce: CPU supports 10 MCE banks [ 0.040000] using C1E aware idle routine [ 0.040000] Performance Events: AMD PMU driver. [ 0.040000] ... version: 0 [ 0.040000] ... bit width: 48 [ 0.040000] ... generic registers: 4 [ 0.040000] ... value mask: 0000ffffffffffff [ 0.040000] ... max period: 00007fffffffffff [ 0.040000] ... fixed-purpose events: 0 [ 0.040000] ... event mask: 000000000000000f [ 0.043049] ACPI: Core revision 20100428 [ 0.045055] Enabling APIC mode: Flat. Using 1 I/O APICs [ 0.045992] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.046706] CPU0: AMD Phenom(tm) 9550 Quad-Core Processor stepping 03 ---------- With '-m 1025M' and more, 'earlyprintk=serial,ttyS0,115200' is required to get the following output from the kernel before it hangs: ---------- [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.35.11-roadster (root@gb68) (gcc version 4.4.3 (GCC) ) #1 SMP Tue Mar 29 01:21:10 BST 2011 [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f400 (usable) [ 0.000000] BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 00000000400fd000 (usable) [ 0.000000] BIOS-e820: 00000000400fd000 - 0000000040100000 (reserved) [ 0.000000] BIOS-e820: 00000000fffbc000 - 0000000100000000 (reserved) [ 0.000000] bootconsole [earlyser0] enabled [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] DMI 2.4 present. ---------- Is this a qemu-kvm problem? A Kernel problem? Stupid user problem? Fencepost error? Garbled Squebian install? Squebian-specific? Thanks! Neal -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html