From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: "Vincent Davis Jr" <vince@underview.tech>
Cc: <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core][PATCH v3 1/8] bootimg_pcbios: support grub hybrid boot
Date: Mon, 08 Sep 2025 14:25:52 +0200 [thread overview]
Message-ID: <DCNF1CJJ7WH3.1SH2QIZU7LIUN@bootlin.com> (raw)
In-Reply-To: <CAPQx_gPwZ7y0kddQc3TvKSeb18-Zmf8ZW5q38M9uiCYV2qTEbw@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 4066 bytes --]
Hi Vincent,
Here is the log file, but there isn't much.
About build host, this is not a docker, so I believe I have no easy way
to provide you with a reproducible setup.
Configuration can be seen here: https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/3445173/raw_inline
Best regards,
Mathieu
On Sun Sep 7, 2025 at 5:47 PM CEST, Vincent Davis Jr wrote:
> Okay
>
> Is there anyway I can see
>
> qemu_boot_log.20250907083922?
>
> Also assuming we are running in a docker container.
>
> May I see the Docker file.
>
> Ran v3 against latest poky using an ubuntu docker container after cherry
> picking v3 commits into it.
>
> DISTRO = "poky"
> MACHINE = "qemux86-64" I believe not near computer.
>
> My docker file and docker compose file
>
> https://github.com/under-view/docker-builds/blob/master/containers/yocto-project/ubuntu-24.04/Dockerfile
>
> https://github.com/under-view/docker-builds/blob/master/composes/default-compose.yaml
>
>
>
>
>
>
> On Sun, Sep 7, 2025, 10:02 AM Mathieu Dubois-Briand <
> mathieu.dubois-briand@bootlin.com> wrote:
>
>> On Fri Sep 5, 2025 at 6:41 PM CEST, Vincent Davis Jr wrote:
>> > If caller wants to primarily leverage
>> > grub as the primary boot loader current
>> > oe-core doesn't support booting grub when
>> > the boot firmware is legacy BIOS based and
>> > the partition table format is GPT based.
>> >
>> > Issue GPT header reside where core.img
>> > should be located (at byte 512).
>> >
>> > To navigate around issue core.img was
>> > moved to a seperate partition.
>> >
>> > If disk is a GPT disk caller must specify
>> > the file system type as none and set the
>> > partition type as BIOS boot. No filesystem
>> > will be created on partition. This also
>> > allows wic plugin to know where to dd
>> > core.img.
>> >
>> > Unfortunately No deep dive into grub-install
>> > was perform to know the exact bytes changed
>> > in hybrid boot case. To see the change in
>> > bytes generated boot.img + core.img was compared
>> > to boot.img + core.img after grub-install was
>> > executed using the xxd command.
>> >
>> > Signed-off-by: Vincent Davis Jr <vince@underview.tech>
>> > ---
>>
>> Hi Vincent,
>>
>> We still have the same failure as on v2. Still happening with selftests
>> running on debian host, so there might be something related to the host
>> configuration.
>>
>> ERROR: Qemu log output from
>> /srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-2287526/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/testimage/qemu_boot_log.20250907083922:
>> SeaBIOS (version rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org)
>> ...
>> iPXE (http://ipxe.org) 00:02.0 CA00 PCI2.10 PnP PMM+0EFC6560+0EF26560 CA00
>> Press Ctrl-B to configure iPXE (PCI 00:02.0)...
>> ...
>> Booting from Hard Disk..
>> 2025-09-07 08:56:24,256 - oe-selftest - INFO - 9: 79/94 577/639 (1085.73s)
>> (0 failed) (wic.Wic2.test_grub_install_biosplusefi_qemu)
>> 2025-09-07 08:56:24,265 - oe-selftest - INFO -
>> testtools.testresult.real._StringException: Traceback (most recent call
>> last):
>> File
>> "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/utils/commands.py",
>> line 390, in runqemu
>> qemu.start(params=qemuparams, ssh=ssh, runqemuparams=runqemuparams,
>> launch_cmd=launch_cmd, discard_writes=discard_writes)
>> File
>> "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/targetcontrol.py",
>> line 179, in start
>> raise RuntimeError("%s - FAILED to start qemu - check the task log and
>> the boot log" % self.pn)
>> RuntimeError: core-image-minimal - FAILED to start qemu - check the task
>> log and the boot log
>>
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/2280
>>
>> Thanks,
>> Mathieu
>>
>> --
>> Mathieu Dubois-Briand, Bootlin
>> Embedded Linux and Kernel engineering
>> https://bootlin.com
>>
>>
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
[-- Attachment #2: qemu_boot_log.20250907083922 --]
[-- Type: text/plain, Size: 312 bytes --]
^[c^[[?7l^[[2J^[[0mSeaBIOS (version rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org)
iPXE (http://ipxe.org) 00:02.0 CA00 PCI2.10 PnP PMM+0EFC6560+0EF26560 CA00
Press Ctrl-B to configure iPXE (PCI 00:02.0)...\r
Booting from Hard Disk..
next prev parent reply other threads:[~2025-09-08 12:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-05 16:41 [OE-core][PATCH v3 1/8] bootimg_pcbios: support grub hybrid boot Vincent Davis Jr
2025-09-05 16:41 ` [OE-core][PATCH v3 2/8] bootimg_efi: " Vincent Davis Jr
2025-09-05 16:41 ` [OE-core][PATCH v3 3/8] bootimg_efi: copy grub modules Vincent Davis Jr
2025-09-05 16:41 ` [OE-core][PATCH v3 4/8] bootimg_pcbios: update default boot timeout to zero Vincent Davis Jr
2025-09-05 16:41 ` [OE-core][PATCH v3 5/8] bootimg_biosplusefi: add grub only examples Vincent Davis Jr
2025-09-05 16:41 ` [OE-core][PATCH v3 6/8] grub-efi: support custom embedded grub configs Vincent Davis Jr
2025-09-05 16:41 ` [OE-core][PATCH v3 7/8] oe-selftest[wic]: add test_grub_install_biosplusefi Vincent Davis Jr
2025-09-05 16:41 ` [OE-core][PATCH v3 8/8] oe-selftest[wic]: add test_grub_install_biosplusefi_qemu Vincent Davis Jr
2025-09-07 14:02 ` [OE-core][PATCH v3 1/8] bootimg_pcbios: support grub hybrid boot Mathieu Dubois-Briand
2025-09-07 15:47 ` Vincent Davis
2025-09-08 12:25 ` Mathieu Dubois-Briand [this message]
2025-09-13 4:29 ` [PATCH " Vincent Davis Jr
2025-09-15 12:17 ` [OE-core] " Mathieu Dubois-Briand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DCNF1CJJ7WH3.1SH2QIZU7LIUN@bootlin.com \
--to=mathieu.dubois-briand@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=vince@underview.tech \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.