[Bug 1930082] Re: systemd/247.3-3ubuntu3 ADT test failure with linux-raspi H/G/F
Juerg Haefliger
1930082 at bugs.launchpad.net
Tue Nov 8 12:50:39 UTC 2022
This is a general problem when running any raspi kernel in ADT since the
raspi kernels don't support ACPI. Software configuration seems to be
different across different arm64 host HW in the ADT OpenStack cloud.
Older HW has older qemu-efi installed which presents both ACPI *and* a
DT to the guest and the raspi kernel boots fine in VMs running on such
host HW. Newer host HW has newer qemu-efi installed which only presents
ACPI and VMs running on such host HW fail to boot with the raspi kernel,
leading to the above error/timeout.
The solution is to support a special ADT trigger 'qemu-eif-noacpi/0'
which calls a script during testbed setup that injects a startup.nsh
script into the EFI partition of the VM and changes NextBoot to the EFI
shell. The VM then reboots after testbed setup, executes startup.nsh
which sets a hidden EFI variable to instruct QEMU to present a DT and
finally resets the VM for this change to take effect. When the VM comes
back, the guest OS is presented with a DT and the raspi kernel boots and
the test continues.
That's the theory. However, the reboot method after testbed setup was
recently changed for some reason. It now uses 'openstack reboot --hard'
which results in a libvirt domain destroy and recreate which in turn
results in loosing the EFI variable setting so the VM comes back with
ACPI again and no DT. And the raspi kernel no longer boots...
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1930082
Title:
systemd/247.3-3ubuntu3 ADT test failure with linux-raspi H/G/F
Status in linux-raspi package in Ubuntu:
Won't Fix
Status in systemd package in Ubuntu:
Invalid
Bug description:
This is a scripted bug report about ADT failures while running systemd
tests for linux-raspi/5.11.0-1009.10 on hirsute. Whether this is
caused by the dep8 tests of the tested source or the kernel has yet to
be determined.
Testing failed on Hirsute/raspi:
arm64: https://autopkgtest.ubuntu.com/results/autopkgtest-hirsute/hirsute/arm64/s/systemd/20210528_100011_6f6f0@/log.gz
Testing failed on Groovy/raspi:
arm64: https://autopkgtest.ubuntu.com/results/autopkgtest-groovy/groovy/arm64/s/systemd/20210528_084522_9b779@/log.gz
Testing failed on Focal/raspi:
arm64: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/arm64/s/systemd/20210528_092727_7c33b@/log.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930082/+subscriptions
More information about the foundations-bugs
mailing list