[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] fyi, Xen's EFI workarounds (/mapbs & efi=no-rs) on SuperMicro hardware; fixes solve 1/2 problems & SM responds that can't/won't fix their firmware
I run Xen 4.6 Dom0 on an Opensuse Leap 42.1 server.Hardware is a SuperMicro X10SAT motherboard (http://www.supermicro.com/products/motherboard/Xeon/C220/X10SAT.cfm), with AMI v3 BIOS + "UEFI support" Two issues exist with the SuperMicro EFI (1) firmware EFI mis-mapping causing Xen PANIC on restart (2) EFI variables not persistent across rebootSuperMicro's development/support has been made aware of both issues; Their response is that they won't/can't fix the problem. I do NOT know if the problems exist with other SM boards' EFI implementations. Xen's EFI workarounds work to fix (1), not (2) (admittedly, not a xen-specific issue ... just crops up when GRUB2-ing your way to Xen boot) In #xen, it was suggested that I document the issue to the xen-devel ML, just for the record. Hence, detail follows: Xen Dom0 version xen-4.6.0_04-398.3.x86_64 on Opensuse server lsb_release -rd Description: openSUSE Leap 42.1 (x86_64) Release: 42.1 uname -rm 4.3.0-21.g0e6e680-default x86_64 The board/bios info dmidecode # dmidecode 2.12 # SMBIOS entry point at 0x000f04c0 SMBIOS 2.7 present. 81 structures occupying 3317 bytes. Table at 0x000EC200. ... System Information Manufacturer: Supermicro Product Name: X10SAT ... BIOS Information Vendor: American Megatrends Inc. Version: 3.0 Release Date: 05/26/2015 Address: 0xF0000 Runtime Size: 64 kB ROM Size: 16384 kB Characteristics: PCI is supported BIOS is upgradeable BIOS shadowing is allowed Boot from CD is supported Selectable boot is supported BIOS ROM is socketed EDD is supported 5.25"/1.2 MB floppy services are supported (int 13h) 3.5"/720 kB floppy services are supported (int 13h) 3.5"/2.88 MB floppy services are supported (int 13h) Print screen service is supported (int 5h) 8042 keyboard services are supported (int 9h) Serial services are supported (int 14h) Printer services are supported (int 17h) ACPI is supported USB legacy is supported BIOS boot specification is supported Targeted content distribution is supported UEFI is supported BIOS Revision: 4.6 BIOS is updated with latest available version, X10SAT5.526 and EFI reports Shell> ver EFI Specification Revision : 2.31 EFI Vendor : American Megatrends EFI Revision : 4.655 Not clear whether they're using tianocore UEFI code. Demonstration of (2), non-persistence of EFI boot vars: @ OS shell, make changes to the MoBo's EFI NVRAM. E.g.,efibootmgr -c -d /dev/sdg -p 2 -l \\EFI\\opensuse\\xen-4.6.0_02-397.efi -L OpenSuse-Xen efibootmgr -c -d /dev/sdg -p 2 -l \\EFI\\XEN\\xen.efi -L Custom-Xen efibootmgr BootOrder: 0001,0000 Boot0000* OpenSuse-Xen Boot0001* Custom-Xen efibootmgr -o 0,1 efibootmgr BootOrder: 0000,0001 Boot0000* OpenSuse-Xen Boot0001* Custom-Xen after reboot, re-checking the EFI variables presented from the motherboard, efibootmgr -v (empty) the vars are NOT persistent, and have been removed. Documentation of (1), EFI mapping, Xen PANIC & workarounds (A) boot & shutdown, Xen PANIC, no EFI 'fixes' Xen 4.6.0_04-398 (c/s ) EFI loader Using configuration file 'xen-4.6.0_04-398.cfg' vmlinuz-4.3.0-21.g0e6e680-default: 0x000000008c08c000-0x000000008c65ee60 initrd-4.3.0-21.g0e6e680-default: 0x000000008b120000-0x000000008c08bf9c 0x0000:0x00:0x19.0x0: ROM: 0x10000 bytes at 0x92892018 0x0000:0x04:0x00.0x0: ROM: 0x8000 bytes at 0x92889018 0x0000:0x10:0x00.0x0: ROM: 0x10800 bytes at 0x92871018 __ __ _ _ __ ___ ___ _ _ _____ ___ ___ \ \/ /___ _ __ | || | / /_ / _ \ / _ \| || | |___ // _ \ ( _ ) \ // _ \ '_ \ | || |_| '_ \| | | | | | | | || |_ __ |_ \ (_) |/ _ \ / \ __/ | | | |__ _| (_) | |_| | | |_| |__ _|__|__) \__, | (_) | /_/\_\___|_| |_| |_|(_)___(_)___/___\___/ |_| |____/ /_/ \___/ |_____|(XEN) Xen version 4.6.0_04-398 (abuild@xxxxxxx) (gcc (SUSE Linux) 4.8.5) debug=n Tue Nov 24 15:44:57 UTC 2015 (XEN) Latest ChangeSet: (XEN) Console output is synchronous. (XEN) Bootloader: EFI(XEN) Command line: dom0_mem=3072M,max:3072M dom0_max_vcpus=1 dom0_vcpus_pin=true cpuidle=1 cpufreq=xen clocksource=hpet iommu=verbose sched=credit vga=gfx-1920x1080x16 com1=115200,8n1,pci (XEN) Video information: (XEN) VGA is graphics mode 800x600, 32 bpp (XEN) Disc information: (XEN) Found 0 MBR signatures (XEN) Found 6 EDD information structures (XEN) EFI RAM map: (XEN) 0000000000000000 - 0000000000058000 (usable) (XEN) 0000000000058000 - 0000000000059000 (reserved) (XEN) 0000000000059000 - 000000000009f000 (usable) (XEN) 000000000009f000 - 00000000000a0000 (reserved) (XEN) 0000000000100000 - 000000008da96000 (usable) (XEN) 000000008da96000 - 000000008da9d000 (ACPI NVS) (XEN) 000000008da9d000 - 000000008e3e3000 (usable) (XEN) 000000008e3e3000 - 000000008e7ea000 (reserved) (XEN) 000000008e7ea000 - 000000009e5b1000 (usable) (XEN) 000000009e5b1000 - 000000009e62e000 (reserved) (XEN) 000000009e62e000 - 000000009e675000 (usable) (XEN) 000000009e675000 - 000000009e7a9000 (ACPI NVS) (XEN) 000000009e7a9000 - 000000009efff000 (reserved) (XEN) 000000009efff000 - 000000009f000000 (usable) (XEN) 00000000f0000000 - 00000000f8000000 (reserved) (XEN) 00000000fec00000 - 00000000fec01000 (reserved) (XEN) 00000000fed00000 - 00000000fed04000 (reserved) (XEN) 00000000fed1c000 - 00000000fed20000 (reserved) (XEN) 00000000fee00000 - 00000000fee01000 (reserved) (XEN) 00000000ff000000 - 0000000100000000 (reserved) (XEN) 0000000100000000 - 000000085e000000 (usable) (XEN) ACPI: RSDP 9E779000, 0024 (r2 SUPERM) (XEN) ACPI: XSDT 9E7790A0, 00C4 (r1 SUPERM SMCI--MB 1072009 AMI 10013) (XEN) ACPI: FACP 9E787328, 010C (r5 SUPERM SMCI--MB 1072009 AMI 10013) (XEN) ACPI: DSDT 9E779200, E121 (r2 SUPERM SMCI--MB 0 INTL 20120711) (XEN) ACPI: FACS 9E7A8F80, 0040 (XEN) ACPI: APIC 9E787438, 0072 (r3 SUPERM SMCI--MB 1072009 AMI 10013) (XEN) ACPI: FPDT 9E7874B0, 0044 (r1 SUPERM SMCI--MB 1072009 AMI 10013) (XEN) ACPI: FIDT 9E7874F8, 009C (r1 SUPERM SMCI--MB 1072009 AMI 10013) (XEN) ACPI: SSDT 9E787598, 0C7D (r2 Ther_R Ther_Rvp 1000 INTL 20120711) (XEN) ACPI: SSDT 9E788218, 0539 (r2 PmRef Cpu0Ist 3000 INTL 20051117) (XEN) ACPI: SSDT 9E788758, 0B74 (r2 CpuRef CpuSsdt 3000 INTL 20051117) (XEN) ACPI: SSDT 9E7892D0, 02DE (r2 PmRef Cpu0Tst 3000 INTL 20051117) (XEN) ACPI: SSDT 9E7895B0, 0348 (r2 PmRef ApTst 3000 INTL 20051117) (XEN) ACPI: MCFG 9E7898F8, 003C (r1 SUPERM SMCI--MB 1072009 MSFT 97) (XEN) ACPI: HPET 9E789938, 0038 (r1 SUPERM SMCI--MB 1072009 AMI. 5) (XEN) ACPI: SSDT 9E789970, 0397 (r1 SataRe SataTabl 1000 INTL 20120711) (XEN) ACPI: SSDT 9E789D08, 57F6 (r2 SaSsdt SaSsdt 3000 INTL 20120711)(XEN) ACPI: ASF! 9E78F500, 00A5 (r32 INTEL HCG 1 TFSM F4240) (XEN) ACPI: DMAR 9E78F5A8, 0080 (r1 INTEL BDW 1 INTL 1) (XEN) ACPI: EINJ 9E78F628, 0130 (r1 AMI AMI EINJ 0 0) (XEN) ACPI: ERST 9E78F758, 0230 (r1 AMIER AMI ERST 0 0) (XEN) ACPI: HEST 9E78F988, 00A8 (r1 AMI AMI HEST 0 0) (XEN) ACPI: BERT 9E78FA30, 0030 (r1 AMI AMI BERT 0 0) (XEN) ACPI: BGRT 9E78FA60, 0038 (r0 SUPERM SMCI--MB 1072009 AMI 10013) (XEN) System RAM: 32705MB (33490468kB) (XEN) No NUMA configuration found (XEN) Faking a node at 0000000000000000-000000085e000000 (XEN) Domain heap initialised (XEN) Allocated console ring of 64 KiB.(XEN) vesafb: framebuffer at 0xd1000000, mapped to 0xffff82c000201000, using 1920k, total 1920k (XEN) vesafb: mode is 800x600x32, linelength=3200, font 8x8 (XEN) vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0 (XEN) SMBIOS 2.7 present. (XEN) DMI 2.7 present. (XEN) Using APIC driver default (XEN) ACPI: PM-Timer IO Port: 0x1808 (XEN) ACPI: v5 SLEEP INFO: control[0:0], status[0:0] (XEN) ACPI: SLEEP INFO: pm1x_cnt[1:1804,1:0], pm1x_evt[1:1800,1:0](XEN) ACPI: 32/64X FACS address mismatch in FADT - 9e7a8f80/0000000000000000, using 32 (XEN) ACPI: wakeup_vec[9e7a8f8c], vec_size[20] (XEN) ACPI: Local APIC address 0xfee00000 (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) (XEN) Processor #0 7:12 APIC version 21 (XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled) (XEN) Processor #2 7:12 APIC version 21 (XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x04] enabled) (XEN) Processor #4 7:12 APIC version 21 (XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x06] enabled) (XEN) Processor #6 7:12 APIC version 21 (XEN) ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1]) (XEN) ACPI: IOAPIC (id[0x08] address[0xfec00000] gsi_base[0]) (XEN) IOAPIC[0]: apic_id 8, 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) Xen ERST support is initialized. (XEN) HEST: Table parsing has been initialized (XEN) Using ACPI (MADT) for SMP configuration information (XEN) SMP: Allowing 4 CPUs (0 hotplug CPUs) (XEN) NR_CPUS:1024 nr_cpumask_bits:64 (XEN) mapped APIC to ffff82cfff7fb000 (fee00000) (XEN) mapped IOAPIC to ffff82cfff7fa000 (fec00000) (XEN) IRQ limits: 24 GSI, 760 MSI/MSI-X (XEN) Not enabling x2APIC (upon firmware request) (XEN) xstate_init: using cntxt_size: 0x340 and states: 0x7 (XEN) Intel machine check reporting enabled (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 3092.877 MHz processor. (XEN) EFI memory map: (XEN) 0000000000000-0000000007fff type=3 attr=000000000000000f (XEN) 0000000008000-0000000047fff type=7 attr=000000000000000f (XEN) 0000000048000-0000000057fff type=4 attr=000000000000000f (XEN) 0000000058000-0000000058fff type=0 attr=000000000000000f (XEN) 0000000059000-000000005bfff type=7 attr=000000000000000f (XEN) 000000005c000-000000005efff type=2 attr=000000000000000f (XEN) 000000005f000-000000005ffff type=4 attr=000000000000000f (XEN) 0000000060000-000000009efff type=3 attr=000000000000000f (XEN) 000000009f000-000000009ffff type=0 attr=000000000000000f (XEN) 0000000100000-0000066436fff type=7 attr=000000000000000f (XEN) 0000066437000-000008a908fff type=2 attr=000000000000000f (XEN) 000008a909000-000008b11ffff type=7 attr=000000000000000f (XEN) 000008b120000-000008c65efff type=2 attr=000000000000000f (XEN) 000008c65f000-000008da95fff type=1 attr=000000000000000f (XEN) 000008da96000-000008da9cfff type=10 attr=000000000000000f (XEN) 000008da9d000-000008dbf0fff type=4 attr=000000000000000f (XEN) 000008dbf1000-000008e3adfff type=3 attr=000000000000000f (XEN) 000008e3ae000-000008e3b1fff type=4 attr=000000000000000f (XEN) 000008e3b2000-000008e3b7fff type=7 attr=000000000000000f (XEN) 000008e3b8000-000008e3bcfff type=4 attr=000000000000000f (XEN) 000008e3bd000-000008e3c6fff type=3 attr=000000000000000f (XEN) 000008e3c7000-000008e3cdfff type=4 attr=000000000000000f (XEN) 000008e3ce000-000008e3d7fff type=3 attr=000000000000000f (XEN) 000008e3d8000-000008e3e2fff type=4 attr=000000000000000f (XEN) 000008e3e3000-000008e7e9fff type=6 attr=800000000000000f (XEN) 000008e7ea000-000008e7f8fff type=4 attr=000000000000000f (XEN) 000008e7f9000-000008e806fff type=7 attr=000000000000000f (XEN) 000008e807000-000008e807fff type=2 attr=000000000000000f (XEN) 000008e808000-0000091806fff type=7 attr=000000000000000f (XEN) 0000091807000-0000091a6efff type=4 attr=000000000000000f (XEN) 0000091a6f000-0000091aa1fff type=7 attr=000000000000000f (XEN) 0000091aa2000-0000091b00fff type=4 attr=000000000000000f (XEN) 0000091b01000-0000091b67fff type=7 attr=000000000000000f (XEN) 0000091b68000-0000091c0cfff type=4 attr=000000000000000f (XEN) 0000091c0d000-0000091c40fff type=7 attr=000000000000000f (XEN) 0000091c41000-0000091c41fff type=4 attr=000000000000000f (XEN) 0000091c42000-0000091c42fff type=7 attr=000000000000000f (XEN) 0000091c43000-0000091c43fff type=4 attr=000000000000000f (XEN) 0000091c44000-0000091c44fff type=7 attr=000000000000000f (XEN) 0000091c45000-0000091c45fff type=4 attr=000000000000000f (XEN) 0000091c46000-0000091c46fff type=7 attr=000000000000000f (XEN) 0000091c47000-0000091c47fff type=4 attr=000000000000000f (XEN) 0000091c48000-0000091c4efff type=7 attr=000000000000000f (XEN) 0000091c4f000-0000091c50fff type=4 attr=000000000000000f (XEN) 0000091c51000-0000091c63fff type=7 attr=000000000000000f (XEN) 0000091c64000-0000091c6efff type=4 attr=000000000000000f (XEN) 0000091c6f000-0000091cf0fff type=7 attr=000000000000000f (XEN) 0000091cf1000-0000091d54fff type=4 attr=000000000000000f (XEN) 0000091d55000-0000091d87fff type=7 attr=000000000000000f (XEN) 0000091d88000-0000092047fff type=4 attr=000000000000000f (XEN) 0000092048000-000009205efff type=7 attr=000000000000000f (XEN) 000009205f000-00000920c7fff type=4 attr=000000000000000f (XEN) 00000920c8000-000009210efff type=7 attr=000000000000000f (XEN) 000009210f000-0000092183fff type=4 attr=000000000000000f (XEN) 0000092184000-00000922f8fff type=7 attr=000000000000000f (XEN) 00000922f9000-00000923a3fff type=4 attr=000000000000000f (XEN) 00000923a4000-00000923b0fff type=7 attr=000000000000000f (XEN) 00000923b1000-0000092471fff type=4 attr=000000000000000f (XEN) 0000092472000-0000092475fff type=7 attr=000000000000000f (XEN) 0000092476000-000009256cfff type=4 attr=000000000000000f (XEN) 000009256d000-000009256ffff type=7 attr=000000000000000f (XEN) 0000092570000-00000927ccfff type=4 attr=000000000000000f (XEN) 00000927cd000-00000927cffff type=7 attr=000000000000000f (XEN) 00000927d0000-0000092881fff type=4 attr=000000000000000f (XEN) 0000092882000-0000092884fff type=7 attr=000000000000000f (XEN) 0000092885000-000009c18cfff type=4 attr=000000000000000f (XEN) 000009c18d000-000009c18efff type=7 attr=000000000000000f (XEN) 000009c18f000-000009c260fff type=4 attr=000000000000000f (XEN) 000009c261000-000009c261fff type=7 attr=000000000000000f (XEN) 000009c262000-000009dfb0fff type=4 attr=000000000000000f (XEN) 000009dfb1000-000009e29cfff type=7 attr=000000000000000f (XEN) 000009e29d000-000009e5b0fff type=3 attr=000000000000000f (XEN) 000009e5b1000-000009e5cbfff type=0 attr=000000000000000f (XEN) 000009e5cc000-000009e62dfff type=0 attr=000000000000000f (XEN) 000009e62e000-000009e674fff type=7 attr=000000000000000f (XEN) 000009e675000-000009e793fff type=10 attr=000000000000000f (XEN) 000009e794000-000009e7a4fff type=10 attr=000000000000000f (XEN) 000009e7a5000-000009e7a8fff type=10 attr=000000000000000f (XEN) 000009e7a9000-000009e9effff type=6 attr=800000000000000f (XEN) 000009e9f0000-000009eb48fff type=6 attr=800000000000000f (XEN) 000009eb49000-000009eb4afff type=6 attr=800000000000000f (XEN) 000009eb4b000-000009eef0fff type=6 attr=800000000000000f (XEN) 000009eef1000-000009eef2fff type=6 attr=800000000000000f (XEN) 000009eef3000-000009ef8efff type=6 attr=800000000000000f (XEN) 000009ef8f000-000009efa4fff type=5 attr=800000000000000f (XEN) 000009efa5000-000009effefff type=5 attr=800000000000000f (XEN) 000009efff000-000009effffff type=4 attr=000000000000000f (XEN) 0000100000000-000085dffffff type=7 attr=000000000000000f (XEN) 00000f0000000-00000f7ffffff type=11 attr=8000000000000001 (XEN) 00000fec00000-00000fec00fff type=11 attr=8000000000000001 (XEN) 00000fed00000-00000fed03fff type=11 attr=8000000000000001 (XEN) 00000fed1c000-00000fed1ffff type=11 attr=8000000000000001 (XEN) 00000fee00000-00000fee00fff type=11 attr=8000000000000001 (XEN) 00000ff000000-00000ffffffff type=11 attr=8000000000000001 (XEN) Initing memory sharing. (XEN) alt table ffff82d0802d3450 -> ffff82d0802d4854 (XEN) spurious 8259A interrupt: IRQ7. (XEN) PCI: MCFG configuration 0: base f0000000 segment 0000 buses 00 - 7f (XEN) PCI: MCFG area at f0000000 reserved in E820 (XEN) PCI: Using MCFG for segment 0000 bus 00-7f (XEN) Intel VT-d iommu 0 supported page sizes: 4kB, 2MB, 1GB. (XEN) Intel VT-d Snoop Control 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 enabled. (XEN) I/O virtualisation enabled (XEN) - Dom0 mode: Relaxed (XEN) Interrupt remapping enabled (XEN) Enabled directed EOI with ioapic_ack_old on! (XEN) Suppress EOI broadcast on CPU#0 (XEN) enabled ExtINT on CPU#0 (XEN) ENABLING IO-APIC IRQs (XEN) init IO_APIC IRQs(XEN) IO-APIC (apicid-pin) 8-0, 8-16, 8-17, 8-18, 8-19, 8-20, 8-21, 8-22, 8-23 not connected. (XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=0 pin2=0 (XEN) number of MP IRQ sources: 15. (XEN) number of IO-APIC #8 registers: 24. (XEN) testing the IO APIC....................... (XEN) IO APIC #8...... (XEN) .... register #00: 08000000 (XEN) ....... : physical APIC id: 08 (XEN) ....... : Delivery Type: 0 (XEN) ....... : LTS : 0 (XEN) .... register #01: 00170020 (XEN) ....... : max redirection entries: 0017 (XEN) ....... : PRQ implemented: 0 (XEN) ....... : IO APIC version: 0020 (XEN) .... IRQ redirection table: (XEN) NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: (XEN) 00 000 00 1 0 0 0 0 0 7 00 (XEN) 01 001 01 0 0 0 0 0 1 1 30 (XEN) 02 001 01 0 0 0 0 0 1 1 F0 (XEN) 03 001 01 0 0 0 0 0 1 1 38 (XEN) 04 001 01 0 0 0 0 0 1 1 F1 (XEN) 05 001 01 0 0 0 0 0 1 1 40 (XEN) 06 001 01 0 0 0 0 0 1 1 48 (XEN) 07 001 01 0 0 0 0 0 1 1 50 (XEN) 08 001 01 0 0 0 0 0 1 1 58 (XEN) 09 001 01 1 1 0 0 0 1 1 60 (XEN) 0a 001 01 0 0 0 0 0 1 1 68 (XEN) 0b 001 01 0 0 0 0 0 1 1 70 (XEN) 0c 001 01 0 0 0 0 0 1 1 78 (XEN) 0d 001 01 0 0 0 0 0 1 1 88 (XEN) 0e 001 01 0 0 0 0 0 1 1 90 (XEN) 0f 001 01 0 0 0 0 0 1 1 98 (XEN) 10 000 00 1 0 0 0 0 0 0 00 (XEN) 11 000 00 1 0 0 0 0 0 0 00 (XEN) 12 000 00 1 0 0 0 0 0 0 00 (XEN) 13 000 00 1 0 0 0 0 0 0 00 (XEN) 14 000 00 1 0 0 0 0 0 0 00 (XEN) 15 000 00 1 0 0 0 0 0 0 00 (XEN) 16 000 00 1 0 0 0 0 0 0 00 (XEN) 17 000 00 1 0 0 0 0 0 0 00 (XEN) Using vector-based indexing (XEN) IRQ to pin mappings: (XEN) IRQ240 -> 0:2 (XEN) IRQ48 -> 0:1 (XEN) IRQ56 -> 0:3 (XEN) IRQ241 -> 0:4 (XEN) IRQ64 -> 0:5 (XEN) IRQ72 -> 0:6 (XEN) IRQ80 -> 0:7 (XEN) IRQ88 -> 0:8 (XEN) IRQ96 -> 0:9 (XEN) IRQ104 -> 0:10 (XEN) IRQ112 -> 0:11 (XEN) IRQ120 -> 0:12 (XEN) IRQ136 -> 0:13 (XEN) IRQ144 -> 0:14 (XEN) IRQ152 -> 0:15 (XEN) .................................... done. (XEN) Using local APIC timer interrupts. (XEN) calibrating APIC timer ... (XEN) ..... CPU clock speed is 3092.9674 MHz. (XEN) ..... host bus clock speed is 99.7731 MHz. (XEN) ..... bus_scale = 0x662c (XEN) TSC deadline timer enabled (XEN) [2015-12-02 06:13:29] Platform timer is 14.318MHz HPET (XEN) [2015-12-02 06:13:29] mwait-idle: MWAIT substates: 0x42120 (XEN) [2015-12-02 06:13:29] mwait-idle: v0.4 model 0x3c(XEN) [2015-12-02 06:13:29] mwait-idle: lapic_timer_reliable_states 0xffffffff (XEN) [2015-12-02 06:13:29] VMX: Supported advanced features: (XEN) [2015-12-02 06:13:29] - APIC MMIO access virtualisation (XEN) [2015-12-02 06:13:29] - APIC TPR shadow (XEN) [2015-12-02 06:13:29] - Extended Page Tables (EPT) (XEN) [2015-12-02 06:13:29] - Virtual-Processor Identifiers (VPID) (XEN) [2015-12-02 06:13:29] - Virtual NMI (XEN) [2015-12-02 06:13:29] - MSR direct-access bitmap (XEN) [2015-12-02 06:13:29] - Unrestricted Guest (XEN) [2015-12-02 06:13:29] - VMCS shadowing (XEN) [2015-12-02 06:13:29] - VM Functions (XEN) [2015-12-02 06:13:29] HVM: ASIDs enabled. (XEN) [2015-12-02 06:13:29] HVM: VMX enabled (XEN) [2015-12-02 06:13:29] HVM: Hardware Assisted Paging (HAP) detected (XEN) [2015-12-02 06:13:29] HVM: HAP page sizes: 4kB, 2MB, 1GB (XEN) [2015-12-02 06:13:29] Suppress EOI broadcast on CPU#1 (XEN) [2015-12-02 06:13:29] masked ExtINT on CPU#1(XEN) [2015-12-02 06:13:29] [VT-D]INTR-REMAP: Request device [0000:f0:1f.0] fault index 0, iommu reg = ffff82c0003e2000 (XEN) [2015-12-02 06:13:29] [VT-D]INTR-REMAP: reason 22 - Present field in the IRTE entry is clear (XEN) [2015-12-02 06:13:29] Suppress EOI broadcast on CPU#2 (XEN) [2015-12-02 06:13:29] masked ExtINT on CPU#2 (XEN) [2015-12-02 06:13:29] Suppress EOI broadcast on CPU#3 (XEN) [2015-12-02 06:13:29] masked ExtINT on CPU#3 (XEN) [2015-12-02 06:13:29] Brought up 4 CPUs (XEN) [2015-12-02 06:13:29] ACPI sleep modes: S3 (XEN) [2015-12-02 06:13:29] VPMU: disabled(XEN) [2015-12-02 06:13:29] mcheck_poll: Machine check polling timer started. (XEN) [2015-12-02 06:13:29] Dom0 has maximum 216 PIRQs (XEN) [2015-12-02 06:13:29] NX (Execute Disable) protection active (XEN) [2015-12-02 06:13:29] *** LOADING DOMAIN 0 *** (XEN) [2015-12-02 06:13:29] Xen kernel: 64-bit, lsb, compat32(XEN) [2015-12-02 06:13:29] Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x2264000 (XEN) [2015-12-02 06:13:29] PHYSICAL MEMORY ARRANGEMENT:(XEN) [2015-12-02 06:13:29] Dom0 alloc.: 0000000840000000->0000000844000000 (766100 pages to be allocated) (XEN) [2015-12-02 06:13:29] Init. ramdisk: 000000085d094000->000000085dffff9c (XEN) [2015-12-02 06:13:29] VIRTUAL MEMORY ARRANGEMENT:(XEN) [2015-12-02 06:13:29] Loaded kernel: ffffffff81000000->ffffffff82264000 (XEN) [2015-12-02 06:13:29] Init. ramdisk: 0000000000000000->0000000000000000 (XEN) [2015-12-02 06:13:29] Phys-Mach map: 0000008000000000->0000008000600000 (XEN) [2015-12-02 06:13:29] Start info: ffffffff82264000->ffffffff822644b4 (XEN) [2015-12-02 06:13:29] Page tables: ffffffff82265000->ffffffff8227a000 (XEN) [2015-12-02 06:13:30] Boot stack: ffffffff8227a000->ffffffff8227b000 (XEN) [2015-12-02 06:13:30] TOTAL: ffffffff80000000->ffffffff82400000 (XEN) [2015-12-02 06:13:30] ENTRY ADDRESS: ffffffff81f391f0 (XEN) [2015-12-02 06:13:30] Dom0 has maximum 1 VCPUs (XEN) [2015-12-02 06:13:31] Bogus DMIBAR 0xfed18001 on 0000:00:00.0 (XEN) [2015-12-02 06:13:31] Scrubbing Free RAM on 1 nodes using 4 CPUs(XEN) [2015-12-02 06:13:31] ...................................................................done. (XEN) [2015-12-02 06:13:33] Initial low memory virq threshold set at 0x4000 pages. (XEN) [2015-12-02 06:13:33] Std. Loglevel: All (XEN) [2015-12-02 06:13:33] Guest Loglevel: All (XEN) [2015-12-02 06:13:33] ********************************************** (XEN) [2015-12-02 06:13:33] ******* WARNING: CONSOLE OUTPUT IS SYNCHRONOUS(XEN) [2015-12-02 06:13:33] ******* This option is intended to aid debugging of Xen by ensuring (XEN) [2015-12-02 06:13:33] ******* that all output is synchronously delivered on the serial line. (XEN) [2015-12-02 06:13:33] ******* However it can introduce SIGNIFICANT latencies and affect (XEN) [2015-12-02 06:13:33] ******* timekeeping. It is NOT recommended for production use! (XEN) [2015-12-02 06:13:33] ********************************************** (XEN) [2015-12-02 06:13:33] 3... 2... 1... (XEN) [2015-12-02 06:13:36] Xen is relinquishing VGA console.(XEN) [2015-12-02 06:13:36] *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen) (XEN) [2015-12-02 06:13:36] Freed 324kB init memory. mapping kernel into physical memory about to get started...[ 0.000000] Linux version 4.3.0-21.g0e6e680-default (geeko@buildhost) (gcc version 5.2.1 20151008 [gcc-5-branch revision 228597] (SUSE Linux) ) #1 SMP PREEMPT Mon Nov 30 12:35:47 UTC 20) [ 0.000000] efi: EFI_MEMMAP is not enabled. [ 0.000000] esrt: ESRT header is not in the memory map. [ 0.000000] ACPI: RSDP 0x000000009E779000 000024 (v02 SUPERM)[ 0.000000] ACPI: XSDT 0x000000009E7790A0 0000C4 (v01 SUPERM SMCI--MB 01072009 AMI 00010013) [ 0.000000] ACPI: FACP 0x000000009E787328 00010C (v05 SUPERM SMCI--MB 01072009 AMI 00010013) [ 0.000000] ACPI: DSDT 0x000000009E779200 00E121 (v02 SUPERM SMCI--MB 00000000 INTL 20120711) [ 0.000000] ACPI: FACS 0x000000009E7A8F80 000040[ 0.000000] ACPI: APIC 0x000000009E787438 000072 (v03 SUPERM SMCI--MB 01072009 AMI 00010013) [ 0.000000] ACPI: FPDT 0x000000009E7874B0 000044 (v01 SUPERM SMCI--MB 01072009 AMI 00010013) [ 0.000000] ACPI: FIDT 0x000000009E7874F8 00009C (v01 SUPERM SMCI--MB 01072009 AMI 00010013) [ 0.000000] ACPI: SSDT 0x000000009E787598 000C7D (v02 Ther_R Ther_Rvp 00001000 INTL 20120711) [ 0.000000] ACPI: SSDT 0x000000009E788218 000539 (v02 PmRef Cpu0Ist 00003000 INTL 20051117) [ 0.000000] ACPI: SSDT 0x000000009E788758 000B74 (v02 CpuRef CpuSsdt 00003000 INTL 20051117) [ 0.000000] ACPI: SSDT 0x000000009E7892D0 0002DE (v02 PmRef Cpu0Tst 00003000 INTL 20051117) [ 0.000000] ACPI: SSDT 0x000000009E7895B0 000348 (v02 PmRef ApTst 00003000 INTL 20051117) [ 0.000000] ACPI: MCFG 0x000000009E7898F8 00003C (v01 SUPERM SMCI--MB 01072009 MSFT 00000097) [ 0.000000] ACPI: HPET 0x000000009E789938 000038 (v01 SUPERM SMCI--MB 01072009 AMI. 00000005) [ 0.000000] ACPI: SSDT 0x000000009E789970 000397 (v01 SataRe SataTabl 00001000 INTL 20120711) [ 0.000000] ACPI: SSDT 0x000000009E789D08 0057F6 (v02 SaSsdt SaSsdt 00003000 INTL 20120711) [ 0.000000] ACPI: ASF! 0x000000009E78F500 0000A5 (v32 INTEL HCG 00000001 TFSM 000F4240) [ 0.000000] ACPI: RMAD 0x000000009E78F5A8 000080 (v01 INTEL BDW 00000001 INTL 00000001) [ 0.000000] ACPI: EINJ 0x000000009E78F628 000130 (v01 AMI AMI EINJ 00000000 00000000) [ 0.000000] ACPI: ERST 0x000000009E78F758 000230 (v01 AMIER AMI ERST 00000000 00000000) [ 0.000000] ACPI: HEST 0x000000009E78F988 0000A8 (v01 AMI AMI HEST 00000000 00000000) [ 0.000000] ACPI: BERT 0x000000009E78FA30 000030 (v01 AMI AMI BERT 00000000 00000000) [ 0.000000] ACPI: BGRT 0x000000009E78FA60 000038 (v00 SUPERM SMCI--MB 01072009 AMI 00010013) [ 0.000000] p2m virtual area at ffffc90000000000, size is 40000000[ 0.000000] Kernel command line: root=UUID=4716053b-39da-4cc1-a7ce-72171b862357 dolvm lvmwait=/dev/mapper/VG0-ROOT rootfstype=ext4 rootflags=journal_checksum noresume showopts n [ 66.058498] ACPI: 8 ACPI AML tables successfully acquired and loaded [ 66.066748] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'[ 66.072752] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8) [ 66.098441] Ignoring BGRT: invalid status 0 (expected 1) [ 66.112271] cpu 0 spinlock event irq 25 [ 66.116107] Could not initialize VPMU for cpu 0, error -95 [ 66.146042] NMI watchdog: disabled (cpu0): hardware events not enabled [ 66.160948] Grant table initialized [ 66.208913] ACPI: Executed 6 blocks of module-level executable AML code [ 66.222381] ACPI: Dynamic OEM Table Load:[ 66.226389] ACPI: SSDT 0xFFFF88011CCF8000 0003D3 (v02 PmRef Cpu0Cst 00003001 INTL 20051117) [ 66.235589] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20150818/hwxface-580) [ 66.244798] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20150818/hwxface-580) (XEN) [2015-12-02 06:13:37] Bogus DMIBAR 0xfed18001 on 0000:00:00.0 (XEN) [2015-12-02 06:13:37] PCI add device 0000:00:00.0 (XEN) [2015-12-02 06:13:37] PCI add device 0000:00:01.0 ... serial console output, loglvel=all, shutdown ... dracut Warning: Killing all remaining processes mdadm: stopped /dev/md4 mdadm: stopped /dev/md3 mdadm: stopped /dev/md2 mdadm: stopped /dev/md1 mdadm: stopped /dev/md0 Rebooting. [ 334.289714] reboot: Restarting system (XEN) [2015-12-02 14:18:06] Hardware Dom0 shutdown: rebooting machine (XEN) [2015-12-02 14:18:06] APIC error on CPU0: 40(00)(XEN) [2015-12-02 14:18:06] ----[ Xen-4.6.0_04-398 x86_64 debug=n Tainted: C ]---- (XEN) [2015-12-02 14:18:06] CPU: 0(XEN) [2015-12-02 14:18:06] RIP: e008:[<000000009e557340>] 000000009e557340 (XEN) [2015-12-02 14:18:06] RFLAGS: 0000000000010202 CONTEXT: hypervisor (d0v0) (XEN) [2015-12-02 14:18:06] rax: 000000009e557340 rbx: 0000000000000000 rcx: 0000000000000000 (XEN) [2015-12-02 14:18:06] rdx: 0000000000000000 rsi: 0000000000000000 rdi: 0000000000000000 (XEN) [2015-12-02 14:18:06] rbp: 0000000000000000 rsp: ffff83008cadfdc0 r8: 0000000000000000 (XEN) [2015-12-02 14:18:06] r9: 0000000000000000 r10: 0000000000000000 r11: 0000000000000000 (XEN) [2015-12-02 14:18:06] r12: 0000000000000000 r13: 0000000000000cf9 r14: 0000000000000065 (XEN) [2015-12-02 14:18:06] r15: ffff830000000000 cr0: 0000000080050033 cr4: 00000000001526e0 (XEN) [2015-12-02 14:18:06] cr3: 000000084518b000 cr2: 000000009e557340(XEN) [2015-12-02 14:18:06] ds: 0000 es: 0000 fs: 0000 gs: 0000 ss: e010 cs: e008 (XEN) [2015-12-02 14:18:06] Xen stack trace from rsp=ffff83008cadfdc0:(XEN) [2015-12-02 14:18:06] 000000009efe42f6 0000000000000065 ffff82d08022b8ca efff000000000000 (XEN) [2015-12-02 14:18:06] ffff82d080269000 000000084518b000 ffff82d08022bada 00000006b62c4000 (XEN) [2015-12-02 14:18:06] 0000000000000000 0000000000152660 000000000000e008 0000000000000292 (XEN) [2015-12-02 14:18:06] 0000000000000000 00000000fffffffe ffff82d0801821e8 0000000000000000 (XEN) [2015-12-02 14:18:06] 0000000000000010 000083008cadfe98 0000000000000000 0000004dd5835ef6 (XEN) [2015-12-02 14:18:06] 0000000000000001 0000000000000001 ffff830845158000 ffff830845158158 (XEN) [2015-12-02 14:18:06] 0000000000000002 00000000fee1dead ffff82d08012a03f ffff83008cadff18 (XEN) [2015-12-02 14:18:06] ffff82d0801058a1 0000000000000000 0000000000000000 ffff880094efbdc0 (XEN) [2015-12-02 14:18:06] ffffffff81f13cc0 ffffffff81e4d460 ffff82d080129172 0000000100000000 (XEN) [2015-12-02 14:18:06] 0000000000000000 ffff83008da9d000 ffff880094efbd98 ffffffff81f13cc0 (XEN) [2015-12-02 14:18:06] ffff83008da9d000 ffff880094efbdc0 ffff82d080228070 ffff880121c0f3a8 (XEN) [2015-12-02 14:18:06] ffff880121c0f368 0000000000000000 00000000000186a0 ffff880094efbdc0 (XEN) [2015-12-02 14:18:06] 0000000000000200 0000000000000216 0000000000000008 0000000000000001 (XEN) [2015-12-02 14:18:06] 0000000000000000 000000000000001d ffffffff810013aa 0000000000000200 (XEN) [2015-12-02 14:18:06] ffff880094efbdac 0000000000000002 0001010000000000 ffffffff810013aa (XEN) [2015-12-02 14:18:06] 000000000000e033 0000000000000216 ffff880094efbd90 000000000000e02b (XEN) [2015-12-02 14:18:06] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) [2015-12-02 14:18:06] 0000000000000000 ffff83008da9d000 0000000000000000 0000000000000000 (XEN) [2015-12-02 14:18:06] Xen call trace: (XEN) [2015-12-02 14:18:06] [<000000009e557340>] 000000009e557340 (XEN) [2015-12-02 14:18:06] [<ffff82d08022b8ca>] efi_rs_enter+0xfa/0x120(XEN) [2015-12-02 14:18:06] [<ffff82d08022bada>] efi_reset_system+0x3a/0x60 (XEN) [2015-12-02 14:18:06] [<ffff82d0801821e8>] machine_restart+0x208/0x2d0 (XEN) [2015-12-02 14:18:06] [<ffff82d08012a03f>] hwdom_shutdown+0xbf/0xc0 (XEN) [2015-12-02 14:18:06] [<ffff82d0801058a1>] domain_shutdown+0xf1/0x100 (XEN) [2015-12-02 14:18:06] [<ffff82d080129172>] do_sched_op+0x1d2/0x410 (XEN) [2015-12-02 14:18:06] [<ffff82d080228070>] lstar_enter+0xa0/0xa5 (XEN) [2015-12-02 14:18:06] (XEN) [2015-12-02 14:18:06] Pagetable walk from 000000009e557340: (XEN) [2015-12-02 14:18:06] L4[0x000] = 000000084518a063 ffffffffffffffff (XEN) [2015-12-02 14:18:06] L3[0x002] = 000000008ca7c063 ffffffffffffffff (XEN) [2015-12-02 14:18:06] L2[0x0f2] = 000000009e3ff063 ffffffffffffffff (XEN) [2015-12-02 14:18:06] L1[0x157] = 800000009e557163 ffffffffffffffff (XEN) [2015-12-02 14:18:06] (XEN) [2015-12-02 14:18:06] **************************************** (XEN) [2015-12-02 14:18:06] Panic on CPU 0: (XEN) [2015-12-02 14:18:06] FATAL PAGE FAULT (XEN) [2015-12-02 14:18:06] [error_code=0011] (XEN) [2015-12-02 14:18:06] Faulting linear address: 000000009e557340 (XEN) [2015-12-02 14:18:06] **************************************** (XEN) [2015-12-02 14:18:06] (XEN) [2015-12-02 14:18:06] Reboot in five seconds... Response from an Opensuse Bug report, ... (XEN) 000009e29d000-000009e5b0fff type=3 attr=000000000000000f tells us the fault is on an address in boot services code. Together with (XEN) [2015-12-02 14:18:06] L2[0x0f2] = 000000009e3ff063 ffffffffffffffffit also tells us that the L1 page table is in the same region of memory. While not impossible, it's quite unlikely, and suggests the firmware is actually playing with page tables in that runtime services call (yet then oddly sets the mapping to no-execute, which is what actually causes the fault). After all without /mapbs Xen wouldn't map that area at all. ...Considering your other reboot problem (after having added /mapbs) I suppose "efi=no-rs" would take care of both issues at once. Please let us know. ... A relevant thread: Re: [Xen-devel] Xen master hangs http://lists.xen.org/archives/html/xen-devel/2015-07/msg05138.html & the 2 workaround commits for "/mapbs" and "efi=no-rs", respectively,[Xen-devel] [PATCH 2/4] EFI/early: add /mapbs to map EfiBootServices{Code, Data} http://lists.xenproject.org/archives/html/xen-devel/2015-06/msg01246.html[Xen-devel] [PATCH 3/4] EFI: support default attributes to map Runtime service areas with none given http://lists.xenproject.org/archives/html/xen-devel/2015-06/msg01247.htmlBoth fixes appear to remedy the PANIC, but leave some/different, non-FATAL errors (B) shutdown, *NO* PANIC, /mapbs EFI flag ... dracut Warning: Killing all remaining processes mdadm: stopped /dev/md4 mdadm: stopped /dev/md2 mdadm: stopped /dev/md3 mdadm: stopped /dev/md0 mdadm: stopped /dev/md1 Rebooting. [ 274.142642] reboot: Restarting system (XEN) [2015-11-25 15:28:33] Hardware Dom0 shutdown: rebooting machine (XEN) [2015-11-25 15:28:33] APIC error on CPU0: 40(00) (XEN) [2015-11-25 15:28:33] EFI: could not reset system (0) (XEN) [2015-11-25 15:28:33] Resetting with ACPI MEMORY or I/O RESET_REG. (C) shutdown, *NO* PANIC, efi=no-rs cmdline arg ... dracut Warning: Killing all remaining processes mdadm: stopped /dev/md4 mdadm: stopped /dev/md2 mdadm: stopped /dev/md3 mdadm: stopped /dev/md0 mdadm: stopped /dev/md1 Rebooting. [ 247.929305] reboot: Restarting system (XEN) [2015-12-02 14:46:25] Hardware Dom0 shutdown: rebooting machine (XEN) [2015-12-02 14:46:25] APIC error on CPU0: 40(00) (XEN) [2015-12-02 14:46:25] Resetting with ACPI MEMORY or I/O RESET_REG. The "efi=no-rs" fix seems to, so far, be the most-complete workaround.There's a recent, additional thread which also appears to be relevant to the 'right' fix for this (these) EFI firmware issues, [Xen-devel] [PATCH] x86/time: Don't use EFI's GetTime call by default http://lists.xen.org/archives/html/xen-devel/2015-12/msg00159.html wherein there appears to be some disagreement as to necessity/approach. Finally, SM's had all of the above detail communicated to their EFI devs. After a bunch of back & forth, SM confirmed that -- EFI is claimed to be "supported" on this board -- it ACKs that these issues are a result of firmware error-- SM can't, or won't, fix it, and will instead rely on 3rd party workarounds . I.e., from devs at Kernel/Xen/etc. Futher comments included "...BIOS can't support the fixed boot order feature in this beta BIOS. After clarifying with our BIOS team, either fixed boot order OR efi variable boot order can support from the BIOS. If the BIOS supports the efi boot manager, then BIOS can't support the fixed boot order feature. Thank you for your understanding! ..."which upon further clarification means that once updated, it will no longer be possible to select/boot to non-EFI options, such as 'removable', or 'usb drive', or 'cd'. Not particularly helpful.(By the by, anyone recommend particular H/W server/workstation mobo vendor that has well-implemented EFI support that's Xen-friendly?) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |