Mailing List Archive

dom0 pvh successfull, but no console
Hi all.

I have an ubuntu 18.04 LTS with edge kernel (v5), and I set up xen with
these options:

GRUB_CMDLINE_LINUX_DEFAULT="nomodeset nosplash quiet"
GRUB_CMDLINE_LINUX="ipv6.disable=1"
GRUB_CMDLINE_XEN_DEFAULT="dom0=pvh dom0_mem=4096M,max:4096M
dom0_max_vcpus=4 dom0_vcpus_pin"

without dom0=pvh everything works as expected. WITH dom0=pvh I have
network and I can SSH on the server, but I cannot see anything on the
screen. keystrokes via the keyboard are going in. The monitor does not
turn into sleep, but it is active, but completely blank. Not even a
cursor blinking.

I guess in pvh0 mode I should add something to the boot line to have the
phisical console enabled. Unfortunately both console=vga and
console=hvc0 turned to be efectless.

Does anyone has idea how can I bring back the local login screen (tty
console) while using dom0=pvh?

Also, for some reason I still see the qemu process running (even tough
that I should not need it ut I should not need it for dom0 pvh):

/usr/bin/qemu-system-i386 -xen-domid 0 -xen-attach -name dom0
-nographic -M xenpv -daemonize -monitor /dev/null -serial /dev/null
-parallel /dev/null -nodefaults -no-user-config -pidfile
/var/run/xen/qemu-dom0.pid

Thank you.

Part of the xl dmesg:
(XEN) Detected 2400.105 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 enabled.
(XEN) Intel VT-d Posted Interrupt not enabled.
(XEN) Intel VT-d Shared EPT tables not 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) Allocated console ring of 32 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) HVM: ASIDs enabled.
(XEN) HVM: VMX enabled
(XEN) HVM: Hardware Assisted Paging (HAP) detected
(XEN) HVM: HAP page sizes: 4kB, 2MB, 1GB
(XEN) Brought up 16 CPUs
(XEN) Dom0 has maximum 816 PIRQs
(XEN) WARNING: PVH is an experimental mode with limited functionality
(XEN) Initial low memory virq threshold set at 0x4000 pages.
(XEN) Scrubbing Free RAM in background
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)


--

?li?s Tam?s
Thomas Elias

ETIT[nwpro] KFT, ?gyvezet?-H?l?zatbiztons?gi specialista
ETIT[nwpro] Ltd, General Manager-Network security specialist

Tel. HU: +36/30-497-1626
OpenPGP pubkey: http://etit.hu/doc/et-pub.asc

Okleveles m?rn?k-informatikus (MSC)
Master of Science in Information Technology (MSC)
Licenced Penetration Tester (TM15-047)

Kapcsolat: http://etit.hu/index.php/hu/kapcsolat
Jogi nyilatkozat: http://etit.hu/disclaimer-email-hu.txt
Contact: http://etit.hu/index.php/en/contact
Disclaimer: http://etit.hu/disclaimer-email-en.txt
Re: dom0 pvh successfull, but no console [ In reply to ]
On 27.06.19 15:53, Éliás Tamás wrote:
> Hi all.
>
> I have an ubuntu 18.04 LTS with edge kernel (v5), and I set up xen with
> these options:
>
> GRUB_CMDLINE_LINUX_DEFAULT="nomodeset nosplash quiet"
> GRUB_CMDLINE_LINUX="ipv6.disable=1"
> GRUB_CMDLINE_XEN_DEFAULT="dom0=pvh dom0_mem=4096M,max:4096M
> dom0_max_vcpus=4 dom0_vcpus_pin"
>
> without dom0=pvh everything works as expected. WITH dom0=pvh I have
> network and I can SSH on the server, but I cannot see anything on the
> screen. keystrokes via the keyboard are going in. The monitor does not
> turn into sleep, but it is active, but completely blank. Not even a
> cursor blinking.
>
> I guess in pvh0 mode I should add something to the boot line to have the
> phisical console enabled. Unfortunately both console=vga and
> console=hvc0 turned to be efectless.
>
> Does anyone has idea how can I bring back the local login screen (tty
> console) while using dom0=pvh?
>
> Also, for some reason I still see the qemu process running (even tough
> that I should not need it ut I should not need it for dom0 pvh):
>
> /usr/bin/qemu-system-i386 -xen-domid 0 -xen-attach -name dom0
> -nographic -M xenpv -daemonize -monitor /dev/null -serial /dev/null
> -parallel /dev/null -nodefaults -no-user-config -pidfile
> /var/run/xen/qemu-dom0.pid

This qemu process is active even with a PV-dom0. It is just used to be
able to look into guest disk images for support of pygrub.


Juergen

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