[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [bug]xen 4.10 + dom0 4.15 couldn't boot up


  • To: Juergen Gross <jgross@xxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxx>
  • From: "Zhang, Xiong Y" <xiong.y.zhang@xxxxxxxxx>
  • Date: Tue, 30 Jan 2018 00:33:56 +0000
  • Accept-language: en-US
  • Cc: "Zhang, Xiong Y" <xiong.y.zhang@xxxxxxxxx>
  • Delivery-date: Tue, 30 Jan 2018 00:34:16 +0000
  • Dlp-product: dlpe-windows
  • Dlp-reaction: no-action
  • Dlp-version: 11.0.0.116
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AdOYwSC3rTk2Px9IQbS684FkbnWAN///gEeA//4/KUA=
  • Thread-topic: [Xen-devel] [bug]xen 4.10 + dom0 4.15 couldn't boot up

The message is really short. Dom0 error happens before the first kernel message:

▒ Xen 4.11-unstable
(XEN) Xen version 4.11-unstable (test@) (gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 
5.4.0 20160609) debug=n  Tue Jan 30 02:38:14 CST 2018
(XEN) Latest ChangeSet: Wed Jan 24 12:01:55 2018 +0000 git:1252e28
(XEN) Bootloader: GRUB 2.02~beta2-36ubuntu3.8
(XEN) Command line: placeholder loglvl=all guest_loglvl=all 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: V2; EDID transfer time: 1 seconds
(XEN) Disc information:
(XEN)  Found 1 MBR signatures
(XEN)  Found 1 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009c800 (usable)
(XEN)  000000000009c800 - 00000000000a0000 (reserved)
(XEN)  00000000000e0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 00000000c9802000 (usable)
(XEN)  00000000c9802000 - 00000000c9803000 (ACPI NVS)
(XEN)  00000000c9803000 - 00000000c982d000 (reserved)
(XEN)  00000000c982d000 - 00000000c9881000 (usable)
(XEN)  00000000c9881000 - 00000000ca082000 (reserved)
(XEN)  00000000ca082000 - 00000000d71d6000 (usable)
(XEN)  00000000d71d6000 - 00000000d73fc000 (reserved)
(XEN)  00000000d73fc000 - 00000000d744a000 (ACPI data)
(XEN)  00000000d744a000 - 00000000d7abf000 (ACPI NVS)
(XEN)  00000000d7abf000 - 00000000d7fff000 (reserved)
(XEN)  00000000d7fff000 - 00000000d8000000 (usable)
(XEN)  00000000d8000000 - 00000000d8100000 (reserved)
(XEN)  00000000f8000000 - 00000000fc000000 (reserved)
(XEN)  00000000fe000000 - 00000000fe011000 (reserved)
(XEN)  00000000fec00000 - 00000000fec01000 (reserved)
(XEN)  00000000fee00000 - 00000000fee01000 (reserved)
(XEN)  00000000ff000000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 0000000422000000 (usable)
(XEN) New Xen image base address: 0xd6a00000
(XEN) ACPI: RSDP 000F05B0, 0024 (r2 DELL  )
(XEN) ACPI: XSDT D741C0A0, 00C4 (r1 DELL    CBX3     1072009 AMI     10013)
(XEN) ACPI: FACP D743E770, 010C (r5 DELL    CBX3     1072009 AMI     10013)
(XEN) ACPI: DSDT D741C1F8, 22574 (r2 DELL    CBX3     1072009 INTL 20120913)
(XEN) ACPI: FACS D7ABEF80, 0040
(XEN) ACPI: APIC D743E880, 0084 (r3 DELL    CBX3     1072009 AMI     10013)
(XEN) ACPI: FPDT D743E908, 0044 (r1 DELL    CBX3     1072009 AMI     10013)
(XEN) ACPI: FIDT D743E950, 009C (r1 DELL    CBX3     1072009 AMI     10013)
(XEN) ACPI: MCFG D743E9F0, 003C (r1 DELL    CBX3     1072009 MSFT       97)
(XEN) ACPI: HPET D743EA30, 0038 (r1 DELL    CBX3     1072009 AMI.    5000B)
(XEN) ACPI: SSDT D743EA68, 036D (r1 SataRe SataTabl     1000 INTL 20120913)
(XEN) ACPI: SSDT D743EDD8, 53B2 (r2 SaSsdt  SaSsdt      3000 INTL 20120913)
(XEN) ACPI: UEFI D7444190, 0042 (r1                        0             0)
(XEN) ACPI: LPIT D74441D8, 0094 (r1 INTEL       SKL        0 MSFT       5F)
(XEN) ACPI: SSDT D7444270, 0248 (r2 INTEL  sensrhub        0 INTL 20120913)
(XEN) ACPI: SSDT D74444B8, 2BAE (r2 INTEL  PtidDevc     1000 INTL 20120913)
(XEN) ACPI: SSDT D7447068, 0BE3 (r2 INTEL  Ther_Rvp     1000 INTL 20120913)
(XEN) ACPI: DBGP D7447C50, 0034 (r1 INTEL                  0 MSFT       5F)
(XEN) ACPI: DBG2 D7447C88, 0054 (r0 INTEL                  0 MSFT       5F)
(XEN) ACPI: SSDT D7447CE0, 0613 (r2  INTEL DELL__MT        0 INTL 20120913)
(XEN) ACPI: SSDT D74482F8, 0E73 (r2 CpuRef  CpuSsdt     3000 INTL 20120913)
(XEN) ACPI: SLIC D7449170, 0176 (r3 DELL    CBX3     1072009 MSFT    10013)
(XEN) ACPI: DMAR D74492E8, 00A8 (r1 INTEL      SKL         1 INTL        1)
(XEN) ACPI: ASF! D7449390, 00A5 (r32 INTEL       HCG        1 TFSM    F4240)
(XEN) System RAM: 16265MB (16655644kB)
(XEN) No NUMA configuration found
(XEN) Faking a node at 0000000000000000-0000000422000000
(XEN) Domain heap initialised
(XEN) CPU Vendor: Intel, Family 6 (0x6), Model 94 (0x5e), Stepping 3 (raw 
000506e3)
(XEN) found SMP MP-table at 000fcdd0
(XEN) DMI 2.8 present.
(XEN) Using APIC driver default
(XEN) ACPI: PM-Timer IO Port: 0x1808 (32 bits)
(XEN) ACPI: v5 SLEEP INFO: control[1:1804], status[1:1800]
(XEN) ACPI: Invalid sleep control/status register data: 0:0x8:0x3 0:0x8:0x3
(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 - d7abef80/0000000000000000, 
using 32
(XEN) ACPI:             wakeup_vec[d7abef8c], vec_size[20]
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
(XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
(XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x04] enabled)
(XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x06] enabled)
(XEN) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
(XEN) ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
(XEN) ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
(XEN) ACPI: LAPIC_NMI (acpi_id[0x04] 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-119
(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) [VT-D]  RMRR address range d9800000..dbffffff not in reserved memory; 
need "iommu_inclusive_mapping=1"?
(XEN) ERST table was not found
(XEN) Using ACPI (MADT) for SMP configuration information
(XEN) SMP: Allowing 4 CPUs (0 hotplug CPUs)
(XEN) IRQ limits: 120 GSI, 840 MSI/MSI-X
(XEN) Not enabling x2APIC (upon firmware request)
(XEN) xstate: size: 0x440 and states: 0x1f
(XEN) CPU0: Intel machine check reporting enabled
(XEN) Speculative mitigation facilities:
(XEN) BTI mitigations: Thunk N/A
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Platform timer is 23.999MHz HPET
(XEN) Detected 3192.041 MHz processor.
(XEN) Initing memory sharing.
(XEN) alt table ffff82d08041b7f8 -> ffff82d08041cef0
(XEN) spurious 8259A interrupt: IRQ7.
(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 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 Posted Interrupt not enabled.
(XEN) Intel VT-d Shared EPT tables enabled.
(XEN) I/O virtualisation enabled
(XEN)  - Dom0 mode: Relaxed
(XEN) Interrupt remapping enabled
(XEN) nr_sockets: 1
(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=0 pin2=0
(XEN) TSC deadline timer enabled
(XEN) Allocated console ring of 32 KiB.
(XEN) mwait-idle: MWAIT substates: 0x142120
(XEN) mwait-idle: v0.4.1 model 0x5e
(XEN) mwait-idle: lapic_timer_reliable_states 0xffffffff
(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)  - VMCS shadowing
(XEN)  - VM Functions
(XEN)  - Virtualisation Exceptions
(XEN)  - Page Modification Logging
(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 
= ffff82c00021d000
(XEN) [VT-D]INTR-REMAP: reason 22 - Present field in the IRTE entry is clear
(XEN) Brought up 4 CPUs
(XEN) build-id: 1af11d266142abd767fc35f7e50dcc71428a6ff2
(XEN) ACPI sleep modes: S3
(XEN) VPMU: disabled
(XEN) mcheck_poll: Machine check polling timer started.
(XEN) Dom0 has maximum 696 PIRQs
(XEN) NX (Execute Disable) protection active
(XEN) *** LOADING DOMAIN 0 ***
(XEN)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x2b65000
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   000000040c000000->0000000410000000 (4046102 pages to be 
allocated)
(XEN)  Init. ramdisk: 000000041f030000->0000000421ffff90
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff81000000->ffffffff82b65000
(XEN)  Init. ramdisk: 0000000000000000->0000000000000000
(XEN)  Phys-Mach map: 0000008000000000->0000008001f16730
(XEN)  Start info:    ffffffff82b65000->ffffffff82b654b4
(XEN)  Xenstore ring: 0000000000000000->0000000000000000
(XEN)  Console ring:  0000000000000000->0000000000000000
(XEN)  Page tables:   ffffffff82b66000->ffffffff82b7f000
(XEN)  Boot stack:    ffffffff82b7f000->ffffffff82b80000
(XEN)  TOTAL:         ffffffff80000000->ffffffff82c00000
(XEN)  ENTRY ADDRESS: ffffffff826a3180
(XEN) Dom0 has maximum 4 VCPUs
(XEN) Bogus DMIBAR 0xfed18001 on 0000:00:00.0
(XEN) Initial low memory virq threshold set at 0x4000 pages.
(XEN) Scrubbing Free RAM on 1 nodes using 4 CPUs
(XEN) ..................................done.
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(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 ffff82d0803530e4 
x86_64/entry.S#create_bounce_frame+0x135/0x151
(XEN) Domain 0 (vcpu#0) crashed on cpu#0:
(XEN) ----[ Xen-4.11-unstable  x86_64  debug=n   Not tainted ]----
(XEN) CPU:    0
(XEN) RIP:    e033:[<ffffffff8103f78b>]
(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: 00000000003526e0
(XEN) cr3: 000000040eb66000   cr2: 0000000000000028
(XEN) fsb: 0000000000000000   gsb: 0000000000000000   gss: 0000000000000000
(XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: e02b   cs: e033
(XEN) Guest stack trace from rsp=ffffffff82403e10:
(XEN)    0000000000000000 0000000000000000 0000000000000000 ffffffff8103f78b
(XEN)    000000010000e030 0000000000010092 ffffffff82403e58 000000000000e02b
(XEN)    0000000000000000 ffffffff826591e0 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 ffffffff826591e0 ffffffff82403f04
(XEN)    ffffffff82403f00 ffffffff82403efc ffffffff82403ef8 ffffffff82403f40
(XEN)    ffffffff81040343 ffffffff82403f14 ffffffff82403f10 ffffffff82403f0c
(XEN)    ffffffff82403f08 0000000000003027 0000000000000000 0000000080000008
(XEN)    0000000000000000 ffffffff81032100 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 ffffffff82403ff8 ffffffff826ac35d
(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) APIC error on CPU0: 40(00)
(XEN) Resetting with ACPI MEMORY or I/O RESET_REG.

thanks
> -----Original Message-----
> From: Juergen Gross [mailto:jgross@xxxxxxxx]
> Sent: Monday, January 29, 2018 1:45 PM
> To: Zhang, Xiong Y <xiong.y.zhang@xxxxxxxxx>; Xen-devel
> <xen-devel@xxxxxxxxxxxxx>
> Subject: Re: [Xen-devel] [bug]xen 4.10 + dom0 4.15 couldn't boot up
> 
> On 29/01/18 06:28, Zhang, Xiong Y wrote:
> > Today I found xen 4.10 (or staging branch) with dom0 4.15 kernel, dom0
> > couldn't boot up and it print the following error, is it a known issue ?
> 
> Please post more information. Please add the following to the hypervisor
> boot parameters:
> 
> loglvl=all guest_loglvl=all
> 
> And the dom0 boot parameters should have:
> 
> earlyprintk=xen
> 
> Then please send the complete boot log. Probably it will be necessary to have
> the kernel addresses of the guest stack trace translated to
> symbol+offset to know what really happened.
> 
> 
> Juergen

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.