[Pkg-xen-devel] Bug#833029: xen-hypervisor-4.6-amd64: Doesn't boot (at all) from GRUB2 (on EFI system)
Diederik de Haas
didi.debian at cknow.org
Sun Jul 31 01:40:21 UTC 2016
Package: xen-hypervisor-4.6-amd64
Version: 4.6.0-1+nmu2
Severity: grave
Justification: renders package unusable
I installed the xen-linux-system package on my system (Asus ZenBook UX305CA-FC022T)
running Debian Sid with KDE as desribed on https://wiki.debian.org/Xen.
That in turn installed the following package with 'xen' in their names:
$ aptitude search ~ixen
i A grub-xen-bin - GRand Unified Bootloader, version 2 (Xen binaries)
i A grub-xen-host - GRand Unified Bootloader, version 2 (Xen host version)
i A libxen-4.6 - Public libs for Xen
i A libxenstore3.0 - Xenstore communications library for Xen
i A xen-hypervisor-4.6-amd64 - Xen Hypervisor on AMD64
i A xen-linux-system-4.6.0-1-amd64 - Xen system with Linux 4.6 on 64-bit PCs (meta-package)
i xen-linux-system-amd64 - Xen system with Linux for 64-bit PCs (meta-package)
i A xen-system-amd64 - Xen System on AMD64 (meta-package)
i A xen-utils-4.6 - XEN administrative tools
i A xen-utils-common - Xen administrative tools - common files
i A xenstore-utils - Xenstore command line utilities for Xen
I didn't prioritise Xen over Native as I first wanted to get familiar with Xen
(this is the first I tried Xen and also my first experience with EFI).
I then rebooted and tried 2 different Xen items from GRUB:
=== Debian GNU/Linux, with Xen hypervisor ==============================
Loading Xen 4.6-amd64
WARNING: no console will be available to OS
Loading Linux 4.6.0-1-amd64 ...
Loading initial ramdisk ...
(hangs)
=== Advanced options for Debian GNU/Linux (with Xen hypervisor) ========
=== Xen hypervisor, version 4.6-amd64.efi ==============================
=== Debian GNU/Linux, with Xen 4.6-amd64.efi and Linux 4.6.0-1-amd64 ===
Loading Xen 4.6-amd64.efi ...
error: invalid arch-dependent ELF magic.
Loading Linux 4.6.0-1-amd64 ...
error: you need to load the kernel first.
Loading initial ramdisk ...
error: you need to load the kernel first.
Press any key to continue ...
(any key returns to the GRUB menu)
========================================================================
where the text between "===" denotes the GRUB menu items I choose.
I will attach the grub.cfg file later on. One thing that strikes me as odd in it is the
literal text 'placeholder' in it. It may not be a problem and intended, I don't know.
Using the procedure as described in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820807
I was able to boot into Xen, where I changed the kernel and ramdisk to match my (current)
kernel and upped dom0_mem to 2048M as it booted my KDE system extremely slow with 512M.
For the root=UUID= part I used the UUID of the device which holds my current system.
The procedure is also described in http://wiki.xenproject.org/wiki/Xen_EFI
This bug report should have the output of 'dmesg', 'xl info' and 'xl dmesg' attached and
if not, I'll send them once I get a bug number back.
Many thanks to #xen on freenode for helping me getting it to boot and (hopefully) help me
get the relevant info for a proper bug report.
There are a number of things that worry me about the state of Xen package(s) on Sid/testing
though which I feel should be pointed out, next to this bug report:
- The last 2 uploads were NMU and I haven't seen much (if any) response to other bug reports
and/or on the package(s) maiing list.
- Apparently the xen build in Sid is obsolete and there have apparently been 300 patches
since and the latest 4.6 release is now 4.6.3.
- Before adding another RC bug (this one), there were already 7 RC bugs, including one about
multiple security issues. For some odd reason it's still not marked for auto-removal.
IMO this package is absolutely not fitted for Stretch in its current shape and that's besides
the reason for this bug report, although I also expect Xen to work on a SandyBridge system
with EFI in Stretch.
Hopefully Xen will get back in shape soon.
If you need more info, I'll do my best to provide it.
Cheers,
Diederik
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
xen-hypervisor-4.6-amd64 depends on no packages.
Versions of packages xen-hypervisor-4.6-amd64 recommends:
ii xen-utils-4.6 4.6.0-1+nmu2
xen-hypervisor-4.6-amd64 suggests no packages.
-- no debconf information
-------------- next part --------------
host : prancing-pony
release : 4.6.0-1-amd64
version : #1 SMP Debian 4.6.4-1 (2016-07-18)
machine : x86_64
nr_cpus : 4
max_cpu_id : 3
nr_nodes : 1
cores_per_socket : 2
threads_per_core : 2
cpu_mhz : 1512
hw_caps : bfebfbff:2c100800:00000000:00007f00:73fafbbf:00000000:00000121:029c67af
virt_caps : hvm hvm_directio
total_memory : 8088
free_memory : 5922
sharing_freed_memory : 0
sharing_used_memory : 0
outstanding_claims : 0
free_cpus : 0
xen_major : 4
xen_minor : 6
xen_extra : .0
xen_version : 4.6.0
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset :
xen_commandline : dom0_mem=2048M xsave=off
cc_compiler : gcc (Debian 5.3.1-8) 5.3.1 20160205
cc_compile_by : ijc
cc_compile_domain : debian.org
cc_compile_date : Tue Feb 9 17:46:27 UTC 2016
xend_config_format : 4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg-xen.txt
Type: application/octet-stream
Size: 58494 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20160731/1deb98a7/attachment-0001.obj>
-------------- next part --------------
(XEN) Xen version 4.6.0 (Debian 4.6.0-1+nmu2) (ijc at debian.org) (gcc (Debian 5.3.1-8) 5.3.1 20160205) debug=n Tue Feb 9 17:46:27 UTC 2016
(XEN) Bootloader: EFI
(XEN) Command line: dom0_mem=2048M xsave=off
(XEN) Video information:
(XEN) VGA is graphics mode 1920x1080, 32 bpp
(XEN) Disc information:
(XEN) Found 0 MBR signatures
(XEN) Found 1 EDD information structures
(XEN) EFI RAM map:
(XEN) 0000000000000000 - 0000000000058000 (usable)
(XEN) 0000000000058000 - 0000000000059000 (reserved)
(XEN) 0000000000059000 - 000000000009e000 (usable)
(XEN) 000000000009e000 - 00000000000a0000 (reserved)
(XEN) 0000000000100000 - 0000000082c49000 (usable)
(XEN) 0000000082c49000 - 0000000082c4a000 (ACPI NVS)
(XEN) 0000000082c4a000 - 0000000082c74000 (reserved)
(XEN) 0000000082c74000 - 00000000851ba000 (usable)
(XEN) 00000000851ba000 - 0000000085e97000 (reserved)
(XEN) 0000000085e97000 - 000000008652c000 (usable)
(XEN) 000000008652c000 - 00000000870a4000 (ACPI NVS)
(XEN) 00000000870a4000 - 0000000087f7f000 (reserved)
(XEN) 0000000087f7f000 - 0000000087fff000 (usable)
(XEN) 0000000088000000 - 0000000088100000 (reserved)
(XEN) 00000000e0000000 - 00000000f0000000 (reserved)
(XEN) 00000000fe000000 - 00000000fe011000 (reserved)
(XEN) 00000000fec00000 - 00000000fec01000 (reserved)
(XEN) 00000000fee00000 - 00000000fee01000 (reserved)
(XEN) 00000000ff000000 - 0000000100000000 (reserved)
(XEN) 0000000100000000 - 0000000274000000 (usable)
(XEN) ACPI: RSDP 86630000, 0024 (r2 _ASUS_)
(XEN) ACPI: XSDT 866300A0, 00C4 (r1 _ASUS_ Notebook 1072009 AMI 10013)
(XEN) ACPI: FACP 86655F48, 010C (r5 _ASUS_ Notebook 1072009 AMI 10013)
(XEN) ACPI: DSDT 866301F8, 25D4C (r2 _ASUS_ Notebook 1072009 INTL 20120913)
(XEN) ACPI: FACS 870A2F80, 0040
(XEN) ACPI: APIC 86656058, 0084 (r3 _ASUS_ Notebook 1072009 AMI 10013)
(XEN) ACPI: FPDT 866560E0, 0044 (r1 _ASUS_ Notebook 1072009 AMI 10013)
(XEN) ACPI: FIDT 86656128, 009C (r1 _ASUS_ Notebook 1072009 AMI 10013)
(XEN) ACPI: MCFG 866561C8, 003C (r1 _ASUS_ Notebook 1072009 MSFT 97)
(XEN) ACPI: HPET 86656208, 0038 (r1 _ASUS_ Notebook 1072009 AMI. 5000B)
(XEN) ACPI: SSDT 86656240, 0315 (r1 SataRe SataTabl 1000 INTL 20120913)
(XEN) ACPI: ECDT 86656558, 00C1 (r1 _ASUS_ Notebook 1072009 AMI. 5)
(XEN) ACPI: LPIT 86656620, 0094 (r1 INTEL SKL-ULT 0 MSFT 5F)
(XEN) ACPI: SSDT 866566B8, 0248 (r2 INTEL sensrhub 0 INTL 20120913)
(XEN) ACPI: DBGP 86656900, 0034 (r1 INTEL 0 MSFT 5F)
(XEN) ACPI: DBG2 86656938, 0054 (r0 INTEL 0 MSFT 5F)
(XEN) ACPI: SSDT 86656990, 3DD1 (r2 DptfTa DptfTabl 1000 INTL 20120913)
(XEN) ACPI: SSDT 8665A768, 5843 (r2 SaSsdt SaSsdt 3000 INTL 20120913)
(XEN) ACPI: UEFI 8665FFB0, 0042 (r1 0 0)
(XEN) ACPI: SSDT 8665FFF8, 0E73 (r2 CpuRef CpuSsdt 3000 INTL 20120913)
(XEN) ACPI: DMAR 86660E70, 00F0 (r1 INTEL SKL 1 INTL 1)
(XEN) ACPI: TPM2 86660F60, 0034 (r3 Tpm2Tabl 1 AMI 0)
(XEN) ACPI: BGRT 86660F98, 0038 (r1 _ASUS_ Notebook 1072009 AMI 10013)
(XEN) ACPI: MSDM 85C58F18, 0055 (r3 _ASUS_ Notebook 0 ASUS 1)
(XEN) System RAM: 8088MB (8282372kB)
(XEN) Domain heap initialised
(XEN) Couldn't initialize a 1920x1080 framebuffer early.
(XEN) ACPI: Invalid sleep control/status register data: 0:0x8:0x3 0:0x8:0x3
(XEN) ACPI: 32/64X FACS address mismatch in FADT - 870a2f80/0000000000000000, using 32
(XEN) Processor #0 6:14 APIC version 21
(XEN) Processor #2 6:14 APIC version 21
(XEN) Processor #1 6:14 APIC version 21
(XEN) Processor #3 6:14 APIC version 21
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-119
(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) Failed to enable Interrupt Remapping: Will not enable x2APIC.
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 1512.053 MHz processor.
(XEN) Initing memory sharing.
(XEN) spurious 8259A interrupt: IRQ7.
(XEN) Intel VT-d iommu 0 supported page sizes: 4kB, 2MB, 1GB.
(XEN) Intel VT-d iommu 1 supported page sizes: 4kB, 2MB, 1GB.
(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 enabled.
(XEN) I/O virtualisation enabled
(XEN) - Dom0 mode: Relaxed
(XEN) Interrupt remapping enabled
(XEN) Enabled directed EOI with ioapic_ack_old on!
(XEN) ENABLING IO-APIC IRQs
(XEN) -> Using old ACK method
(XEN) Platform timer is 23.999MHz HPET
(XEN) Allocated console ring of 16 KiB.
(XEN) VMX: Supported advanced features:
(XEN) - APIC MMIO access virtualisation
(XEN) - APIC TPR shadow
(XEN) - Extended Page Tables (EPT)
(XEN) - Virtual-Processor Identifiers (VPID)
(XEN) - Virtual NMI
(XEN) - MSR direct-access bitmap
(XEN) - Unrestricted Guest
(XEN) - VM Functions
(XEN) - Virtualisation Exceptions
(XEN) HVM: ASIDs enabled.
(XEN) HVM: VMX enabled
(XEN) HVM: Hardware Assisted Paging (HAP) detected
(XEN) HVM: HAP page sizes: 4kB, 2MB, 1GB
(XEN) [VT-D]INTR-REMAP: Request device [0000:f0:1f.0] fault index 0, iommu reg = ffff82c0009f4000
(XEN) [VT-D]INTR-REMAP: reason 22 - Present field in the IRTE entry is clear
(XEN) Brought up 4 CPUs
(XEN) Dom0 has maximum 696 PIRQs
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen kernel: 64-bit, lsb, compat32
(XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x1d5c000
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Dom0 alloc.: 0000000268000000->000000026a000000 (511704 pages to be allocated)
(XEN) Init. ramdisk: 0000000272ed8000->0000000273fff719
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN) Loaded kernel: ffffffff81000000->ffffffff81d5c000
(XEN) Init. ramdisk: 0000000000000000->0000000000000000
(XEN) Phys-Mach map: 0000008000000000->0000008000400000
(XEN) Start info: ffffffff81d5c000->ffffffff81d5c4b4
(XEN) Page tables: ffffffff81d5d000->ffffffff81d70000
(XEN) Boot stack: ffffffff81d70000->ffffffff81d71000
(XEN) TOTAL: ffffffff80000000->ffffffff82000000
(XEN) ENTRY ADDRESS: ffffffff81b291f0
(XEN) Dom0 has maximum 4 VCPUs
(XEN) Bogus DMIBAR 0xfed18001 on 0000:00:00.0
(XEN) Scrubbing Free RAM on 1 nodes using 2 CPUs
(XEN) ........................................done.
(XEN) Initial low memory virq threshold set at 0x4000 pages.
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 308kB init memory.
(XEN) Bogus DMIBAR 0xfed18001 on 0000:00:00.0
More information about the Pkg-xen-devel
mailing list