The commit that fixes this bug is in upstream stable 4.15.5.  These
updates have  been applied to Bionic master-next.

** Changed in: linux (Ubuntu Bionic)
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752350

Title:
  Bionic x86_64 Linux Kernel 4.15 fails to boot on Xen

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Bionic:
  Fix Committed

Bug description:
  The Linux Kernel 4.15 from bionic on x86_64 immediately crashes when
  booted as a dom0 under Xen.

  A similar bug was reported by someone else for archlinux
  (https://bugs.archlinux.org/task/57500).

  A patch exists for 4.16. I tried this patch on 4.15.0-10-generic, it
  fixes the problem for me.
  
(https://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git/patch/?id=4f277295e54c5b7340e48efea3fc5cc21a2872b7).

  Xen output:

  (XEN) Xen version 4.9.0 (Ubuntu 4.9.0-0ubuntu3) (stefan.ba...@canonical.com) 
(gcc (Ubuntu 7.2.0-8ubuntu2) 7.2.0) debug=n  Fri Oct 13 15:58:41 UTC 2017
  (XEN) Bootloader: GRUB 2.02~beta2-36ubuntu3.9
  (XEN) Command line: placeholder com1=115200,8N1 console=com1,vga
  (XEN) Xen image load base address: 0
  (XEN) Video information:
  (XEN)  VGA is text mode 80x25, font 8x16
  (XEN)  VBE/DDC methods: none; EDID transfer time: 0 seconds
  (XEN)  EDID info not retrieved because no DDC retrieval method detected
  (XEN) Disc information:
  (XEN)  Found 1 MBR signatures
  (XEN)  Found 1 EDD information structures
  (XEN) Xen-e820 RAM map:
  (XEN)  0000000000000000 - 000000000009ec00 (usable)
  (XEN)  00000000000f0000 - 0000000000100000 (reserved)
  (XEN)  0000000000100000 - 00000000cb6cfc00 (usable)
  (XEN)  00000000cb6cfc00 - 00000000cb723c00 (ACPI NVS)
  (XEN)  00000000cb723c00 - 00000000cb725c00 (ACPI data)
  (XEN)  00000000cb725c00 - 00000000cc000000 (reserved)
  (XEN)  00000000f8000000 - 00000000fc000000 (reserved)
  (XEN)  00000000fec00000 - 00000000fed00400 (reserved)
  (XEN)  00000000fed20000 - 00000000feda0000 (reserved)
  (XEN)  00000000fee00000 - 00000000fef00000 (reserved)
  (XEN)  00000000ffb00000 - 0000000100000000 (reserved)
  (XEN)  0000000100000000 - 0000000130000000 (usable)
  (XEN) New Xen image base address: 0xcb000000
  (XEN) ACPI: RSDP 000FEC00, 0024 (r2 DELL  )
  (XEN) ACPI: XSDT 000FC7E7, 006C (r1 DELL    B11K          15 ASL        61)
  (XEN) ACPI: FACP 000FC8D7, 00F4 (r3 DELL    B11K          15 ASL        61)
  (XEN) ACPI: DSDT FFDC89E4, 47BC (r1   DELL    dt_ex     1000 INTL 20050624)
  (XEN) ACPI: FACS CB6CFC00, 0040
  (XEN) ACPI: SSDT FFDCD2C1, 00AC (r1   DELL    st_ex     1000 INTL 20050624)
  (XEN) ACPI: APIC 000FC9CB, 0092 (r1 DELL    B11K          15 ASL        61)
  (XEN) ACPI: BOOT 000FCA5D, 0028 (r1 DELL    B11K          15 ASL        61)
  (XEN) ACPI: ASF! 000FCA85, 0096 (r32 DELL    B11K          15 ASL        61)
  (XEN) ACPI: MCFG 000FCB1B, 003E (r1 DELL    B11K          15 ASL        61)
  (XEN) ACPI: HPET 000FCB59, 0038 (r1 DELL    B11K          15 ASL        61)
  (XEN) ACPI: TCPA 000FCDB5, 0032 (r1 DELL    B11K          15 ASL        61)
  (XEN) ACPI: DMAR 000FCDE7, 0068 (r1 DELL    B11K          15 ASL        61)
  (XEN) System RAM: 4022MB (4118964kB)
  (XEN) Domain heap initialised
  (XEN) IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23
  (XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
  (XEN) Using scheduler: SMP Credit Scheduler (credit)
  (XEN) Platform timer is 14.318MHz HPET
  (XEN) Detected 2926.007 MHz processor.
  (XEN) Initing memory sharing.
  (XEN) Intel VT-d iommu 0 supported page sizes: 4kB.
  (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 not enabled.
  (XEN) Intel VT-d Posted Interrupt not enabled.
  (XEN) Intel VT-d Shared EPT tables not enabled.
  (XEN) 0000:04:00.0: unknown type 4
  (XEN) I/O virtualisation enabled
  (XEN)  - Dom0 mode: Relaxed
  (XEN) Interrupt remapping disabled
  (XEN) ENABLING IO-APIC IRQs
  (XEN)  -> Using new ACK method
  (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) HVM: ASIDs enabled.
  (XEN) HVM: VMX enabled
  (XEN) HVM: Hardware Assisted Paging (HAP) detected
  (XEN) HVM: HAP page sizes: 4kB, 2MB
  (XEN) Brought up 4 CPUs
  (XEN) Dom0 has maximum 600 PIRQs
  (XEN) *** LOADING DOMAIN 0 ***
  (XEN)  Xen  kernel: 64-bit, lsb, compat32
  (XEN)  Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x2b69000
  (XEN) PHYSICAL MEMORY ARRANGEMENT:
  (XEN)  Dom0 alloc.:   0000000120000000->0000000124000000 (952940 pages to be 
allocated)
  (XEN)  Init. ramdisk: 000000012d251000->000000012ffff575
  (XEN) VIRTUAL MEMORY ARRANGEMENT:
  (XEN)  Loaded kernel: ffffffff81000000->ffffffff82b69000
  (XEN)  Init. ramdisk: 0000000000000000->0000000000000000
  (XEN)  Phys-Mach map: 0000008000000000->000000800077c0d8
  (XEN)  Start info:    ffffffff82b69000->ffffffff82b694b4
  (XEN)  Page tables:   ffffffff82b6a000->ffffffff82b85000
  (XEN)  Boot stack:    ffffffff82b85000->ffffffff82b86000
  (XEN)  TOTAL:         ffffffff80000000->ffffffff83000000
  (XEN)  ENTRY ADDRESS: ffffffff826a3180
  (XEN) Dom0 has maximum 4 VCPUs
  (XEN) setup 0000:04:00.0 for d0 failed (-22)
  (XEN) Scrubbing Free RAM on 1 nodes using 4 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) Xen is relinquishing VGA console.
  (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to 
Xen)
  (XEN) Freed 460kB init memory
  (XEN) d0v0 Unhandled page fault fault/trap [#14, ec=0000]
  (XEN) Pagetable walk from 0000000000000028:
  (XEN)  L4[0x000] = 0000000000000000 ffffffffffffffff
  (XEN) domain_crash_sync called from entry.S: fault at ffff82d080345308 
entry.o#create_bounce_frame+0x135/0x14d
  (XEN) Domain 0 (vcpu#0) crashed on cpu#0:
  (XEN) ----[ Xen-4.9.0  x86_64  debug=n   Not tainted ]----
  (XEN) CPU:    0
  (XEN) RIP:    e033:[<ffffffff8103fbfb>]
  (XEN) RFLAGS: 0000000000000292   EM: 1   CONTEXT: pv guest (d0v0)
  (XEN) rax: 0000000000000000   rbx: ffffffff81e06020   rcx: 0000000000000000
  (XEN) rdx: 0000000000000000   rsi: ffffffff82403e90   rdi: ffffffff82403e8c
  (XEN) rbp: ffffffff82403ec8   rsp: ffffffff82403e10   r8:  ffffffff82403f00
  (XEN) r9:  00000000ffffffff   r10: ffffffff82403f04   r11: 0000000000000000
  (XEN) r12: ffffffff82403e88   r13: ffffffff82403e78   r14: ffffffff82403e80
  (XEN) r15: ffffffff82403e84   cr0: 000000008005003b   cr4: 00000000000026e0
  (XEN) cr3: 0000000122b6a000   cr2: 0000000000000028
  (XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: e02b   cs: e033
  (XEN) Guest stack trace from rsp=ffffffff82403e10:
  (XEN)    0000000000000000 0000000000000000 0000000000000000 ffffffff8103fbfb
  (XEN)    000000010000e030 0000000000010092 ffffffff82403e58 000000000000e02b
  (XEN)    0000000000000000 ffffffff82659760 0000000000000000 0000000000000000
  (XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
  (XEN)    0000000000000000 0000000000000000 ffffffff82659760 ffffffff82403f04
  (XEN)    ffffffff82403f00 ffffffff82403efc ffffffff82403ef8 ffffffff82403f40
  (XEN)    ffffffff810407e9 ffffffff82403f10 ffffffff82403f0c ffffffff82403f08
  (XEN)    ffffffff82403f14 0000000000003024 0000000000000000 0000000080000008
  (XEN)    0000000000000000 ffffffff81032500 0000000000000000 0000000000000000
  (XEN)    0000000000000000 0000000000000000 ffffffff82403ff8 ffffffff826ac360
  (XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
  (XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
  (XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
  (XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
  (XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
  (XEN)    0000000000000000 0000000000000000 0f00000060c0c748 ccccccccccccc305
  (XEN)    cccccccccccccccc cccccccccccccccc cccccccccccccccc cccccccccccccccc
  (XEN)    cccccccccccccccc cccccccccccccccc cccccccccccccccc cccccccccccccccc
  (XEN)    cccccccccccccccc cccccccccccccccc cccccccccccccccc cccccccccccccccc
  (XEN)    cccccccccccccccc cccccccccccccccc cccccccccccccccc cccccccccccccccc
  (XEN) Hardware Dom0 crashed: rebooting machine in 5 seconds.
  (XEN) Xen version 4.9.0 (Ubuntu 4.9.0-0ubuntu3) (stefan.ba...@canonical.com) 
(gcc (Ubuntu 7.2.0-8ubuntu2) 7.2.0) debug=n  Fri Oct 13 15:58:41 UTC 2017
  (XEN) Bootloader: GRUB 2.02~beta2-36ubuntu3.9
  (XEN) Command line: placeholder com1=115200,8N1 console=com1,vga
  (XEN) Xen image load base address: 0
  (XEN) Video information:
  (XEN)  VGA is text mode 80x25, font 8x16
  (XEN)  VBE/DDC methods: none; EDID transfer time: 0 seconds
  (XEN)  EDID info not retrieved because no DDC retrieval method detected
  (XEN) Disc information:
  (XEN)  Found 1 MBR signatures
  (XEN)  Found 1 EDD information structures
  (XEN) Xen-e820 RAM map:
  (XEN)  0000000000000000 - 000000000009ec00 (usable)
  (XEN)  00000000000f0000 - 0000000000100000 (reserved)
  (XEN)  0000000000100000 - 00000000cb6cfc00 (usable)
  (XEN)  00000000cb6cfc00 - 00000000cb723c00 (ACPI NVS)
  (XEN)  00000000cb723c00 - 00000000cb725c00 (ACPI data)
  (XEN)  00000000cb725c00 - 00000000cc000000 (reserved)
  (XEN)  00000000f8000000 - 00000000fc000000 (reserved)
  (XEN)  00000000fec00000 - 00000000fed00400 (reserved)
  (XEN)  00000000fed20000 - 00000000feda0000 (reserved)
  (XEN)  00000000fee00000 - 00000000fef00000 (reserved)
  (XEN)  00000000ffb00000 - 0000000100000000 (reserved)
  (XEN)  0000000100000000 - 0000000130000000 (usable)
  (XEN) New Xen image base address: 0xcb000000
  (XEN) ACPI: RSDP 000FEC00, 0024 (r2 DELL  )
  (XEN) ACPI: XSDT 000FC7E7, 006C (r1 DELL    B11K          15 ASL        61)
  (XEN) ACPI: FACP 000FC8D7, 00F4 (r3 DELL    B11K          15 ASL        61)
  (XEN) ACPI: DSDT FFDC89E4, 47BC (r1   DELL    dt_ex     1000 INTL 20050624)
  (XEN) ACPI: FACS CB6CFC00, 0040
  (XEN) ACPI: SSDT FFDCD2C1, 00AC (r1   DELL    st_ex     1000 INTL 20050624)
  (XEN) ACPI: APIC 000FC9CB, 0092 (r1 DELL    B11K          15 ASL        61)
  (XEN) ACPI: BOOT 000FCA5D, 0028 (r1 DELL    B11K          15 ASL        61)
  (XEN) ACPI: ASF! 000FCA85, 0096 (r32 DELL    B11K          15 ASL        61)
  (XEN) ACPI: MCFG 000FCB1B, 003E (r1 DELL    B11K          15 ASL        61)
  (XEN) ACPI: HPET 000FCB59, 0038 (r1 DELL    B11K          15 ASL        61)
  (XEN) ACPI: TCPA 000FCDB5, 0032 (r1 DELL    B11K          15 ASL        61)
  (XEN) ACPI: DMAR 000FCDE7, 0068 (r1 DELL    B11K          15 ASL        61)
  (XEN) System RAM: 4022MB (4118964kB)
  (XEN) Domain heap initialised
  (XEN) IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23
  (XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
  (XEN) Using scheduler: SMP Credit Scheduler (credit)
  (XEN) Platform timer is 14.318MHz HPET
  (XEN) Detected 2926.012 MHz processor.
  (XEN) Initing memory sharing.
  (XEN) Intel VT-d iommu 0 supported page sizes: 4kB.
  (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 not enabled.
  (XEN) Intel VT-d Posted Interrupt not enabled.
  (XEN) Intel VT-d Shared EPT tables not enabled.
  (XEN) 0000:04:00.0: unknown type 4
  (XEN) I/O virtualisation enabled
  (XEN)  - Dom0 mode: Relaxed
  (XEN) Interrupt remapping disabled
  (XEN) ENABLING IO-APIC IRQs
  (XEN)  -> Using new ACK method
  (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) HVM: ASIDs enabled.
  (XEN) HVM: VMX enabled
  (XEN) HVM: Hardware Assisted Paging (HAP) detected
  (XEN) HVM: HAP page sizes: 4kB, 2MB
  (XEN) Brought up 4 CPUs
  (XEN) Dom0 has maximum 600 PIRQs
  (XEN) *** LOADING DOMAIN 0 ***
  (XEN)  Xen  kernel: 64-bit, lsb, compat32
  (XEN)  Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x2b69000
  (XEN) PHYSICAL MEMORY ARRANGEMENT:
  (XEN)  Dom0 alloc.:   0000000120000000->0000000124000000 (952940 pages to be 
allocated)
  (XEN)  Init. ramdisk: 000000012d251000->000000012ffff575
  (XEN) VIRTUAL MEMORY ARRANGEMENT:
  (XEN)  Loaded kernel: ffffffff81000000->ffffffff82b69000
  (XEN)  Init. ramdisk: 0000000000000000->0000000000000000
  (XEN)  Phys-Mach map: 0000008000000000->000000800077c0d8
  (XEN)  Start info:    ffffffff82b69000->ffffffff82b694b4
  (XEN)  Page tables:   ffffffff82b6a000->ffffffff82b85000
  (XEN)  Boot stack:    ffffffff82b85000->ffffffff82b86000
  (XEN)  TOTAL:         ffffffff80000000->ffffffff83000000
  (XEN)  ENTRY ADDRESS: ffffffff826a3180
  (XEN) Dom0 has maximum 4 VCPUs
  (XEN) setup 0000:04:00.0 for d0 failed (-22)
  (XEN) Scrubbing Free RAM on 1 nodes using 4 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) Xen is relinquishing VGA console.
  (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to 
Xen)
  (XEN) Freed 460kB init memory
  (XEN) d0v0 Unhandled page fault fault/trap [#14, ec=0000]
  (XEN) Pagetable walk from 0000000000000028:
  (XEN)  L4[0x000] = 0000000000000000 ffffffffffffffff
  (XEN) domain_crash_sync called from entry.S: fault at ffff82d080345308 
entry.o#create_bounce_frame+0x135/0x14d
  (XEN) Domain 0 (vcpu#0) crashed on cpu#0:
  (XEN) ----[ Xen-4.9.0  x86_64  debug=n   Not tainted ]----
  (XEN) CPU:    0
  (XEN) RIP:    e033:[<ffffffff8103fbfb>]
  (XEN) RFLAGS: 0000000000000292   EM: 1   CONTEXT: pv guest (d0v0)
  (XEN) rax: 0000000000000000   rbx: ffffffff81e06020   rcx: 0000000000000000
  (XEN) rdx: 0000000000000000   rsi: ffffffff82403e90   rdi: ffffffff82403e8c
  (XEN) rbp: ffffffff82403ec8   rsp: ffffffff82403e10   r8:  ffffffff82403f00
  (XEN) r9:  00000000ffffffff   r10: ffffffff82403f04   r11: 0000000000000000
  (XEN) r12: ffffffff82403e88   r13: ffffffff82403e78   r14: ffffffff82403e80
  (XEN) r15: ffffffff82403e84   cr0: 000000008005003b   cr4: 00000000000026e0
  (XEN) cr3: 0000000122b6a000   cr2: 0000000000000028
  (XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: e02b   cs: e033
  (XEN) Guest stack trace from rsp=ffffffff82403e10:
  (XEN)    0000000000000000 0000000000000000 0000000000000000 ffffffff8103fbfb
  (XEN)    000000010000e030 0000000000010092 ffffffff82403e58 000000000000e02b
  (XEN)    0000000000000000 ffffffff82659760 0000000000000000 0000000000000000
  (XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
  (XEN)    0000000000000000 0000000000000000 ffffffff82659760 ffffffff82403f04
  (XEN)    ffffffff82403f00 ffffffff82403efc ffffffff82403ef8 ffffffff82403f40
  (XEN)    ffffffff810407e9 ffffffff82403f10 ffffffff82403f0c ffffffff82403f08
  (XEN)    ffffffff82403f14 0000000000003024 0000000000000000 0000000080000008
  (XEN)    0000000000000000 ffffffff81032500 0000000000000000 0000000000000000
  (XEN)    0000000000000000 0000000000000000 ffffffff82403ff8 ffffffff826ac360
  (XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
  (XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
  (XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
  (XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
  (XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
  (XEN)    0000000000000000 0000000000000000 0f00000060c0c748 ccccccccccccc305
  (XEN)    cccccccccccccccc cccccccccccccccc cccccccccccccccc cccccccccccccccc
  (XEN)    cccccccccccccccc cccccccccccccccc cccccccccccccccc cccccccccccccccc
  (XEN)    cccccccccccccccc cccccccccccccccc cccccccccccccccc cccccccccccccccc
  (XEN)    cccccccccccccccc cccccccccccccccc cccccccccccccccc cccccccccccccccc
  (XEN) Hardware Dom0 crashed: rebooting machine in 5 seconds.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1752350/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to