Skip to contentSkip to conversation

Qubes OS 4.1 under the Heads

DISCUSSION Norbert Kaminski 2 participants 2 messages Aug 24, 2020

lore
Share & tools
lore
#0 lore raw

Hi all,

I'm trying to boot Qubes 4.1 under the Heads (http://osresearch.net/).
The Heads uses kexec to run the Xen 4.13 with Qubes kernel. During the boot process on the screen appear colorful artifacts, which are shown in this issue:

https://github.com/osresearch/heads/issues/789

The installation media booted properly when I replaced the hypervisor to the stable-4.11. So I've bisected Xen from the 4.11 to 4.13 version and I found out that problems start with:

https://github.com/xen-project/xen/commit/dcf4179

This is the first commit where Qubes OS doesn't boot properly. The Qubes kernel cannot find the LUKS UUID and boot ends in the emergency mode. The colorful artifacts appear in this commit:

https://github.com/xen-project/xen/commit/07c181c

Here is the dump of the DMAR table:

DMAR @ 0x0000000000000000
  0000: 44 4D 41 52 A8 00 00 00 01 E8 43 4F 52 45 20 20 DMAR......CORE 0010: 43 4F 52 45 42 4F 4F 54 00 00 00 00 43 4F 52 45 COREBOOT....CORE 0020: 00 00 00 00 23 01 00 00 00 00 00 00 00 00 00 00 ....#........... 0030: 00 00 20 00 00 00 00 00 00 00 D9 FE 00 00 00 00 .. ............. 0040: 01 08 00 00 00 00 02 00 01 08 00 00 00 00 02 01 ................ 0050: 00 00 58 00 01 00 00 00 00 10 D9 FE 00 00 00 00 ..X............. 0060: 03 08 00 00 02 FA 1F 00 04 08 00 00 00 FA 0F 00 ................ 0070: 04 08 00 00 00 FA 0F 01 04 08 00 00 00 FA 0F 02 ................ 0080: 04 08 00 00 00 FA 0F 03 04 08 00 00 00 FA 0F 04 ................ 0090: 04 08 00 00 00 FA 0F 05 04 08 00 00 00 FA 0F 06 ................ 00A0: 04 08 00 00 00 FA 0F 07                         ........

I wasn't able to dump the Xen dmesg due to a mismatch between xen-tools (4.13) and hypervisor (4.12).

I'd appreciate any help on this subject.

---
Best Regards,
Norbert Kamiński
Embedded Systems Engineer
GPG key ID: 9E9F90AFE10F466A
3mdeb.com

#1 lore raw
Quoted 7 lines · Norbert Kaminski

I'm trying to boot Qubes 4.1 under the Heads (http://osresearch.net/).
The Heads uses kexec to run the Xen 4.13 with Qubes kernel. During the boot process on the screen appear colorful artifacts, which are shown in this issue:

https://github.com/osresearch/heads/issues/789

Quoted 8 lines

The installation media booted properly when I replaced the hypervisor to the stable-4.11. So I've bisected Xen from the 4.11 to 4.13 version and I found out that problems start with:

https://github.com/xen-project/xen/commit/dcf4179

This is the first commit where Qubes OS doesn't boot properly. The Qubes kernel cannot find the LUKS UUID and boot ends in the emergency mode.

The commit in question doesn't look like a prime candidate to cause such a regression, so I guess we'll need sufficiently verbose logs (ideally with a debug=y Xen) at least for the problem case, but even better would be one last-known-good log in addition for comparison.

Quoted 3 lines

The colorful artifacts appear in this commit:

https://github.com/xen-project/xen/commit/07c181c

Did you previously make use of the option this commit removes? If so, the description's claim of the code being dead may have been wrong. If not, without further details (logs, as per above) I guess it'll again be hard to diagnose anything here.

Jan