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

[Xen-users] Non readable output with XEN 4.4.3 serial console


As I posted about a week ago. I had an issue with an AMD FX-8350/Radeon
7970/Gigabyte GA-970A-UD3 and still do. After passing through the 7970, it
works just fine on windows 10 for as long as I do not reboot/shutdown that

Upon shutting down or rebooting the VM whole system becomes unresponsive.
A full reboot of Dom0 is required in order to get passthrough working
again without a system crash.

Someone suggested me to purchase a PCI serial card and I did. I can get
linux serial console working without any issue including login via that

As soon as I enable XEN hvc0 in kernel boot params all I get is VGA
console output though I did not enabled it via XEN boot params.

A working one: GRUB_CMDLINE_LINUX="console=tty0 console=ttyS1,115200n81".
A non working one: GRUB_CMDLINE_LINUX="console=hvc0" as suggested at

dmesg | grep ttyS
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:04: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
0000:03:07.0: ttyS1 at I/O 0xc120 (irq = 21) is a 16550A --> Is a PCI
serial card

GRUB_CMDLINE_XEN_DEFAULT="dom0_mem=4096M,max:8192M dom0_max_vcpus=4
dom0_vcpus_pin iommu=1 loglvl=all guest_loglvl=all
com1=115200,8n1,0xc120,21 console=com1"

Wit the above line I only get non-readable output. I tried it pretty much
all way around including different RTS/CTS options and 3 different tools
and the result was always non-readable output

 xl dmesg
 Xen 4.4.3
(XEN) Xen version 4.4.3 (root@) (gcc (Debian 4.7.2-5) 4.7.2) debug=n Mon
Aug 31 21:00:13 EEST 2015
(XEN) Latest ChangeSet: Thu Aug 20 16:19:38 2015 +0200 git:27b82b0
(XEN) Bootloader: GRUB 1.99-27+deb7u2
(XEN) Command line: placeholder dom0_mem=4096M,max:8192M dom0_max_vcpus=4
dom0_vcpus_pin iommu=1 loglvl=all guest_loglvl=all
(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 5 MBR signatures
(XEN)  Found 5 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009e800 (usable)
(XEN)  000000000009e800 - 00000000000a0000 (reserved)
(XEN)  00000000000e0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 00000000be3ee000 (usable)
(XEN)  00000000be3ee000 - 00000000be41e000 (reserved)
(XEN)  00000000be41e000 - 00000000be42e000 (ACPI data)
(XEN)  00000000be42e000 - 00000000be81b000 (ACPI NVS)
(XEN)  00000000be81b000 - 00000000bedcd000 (reserved)
(XEN)  00000000bedcd000 - 00000000bedce000 (usable)
(XEN)  00000000bedce000 - 00000000befd4000 (ACPI NVS)
(XEN)  00000000befd4000 - 00000000bf44e000 (usable)
(XEN)  00000000bf44e000 - 00000000bf7df000 (reserved)
(XEN)  00000000bf7df000 - 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 - 0000000240000000 (usable)
(XEN) ACPI: RSDP 000F0490, 0024 (r2 ALASKA)
(XEN) ACPI: XSDT BE428068, 0054 (r1 ALASKA    A M I  1072009 AMI     10013)
(XEN) ACPI: FACP BE42D958, 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 BE428150, 5806 (r2 ALASKA    A M I       88 INTL 20051117)
(XEN) ACPI: FACS BE815F80, 0040
(XEN) ACPI: APIC BE42DA50, 009E (r3 ALASKA    A M I  1072009 AMI     10013)
(XEN) ACPI: FPDT BE42DAF0, 0044 (r1 ALASKA    A M I  1072009 AMI     10013)
(XEN) ACPI: MCFG BE42DB38, 003C (r1 ALASKA    A M I  1072009 MSFT    10013)
(XEN) ACPI: HPET BE42DB78, 0038 (r1 ALASKA    A M I  1072009 AMI         5)
(XEN) ACPI: IVRS BE42DBB0, 00B8 (r1  AMD     RD890S   202031 AMD         0)
(XEN) System RAM: 8168MB (8364188kB)
(XEN) No NUMA configuration found
(XEN) Faking a node at 0000000000000000-0000000240000000
(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 -
be815f80/0000000000000000, using 32
(XEN) ACPI:             wakeup_vec[be815f8c], 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 4219.426 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: IOMMU 0 Enabled.
(XEN) I/O virtualisation enabled
(XEN)  - Dom0 mode: Relaxed
(XEN) Interrupt remapping enabled
(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) HVM: PVH mode not supported on this platform
(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)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x1e00000
(XEN)  Dom0 alloc.:   0000000234000000->0000000238000000 (1030981 pages to
be allocated)
(XEN)  Init. ramdisk: 000000023fb45000->000000023ffff600
(XEN)  Loaded kernel: ffffffff81000000->ffffffff81e00000
(XEN)  Init. ramdisk: ffffffff81e00000->ffffffff822ba600
(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: ffffffff819261c0
(XEN) Dom0 has maximum 4 VCPUs
(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 276kB init memory.
(XEN) traps.c:2524: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.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) PCI add device 0000:03:07.0

Xen-users mailing list



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