When booting a recently compiled Xen 4.2 on Ubuntu 12.04, dom0 crashes. I''ve included a serial console log below. I''ve used: Xen 4.2 unstable rev. 25483, compiled on the same machine. I had to apply the AT_EMPTY_PATH patch from http://lists.gnu.org/archive/html/qemu-devel/2012-02/msg03460.html to get it to compile. Linux 3.2.0-25, which is the default kernel in Ubuntu''s repository right now. Ubuntu 12.04 Precise Booting with the default Xen 4.1 from the Ubuntu repositories works. Using the kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-precise/, which is a mainline Linux kernel (and also more recent) works with my compiled version of Xen 4.2 So, * Is xen 4.2 not happy with the 3.2 kernel I''ve used? * Is this due to something Ubuntu modified in their default kernel? * Is this an issue with Xen? * Did I break something? ----- __ __ _ _ ____ _ _ _ \ \/ /___ _ __ | || | |___ \ _ _ _ __ ___| |_ __ _| |__ | | ___ \ // _ \ ''_ \ | || |_ __) |__| | | | ''_ \/ __| __/ _` | ''_ \| |/ _ \ / \ __/ | | | |__ _| / __/|__| |_| | | | \__ \ || (_| | |_) | | __/ /_/\_\___|_| |_| |_|(_)_____| \__,_|_| |_|___/\__\__,_|_.__/|_|\___| (XEN) Xen version 4.2-unstable (root@roce.org) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) Fri Jun 15 05:32:29 CEST 2012 (XEN) Latest ChangeSet: Thu Jun 14 16:05:42 2012 +0100 25483:9dffb1864f2c (XEN) Bootloader: GRUB 1.99-21ubuntu3.1 (XEN) Command line: placeholder loglvl=all guest_loglvl=all console_timestamps=1 noreboot com1=115200,8n1,0x3f8,4 console=com1,vga (XEN) Video information: (XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds (XEN) Disc information: (XEN) Found 3 MBR signatures (XEN) Found 3 EDD information structures (XEN) Xen-e820 RAM map: (XEN) 0000000000000000 - 000000000009d800 (usable) (XEN) 000000000009d800 - 00000000000a0000 (reserved) (XEN) 00000000000e0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 0000000020000000 (usable) (XEN) 0000000020000000 - 0000000020200000 (reserved) (XEN) 0000000020200000 - 0000000040004000 (usable) (XEN) 0000000040004000 - 0000000040005000 (reserved) (XEN) 0000000040005000 - 00000000bd8a7000 (usable) (XEN) 00000000bd8a7000 - 00000000bde1f000 (reserved) (XEN) 00000000bde1f000 - 00000000be09f000 (ACPI NVS) (XEN) 00000000be09f000 - 00000000be0a4000 (ACPI data) (XEN) 00000000be0a4000 - 00000000be0e7000 (ACPI NVS) (XEN) 00000000be0e7000 - 00000000beb81000 (usable) (XEN) 00000000beb81000 - 00000000beff2000 (reserved) (XEN) 00000000beff2000 - 00000000bf000000 (usable) (XEN) 00000000bf800000 - 00000000cfa00000 (reserved) (XEN) 00000000f8000000 - 00000000fc000000 (reserved) (XEN) 00000000fec00000 - 00000000fec01000 (reserved) (XEN) 00000000fed00000 - 00000000fed04000 (reserved) (XEN) 00000000fed1c000 - 00000000fed20000 (reserved) (XEN) 00000000fee00000 - 00000000fee01000 (reserved) (XEN) 00000000ff000000 - 0000000100000000 (reserved) (XEN) 0000000100000000 - 000000042f600000 (usable) (XEN) ACPI: RSDP 000F0450, 0024 (r2 ALASKA) (XEN) ACPI: XSDT BE084080, 0084 (r1 ALASKA A M I 1072009 AMI 10013) (XEN) ACPI: FACP BE08E218, 00F4 (r4 ALASKA A M I 1072009 AMI 10013) (XEN) ACPI: DSDT BE0841A0, A077 (r2 ALASKA A M I 14 INTL 20051117) (XEN) ACPI: FACS BE09DF80, 0040 (XEN) ACPI: APIC BE08E310, 0072 (r3 ALASKA A M I 1072009 AMI 10013) (XEN) ACPI: ASF! BE08E388, 00A5 (r32 INTEL HCG 1 TFSM F4240) (XEN) ACPI: MCFG BE08E430, 003C (r1 ALASKA A M I 1072009 MSFT 97) (XEN) ACPI: SSDT BE08E470, 04A6 (r1 Intel_ AoacTabl 1000 INTL 20091112) (XEN) ACPI: AAFT BE08E918, 00C2 (r1 ALASKA OEMAAFT 1072009 MSFT 97) (XEN) ACPI: HPET BE08E9E0, 0038 (r1 ALASKA A M I 1072009 AMI. 5) (XEN) ACPI: SSDT BE08EA18, 036D (r1 SataRe SataTabl 1000 INTL 20091112) (XEN) ACPI: SSDT BE08ED88, 09AA (r1 PmRef Cpu0Ist 3000 INTL 20051117) (XEN) ACPI: SSDT BE08F738, 0A92 (r1 PmRef CpuPm 3000 INTL 20051117) (XEN) ACPI: DMAR BE0901D0, 00B8 (r1 INTEL SNB 1 INTL 1) (XEN) ACPI: BGRT BE090288, 003C (r0 ALASKA A M I 1072009 AMI 10013) (XEN) System RAM: 16086MB (16473004kB) (XEN) No NUMA configuration found (XEN) Faking a node at 0000000000000000-000000042f600000 (XEN) Domain heap initialised (XEN) found SMP MP-table at 000fceb0 (XEN) DMI 2.7 present. (XEN) Using APIC driver default (XEN) ACPI: PM-Timer IO Port: 0x408 (XEN) ACPI: ACPI SLEEP INFO: pm1x_cnt[404,0], pm1x_evt[400,0] (XEN) ACPI: 32/64X FACS address mismatch in FADT - be09df80/0000000000000000, using 32 (XEN) ACPI: wakeup_vec[be09df8c], vec_size[20] (XEN) ACPI: Local APIC address 0xfee00000 (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) (XEN) Processor #0 7:10 APIC version 21 (XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled) (XEN) Processor #2 7:10 APIC version 21 (XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x04] enabled) (XEN) Processor #4 7:10 APIC version 21 (XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x06] enabled) (XEN) Processor #6 7:10 APIC version 21 (XEN) ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1]) (XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) (XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23 (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) (XEN) ACPI: IRQ0 used by override. (XEN) ACPI: IRQ2 used by override. (XEN) ACPI: IRQ9 used by override. (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs (XEN) ACPI: HPET id: 0x8086a701 base: 0xfed00000 (XEN) Table is not found! (XEN) Using ACPI (MADT) for SMP configuration information (XEN) SMP: Allowing 4 CPUs (0 hotplug CPUs) (XEN) IRQ limits: 24 GSI, 760 MSI/MSI-X (XEN) Switched to APIC driver x2apic_cluster. (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 3300.138 MHz processor. (XEN) Initing memory sharing. (XEN) xstate_init: using cntxt_size: 0x340 and states: 0x7 (XEN) mce_intel.c:1239: MCA Capability: BCAST 1 SER 0 CMCI 1 firstbank 0 extended MCE MSR 0 (XEN) Intel machine check reporting enabled (XEN) PCI: MCFG configuration 0: base f8000000 segment 0000 buses 00 - 3f (XEN) PCI: MCFG area at f8000000 reserved in E820 (XEN) PCI: Using MCFG for segment 0000 bus 00-3f (XEN) Intel VT-d Snoop Control not enabled. (XEN) Intel VT-d Dom0 DMA Passthrough not enabled. (XEN) Intel VT-d Queued Invalidation enabled. (XEN) Intel VT-d Interrupt Remapping enabled. (XEN) Intel VT-d Shared EPT tables not enabled. (XEN) I/O virtualisation enabled (XEN) - Dom0 mode: Relaxed (XEN) Enabled directed EOI with ioapic_ack_old on! (XEN) ENABLING IO-APIC IRQs (XEN) -> Using old ACK method (XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1 (XEN) TSC deadline timer enabled (XEN) [2012-06-17 00:22:20] Platform timer is 14.318MHz HPET (XEN) [2012-06-17 00:22:20] Allocated console ring of 32 KiB. (XEN) [2012-06-17 00:22:20] VMX: Supported advanced features: (XEN) [2012-06-17 00:22:20] - APIC MMIO access virtualisation (XEN) [2012-06-17 00:22:20] - APIC TPR shadow (XEN) [2012-06-17 00:22:20] - Extended Page Tables (EPT) (XEN) [2012-06-17 00:22:20] - Virtual-Processor Identifiers (VPID) (XEN) [2012-06-17 00:22:20] - Virtual NMI (XEN) [2012-06-17 00:22:20] - MSR direct-access bitmap (XEN) [2012-06-17 00:22:20] - Unrestricted Guest (XEN) [2012-06-17 00:22:20] HVM: ASIDs enabled. (XEN) [2012-06-17 00:22:20] HVM: VMX enabled (XEN) [2012-06-17 00:22:20] HVM: Hardware Assisted Paging (HAP) detected (XEN) [2012-06-17 00:22:20] HVM: HAP page sizes: 4kB, 2MB (XEN) [2012-06-17 00:22:20] Brought up 4 CPUs (XEN) [2012-06-17 00:22:20] ACPI sleep modes: S3 (XEN) [2012-06-17 00:22:20] mcheck_poll: Machine check polling timer started. (XEN) [2012-06-17 00:22:20] *** LOADING DOMAIN 0 *** (XEN) [2012-06-17 00:22:20] elf_parse_binary: phdr: paddr=0x1000000 memsz=0xad5000 (XEN) [2012-06-17 00:22:20] elf_parse_binary: phdr: paddr=0x1c00000 memsz=0xe50e0 (XEN) [2012-06-17 00:22:20] elf_parse_binary: phdr: paddr=0x1ce6000 memsz=0x14480 (XEN) [2012-06-17 00:22:20] elf_parse_binary: phdr: paddr=0x1cfb000 memsz=0x364000 (XEN) [2012-06-17 00:22:20] elf_parse_binary: memory: 0x1000000 -> 0x205f000 (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: GUEST_OS = "linux" (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: GUEST_VERSION = "2.6" (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: XEN_VERSION = "xen-3.0" (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: VIRT_BASE = 0xffffffff80000000 (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: ENTRY = 0xffffffff81cfb200 (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: HYPERCALL_PAGE 0xffffffff81001000 (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: FEATURES "!writable_page_tables|pae_pgdir_above_4gb" (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: PAE_MODE = "yes" (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: LOADER = "generic" (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: unknown xen elf note (0xd) (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: SUSPEND_CANCEL = 0x1 (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: HV_START_LOW 0xffff800000000000 (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: PADDR_OFFSET = 0x0 (XEN) [2012-06-17 00:22:20] elf_xen_addr_calc_check: addresses: (XEN) [2012-06-17 00:22:20] virt_base = 0xffffffff80000000 (XEN) [2012-06-17 00:22:20] elf_paddr_offset = 0x0 (XEN) [2012-06-17 00:22:20] virt_offset = 0xffffffff80000000 (XEN) [2012-06-17 00:22:20] virt_kstart = 0xffffffff81000000 (XEN) [2012-06-17 00:22:20] virt_kend = 0xffffffff8205f000 (XEN) [2012-06-17 00:22:20] virt_entry = 0xffffffff81cfb200 (XEN) [2012-06-17 00:22:20] p2m_base = 0xffffffffffffffff (XEN) [2012-06-17 00:22:20] Xen kernel: 64-bit, lsb, compat32 (XEN) [2012-06-17 00:22:20] Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x205f000 (XEN) [2012-06-17 00:22:20] PHYSICAL MEMORY ARRANGEMENT: (XEN) [2012-06-17 00:22:20] Dom0 alloc.: 0000000418000000->0000000420000000 (3987995 pages to be allocated) (XEN) [2012-06-17 00:22:20] Init. ramdisk: 000000042d02f000->000000042f5ff400 (XEN) [2012-06-17 00:22:20] VIRTUAL MEMORY ARRANGEMENT: (XEN) [2012-06-17 00:22:20] Loaded kernel: ffffffff81000000->ffffffff8205f000 (XEN) [2012-06-17 00:22:20] Init. ramdisk: ffffffff8205f000->ffffffff8462f400 (XEN) [2012-06-17 00:22:20] Phys-Mach map: ffffffff84630000->ffffffff864eff60 (XEN) [2012-06-17 00:22:20] Start info: ffffffff864f0000->ffffffff864f04b4 (XEN) [2012-06-17 00:22:20] Page tables: ffffffff864f1000->ffffffff86528000 (XEN) [2012-06-17 00:22:20] Boot stack: ffffffff86528000->ffffffff86529000 (XEN) [2012-06-17 00:22:20] TOTAL: ffffffff80000000->ffffffff86800000 (XEN) [2012-06-17 00:22:20] ENTRY ADDRESS: ffffffff81cfb200 (XEN) [2012-06-17 00:22:20] Dom0 has maximum 4 VCPUs (XEN) [2012-06-17 00:22:20] elf_load_binary: phdr 0 at 0xffffffff81000000 -> 0xffffffff81ad5000 (XEN) [2012-06-17 00:22:20] elf_load_binary: phdr 1 at 0xffffffff81c00000 -> 0xffffffff81ce50e0 (XEN) [2012-06-17 00:22:20] elf_load_binary: phdr 2 at 0xffffffff81ce6000 -> 0xffffffff81cfa480 (XEN) [2012-06-17 00:22:20] elf_load_binary: phdr 3 at 0xffffffff81cfb000 -> 0xffffffff81dd3000 (XEN) [2012-06-17 00:22:22] Scrubbing Free RAM: .done. (XEN) [2012-06-17 00:22:22] Initial low memory virq threshold set at 0x4000 pages. (XEN) [2012-06-17 00:22:22] Std. Loglevel: All (XEN) [2012-06-17 00:22:22] Guest Loglevel: All (XEN) [2012-06-17 00:22:22] Xen is relinquishing VGA console. (XEN) [2012-06-17 00:22:22] *** Serial input -> DOM0 (type ''CTRL-a'' three times to switch input to Xen) (XEN) [2012-06-17 00:22:22] Freed 244kB init memory. mapping kernel into physical memory Xen: setup ISA identity maps about to get started... [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.2.0-25-generic (buildd@crested) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #40-Ubuntu SMP We) [ 0.000000] Command line: placeholder root=UUID=74eca254-73dc-478d-9c20-8e0c1fa8bebe ro console=hvc0 earlyprintk=xen [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Centaur CentaurHauls [ 0.000000] Freeing 9d-100 pfn range: 99 pages freed [ 0.000000] Freeing 20000-20200 pfn range: 512 pages freed [ 0.000000] Freeing 40004-40005 pfn range: 1 pages freed [ 0.000000] Freeing bd8a7-be0e7 pfn range: 2112 pages freed [ 0.000000] Freeing beb81-beff2 pfn range: 1137 pages freed [ 0.000000] Freeing bf000-100000 pfn range: 266240 pages freed [ 0.000000] Released 270101 pages of unused memory [ 0.000000] Set 270101 page(s) to 1-1 mapping [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] Xen: 0000000000000000 - 000000000009d000 (usable) [ 0.000000] Xen: 000000000009d800 - 0000000000100000 (reserved) [ 0.000000] Xen: 0000000000100000 - 0000000020000000 (usable) [ 0.000000] Xen: 0000000020000000 - 0000000020200000 (reserved) [ 0.000000] Xen: 0000000020200000 - 0000000040004000 (usable) [ 0.000000] Xen: 0000000040004000 - 0000000040005000 (reserved) [ 0.000000] Xen: 0000000040005000 - 00000000bd8a7000 (usable) [ 0.000000] Xen: 00000000bd8a7000 - 00000000bde1f000 (reserved) [ 0.000000] Xen: 00000000bde1f000 - 00000000be09f000 (ACPI NVS) [ 0.000000] Xen: 00000000be09f000 - 00000000be0a4000 (ACPI data) [ 0.000000] Xen: 00000000be0a4000 - 00000000be0e7000 (ACPI NVS) [ 0.000000] Xen: 00000000be0e7000 - 00000000beb81000 (usable) [ 0.000000] Xen: 00000000beb81000 - 00000000beff2000 (reserved) [ 0.000000] Xen: 00000000beff2000 - 00000000bf000000 (usable) [ 0.000000] Xen: 00000000bf800000 - 00000000cfa00000 (reserved) [ 0.000000] Xen: 00000000f8000000 - 00000000fc000000 (reserved) [ 0.000000] Xen: 00000000fec00000 - 00000000fec01000 (reserved) [ 0.000000] Xen: 00000000fed00000 - 00000000fed04000 (reserved) [ 0.000000] Xen: 00000000fed1c000 - 00000000fed20000 (reserved) [ 0.000000] Xen: 00000000fee00000 - 00000000fee01000 (reserved) [ 0.000000] Xen: 00000000ff000000 - 0000000100000000 (reserved) [ 0.000000] Xen: 0000000100000000 - 000000042f600000 (usable) [ 0.000000] bootconsole [xenboot0] enabled [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] DMI 2.7 present. [ 0.000000] No AGP bridge found [ 0.000000] last_pfn = 0x42f600 max_arch_pfn = 0x400000000 [ 0.000000] x2apic enabled by BIOS, switching to x2apic ops [ 0.000000] last_pfn = 0xbf000 max_arch_pfn = 0x400000000 [ 0.000000] found SMP MP-table at [ffff8800000fceb0] fceb0 [ 0.000000] init_memory_mapping: 0000000000000000-00000000bf000000 [ 0.000000] init_memory_mapping: 0000000100000000-000000042f600000 [ 0.000000] RAMDISK: 0205f000 - 04630000 [ 0.000000] ACPI: RSDP 00000000000f0450 00024 (v02 ALASKA) [ 0.000000] ACPI: XSDT 00000000be084080 00084 (v01 ALASKA A M I 01072009 AMI 00010013) [ 0.000000] ACPI: FACP 00000000be08e218 000F4 (v04 ALASKA A M I 01072009 AMI 00010013) [ 0.000000] ACPI: DSDT 00000000be0841a0 0A077 (v02 ALASKA A M I 00000014 INTL 20051117) [ 0.000000] ACPI: FACS 00000000be09df80 00040 [ 0.000000] ACPI: APIC 00000000be08e310 00072 (v03 ALASKA A M I 01072009 AMI 00010013) [ 0.000000] ACPI: ASF! 00000000be08e388 000A5 (v32 INTEL HCG 00000001 TFSM 000F4240) [ 0.000000] ACPI: MCFG 00000000be08e430 0003C (v01 ALASKA A M I 01072009 MSFT 00000097) [ 0.000000] ACPI: SSDT 00000000be08e470 004A6 (v01 Intel_ AoacTabl 00001000 INTL 20091112) [ 0.000000] ACPI: AAFT 00000000be08e918 000C2 (v01 ALASKA OEMAAFT 01072009 MSFT 00000097) [ 0.000000] ACPI: HPET 00000000be08e9e0 00038 (v01 ALASKA A M I 01072009 AMI. 00000005) [ 0.000000] ACPI: SSDT 00000000be08ea18 0036D (v01 SataRe SataTabl 00001000 INTL 20091112) [ 0.000000] ACPI: SSDT 00000000be08ed88 009AA (v01 PmRef Cpu0Ist 00003000 INTL 20051117) [ 0.000000] ACPI: SSDT 00000000be08f738 00A92 (v01 PmRef CpuPm 00003000 INTL 20051117) [ 0.000000] ACPI: XMAR 00000000be0901d0 000B8 (v01 INTEL SNB 00000001 INTL 00000001) [ 0.000000] ACPI: BGRT 00000000be090288 0003C (v00 ALASKA A M I 01072009 AMI 00010013) [ 0.000000] Setting APIC routing to cluster x2apic. [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at 0000000000000000-000000042f600000 [ 0.000000] Initmem setup node 0 0000000000000000-000000042f600000 [ 0.000000] NODE_DATA [00000003d7fe7000 - 00000003d7febfff] [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000010 -> 0x00001000 [ 0.000000] DMA32 0x00001000 -> 0x00100000 [ 0.000000] Normal 0x00100000 -> 0x0042f600 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[7] active PFN ranges [ 0.000000] 0: 0x00000010 -> 0x0000009d [ 0.000000] 0: 0x00000100 -> 0x00020000 [ 0.000000] 0: 0x00020200 -> 0x00040004 [ 0.000000] 0: 0x00040005 -> 0x000bd8a7 [ 0.000000] 0: 0x000be0e7 -> 0x000beb81 [ 0.000000] 0: 0x000beff2 -> 0x000bf000 [ 0.000000] 0: 0x00100000 -> 0x0042f600 [ 0.000000] ACPI: PM-Timer IO Port: 0x408 [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x04] enabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x06] enabled) [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1]) [ 0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) [ 0.000000] IOAPIC[0]: apic_id 2, version 255, address 0xfec00000, GSI 0-255 [ 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 9 global_irq 9 high level) [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] ACPI: HPET id: 0x8086a701 base: 0xfed00000 [ 0.000000] SMP: Allowing 4 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: 000000000009d000 - 000000000009e000 [ 0.000000] PM: Registered nosave memory: 000000000009e000 - 0000000000100000 [ 0.000000] PM: Registered nosave memory: 0000000020000000 - 0000000020200000 [ 0.000000] PM: Registered nosave memory: 0000000040004000 - 0000000040005000 [ 0.000000] PM: Registered nosave memory: 00000000bd8a7000 - 00000000bde1f000 [ 0.000000] PM: Registered nosave memory: 00000000bde1f000 - 00000000be09f000 [ 0.000000] PM: Registered nosave memory: 00000000be09f000 - 00000000be0a4000 [ 0.000000] PM: Registered nosave memory: 00000000be0a4000 - 00000000be0e7000 [ 0.000000] PM: Registered nosave memory: 00000000beb81000 - 00000000beff2000 [ 0.000000] PM: Registered nosave memory: 00000000bf000000 - 00000000bf800000 [ 0.000000] PM: Registered nosave memory: 00000000bf800000 - 00000000cfa00000 [ 0.000000] PM: Registered nosave memory: 00000000cfa00000 - 00000000f8000000 [ 0.000000] PM: Registered nosave memory: 00000000f8000000 - 00000000fc000000 [ 0.000000] PM: Registered nosave memory: 00000000fc000000 - 00000000fec00000 [ 0.000000] PM: Registered nosave memory: 00000000fec00000 - 00000000fec01000 [ 0.000000] PM: Registered nosave memory: 00000000fec01000 - 00000000fed00000 [ 0.000000] PM: Registered nosave memory: 00000000fed00000 - 00000000fed04000 [ 0.000000] PM: Registered nosave memory: 00000000fed04000 - 00000000fed1c000 [ 0.000000] PM: Registered nosave memory: 00000000fed1c000 - 00000000fed20000 [ 0.000000] PM: Registered nosave memory: 00000000fed20000 - 00000000fee00000 [ 0.000000] PM: Registered nosave memory: 00000000fee00000 - 00000000fee01000 [ 0.000000] PM: Registered nosave memory: 00000000fee01000 - 00000000ff000000 [ 0.000000] PM: Registered nosave memory: 00000000ff000000 - 0000000100000000 [ 0.000000] Allocating PCI resources starting at cfa00000 (gap: cfa00000:28600000) [ 0.000000] Booting paravirtualized kernel on Xen [ 0.000000] Xen version: 4.2-unstable (preserve-AD) [ 0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:4 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 28 pages/cpu @ffff8803d7c00000 s83072 r8192 d23424 u524288 [ 3.860481] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 4048188 [ 3.860484] Policy zone: Normal [ 3.860487] Kernel command line: placeholder root=UUID=74eca254-73dc-478d-9c20-8e0c1fa8bebe ro console=hvc0 earlyprintk=xen [ 3.860828] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 3.861070] invalid opcode: 0000 [#1] SMP [ 3.861073] CPU 0 [ 3.861074] Modules linked in: [ 3.861076] [ 3.861078] Pid: 0, comm: swapper Not tainted 3.2.0-25-generic #40-Ubuntu To Be Filled By O.E.M. To Be Filled By O.E.M./Z77 Extre6 [ 3.861083] RIP: e030:[<ffffffff8101d82c>] [<ffffffff8101d82c>] xstate_enable+0x3c/0x50 [ 3.861090] RSP: e02b:ffffffff81c01e58 EFLAGS: 00010046 [ 3.861092] RAX: 0000000000000007 RBX: ffffffff81c01e94 RCX: 0000000000000000 [ 3.861094] RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000002660 [ 3.861096] RBP: ffffffff81c01e58 R08: ffffffff81c01e90 R09: ffffffff81c01e94 [ 3.861098] R10: 00000000ffffffff R11: 00000000ffffffff R12: ffffffff81c01e90 [ 3.861100] R13: ffffffff81c01e8c R14: ffffffff81c01e88 R15: ffff8803d7c0c480 [ 3.861104] FS: 0000000000000000(0000) GS:ffff8803d7c00000(0000) knlGS:0000000000000000 [ 3.861107] CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b [ 3.861108] CR2: 0000000000000000 CR3: 0000000001c05000 CR4: 0000000000002660 [ 3.861111] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 3.861113] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 3.861115] Process swapper (pid: 0, threadinfo ffffffff81c00000, task ffffffff81c0d020) [ 3.861117] Stack: [ 3.861119] ffffffff81c01ec8 ffffffff81d04795 ffff8803d7c0b150 ffff8803d7c0b950 [ 3.861123] ffff8803d7c0b150 ffff8803d7c0b950 0000024000000007 0000000000000340 [ 3.861127] 0000000000000004 0000000000000008 0000000000000004 0000000000000000 [ 3.861131] Call Trace: [ 3.861136] [<ffffffff81d04795>] xstate_enable_boot_cpu+0xa9/0x174 [ 3.861141] [<ffffffff8163660b>] xsave_init+0x26/0x28 [ 3.861143] [<ffffffff816388d1>] cpu_init+0x2bb/0x2d8 [ 3.861146] [<ffffffff81d00f92>] trap_init+0x169/0x171 [ 3.861149] [<ffffffff81cfba28>] start_kernel+0x1d5/0x3c7 [ 3.861153] [<ffffffff81cfb388>] x86_64_start_reservations+0x132/0x136 [ 3.861156] [<ffffffff81cfef27>] xen_start_kernel+0x5d9/0x5e0 [ 3.861157] Code: 00 04 00 ff 14 25 90 76 c1 81 48 89 c7 48 81 cf 00 00 04 00 ff 14 25 98 76 c1 81 48 8b 05 cd 0d dc 00 31 c9 48 [ 3.861191] RIP [<ffffffff8101d82c>] xstate_enable+0x3c/0x50 [ 3.861194] RSP <ffffffff81c01e58
On Jun 16, 2012 5:56 PM, "Rolu" <rolu@roce.org> wrote:> > When booting a recently compiled Xen 4.2 on Ubuntu 12.04, dom0 > crashes. I''ve included a serial console log below. > > I''ve used: > Xen 4.2 unstable rev. 25483, compiled on the same machine. I had to > apply the AT_EMPTY_PATH patch from > http://lists.gnu.org/archive/html/qemu-devel/2012-02/msg03460.html to > get it to compile. > Linux 3.2.0-25, which is the default kernel in Ubuntu''s repository rightnow.> Ubuntu 12.04 Precise > > Booting with the default Xen 4.1 from the Ubuntu repositories works. > > Using the kernel from > http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-precise/, which is > a mainline Linux kernel (and also more recent) works with my compiled > version of Xen 4.2 > > So, > * Is xen 4.2 not happy with the 3.2 kernel I''ve used? > * Is this due to something Ubuntu modified in their default kernel? > * Is this an issue with Xen? > * Did I break something?This is an issue with the Ubuntu kernel. Check this thread out: http://lists.xen.org/archives/html/xen-devel/2012-05/msg00049.html Adding xsave=0 to the Xen kernel line in grub is the workaround.> ----- > > __ __ _ _ ____ _ _ _ > \ \/ /___ _ __ | || | |___ \ _ _ _ __ ___| |_ __ _| |__ | | ___ > \ // _ \ ''_ \ | || |_ __) |__| | | | ''_ \/ __| __/ _` | ''_ \| |/ _ \ > / \ __/ | | | |__ _| / __/|__| |_| | | | \__ \ || (_| | |_) | | __/ > /_/\_\___|_| |_| |_|(_)_____| \__,_|_| |_|___/\__\__,_|_.__/|_|\___| > > (XEN) Xen version 4.2-unstable (root@roce.org) (gcc version 4.6.3 > (Ubuntu/Linaro 4.6.3-1ubuntu5) ) Fri Jun 15 05:32:29 CEST 2012 > (XEN) Latest ChangeSet: Thu Jun 14 16:05:42 2012 +0100 25483:9dffb1864f2c > (XEN) Bootloader: GRUB 1.99-21ubuntu3.1 > (XEN) Command line: placeholder loglvl=all guest_loglvl=all > console_timestamps=1 noreboot com1=115200,8n1,0x3f8,4 console=com1,vga > (XEN) Video information: > (XEN) VGA is text mode 80x25, font 8x16 > (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds > (XEN) Disc information: > (XEN) Found 3 MBR signatures > (XEN) Found 3 EDD information structures > (XEN) Xen-e820 RAM map: > (XEN) 0000000000000000 - 000000000009d800 (usable) > (XEN) 000000000009d800 - 00000000000a0000 (reserved) > (XEN) 00000000000e0000 - 0000000000100000 (reserved) > (XEN) 0000000000100000 - 0000000020000000 (usable) > (XEN) 0000000020000000 - 0000000020200000 (reserved) > (XEN) 0000000020200000 - 0000000040004000 (usable) > (XEN) 0000000040004000 - 0000000040005000 (reserved) > (XEN) 0000000040005000 - 00000000bd8a7000 (usable) > (XEN) 00000000bd8a7000 - 00000000bde1f000 (reserved) > (XEN) 00000000bde1f000 - 00000000be09f000 (ACPI NVS) > (XEN) 00000000be09f000 - 00000000be0a4000 (ACPI data) > (XEN) 00000000be0a4000 - 00000000be0e7000 (ACPI NVS) > (XEN) 00000000be0e7000 - 00000000beb81000 (usable) > (XEN) 00000000beb81000 - 00000000beff2000 (reserved) > (XEN) 00000000beff2000 - 00000000bf000000 (usable) > (XEN) 00000000bf800000 - 00000000cfa00000 (reserved) > (XEN) 00000000f8000000 - 00000000fc000000 (reserved) > (XEN) 00000000fec00000 - 00000000fec01000 (reserved) > (XEN) 00000000fed00000 - 00000000fed04000 (reserved) > (XEN) 00000000fed1c000 - 00000000fed20000 (reserved) > (XEN) 00000000fee00000 - 00000000fee01000 (reserved) > (XEN) 00000000ff000000 - 0000000100000000 (reserved) > (XEN) 0000000100000000 - 000000042f600000 (usable) > (XEN) ACPI: RSDP 000F0450, 0024 (r2 ALASKA) > (XEN) ACPI: XSDT BE084080, 0084 (r1 ALASKA A M I 1072009 AMI10013)> (XEN) ACPI: FACP BE08E218, 00F4 (r4 ALASKA A M I 1072009 AMI10013)> (XEN) ACPI: DSDT BE0841A0, A077 (r2 ALASKA A M I 14 INTL20051117)> (XEN) ACPI: FACS BE09DF80, 0040 > (XEN) ACPI: APIC BE08E310, 0072 (r3 ALASKA A M I 1072009 AMI10013)> (XEN) ACPI: ASF! BE08E388, 00A5 (r32 INTEL HCG 1 TFSMF4240)> (XEN) ACPI: MCFG BE08E430, 003C (r1 ALASKA A M I 1072009 MSFT97)> (XEN) ACPI: SSDT BE08E470, 04A6 (r1 Intel_ AoacTabl 1000 INTL20091112)> (XEN) ACPI: AAFT BE08E918, 00C2 (r1 ALASKA OEMAAFT 1072009 MSFT97)> (XEN) ACPI: HPET BE08E9E0, 0038 (r1 ALASKA A M I 1072009 AMI.5)> (XEN) ACPI: SSDT BE08EA18, 036D (r1 SataRe SataTabl 1000 INTL20091112)> (XEN) ACPI: SSDT BE08ED88, 09AA (r1 PmRef Cpu0Ist 3000 INTL20051117)> (XEN) ACPI: SSDT BE08F738, 0A92 (r1 PmRef CpuPm 3000 INTL20051117)> (XEN) ACPI: DMAR BE0901D0, 00B8 (r1 INTEL SNB 1 INTL1)> (XEN) ACPI: BGRT BE090288, 003C (r0 ALASKA A M I 1072009 AMI10013)> (XEN) System RAM: 16086MB (16473004kB) > (XEN) No NUMA configuration found > (XEN) Faking a node at 0000000000000000-000000042f600000 > (XEN) Domain heap initialised > (XEN) found SMP MP-table at 000fceb0 > (XEN) DMI 2.7 present. > (XEN) Using APIC driver default > (XEN) ACPI: PM-Timer IO Port: 0x408 > (XEN) ACPI: ACPI SLEEP INFO: pm1x_cnt[404,0], pm1x_evt[400,0] > (XEN) ACPI: 32/64X FACS address mismatch in FADT - > be09df80/0000000000000000, using 32 > (XEN) ACPI: wakeup_vec[be09df8c], vec_size[20] > (XEN) ACPI: Local APIC address 0xfee00000 > (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) > (XEN) Processor #0 7:10 APIC version 21 > (XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled) > (XEN) Processor #2 7:10 APIC version 21 > (XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x04] enabled) > (XEN) Processor #4 7:10 APIC version 21 > (XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x06] enabled) > (XEN) Processor #6 7:10 APIC version 21 > (XEN) ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1]) > (XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) > (XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23 > (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) > (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) > (XEN) ACPI: IRQ0 used by override. > (XEN) ACPI: IRQ2 used by override. > (XEN) ACPI: IRQ9 used by override. > (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs > (XEN) ACPI: HPET id: 0x8086a701 base: 0xfed00000 > (XEN) Table is not found! > (XEN) Using ACPI (MADT) for SMP configuration information > (XEN) SMP: Allowing 4 CPUs (0 hotplug CPUs) > (XEN) IRQ limits: 24 GSI, 760 MSI/MSI-X > (XEN) Switched to APIC driver x2apic_cluster. > (XEN) Using scheduler: SMP Credit Scheduler (credit) > (XEN) Detected 3300.138 MHz processor. > (XEN) Initing memory sharing. > (XEN) xstate_init: using cntxt_size: 0x340 and states: 0x7 > (XEN) mce_intel.c:1239: MCA Capability: BCAST 1 SER 0 CMCI 1 firstbank > 0 extended MCE MSR 0 > (XEN) Intel machine check reporting enabled > (XEN) PCI: MCFG configuration 0: base f8000000 segment 0000 buses 00 - 3f > (XEN) PCI: MCFG area at f8000000 reserved in E820 > (XEN) PCI: Using MCFG for segment 0000 bus 00-3f > (XEN) Intel VT-d Snoop Control not enabled. > (XEN) Intel VT-d Dom0 DMA Passthrough not enabled. > (XEN) Intel VT-d Queued Invalidation enabled. > (XEN) Intel VT-d Interrupt Remapping enabled. > (XEN) Intel VT-d Shared EPT tables not enabled. > (XEN) I/O virtualisation enabled > (XEN) - Dom0 mode: Relaxed > (XEN) Enabled directed EOI with ioapic_ack_old on! > (XEN) ENABLING IO-APIC IRQs > (XEN) -> Using old ACK method > (XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1 > (XEN) TSC deadline timer enabled > (XEN) [2012-06-17 00:22:20] Platform timer is 14.318MHz HPET > (XEN) [2012-06-17 00:22:20] Allocated console ring of 32 KiB. > (XEN) [2012-06-17 00:22:20] VMX: Supported advanced features: > (XEN) [2012-06-17 00:22:20] - APIC MMIO access virtualisation > (XEN) [2012-06-17 00:22:20] - APIC TPR shadow > (XEN) [2012-06-17 00:22:20] - Extended Page Tables (EPT) > (XEN) [2012-06-17 00:22:20] - Virtual-Processor Identifiers (VPID) > (XEN) [2012-06-17 00:22:20] - Virtual NMI > (XEN) [2012-06-17 00:22:20] - MSR direct-access bitmap > (XEN) [2012-06-17 00:22:20] - Unrestricted Guest > (XEN) [2012-06-17 00:22:20] HVM: ASIDs enabled. > (XEN) [2012-06-17 00:22:20] HVM: VMX enabled > (XEN) [2012-06-17 00:22:20] HVM: Hardware Assisted Paging (HAP) detected > (XEN) [2012-06-17 00:22:20] HVM: HAP page sizes: 4kB, 2MB > (XEN) [2012-06-17 00:22:20] Brought up 4 CPUs > (XEN) [2012-06-17 00:22:20] ACPI sleep modes: S3 > (XEN) [2012-06-17 00:22:20] mcheck_poll: Machine check polling timerstarted.> (XEN) [2012-06-17 00:22:20] *** LOADING DOMAIN 0 *** > (XEN) [2012-06-17 00:22:20] elf_parse_binary: phdr: paddr=0x1000000 > memsz=0xad5000 > (XEN) [2012-06-17 00:22:20] elf_parse_binary: phdr: paddr=0x1c00000 > memsz=0xe50e0 > (XEN) [2012-06-17 00:22:20] elf_parse_binary: phdr: paddr=0x1ce6000 > memsz=0x14480 > (XEN) [2012-06-17 00:22:20] elf_parse_binary: phdr: paddr=0x1cfb000 > memsz=0x364000 > (XEN) [2012-06-17 00:22:20] elf_parse_binary: memory: 0x1000000 ->0x205f000> (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: GUEST_OS = "linux" > (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: GUEST_VERSION = "2.6" > (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: XEN_VERSION = "xen-3.0" > (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: VIRT_BASE 0xffffffff80000000 > (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: ENTRY = 0xffffffff81cfb200 > (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: HYPERCALL_PAGE > 0xffffffff81001000 > (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: FEATURES > "!writable_page_tables|pae_pgdir_above_4gb" > (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: PAE_MODE = "yes" > (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: LOADER = "generic" > (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: unknown xen elf note (0xd) > (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: SUSPEND_CANCEL = 0x1 > (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: HV_START_LOW > 0xffff800000000000 > (XEN) [2012-06-17 00:22:20] elf_xen_parse_note: PADDR_OFFSET = 0x0 > (XEN) [2012-06-17 00:22:20] elf_xen_addr_calc_check: addresses: > (XEN) [2012-06-17 00:22:20] virt_base = 0xffffffff80000000 > (XEN) [2012-06-17 00:22:20] elf_paddr_offset = 0x0 > (XEN) [2012-06-17 00:22:20] virt_offset = 0xffffffff80000000 > (XEN) [2012-06-17 00:22:20] virt_kstart = 0xffffffff81000000 > (XEN) [2012-06-17 00:22:20] virt_kend = 0xffffffff8205f000 > (XEN) [2012-06-17 00:22:20] virt_entry = 0xffffffff81cfb200 > (XEN) [2012-06-17 00:22:20] p2m_base = 0xffffffffffffffff > (XEN) [2012-06-17 00:22:20] Xen kernel: 64-bit, lsb, compat32 > (XEN) [2012-06-17 00:22:20] Dom0 kernel: 64-bit, PAE, lsb, paddr > 0x1000000 -> 0x205f000 > (XEN) [2012-06-17 00:22:20] PHYSICAL MEMORY ARRANGEMENT: > (XEN) [2012-06-17 00:22:20] Dom0 alloc.: > 0000000418000000->0000000420000000 (3987995 pages to be allocated) > (XEN) [2012-06-17 00:22:20] Init. ramdisk:000000042d02f000->000000042f5ff400> (XEN) [2012-06-17 00:22:20] VIRTUAL MEMORY ARRANGEMENT: > (XEN) [2012-06-17 00:22:20] Loaded kernel:ffffffff81000000->ffffffff8205f000> (XEN) [2012-06-17 00:22:20] Init. ramdisk:ffffffff8205f000->ffffffff8462f400> (XEN) [2012-06-17 00:22:20] Phys-Mach map:ffffffff84630000->ffffffff864eff60> (XEN) [2012-06-17 00:22:20] Start info:ffffffff864f0000->ffffffff864f04b4> (XEN) [2012-06-17 00:22:20] Page tables:ffffffff864f1000->ffffffff86528000> (XEN) [2012-06-17 00:22:20] Boot stack:ffffffff86528000->ffffffff86529000> (XEN) [2012-06-17 00:22:20] TOTAL:ffffffff80000000->ffffffff86800000> (XEN) [2012-06-17 00:22:20] ENTRY ADDRESS: ffffffff81cfb200 > (XEN) [2012-06-17 00:22:20] Dom0 has maximum 4 VCPUs > (XEN) [2012-06-17 00:22:20] elf_load_binary: phdr 0 at > 0xffffffff81000000 -> 0xffffffff81ad5000 > (XEN) [2012-06-17 00:22:20] elf_load_binary: phdr 1 at > 0xffffffff81c00000 -> 0xffffffff81ce50e0 > (XEN) [2012-06-17 00:22:20] elf_load_binary: phdr 2 at > 0xffffffff81ce6000 -> 0xffffffff81cfa480 > (XEN) [2012-06-17 00:22:20] elf_load_binary: phdr 3 at > 0xffffffff81cfb000 -> 0xffffffff81dd3000 > (XEN) [2012-06-17 00:22:22] Scrubbing Free RAM: .done. > (XEN) [2012-06-17 00:22:22] Initial low memory virq threshold set at > 0x4000 pages. > (XEN) [2012-06-17 00:22:22] Std. Loglevel: All > (XEN) [2012-06-17 00:22:22] Guest Loglevel: All > (XEN) [2012-06-17 00:22:22] Xen is relinquishing VGA console. > (XEN) [2012-06-17 00:22:22] *** Serial input -> DOM0 (type ''CTRL-a'' > three times to switch input to Xen) > (XEN) [2012-06-17 00:22:22] Freed 244kB init memory. > mapping kernel into physical memory > Xen: setup ISA identity maps > about to get started... > [ 0.000000] Initializing cgroup subsys cpuset > [ 0.000000] Initializing cgroup subsys cpu > [ 0.000000] Linux version 3.2.0-25-generic (buildd@crested) (gcc > version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #40-Ubuntu SMP We) > [ 0.000000] Command line: placeholder > root=UUID=74eca254-73dc-478d-9c20-8e0c1fa8bebe ro console=hvc0 > earlyprintk=xen > [ 0.000000] KERNEL supported cpus: > [ 0.000000] Intel GenuineIntel > [ 0.000000] AMD AuthenticAMD > [ 0.000000] Centaur CentaurHauls > [ 0.000000] Freeing 9d-100 pfn range: 99 pages freed > [ 0.000000] Freeing 20000-20200 pfn range: 512 pages freed > [ 0.000000] Freeing 40004-40005 pfn range: 1 pages freed > [ 0.000000] Freeing bd8a7-be0e7 pfn range: 2112 pages freed > [ 0.000000] Freeing beb81-beff2 pfn range: 1137 pages freed > [ 0.000000] Freeing bf000-100000 pfn range: 266240 pages freed > [ 0.000000] Released 270101 pages of unused memory > [ 0.000000] Set 270101 page(s) to 1-1 mapping > [ 0.000000] BIOS-provided physical RAM map: > [ 0.000000] Xen: 0000000000000000 - 000000000009d000 (usable) > [ 0.000000] Xen: 000000000009d800 - 0000000000100000 (reserved) > [ 0.000000] Xen: 0000000000100000 - 0000000020000000 (usable) > [ 0.000000] Xen: 0000000020000000 - 0000000020200000 (reserved) > [ 0.000000] Xen: 0000000020200000 - 0000000040004000 (usable) > [ 0.000000] Xen: 0000000040004000 - 0000000040005000 (reserved) > [ 0.000000] Xen: 0000000040005000 - 00000000bd8a7000 (usable) > [ 0.000000] Xen: 00000000bd8a7000 - 00000000bde1f000 (reserved) > [ 0.000000] Xen: 00000000bde1f000 - 00000000be09f000 (ACPI NVS) > [ 0.000000] Xen: 00000000be09f000 - 00000000be0a4000 (ACPI data) > [ 0.000000] Xen: 00000000be0a4000 - 00000000be0e7000 (ACPI NVS) > [ 0.000000] Xen: 00000000be0e7000 - 00000000beb81000 (usable) > [ 0.000000] Xen: 00000000beb81000 - 00000000beff2000 (reserved) > [ 0.000000] Xen: 00000000beff2000 - 00000000bf000000 (usable) > [ 0.000000] Xen: 00000000bf800000 - 00000000cfa00000 (reserved) > [ 0.000000] Xen: 00000000f8000000 - 00000000fc000000 (reserved) > [ 0.000000] Xen: 00000000fec00000 - 00000000fec01000 (reserved) > [ 0.000000] Xen: 00000000fed00000 - 00000000fed04000 (reserved) > [ 0.000000] Xen: 00000000fed1c000 - 00000000fed20000 (reserved) > [ 0.000000] Xen: 00000000fee00000 - 00000000fee01000 (reserved) > [ 0.000000] Xen: 00000000ff000000 - 0000000100000000 (reserved) > [ 0.000000] Xen: 0000000100000000 - 000000042f600000 (usable) > [ 0.000000] bootconsole [xenboot0] enabled > [ 0.000000] NX (Execute Disable) protection: active > [ 0.000000] DMI 2.7 present. > [ 0.000000] No AGP bridge found > [ 0.000000] last_pfn = 0x42f600 max_arch_pfn = 0x400000000 > [ 0.000000] x2apic enabled by BIOS, switching to x2apic ops > [ 0.000000] last_pfn = 0xbf000 max_arch_pfn = 0x400000000 > [ 0.000000] found SMP MP-table at [ffff8800000fceb0] fceb0 > [ 0.000000] init_memory_mapping: 0000000000000000-00000000bf000000 > [ 0.000000] init_memory_mapping: 0000000100000000-000000042f600000 > [ 0.000000] RAMDISK: 0205f000 - 04630000 > [ 0.000000] ACPI: RSDP 00000000000f0450 00024 (v02 ALASKA) > [ 0.000000] ACPI: XSDT 00000000be084080 00084 (v01 ALASKA A M I > 01072009 AMI 00010013) > [ 0.000000] ACPI: FACP 00000000be08e218 000F4 (v04 ALASKA A M I > 01072009 AMI 00010013) > [ 0.000000] ACPI: DSDT 00000000be0841a0 0A077 (v02 ALASKA A M I > 00000014 INTL 20051117) > [ 0.000000] ACPI: FACS 00000000be09df80 00040 > [ 0.000000] ACPI: APIC 00000000be08e310 00072 (v03 ALASKA A M I > 01072009 AMI 00010013) > [ 0.000000] ACPI: ASF! 00000000be08e388 000A5 (v32 INTEL HCG > 00000001 TFSM 000F4240) > [ 0.000000] ACPI: MCFG 00000000be08e430 0003C (v01 ALASKA A M I > 01072009 MSFT 00000097) > [ 0.000000] ACPI: SSDT 00000000be08e470 004A6 (v01 Intel_ AoacTabl > 00001000 INTL 20091112) > [ 0.000000] ACPI: AAFT 00000000be08e918 000C2 (v01 ALASKA OEMAAFT > 01072009 MSFT 00000097) > [ 0.000000] ACPI: HPET 00000000be08e9e0 00038 (v01 ALASKA A M I > 01072009 AMI. 00000005) > [ 0.000000] ACPI: SSDT 00000000be08ea18 0036D (v01 SataRe SataTabl > 00001000 INTL 20091112) > [ 0.000000] ACPI: SSDT 00000000be08ed88 009AA (v01 PmRef Cpu0Ist > 00003000 INTL 20051117) > [ 0.000000] ACPI: SSDT 00000000be08f738 00A92 (v01 PmRef CpuPm > 00003000 INTL 20051117) > [ 0.000000] ACPI: XMAR 00000000be0901d0 000B8 (v01 INTEL SNB > 00000001 INTL 00000001) > [ 0.000000] ACPI: BGRT 00000000be090288 0003C (v00 ALASKA A M I > 01072009 AMI 00010013) > [ 0.000000] Setting APIC routing to cluster x2apic. > [ 0.000000] No NUMA configuration found > [ 0.000000] Faking a node at 0000000000000000-000000042f600000 > [ 0.000000] Initmem setup node 0 0000000000000000-000000042f600000 > [ 0.000000] NODE_DATA [00000003d7fe7000 - 00000003d7febfff] > [ 0.000000] Zone PFN ranges: > [ 0.000000] DMA 0x00000010 -> 0x00001000 > [ 0.000000] DMA32 0x00001000 -> 0x00100000 > [ 0.000000] Normal 0x00100000 -> 0x0042f600 > [ 0.000000] Movable zone start PFN for each node > [ 0.000000] early_node_map[7] active PFN ranges > [ 0.000000] 0: 0x00000010 -> 0x0000009d > [ 0.000000] 0: 0x00000100 -> 0x00020000 > [ 0.000000] 0: 0x00020200 -> 0x00040004 > [ 0.000000] 0: 0x00040005 -> 0x000bd8a7 > [ 0.000000] 0: 0x000be0e7 -> 0x000beb81 > [ 0.000000] 0: 0x000beff2 -> 0x000bf000 > [ 0.000000] 0: 0x00100000 -> 0x0042f600 > [ 0.000000] ACPI: PM-Timer IO Port: 0x408 > [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) > [ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled) > [ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x04] enabled) > [ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x06] enabled) > [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1]) > [ 0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) > [ 0.000000] IOAPIC[0]: apic_id 2, version 255, address 0xfec00000, GSI0-255> [ 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 9 global_irq 9 high level) > [ 0.000000] Using ACPI (MADT) for SMP configuration information > [ 0.000000] ACPI: HPET id: 0x8086a701 base: 0xfed00000 > [ 0.000000] SMP: Allowing 4 CPUs, 0 hotplug CPUs > [ 0.000000] PM: Registered nosave memory: 000000000009d000 -000000000009e000> [ 0.000000] PM: Registered nosave memory: 000000000009e000 -0000000000100000> [ 0.000000] PM: Registered nosave memory: 0000000020000000 -0000000020200000> [ 0.000000] PM: Registered nosave memory: 0000000040004000 -0000000040005000> [ 0.000000] PM: Registered nosave memory: 00000000bd8a7000 -00000000bde1f000> [ 0.000000] PM: Registered nosave memory: 00000000bde1f000 -00000000be09f000> [ 0.000000] PM: Registered nosave memory: 00000000be09f000 -00000000be0a4000> [ 0.000000] PM: Registered nosave memory: 00000000be0a4000 -00000000be0e7000> [ 0.000000] PM: Registered nosave memory: 00000000beb81000 -00000000beff2000> [ 0.000000] PM: Registered nosave memory: 00000000bf000000 -00000000bf800000> [ 0.000000] PM: Registered nosave memory: 00000000bf800000 -00000000cfa00000> [ 0.000000] PM: Registered nosave memory: 00000000cfa00000 -00000000f8000000> [ 0.000000] PM: Registered nosave memory: 00000000f8000000 -00000000fc000000> [ 0.000000] PM: Registered nosave memory: 00000000fc000000 -00000000fec00000> [ 0.000000] PM: Registered nosave memory: 00000000fec00000 -00000000fec01000> [ 0.000000] PM: Registered nosave memory: 00000000fec01000 -00000000fed00000> [ 0.000000] PM: Registered nosave memory: 00000000fed00000 -00000000fed04000> [ 0.000000] PM: Registered nosave memory: 00000000fed04000 -00000000fed1c000> [ 0.000000] PM: Registered nosave memory: 00000000fed1c000 -00000000fed20000> [ 0.000000] PM: Registered nosave memory: 00000000fed20000 -00000000fee00000> [ 0.000000] PM: Registered nosave memory: 00000000fee00000 -00000000fee01000> [ 0.000000] PM: Registered nosave memory: 00000000fee01000 -00000000ff000000> [ 0.000000] PM: Registered nosave memory: 00000000ff000000 -0000000100000000> [ 0.000000] Allocating PCI resources starting at cfa00000 (gap: > cfa00000:28600000) > [ 0.000000] Booting paravirtualized kernel on Xen > [ 0.000000] Xen version: 4.2-unstable (preserve-AD) > [ 0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 > nr_cpu_ids:4 nr_node_ids:1 > [ 0.000000] PERCPU: Embedded 28 pages/cpu @ffff8803d7c00000 s83072 > r8192 d23424 u524288 > [ 3.860481] Built 1 zonelists in Zone order, mobility grouping on. > Total pages: 4048188 > [ 3.860484] Policy zone: Normal > [ 3.860487] Kernel command line: placeholder > root=UUID=74eca254-73dc-478d-9c20-8e0c1fa8bebe ro console=hvc0 > earlyprintk=xen > [ 3.860828] PID hash table entries: 4096 (order: 3, 32768 bytes) > [ 3.861070] invalid opcode: 0000 [#1] SMP > [ 3.861073] CPU 0 > [ 3.861074] Modules linked in: > [ 3.861076] > [ 3.861078] Pid: 0, comm: swapper Not tainted 3.2.0-25-generic > #40-Ubuntu To Be Filled By O.E.M. To Be Filled By O.E.M./Z77 Extre6 > [ 3.861083] RIP: e030:[<ffffffff8101d82c>] [<ffffffff8101d82c>] > xstate_enable+0x3c/0x50 > [ 3.861090] RSP: e02b:ffffffff81c01e58 EFLAGS: 00010046 > [ 3.861092] RAX: 0000000000000007 RBX: ffffffff81c01e94 RCX:0000000000000000> [ 3.861094] RDX: 0000000000000000 RSI: 0000000000000007 RDI:0000000000002660> [ 3.861096] RBP: ffffffff81c01e58 R08: ffffffff81c01e90 R09:ffffffff81c01e94> [ 3.861098] R10: 00000000ffffffff R11: 00000000ffffffff R12:ffffffff81c01e90> [ 3.861100] R13: ffffffff81c01e8c R14: ffffffff81c01e88 R15:ffff8803d7c0c480> [ 3.861104] FS: 0000000000000000(0000) GS:ffff8803d7c00000(0000) > knlGS:0000000000000000 > [ 3.861107] CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b > [ 3.861108] CR2: 0000000000000000 CR3: 0000000001c05000 CR4:0000000000002660> [ 3.861111] DR0: 0000000000000000 DR1: 0000000000000000 DR2:0000000000000000> [ 3.861113] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:0000000000000400> [ 3.861115] Process swapper (pid: 0, threadinfo ffffffff81c00000, > task ffffffff81c0d020) > [ 3.861117] Stack: > [ 3.861119] ffffffff81c01ec8 ffffffff81d04795 ffff8803d7c0b150 > ffff8803d7c0b950 > [ 3.861123] ffff8803d7c0b150 ffff8803d7c0b950 0000024000000007 > 0000000000000340 > [ 3.861127] 0000000000000004 0000000000000008 0000000000000004 > 0000000000000000 > [ 3.861131] Call Trace: > [ 3.861136] [<ffffffff81d04795>] xstate_enable_boot_cpu+0xa9/0x174 > [ 3.861141] [<ffffffff8163660b>] xsave_init+0x26/0x28 > [ 3.861143] [<ffffffff816388d1>] cpu_init+0x2bb/0x2d8 > [ 3.861146] [<ffffffff81d00f92>] trap_init+0x169/0x171 > [ 3.861149] [<ffffffff81cfba28>] start_kernel+0x1d5/0x3c7 > [ 3.861153] [<ffffffff81cfb388>] x86_64_start_reservations+0x132/0x136 > [ 3.861156] [<ffffffff81cfef27>] xen_start_kernel+0x5d9/0x5e0 > [ 3.861157] Code: 00 04 00 ff 14 25 90 76 c1 81 48 89 c7 48 81 cf > 00 00 04 00 ff 14 25 98 76 c1 81 48 8b 05 cd 0d dc 00 31 c9 48 > [ 3.861191] RIP [<ffffffff8101d82c>] xstate_enable+0x3c/0x50 > [ 3.861194] RSP <ffffffff81c01e58 > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
On Sun, Jun 17, 2012 at 5:04 AM, AP <apxeng@gmail.com> wrote:> > On Jun 16, 2012 5:56 PM, "Rolu" <rolu@roce.org> wrote: >> >> When booting a recently compiled Xen 4.2 on Ubuntu 12.04, dom0 >> crashes. I''ve included a serial console log below. >> >> I''ve used: >> Xen 4.2 unstable rev. 25483, compiled on the same machine. I had to >> apply the AT_EMPTY_PATH patch from >> http://lists.gnu.org/archive/html/qemu-devel/2012-02/msg03460.html to >> get it to compile. >> Linux 3.2.0-25, which is the default kernel in Ubuntu''s repository right >> now. >> Ubuntu 12.04 Precise >> >> Booting with the default Xen 4.1 from the Ubuntu repositories works. >> >> Using the kernel from >> http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-precise/, which is >> a mainline Linux kernel (and also more recent) works with my compiled >> version of Xen 4.2 >> >> So, >> * Is xen 4.2 not happy with the 3.2 kernel I''ve used? >> * Is this due to something Ubuntu modified in their default kernel? >> * Is this an issue with Xen? >> * Did I break something? > > This is an issue with the Ubuntu kernel. Check this thread out: > http://lists.xen.org/archives/html/xen-devel/2012-05/msg00049.html > > Adding xsave=0 to the Xen kernel line in grub is the workaround. >Indeed, this worked. Thanks!
On 17.06.2012 05:23, Rolu wrote:> On Sun, Jun 17, 2012 at 5:04 AM, AP <apxeng@gmail.com> wrote: >> >> On Jun 16, 2012 5:56 PM, "Rolu" <rolu@roce.org> wrote: >>> >>> When booting a recently compiled Xen 4.2 on Ubuntu 12.04, dom0 >>> crashes. I''ve included a serial console log below. >>> >>> I''ve used: >>> Xen 4.2 unstable rev. 25483, compiled on the same machine. I had to >>> apply the AT_EMPTY_PATH patch from >>> http://lists.gnu.org/archive/html/qemu-devel/2012-02/msg03460.html to >>> get it to compile. >>> Linux 3.2.0-25, which is the default kernel in Ubuntu''s repository right >>> now. >>> Ubuntu 12.04 Precise >>> >>> Booting with the default Xen 4.1 from the Ubuntu repositories works. >>> >>> Using the kernel from >>> http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-precise/, which is >>> a mainline Linux kernel (and also more recent) works with my compiled >>> version of Xen 4.2 >>> >>> So, >>> * Is xen 4.2 not happy with the 3.2 kernel I''ve used? >>> * Is this due to something Ubuntu modified in their default kernel? >>> * Is this an issue with Xen? >>> * Did I break something? >> >> This is an issue with the Ubuntu kernel. Check this thread out: >> http://lists.xen.org/archives/html/xen-devel/2012-05/msg00049.html >>This is an issue between libc not checking all flags correctly and a current hack to work around a bug on older Xen versions. If I understood correctly there was a fix going into libc but I am also in the process of changing that hack to prevent those issues. But it will go into 12.10 first and then move backwards. -Stefan>> Adding xsave=0 to the Xen kernel line in grub is the workaround. >> > > Indeed, this worked. Thanks! > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Seemingly Similar Threads
- no-amd-iommu-perdev-intremap + no-intremap = BOOM with Xen 4.4 (no-intremap by itself OK).
- e008:[<ffff82c480122353>] check_lock+0x1b/0x45 [konrad.wilk@oracle.com: FAILURE 3.10.0-rc6upstream-00061-g752bf7d(x86_64) 3.10.0-rc6upstream-00061-g752bf7d(i386): 2013-06-19 (tst007)]
- Assertion ''l1e_get_pfn(MAPCACHE_L1ENT(hashent->idx)) == hashent->mfn'' failed at domain_page.c:203
- 3.5.0 dom0 crash on boot
- Bug#776237: xen-hypervisor-4.4-amd64: kernel panic on dom0 boot