From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Duffy Subject: qemu-kvm-0.11.0-rc1 guests failing without noapic (on x86_64 host) Date: Tue, 11 Aug 2009 15:53:46 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from main.gmane.org ([80.91.229.2]:33061 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754264AbZHKUxx (ORCPT ); Tue, 11 Aug 2009 16:53:53 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MayLu-00015g-UP for kvm@vger.kernel.org; Tue, 11 Aug 2009 20:53:50 +0000 Received: from 143.166.197.6 ([143.166.197.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Aug 2009 20:53:50 +0000 Received: from Charles_Duffy by 143.166.197.6 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Aug 2009 20:53:50 +0000 Sender: kvm-owner@vger.kernel.org List-ID: Howdy. The libguestfs kernel and appliance I've been using successfully with qemu-kvm-0.10.6 and prior fails horribly with qemu-kvm-0.11.0-rc1 unless 'noapic' is passed on the kernel command line: /usr/bin/qemu-kvm /usr/bin/qemu-kvm -drive file=/local/fvte-q/.fvte/states/vms/15a54e63c1d84e2ee295ce4a5df72740940292e7/disks/da.qcow2,snapshot=on,if=ide -m 500 -no-reboot -kernel /usr/lib64/guestfs/vmlinuz.epel-5.x86_64 -initrd /usr/lib64/guestfs/initramfs.epel-5.x86_64.img -append panic=1 console=ttyS0 guestfs=10.0.2.4:6666 guestfs_verbose=1 -nographic -serial stdio -net channel,6666:unix:/tmp/libguestfsbx4t9L/sock,server,nowait -net user,vlan=0 -net nic,model=e1000,vlan=0 -no-hpet -rtc-td-hack Linux version 2.6.18-128.1.10.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Thu May 7 10:35:59 EDT 2009 Command line: panic=1 console=ttyS0 guestfs=10.0.2.4:6666 guestfs_verbose=1 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009f000 (usable) BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved) BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000001f3f0000 (usable) BIOS-e820: 000000001f3f0000 - 000000001f400000 (ACPI data) BIOS-e820: 00000000fffbc000 - 0000000100000000 (reserved) DMI 2.4 present. No NUMA configuration found Faking a node at 0000000000000000-000000001f3f0000 Bootmem setup node 0 0000000000000000-000000001f3f0000 Memory for crash kernel (0x0 to 0x0) notwithin permissible range disabling kdump ACPI: PM-Timer IO Port: 0xb008 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 6:2 APIC version 20 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x04] disabled) ACPI: LAPIC (acpi_id[0x05] lapic_id[0x05] disabled) ACPI: LAPIC (acpi_id[0x06] lapic_id[0x06] disabled) ACPI: LAPIC (acpi_id[0x07] lapic_id[0x07] disabled) ACPI: LAPIC (acpi_id[0x08] lapic_id[0x08] disabled) ACPI: LAPIC (acpi_id[0x09] lapic_id[0x09] disabled) ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x0a] disabled) ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x0b] disabled) ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x0c] disabled) ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x0d] disabled) ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x0e] disabled) ACPI: LAPIC (acpi_id[0x0f] lapic_id[0x0f] disabled) ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23 ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) Setting APIC routing to physical flat Using ACPI (MADT) for SMP configuration information Nosave address range: 000000000009f000 - 00000000000a0000 Nosave address range: 00000000000a0000 - 00000000000e8000 Nosave address range: 00000000000e8000 - 0000000000100000 Allocating PCI resources starting at 20000000 (gap: 1f400000:e0bbc000) SMP: Allowing 16 CPUs, 15 hotplug CPUs Built 1 zonelists. Total pages: 124876 Kernel command line: panic=1 console=ttyS0 guestfs=10.0.2.4:6666 guestfs_verbose=1 Initializing CPU#0 PID hash table entries: 2048 (order: 11, 16384 bytes) Console: colour VGA+ 80x25 Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) Checking aperture... Memory: 443584k/511936k available (2494k kernel code, 67964k reserved, 1262k data, 200k init) Calibrating delay using timer specific routine.. 4794.11 BogoMIPS (lpj=2397056) Security Framework v1.0.0 initialized SELinux: Initializing. selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary Mount-cache hash table entries: 256 CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 2048K SMP alternatives: switching to UP code ACPI: Core revision 20060707 ..MP-BIOS bug: 8254 timer not connected to IO-APIC Kernel panic - not syncing: IO-APIC + timer doesn't work! Try using the 'noapic' kernel parameter <0>Rebooting in 1 seconds..sock_read_event: 0x1015160 g->state = 1, fd = 3, events = 0x1 stdout_event: 0x1015160: child process died wait_ready: guestfs_wait_ready failed, see earlier error messages at /usr/bin/virt-inspector line 217. closing guestfs handle 0x1015160 (state 0) This has also been observed during installation of a RHEL4 i386 guest; logs at http://gist.github.com/165997