Hi Bruce,
> On 5 May 2022, at 15:44, Bruce Ashfield <[email protected]> wrote:
>
> On Fri, Apr 29, 2022 at 9:40 AM Bertrand Marquis
> <[email protected]> wrote:
>>
>> Hi Bruce,
>>
>>> On 29 Apr 2022, at 14:30, Bruce Ashfield <[email protected]> wrote:
>>>
>>> On Fri, Apr 29, 2022 at 9:23 AM Bertrand Marquis
>>> <[email protected]> wrote:
>>>>
>>>> Hi Christopher,
>>>>
>>>>> On 28 Apr 2022, at 01:06, Christopher Clark via lists.yoctoproject.org
>>>>> <[email protected]> wrote:
>>>>>
>>>>> The Spectre and Meltdown mitigations for Xen run PV guests within
>>>>> HVM virtual machines, so Qemu is no longer only needed for systems
>>>>> configured to run HVM guests.
>>>>>
>>>>> With the split xen hypervisor and tools recipes, the bios dependencies
>>>>> belong in the tools recipe, so move them and replace the hvm
>>>>> PACKAGECONFIG option with the recommendation based on target arch.
>>>>>
>>>>> Signed-off-by: Christopher Clark <[email protected]>
>>>> Reviewed-by: Bertrand Marquis <[email protected]>
>>>>
>>>> I can build and run on x86 qemu and I get stuck during init in Dom0 (which
>>>> is apparently already known).
>>>>
>>>
>>> It is likely the xencommond init.d still causing issues.
>>>
>>> I'm doing a revert of all those changes locally, and will start some tests.
>>
>> Please let me know if you need some testing.
>> On my side, I have the issue on arm64, arm32 and x86 at the moment.
>
> I'm still able to build and boot here, so I haven't reproduced the
> issue .. so I'm still hesitating to revert all the xencommons changes,
> as I can't prove to myself they are the issue.
>
> I created a kirkstone branch today, and I'll be adding the latest Xen
> patches to it, but I need to get a handle on what everyone is seeing
> for failures.
>
> I assume you are still seeing problems with the boot on all the
> platforms you mentioned above ?
Here is the linux logs for dom0 on my system:
[ 7.854317] EXT4-fs (vda): re-mounted. Opts: (null). Quota mode: disabled.
Configuring packages on first boot....
(This may take several minutes. Please do not power off the machine.)
Running postinst /etc/rpm-postinsts/100-sysvinit-inittab...
update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
Removing any system startup links for run-postinsts ...
/etc/rcS.d/S99run-postinsts
INIT: Entering runlevel: 5
Configuring network interfaces... udhcpc: started, v1.35.0
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: no lease, failing
ifup: failed to bring up eth0
Starting random number generator daemon.
Starting OpenBSD Secure Shell server: sshd
generating ssh RSA host key...
sync: ignoring all arguments
sync: ignoring all arguments
generating ssh ECDSA host key...
sync: ignoring all arguments
sync: ignoring all arguments
generating ssh ED25519 host key...
sync: ignoring all arguments
sync: ignoring all arguments
done.
Starting syslogd/klogd: done
Starting domain watchdog daemon: xenwatchdogd startup
And it stays stuck there.
This is arm64 but I have the same on x86 with almost the same logs.
If you want me to test something in particular to check if it solves the issue,
just tell me what.
I do not have much time to investigate right now but I will try to dig a bit
from middle of next week so please keep me in touch.
Cheers
Bertrand
>
> Bruce
>
>>
>> Chees
>> Bertrand
>>
>>>
>>> Bruce
>>>
>>>> Cheers
>>>> Bertrand
>>>>
>>>>
>>>>> ---
>>>>> Unchanged since v1
>>>>>
>>>>> recipes-extended/xen/xen-tools.inc | 9 ++-------
>>>>> recipes-extended/xen/xen.inc | 6 +++---
>>>>> 2 files changed, 5 insertions(+), 10 deletions(-)
>>>>>
>>>>> diff --git a/recipes-extended/xen/xen-tools.inc
>>>>> b/recipes-extended/xen/xen-tools.inc
>>>>> index 6bbc8cd..54bc477 100644
>>>>> --- a/recipes-extended/xen/xen-tools.inc
>>>>> +++ b/recipes-extended/xen/xen-tools.inc
>>>>> @@ -30,14 +30,9 @@ RDEPENDS:${PN} = "\
>>>>>
>>>>> RDEPENDS:${PN}-dev = ""
>>>>>
>>>>> -# Qemu is necessary on ARM platforms, and to support HVM guests on x86
>>>>> -QEMU = "${@bb.utils.contains('PACKAGECONFIG', 'hvm', 'qemu', '', d)}"
>>>>> -QEMU:arm = "qemu"
>>>>> -QEMU:aarch64 = "qemu"
>>>>> -
>>>>> RRECOMMENDS:${PN} = " \
>>>>> - ${QEMU} \
>>>>> - ${@bb.utils.contains('PACKAGECONFIG', 'hvm', 'seabios', '', d)} \
>>>>> + qemu \
>>>>> + ${@bb.utils.contains('XEN_TARGET_ARCH', 'x86_64', 'seabios ipxe
>>>>> vgabios', '', d)} \
>>>>> ${@bb.utils.contains('PACKAGECONFIG', 'externalblktap', '',
>>>>> '${BLKTAP_RRECOMMENDS}', d)} \
>>>>> ${PN}-flask \
>>>>> ${PN}-hvmloader \
>>>>> diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
>>>>> index 8b86de5..4c38ccf 100644
>>>>> --- a/recipes-extended/xen/xen.inc
>>>>> +++ b/recipes-extended/xen/xen.inc
>>>>> @@ -9,13 +9,11 @@ require xen-arch.inc
>>>>> PACKAGECONFIG ??= " \
>>>>> sdl \
>>>>> ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
>>>>> - ${@bb.utils.contains('XEN_TARGET_ARCH', 'x86_64', 'hvm', '', d)} \
>>>>> "
>>>>>
>>>>> PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl,"
>>>>> PACKAGECONFIG[xsm] =
>>>>> "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native,"
>>>>> PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd,"
>>>>> -PACKAGECONFIG[hvm] =
>>>>> "--with-system-seabios="/usr/share/firmware/bios.bin",--disable-seabios,seabios
>>>>> ipxe vgabios,"
>>>>> PACKAGECONFIG[externalblktap] = ",,,"
>>>>>
>>>>> DEPENDS = " \
>>>>> @@ -132,7 +130,9 @@ EXTRA_OECONF += " \
>>>>> --disable-rombios \
>>>>> --disable-ocamltools \
>>>>> --disable-qemu-traditional \
>>>>> - ${@bb.utils.contains('XEN_TARGET_ARCH', 'x86_64', '--enable-pvshim',
>>>>> '--disable-pvshim', d)} \
>>>>> + ${@bb.utils.contains('XEN_TARGET_ARCH', 'x86_64', \
>>>>> + '--enable-pvshim --with-system-seabios="/usr/share/firmware/bios.bin"',
>>>>> \
>>>>> + '--disable-pvshim --disable-seabios', d)} \
>>>>> "
>>>>>
>>>>> EXTRA_OEMAKE +=
>>>>> "STDVGA_ROM=${STAGING_DIR_HOST}/usr/share/firmware/vgabios-0.7a.bin"
>>>>> --
>>>>> 2.25.1
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> IMPORTANT NOTICE: The contents of this email and any attachments are
>>>> confidential and may also be privileged. If you are not the intended
>>>> recipient, please notify the sender immediately and do not disclose the
>>>> contents to any other person, use it for any purpose, or store or copy the
>>>> information in any medium. Thank you.
>>>
>>>
>>>
>>> --
>>> - Thou shalt not follow the NULL pointer, for chaos and madness await
>>> thee at its end
>>> - "Use the force Harry" - Gandalf, Star Trek II
>>
>> IMPORTANT NOTICE: The contents of this email and any attachments are
>> confidential and may also be privileged. If you are not the intended
>> recipient, please notify the sender immediately and do not disclose the
>> contents to any other person, use it for any purpose, or store or copy the
>> information in any medium. Thank you.
>
>
>
> --
> - Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end
> - "Use the force Harry" - Gandalf, Star Trek II
IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended recipient,
please notify the sender immediately and do not disclose the contents to any
other person, use it for any purpose, or store or copy the information in any
medium. Thank you.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7249):
https://lists.yoctoproject.org/g/meta-virtualization/message/7249
Mute This Topic: https://lists.yoctoproject.org/mt/90743682/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-