HVM + Kernel: None = distorted graphics

45 views
Skip to first unread message

a...@auspicacious.org

unread,
Mar 27, 2019, 12:30:06 AM3/27/19
to qubes-users
Hi,

I've been trying to get Wireguard up and running following the instructions referenced from this issue:

https://github.com/QubesOS/qubes-issues/issues/3591

I've tried installation in both Fedora 29 and Debian 9-based templates. The problem is, I can switch to HVM mode, but as soon as I set the kernel to "(none)" in either template, any attempt to bring up a terminal gives me a window with distorted graphics inside. My impression is that kernel has to be none for the kernel modules to be loaded properly?

I'm not really sure why this is happening. Dom0 has a different DPI setting than the baseline templates, although that doesn't seem to cause problems usually. I would appreciate any help.

Zbigniew Łukasiak

unread,
Mar 27, 2019, 3:29:11 AM3/27/19
to a...@auspicacious.org, qubes-users
How did you set the kernel? I have tried:
[zby@dom0 ~]$ qvm-prefs -s netvm-fedora-29-template kernel 'none'
qvm-prefs: error: Kernel 'none' not installed
[zby@dom0 ~]$ qvm-prefs -s netvm-fedora-29-template kernel none
qvm-prefs: error: Kernel 'none' not installed
[zby@dom0 ~]$ qvm-prefs -s netvm-fedora-29-template kernel '(none)'
qvm-prefs: error: Kernel '(none)' not installed
[zby@dom0 ~]$ qvm-prefs -s netvm-fedora-29-template kernel ''

The last one worked - but then the vm does not start anymore. I get an
error that it did not start for 60 seconds.

Maybe I should try running grub before changing the kernel - but that
does not work either:
bash-4.4# grub2-install /dev/xvda3
Installing for i386-pc platform.
grub2-install: warning: File system `ext2' doesn't support embedding.
grub2-install: warning: Embedding is not possible. GRUB can only be
installed in this setup by using blocklists. However, blocklists are
UNRELIABLE and their use is discouraged..
grub2-install: error: will not proceed with blocklists.

I don't quite understand that error - because it should be ext4:
/dev/xvda3 on / type ext4 (rw,noatime,discard,data=ordered)



> --
> You received this message because you are subscribed to the Google Groups "qubes-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users...@googlegroups.com.
> To post to this group, send email to qubes...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/90695bc3-2297-44af-90cc-4f04a4d7e315%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Zbigniew Lukasiak
https://medium.com/@zby
http://brudnopis.blogspot.com/

Zbigniew Łukasiak

unread,
Mar 27, 2019, 3:42:11 AM3/27/19
to a...@auspicacious.org, qubes-users
I should add that
/var/log/xen/console/guest-netvm-fedora-29-template.log file is empty.

The grub install worked after I tried it on /dev/xvda instead of
/dev/xvda3 - but still it did not change anything.


Chris Laprise

unread,
Mar 27, 2019, 10:11:16 AM3/27/19
to Zbigniew Łukasiak, a...@auspicacious.org, qubes-users
I have the same issue which I've mentioned in #3591. My workaround in
Debian is to go back to pvh to install the 4.19 kernel from testing.
Then I can use the template in hvm mode.

--

Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB 4AB3 1DC4 D106 F07F 1886

Chris Laprise

unread,
Mar 27, 2019, 10:29:28 AM3/27/19
to Zbigniew Łukasiak, a...@auspicacious.org, qubes-users
I've created an issue for this:

https://github.com/QubesOS/qubes-issues/issues/4920
Reply all
Reply to author
Forward
0 new messages