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

Re: [Xen-devel] XEN 4.3.4/4.4.3 Dom0 reboot loop with AMD FX-8350/Gigabyte GA-970A-UD3]



>>>>> On 25.08.15 at 15:22, <nix@xxxxxxxxxxxxxxxx> wrote:
>>> Hi. As the subject says. Where from I do start debugging it? My kernel
>>> boots fine on that machine without XEN.
>>>
>>> I tried the following command line option:
>>> noreboot=true,iommu=1,no-amd-iommu-perdev-intremap
>>>
>>> OK that stop the loop but how do I get the output so I could see the
>>> cause
>>> of crash/restart? Screen goes just blank with noreboot=true
>>>
>>> I do have AMD-Vi/IOMMU enabled in the BIOS. Tried both F1/F2g BIOS but
>>> reboot loop still exists.
>>>
>>> Both XEN's are compiled from source via GIT repo.
>>>
>>> My kernel is 3.2.68 with grsec. Disabling grsec made now difference.
>>>
>>> I've attached kern.log.
>>
>> Since that shows nothing relevant, perhaps the hypervisor log
>> has something that indicates the reason? Also - are you in fact
>> reaching the kernel (you saying the screen to just go blank with
>> "noreboot" suggests you don't)? In which case the question
>> arises what kernel log it is that you attached - that of a native
>> kernel boot?
>>
>> And finally - if you already build from git repo, did you (or can
>> you) try master instead of 4.3.x / 4.4.x?
>>
>> Jan
>>
>>
>
> It will never reach the hypervisor ie. fully load to the hypervisor. It
> initializes some of /boot/xen.gz and then restart occurs. Text scrolls way
> too fast so I can't get anything out of it.
>
> Of course that MB does not have serial port and neither my other computer
> so I cannot provide you a log according to
> http://wiki.xen.org/wiki/Xen_Serial_Console ...
>
> http://lists.xen.org/archives/html/xen-devel/2013-05/msg00436.html did not
> help me much neither :(
>
> PS. I had no issues on my AMD 1090T/Asus M4A89GTD PRO/USB but wanted to
> try out pass through feature (7970 to VM) with the newer AMD hardware but
> experienced nothing but horror so far.
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel
>

Sorry for the spam. I found via google more options and tried. After
adding the following: dom0_mem=4096M,max:4096M dom0_max_vcpus=8
dom0_vcpus_pin loglvl=all guest_loglvl=all
iommu=debug,verbose,no-amd-iommu-perdev-intremap

Now I am amble to the hypervisor. So enabling log level allowed it to
booth, eh eh? Really curious to know why it cannot boot with no options.

Anyway is there any advantage for me using the latest 4.4.x?

xl dmesg
 __  __            _  _    _____ _  _
 \ \/ /___ _ __   | || |  |___ /| || |
  \  // _ \ '_ \  | || |_   |_ \| || |_
  /  \  __/ | | | |__   _| ___) |__   _|
 /_/\_\___|_| |_|    |_|(_)____(_) |_|

(XEN) Xen version 4.3.4 (root@) (gcc (Debian 4.7.2-5) 4.7.2) debug=n Tue
Aug 25 01:04:18 EEST 2015
(XEN) Latest ChangeSet: Thu Mar 19 16:08:36 2015 +0100 git:c58b16e
(XEN) Bootloader: GRUB 1.99-27+deb7u2
(XEN) Command line: placeholder dom0_mem=4096M,max:4096M dom0_max_vcpus=8
dom0_vcpus_pin loglvl=all guest_loglvl=all
iommu=debug,verbose,no-amd-iommu-perdev-intremap
(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 - 000000000009e800 (usable)
(XEN)  000000000009e800 - 00000000000a0000 (reserved)
(XEN)  00000000000e0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 00000000bea09000 (usable)
(XEN)  00000000bea09000 - 00000000bea3d000 (reserved)
(XEN)  00000000bea3d000 - 00000000bea45000 (ACPI data)
(XEN)  00000000bea45000 - 00000000bee35000 (ACPI NVS)
(XEN)  00000000bee35000 - 00000000bf15a000 (reserved)
(XEN)  00000000bf15a000 - 00000000bf15b000 (usable)
(XEN)  00000000bf15b000 - 00000000bf361000 (ACPI NVS)
(XEN)  00000000bf361000 - 00000000bf800000 (usable)
(XEN)  00000000f8000000 - 00000000fc000000 (reserved)
(XEN)  00000000fec00000 - 00000000fec01000 (reserved)
(XEN)  00000000fec10000 - 00000000fec11000 (reserved)
(XEN)  00000000fec20000 - 00000000fec21000 (reserved)
(XEN)  00000000fed00000 - 00000000fed01000 (reserved)
(XEN)  00000000fed61000 - 00000000fed71000 (reserved)
(XEN)  00000000fed80000 - 00000000fed90000 (reserved)
(XEN)  00000000fef00000 - 0000000100000000 (reserved)
(XEN)  0000000100001000 - 000000023f000000 (usable)
(XEN) ACPI: RSDP 000F0490, 0024 (r2 ALASKA)
(XEN) ACPI: XSDT BEA3E070, 005C (r1 ALASKA    A M I  1072009 AMI     10013)
(XEN) ACPI: FACP BEA43BA0, 00F4 (r4 ALASKA    A M I  1072009 AMI     10013)
(XEN) ACPI Warning (tbfadt-0464): Optional field "Pm2ControlBlock" has
zero address or length: 0000000000000000/1 [20070126]
(XEN) ACPI: DSDT BEA3E158, 5A42 (r2 ALASKA    A M I        0 INTL 20051117)
(XEN) ACPI: FACS BEE2FF80, 0040
(XEN) ACPI: APIC BEA43C98, 009E (r3 ALASKA    A M I  1072009 AMI     10013)
(XEN) ACPI: FPDT BEA43D38, 0044 (r1 ALASKA    A M I  1072009 AMI     10013)
(XEN) ACPI: MCFG BEA43D80, 003C (r1 ALASKA    A M I  1072009 MSFT    10013)
(XEN) ACPI: HPET BEA43DC0, 0038 (r1 ALASKA    A M I  1072009 AMI         5)
(XEN) ACPI: SSDT BEA43DF8, 0D3C (r1 AMD    POWERNOW        1 AMD         1)
(XEN) ACPI: IVRS BEA44B38, 00B8 (r1  AMD     RD890S   202031 AMD         0)
(XEN) System RAM: 8158MB (8354072kB)
(XEN) No NUMA configuration found
(XEN) Faking a node at 0000000000000000-000000023f000000
(XEN) Domain heap initialised
(XEN) found SMP MP-table at 000fd7d0
(XEN) DMI 2.7 present.
(XEN) Using APIC driver default
(XEN) ACPI: PM-Timer IO Port: 0x808
(XEN) ACPI: SLEEP INFO: pm1x_cnt[804,0], pm1x_evt[800,0]
(XEN) ACPI: 32/64X FACS address mismatch in FADT -
bee2ff80/0000000000000000, using 32
(XEN) ACPI:             wakeup_vec[bee2ff8c], vec_size[20]
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x10] enabled)
(XEN) Processor #16 5:2 APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x11] enabled)
(XEN) Processor #17 5:2 APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x12] enabled)
(XEN) Processor #18 5:2 APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x13] enabled)
(XEN) Processor #19 5:2 APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x05] lapic_id[0x14] enabled)
(XEN) Processor #20 5:2 APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x06] lapic_id[0x15] enabled)
(XEN) Processor #21 5:2 APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x07] lapic_id[0x16] enabled)
(XEN) Processor #22 5:2 APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x08] lapic_id[0x17] enabled)
(XEN) Processor #23 5:2 APIC version 16
(XEN) ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
(XEN) ACPI: IOAPIC (id[0x09] address[0xfec00000] gsi_base[0])
(XEN) IOAPIC[0]: apic_id 9, version 33, address 0xfec00000, GSI 0-23
(XEN) ACPI: IOAPIC (id[0x0a] address[0xfec20000] gsi_base[24])
(XEN) IOAPIC[1]: apic_id 10, version 33, address 0xfec20000, GSI 24-55
(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 low 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 2 I/O APICs
(XEN) ACPI: HPET id: 0x43538210 base: 0xfed00000
(XEN) ERST table was not found
(XEN) Using ACPI (MADT) for SMP configuration information
(XEN) SMP: Allowing 8 CPUs (0 hotplug CPUs)
(XEN) IRQ limits: 56 GSI, 1496 MSI/MSI-X
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 4018.505 MHz processor.
(XEN) Initing memory sharing.
(XEN) xstate_init: using cntxt_size: 0x3c0 and states: 0x4000000000000007
(XEN) AMD Fam15h machine check reporting enabled
(XEN) PCI: MCFG configuration 0: base e0000000 segment 0000 buses 00 - ff
(XEN) PCI: Not using MCFG for segment 0000 bus 00-ff
(XEN) AMD-Vi: Found MSI capability block at 0x54
(XEN) AMD-Vi: ACPI Table:
(XEN) AMD-Vi:  Signature IVRS
(XEN) AMD-Vi:  Length 0xb8
(XEN) AMD-Vi:  Revision 0x1
(XEN) AMD-Vi:  CheckSum 0x31
(XEN) AMD-Vi:  OEM_Id AMD
(XEN) AMD-Vi:  OEM_Table_Id RD890S
(XEN) AMD-Vi:  OEM_Revision 0x202031
(XEN) AMD-Vi:  Creator_Id AMD
(XEN) AMD-Vi:  Creator_Revision 0
(XEN) AMD-Vi: IVRS Block: type 0x10 flags 0x3e len 0x88 id 0x2
(XEN) AMD-Vi: IVHD Device Entry: type 0x3 id 0 flags 0
(XEN) AMD-Vi:  Dev_Id Range: 0 -> 0x2
(XEN) AMD-Vi: IVHD Device Entry: type 0x2 id 0x10 flags 0
(XEN) AMD-Vi: IVHD Device Entry: type 0x3 id 0x100 flags 0
(XEN) AMD-Vi:  Dev_Id Range: 0x100 -> 0x101
(XEN) AMD-Vi: IVHD Device Entry: type 0x2 id 0x48 flags 0
(XEN) AMD-Vi: IVHD Device Entry: type 0x2 id 0x200 flags 0
(XEN) AMD-Vi: IVHD Device Entry: type 0x2 id 0x88 flags 0
(XEN) AMD-Vi: IVHD Device Entry: type 0x3 id 0x90 flags 0
(XEN) AMD-Vi:  Dev_Id Range: 0x90 -> 0x92
(XEN) AMD-Vi: IVHD Device Entry: type 0x3 id 0x98 flags 0
(XEN) AMD-Vi:  Dev_Id Range: 0x98 -> 0x9a
(XEN) AMD-Vi: IVHD Device Entry: type 0x2 id 0xa0 flags 0xd7
(XEN) AMD-Vi: IVHD Device Entry: type 0x2 id 0xa1 flags 0
(XEN) AMD-Vi: IVHD Device Entry: type 0x2 id 0xa3 flags 0
(XEN) AMD-Vi: IVHD Device Entry: type 0x2 id 0xa4 flags 0
(XEN) AMD-Vi: IVHD Device Entry: type 0x43 id 0x300 flags 0
(XEN) AMD-Vi:  Dev_Id Range: 0x300 -> 0x3ff alias 0xa4
(XEN) AMD-Vi: IVHD Device Entry: type 0x2 id 0xa5 flags 0
(XEN) AMD-Vi: IVHD Device Entry: type 0x3 id 0xb0 flags 0
(XEN) AMD-Vi:  Dev_Id Range: 0xb0 -> 0xb2
(XEN) AMD-Vi: IVHD Device Entry: type 0x48 id 0 flags 0xd7
(XEN) AMD-Vi: IVHD Special: 0000:00:14.0 variety 0x1 handle 0x9
(XEN) AMD-Vi: IVHD Device Entry: type 0x48 id 0 flags 0xd7
(XEN) AMD-Vi: IVHD Special: 0000:00:14.0 variety 0x2 handle 0
(XEN) AMD-Vi: IVHD Device Entry: type 0x48 id 0 flags 0
(XEN) AMD-Vi: IVHD Special: 0000:00:00.1 variety 0x1 handle 0xa
(XEN) AMD-Vi: IOMMU 0 Enabled.
(XEN) AMD-Vi: Enabling global vector map
(XEN) AMD-Vi: Using global interrupt remap table is not recommended (see
XSA-36)!
(XEN) I/O virtualisation enabled
(XEN)  - Dom0 mode: Relaxed
(XEN) Interrupt remapping enabled
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1
(XEN) Platform timer is 14.318MHz HPET
(XEN) Allocated console ring of 64 KiB.
(XEN) HVM: ASIDs enabled.
(XEN) SVM: Supported advanced features:
(XEN)  - Nested Page Tables (NPT)
(XEN)  - Last Branch Record (LBR) Virtualisation
(XEN)  - Next-RIP Saved on #VMEXIT
(XEN)  - VMCB Clean Bits
(XEN)  - DecodeAssists
(XEN)  - Pause-Intercept Filter
(XEN)  - TSC Rate MSR
(XEN) HVM: SVM enabled
(XEN) HVM: Hardware Assisted Paging (HAP) detected
(XEN) HVM: HAP page sizes: 4kB, 2MB, 1GB
(XEN) microcode: CPU1 collect_cpu_info: patch_id=0x6000822
(XEN) microcode: CPU2 collect_cpu_info: patch_id=0x6000822
(XEN) microcode: CPU3 collect_cpu_info: patch_id=0x6000822
(XEN) microcode: CPU4 collect_cpu_info: patch_id=0x6000822
(XEN) microcode: CPU5 collect_cpu_info: patch_id=0x6000822
(XEN) microcode: CPU6 collect_cpu_info: patch_id=0x6000822
(XEN) Brought up 8 CPUs
(XEN) microcode: CPU7 collect_cpu_info: patch_id=0x6000822
(XEN) ACPI sleep modes: S3
(XEN) MCA: Use hw thresholding to adjust polling frequency
(XEN) mcheck_poll: Machine check polling timer started.
(XEN) *** LOADING DOMAIN 0 ***
(XEN)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x1e00000
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   0000000230000000->0000000234000000 (1030981 pages to
be allocated)
(XEN)  Init. ramdisk: 000000023eb45000->000000023f000000
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff81000000->ffffffff81e00000
(XEN)  Init. ramdisk: ffffffff81e00000->ffffffff822bb000
(XEN)  Phys-Mach map: ffffffff822bb000->ffffffff82abb000
(XEN)  Start info:    ffffffff82abb000->ffffffff82abb4b4
(XEN)  Page tables:   ffffffff82abc000->ffffffff82ad5000
(XEN)  Boot stack:    ffffffff82ad5000->ffffffff82ad6000
(XEN)  TOTAL:         ffffffff80000000->ffffffff82c00000
(XEN)  ENTRY ADDRESS: ffffffff819881c0
(XEN) Dom0 has maximum 8 VCPUs
(XEN) AMD-Vi: Setup I/O page table: device id = 0, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) AMD-Vi: Setup I/O page table: device id = 0x2, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) AMD-Vi: Setup I/O page table: device id = 0x10, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) AMD-Vi: Setup I/O page table: device id = 0x48, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) AMD-Vi: Setup I/O page table: device id = 0x88, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) AMD-Vi: Setup I/O page table: device id = 0x90, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) AMD-Vi: Setup I/O page table: device id = 0x92, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) AMD-Vi: Setup I/O page table: device id = 0x98, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) AMD-Vi: Setup I/O page table: device id = 0x9a, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) AMD-Vi: Setup I/O page table: device id = 0xa0, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) AMD-Vi: Setup I/O page table: device id = 0xa1, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) AMD-Vi: Setup I/O page table: device id = 0xa3, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) AMD-Vi: Setup I/O page table: device id = 0xa4, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) AMD-Vi: Setup I/O page table: device id = 0xa5, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) AMD-Vi: Setup I/O page table: device id = 0xb0, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) AMD-Vi: Setup I/O page table: device id = 0xb2, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) AMD-Vi: No iommu for device 0000:00:18.0
(XEN) setup 0000:00:18.0 for d0 failed (-19)
(XEN) AMD-Vi: No iommu for device 0000:00:18.1
(XEN) setup 0000:00:18.1 for d0 failed (-19)
(XEN) AMD-Vi: No iommu for device 0000:00:18.2
(XEN) setup 0000:00:18.2 for d0 failed (-19)
(XEN) AMD-Vi: No iommu for device 0000:00:18.3
(XEN) setup 0000:00:18.3 for d0 failed (-19)
(XEN) AMD-Vi: No iommu for device 0000:00:18.4
(XEN) setup 0000:00:18.4 for d0 failed (-19)
(XEN) AMD-Vi: No iommu for device 0000:00:18.5
(XEN) setup 0000:00:18.5 for d0 failed (-19)
(XEN) AMD-Vi: Setup I/O page table: device id = 0x100, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) AMD-Vi: Setup I/O page table: device id = 0x101, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) AMD-Vi: Setup I/O page table: device id = 0x200, root table =
0x239297000, domain = 0, paging mode = 3
(XEN) Scrubbing Free RAM: .......................................done.
(XEN) Initial low memory virq threshold set at 0x4000 pages.
(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 284kB init memory.
(XEN) traps.c:2537:d0 Domain attempted WRMSR 00000000c0010201 from
0x0000000000000000 to 0x000000000000abcd.
(XEN) PCI add device 0000:00:00.0
(XEN) PCI add device 0000:00:00.2
(XEN) PCI add device 0000:00:02.0
(XEN) PCI add device 0000:00:09.0
(XEN) PCI add device 0000:00:11.0
(XEN) PCI add device 0000:00:12.0
(XEN) PCI add device 0000:00:12.2
(XEN) PCI add device 0000:00:13.0
(XEN) PCI add device 0000:00:13.2
(XEN) PCI add device 0000:00:14.0
(XEN) PCI add device 0000:00:14.1
(XEN) PCI add device 0000:00:14.3
(XEN) PCI add device 0000:00:14.4
(XEN) PCI add device 0000:00:14.5
(XEN) PCI add device 0000:00:16.0
(XEN) PCI add device 0000:00:16.2
(XEN) PCI add device 0000:00:18.0
(XEN) PCI add device 0000:00:18.1
(XEN) PCI add device 0000:00:18.2
(XEN) PCI add device 0000:00:18.3
(XEN) PCI add device 0000:00:18.4
(XEN) PCI add device 0000:00:18.5
(XEN) PCI add device 0000:01:00.0
(XEN) PCI add device 0000:01:00.1
(XEN) PCI add device 0000:02:00.0
(XEN) PCI add device 0000:03:06.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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