Seabios 1.17.0 20250611 patches
The following changes since commit bc98ffdc7577e55ab8373c579c28fe24d600c40f:
Merge tag 'pull-10.1-maintainer-may-2025-070625-1' of https://gitlab.com/stsquad/qemu into staging (2025-06-07 15:08:55 -0400)
are available in the Git repository at:
https://gitlab.com/kraxel/qemu.git tags/seabios-1.17.0-20250611-pull-request
for you to fetch changes up to cba36cf3881e907553ba2de38abd5edf7f952de1:
seabios: update binaries to 1.17.0 (2025-06-11 09:45:00 +0200)
----------------------------------------------------------------
seabios: update to 1.17.0 release
----------------------------------------------------------------
Gerd Hoffmann (2):
seabios: update submodule to 1.17.0
seabios: update binaries to 1.17.0
pc-bios/bios-256k.bin | Bin 262144 -> 262144 bytes pc-bios/bios-microvm.bin | Bin 131072 -> 131072 bytes pc-bios/bios.bin | Bin 131072 -> 131072 bytes pc-bios/vgabios-ati.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios-bochs-display.bin | Bin 28672 -> 28672 bytes pc-bios/vgabios-cirrus.bin | Bin 38912 -> 39424 bytes pc-bios/vgabios-qxl.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios-ramfb.bin | Bin 28672 -> 28672 bytes pc-bios/vgabios-stdvga.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios-virtio.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios-vmware.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios.bin | Bin 38912 -> 38912 bytes roms/seabios | 2 +- 13 files changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.49.0
[PULL 2/2] seabios: update binaries to 1.17.0
--- pc-bios/bios-256k.bin | Bin 262144 -> 262144 bytes pc-bios/bios-microvm.bin | Bin 131072 -> 131072 bytes pc-bios/bios.bin | Bin 131072 -> 131072 bytes pc-bios/vgabios-ati.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios-bochs-display.bin | Bin 28672 -> 28672 bytes pc-bios/vgabios-cirrus.bin | Bin 38912 -> 39424 bytes pc-bios/vgabios-qxl.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios-ramfb.bin | Bin 28672 -> 28672 bytes pc-bios/vgabios-stdvga.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios-virtio.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios-vmware.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios.bin | Bin 38912 -> 38912 bytes 12 files changed, 0 insertions(+), 0 deletions(-)
pc-bios/bios-256k.bin binary +0 -0
pc-bios/bios-microvm.bin binary +0 -0
pc-bios/bios.bin binary +0 -0
pc-bios/vgabios-ati.bin binary +0 -0
pc-bios/vgabios-bochs-display.bin binary +0 -0
pc-bios/vgabios-cirrus.bin binary +0 -0
pc-bios/vgabios-qxl.bin binary +0 -0
pc-bios/vgabios-ramfb.bin binary +0 -0
pc-bios/vgabios-stdvga.bin binary +0 -0
pc-bios/vgabios-virtio.bin binary +0 -0
pc-bios/vgabios-vmware.bin binary +0 -0
pc-bios/vgabios.bin binary +0 -0
Signature · 1 line
2.49.0
[PULL 1/2] seabios: update submodule to 1.17.0
In reply to Gerd Hoffmanngit shortlog rel-1.16.3..rel-1.17.0
-----------------------------------
Andrej Kruták (1):
Add AHCI Power ON + ICC_ACTIVE into port setup code
Daniel Khodabakhsh (2):
boot: Force display of the boot menu when boot-menu-wait is a negative number
usb-hid: Support multiple USB HID devices by storing them in a linked list
Daniel Verkamp (3):
vbe: Add VBE 2.0+ OemData field to struct vbe_info
vgasrc: round up save/restore size
vbe: implement function 09h (get/set palette data)
Daniil Tatianin (1):
pciinit: don't misalign large BARs
Gerd Hoffmann (6):
limit address space used for pci devices, part two drop obsolete acpi table code
drop acpi tables and hex includes
add romfile_loadbool()
update pci_pad_mem64 handling
ahci: add controller reset
Igor Mammedov (1):
fix smbios blob length overflow
Jiaxun Yang (1):
ahci: Fix hangs due to controller reset
Kevin O'Connor (14):
vgasrc: Use curmode_g instead of vmode_g when mode is the current video mode
vgasrc: Rename vgahw_get_linesize() to vgahw_minimum_linelength()
stdvgamodes: No need to store pelmask in vga_modes[]
stdvgamodes: Improve naming of dac palette tables
stdvga: Rename CGA palette functions
stdvga: Add comments to interface functions in stdvga.c
stdvga: Rename stdvga_toggle_intensity() to stdvga_set_palette_blinking()
stdvga: Rework stdvga palette index paging interface functions
stdvga: Rename stdvga_set_text_block_specifier() to stdvga_set_font_location()
stdvga: Rename stdvga_set_scan_lines() to stdvga_set_character_height()
stdvga: Rename stdvga_get_vde() to stdvga_get_vertical_size()
stdvga: Add stdvga_set_vertical_size() helper function
stdvgaio: Only read/write one color palette entry at a time
docs: Note v1.17.0 release
Mark Cave-Ayland (2):
esp-scsi: terminate DMA transfer when ESP data transfer completes
esp-scsi: indicate acceptance of MESSAGE IN phase data
Max Tottenham (1):
Add LBA 64bit support for reads beyond 2TB.
Steven Price (1):
vgabios: Fix generating modes list for static_functionality
nikolar via SeaBIOS (1):
kconfig: fix the check-lxdialog.sh to work with gcc 14+
--- roms/seabios | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
roms/seabios +1 -1
@@ -1 +1 @@ -Subproject commit a6ed6b701f0a57db0569ab98b0661c12a6ec3ff8 +Subproject commit b52ca86e094d19b58e2304417787e96b940e39c6
Signature · 1 line
2.49.0
FYI, this seabios 1.17.0 release appears to have broken the ability to use virtio-pci with libguestfs+QEMU:
https://bugzilla.redhat.com/show_bug.cgi?id=2372329
so I'd suggest we hold off on this pull request until the regression is diagnosed.
Quoted 21 lines · Gerd Hoffmann
The following changes since commit
bc98ffdc7577e55ab8373c579c28fe24d600c40f:Merge tag 'pull-10.1-maintainer-may-2025-070625-1' of https://gitlab.com/stsquad/qemu into staging (2025-06-07 15:08:55 -0400)
are available in the Git repository at:
https://gitlab.com/kraxel/qemu.git tags/seabios-1.17.0-20250611-pull-request
for you to fetch changes up to
cba36cf3881e907553ba2de38abd5edf7f952de1:seabios: update binaries to 1.17.0 (2025-06-11 09:45:00 +0200)
----------------------------------------------------------------
seabios: update to 1.17.0 release----------------------------------------------------------------
Gerd Hoffmann (2):
seabios: update submodule to 1.17.0
seabios: update binaries to 1.17.0
Quoted 19 lines
pc-bios/bios-256k.bin | Bin 262144 -> 262144 bytes pc-bios/bios-microvm.bin | Bin 131072 -> 131072 bytes pc-bios/bios.bin | Bin 131072 -> 131072 bytes pc-bios/vgabios-ati.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios-bochs-display.bin | Bin 28672 -> 28672 bytes pc-bios/vgabios-cirrus.bin | Bin 38912 -> 39424 bytes pc-bios/vgabios-qxl.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios-ramfb.bin | Bin 28672 -> 28672 bytes pc-bios/vgabios-stdvga.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios-virtio.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios-vmware.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios.bin | Bin 38912 -> 38912 bytes roms/seabios | 2 +- 13 files changed, 1 insertion(+), 1 deletion(-)Signature · 1 line
2.49.0
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 8 lines · Daniel P. Berrangé
FYI, this seabios 1.17.0 release appears to have broken the ability to use virtio-pci with libguestfs+QEMU:
https://bugzilla.redhat.com/show_bug.cgi?id=2372329
so I'd suggest we hold off on this pull request until the regression is diagnosed.
Thanks, Daniel. I have pushed a revert to staging.
Stefan
Quoted 51 lines · Gerd Hoffmann
Quoted 36 lines
The following changes since commit
bc98ffdc7577e55ab8373c579c28fe24d600c40f:Merge tag 'pull-10.1-maintainer-may-2025-070625-1' of https://gitlab.com/stsquad/qemu into staging (2025-06-07 15:08:55 -0400)
are available in the Git repository at:
https://gitlab.com/kraxel/qemu.git tags/seabios-1.17.0-20250611-pull-request
for you to fetch changes up to
cba36cf3881e907553ba2de38abd5edf7f952de1:seabios: update binaries to 1.17.0 (2025-06-11 09:45:00 +0200)
----------------------------------------------------------------
seabios: update to 1.17.0 release----------------------------------------------------------------
Gerd Hoffmann (2):
seabios: update submodule to 1.17.0
seabios: update binaries to 1.17.0pc-bios/bios-256k.bin | Bin 262144 -> 262144 bytes pc-bios/bios-microvm.bin | Bin 131072 -> 131072 bytes pc-bios/bios.bin | Bin 131072 -> 131072 bytes pc-bios/vgabios-ati.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios-bochs-display.bin | Bin 28672 -> 28672 bytes pc-bios/vgabios-cirrus.bin | Bin 38912 -> 39424 bytes pc-bios/vgabios-qxl.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios-ramfb.bin | Bin 28672 -> 28672 bytes pc-bios/vgabios-stdvga.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios-virtio.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios-vmware.bin | Bin 39424 -> 39424 bytes pc-bios/vgabios.bin | Bin 38912 -> 38912 bytes roms/seabios | 2 +- 13 files changed, 1 insertion(+), 1 deletion(-)Quoted 4 lines
--
2.49.0With regards,
Daniel
--|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 11 lines · Stefan Hajnoczi
Quoted 8 lines · Daniel P. Berrangé
FYI, this seabios 1.17.0 release appears to have broken the ability to use virtio-pci with libguestfs+QEMU:
https://bugzilla.redhat.com/show_bug.cgi?id=2372329
so I'd suggest we hold off on this pull request until the regression is diagnosed.
Thanks, Daniel. I have pushed a revert to staging.
This has been diagnosed now.
Old SeaBIOS would unconditionally add ACPI tables, even when QEMU machine type had acpi=off. libguestfs forgot to ask for ACPI in its libvirt XML, so was getting acpi=off as far as QEMU was concerned, but SeaBIOS was none the less creating ACPI tables.
It was a miracle this worked because the ACPI tables were designed for i440fx, but somehow Linux still booted with them under q35.
So, the SeaBIOS update has a functional change, but that was intentional & desirable, and the root bug was the lack of request for ACPI in libguestfs.
So no need to revert anything
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 25 lines · Daniel P. Berrangé
Quoted 11 lines · Stefan Hajnoczi
Quoted 8 lines · Daniel P. Berrangé
FYI, this seabios 1.17.0 release appears to have broken the ability to use virtio-pci with libguestfs+QEMU:
https://bugzilla.redhat.com/show_bug.cgi?id=2372329
so I'd suggest we hold off on this pull request until the regression is diagnosed.
Thanks, Daniel. I have pushed a revert to staging.
This has been diagnosed now.
Old SeaBIOS would unconditionally add ACPI tables, even when QEMU machine type had acpi=off. libguestfs forgot to ask for ACPI in its libvirt XML, so was getting acpi=off as far as QEMU was concerned, but SeaBIOS was none the less creating ACPI tables.
It was a miracle this worked because the ACPI tables were designed for i440fx, but somehow Linux still booted with them under q35.
Quoted 5 lines
So, the SeaBIOS update has a functional change, but that was intentional & desirable, and the root bug was the lack of request for ACPI in libguestfs.
So no need to revert anything
Thanks for the update!
Stefan
Stefan Hajnoczi
AppliedApplied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.
Quoted 12 lines · Gerd Hoffmann
The following changes since commit
bc98ffdc7577e55ab8373c579c28fe24d600c40f:Merge tag 'pull-10.1-maintainer-may-2025-070625-1' of https://gitlab.com/stsquad/qemu into staging (2025-06-07 15:08:55 -0400)are available in the Git repository at:
https://gitlab.com/kraxel/qemu.git tags/seabios-1.17.0-20250611-pull-requestfor you to fetch changes up to
cba36cf3881e907553ba2de38abd5edf7f952de1:seabios: update binaries to 1.17.0 (2025-06-11 09:45:00 +0200)
Quoted 8 lines
----------------------------------------------------------------
seabios: update to 1.17.0 release----------------------------------------------------------------
Gerd Hoffmann (2):
seabios: update submodule to 1.17.0
seabios: update binaries to 1.17.0
Hi Gerd, hi Stefan,
I'm now getting this when doing a git pull:
Fetching submodule roms/seabios
fatal: remote error: upload-pack: not our ref b52ca86e094d19b58e2304417787e96b940e39c6 Errors during submodule fetch:
roms/seabios
Looking at https://gitlab.com/qemu-project/seabios/-/commits/master?ref_type=HEADS there is a problem with the mirroring:
"This project is mirrored from https://review.coreboot.org/seabios. Pull mirroring failed 4 months ago. Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner. Last successful update 4 months ago. This branch has diverged from upstream. "
Could you please fix this?
Thanks,
Thomas
Quoted 25 lines · Thomas Huth
Quoted 12 lines · Gerd Hoffmann
The following changes since commit
bc98ffdc7577e55ab8373c579c28fe24d600c40f:Merge tag 'pull-10.1-maintainer-may-2025-070625-1' of https://gitlab.com/stsquad/qemu into staging (2025-06-07 15:08:55 -0400)are available in the Git repository at:
https://gitlab.com/kraxel/qemu.git tags/seabios-1.17.0-20250611-pull-requestfor you to fetch changes up to
cba36cf3881e907553ba2de38abd5edf7f952de1:seabios: update binaries to 1.17.0 (2025-06-11 09:45:00 +0200)Quoted 8 lines
----------------------------------------------------------------
seabios: update to 1.17.0 release----------------------------------------------------------------
Gerd Hoffmann (2):
seabios: update submodule to 1.17.0
seabios: update binaries to 1.17.0Hi Gerd, hi Stefan,
Quoted 7 lines
I'm now getting this when doing a git pull:
Fetching submodule roms/seabios
fatal: remote error: upload-pack: not our refb52ca86e094d19b58e2304417787e96b940e39c6
Errors during submodule fetch:
roms/seabios
GitLab CI didn't detect this, probably because the tests don't build SeaBIOS from source and use the binaries instead. Given infinite CI resources we should rebuild all ROMs from source to catch problems like this one.
I wanted to mention this in case anyone wants to tighten up the CI to catch these issues for SeaBIOS and other ROMs.
Quoted 11 lines
Looking at
https://gitlab.com/qemu-project/seabios/-/commits/master?ref_type=HEADS
there is a problem with the mirroring:"This project is mirrored from https://review.coreboot.org/seabios. Pull mirroring failed 4 months ago.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update 4 months ago. This branch has diverged from upstream. "Could you please fix this?
git clone https://review.coreboot.org/seabios works on my machine, but I manually clicked the "update" button and GitLab failed again.
In the GitLab UI there is a button to add a new mirror repo. I thought maybe we can delete the old repo and add a new one, but the push/pull direction dropdown list is disabled. Maybe that's because only 1 repo can be a mirror source for pull, I'm worried that deleting the existing failed repo will leave us with no way to add a new repo that supports pull.
Does anyone know how to go about fixing this failed mirror?
Stefan
Quoted 57 lines · Stefan Hajnoczi
Quoted 25 lines · Thomas Huth
Quoted 12 lines · Gerd Hoffmann
The following changes since commit
bc98ffdc7577e55ab8373c579c28fe24d600c40f:Merge tag 'pull-10.1-maintainer-may-2025-070625-1' of https://gitlab.com/stsquad/qemu into staging (2025-06-07 15:08:55 -0400)are available in the Git repository at:
https://gitlab.com/kraxel/qemu.git tags/seabios-1.17.0-20250611-pull-requestfor you to fetch changes up to
cba36cf3881e907553ba2de38abd5edf7f952de1:seabios: update binaries to 1.17.0 (2025-06-11 09:45:00 +0200)Quoted 8 lines
----------------------------------------------------------------
seabios: update to 1.17.0 release----------------------------------------------------------------
Gerd Hoffmann (2):
seabios: update submodule to 1.17.0
seabios: update binaries to 1.17.0Hi Gerd, hi Stefan,
Quoted 7 lines
I'm now getting this when doing a git pull:
Fetching submodule roms/seabios
fatal: remote error: upload-pack: not our refb52ca86e094d19b58e2304417787e96b940e39c6
Errors during submodule fetch:
roms/seabiosGitLab CI didn't detect this, probably because the tests don't build SeaBIOS from source and use the binaries instead. Given infinite CI resources we should rebuild all ROMs from source to catch problems like this one.
I wanted to mention this in case anyone wants to tighten up the CI to catch these issues for SeaBIOS and other ROMs.
Quoted 11 lines
Looking at
https://gitlab.com/qemu-project/seabios/-/commits/master?ref_type=HEADS
there is a problem with the mirroring:"This project is mirrored from https://review.coreboot.org/seabios. Pull mirroring failed 4 months ago.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update 4 months ago. This branch has diverged from upstream. "Could you please fix this?
git clone https://review.coreboot.org/seabiosworks on my machine, but I manually clicked the "update" button and GitLab failed again.
Quoted 8 lines
In the GitLab UI there is a button to add a new mirror repo. I thought maybe we can delete the old repo and add a new one, but the push/pull direction dropdown list is disabled. Maybe that's because only 1 repo can be a mirror source for pull, I'm worried that deleting the existing failed repo will leave us with no way to add a new repo that supports pull.
Does anyone know how to go about fixing this failed mirror?
Maybe do a manual push --force to our mirror to sync them again? ... but it would be good to know how this could have happened at all - maybe seabios force-pushed their master branch at one point in time? Or did we commit something to the mirror that was not in the upstream repository?
Anyway, I just noticed that it seems to be working now again - how did you fix it?
Thomas
Quoted 68 lines · Thomas Huth
Quoted 57 lines · Stefan Hajnoczi
Quoted 25 lines · Thomas Huth
Quoted 12 lines · Gerd Hoffmann
The following changes since commit
bc98ffdc7577e55ab8373c579c28fe24d600c40f:Merge tag 'pull-10.1-maintainer-may-2025-070625-1' of https://gitlab.com/stsquad/qemu into staging (2025-06-07 15:08:55 -0400)are available in the Git repository at:
https://gitlab.com/kraxel/qemu.git tags/seabios-1.17.0-20250611-pull-requestfor you to fetch changes up to
cba36cf3881e907553ba2de38abd5edf7f952de1:seabios: update binaries to 1.17.0 (2025-06-11 09:45:00 +0200)Quoted 8 lines
----------------------------------------------------------------
seabios: update to 1.17.0 release----------------------------------------------------------------
Gerd Hoffmann (2):
seabios: update submodule to 1.17.0
seabios: update binaries to 1.17.0Hi Gerd, hi Stefan,
Quoted 7 lines
I'm now getting this when doing a git pull:
Fetching submodule roms/seabios
fatal: remote error: upload-pack: not our refb52ca86e094d19b58e2304417787e96b940e39c6
Errors during submodule fetch:
roms/seabiosGitLab CI didn't detect this, probably because the tests don't build SeaBIOS from source and use the binaries instead. Given infinite CI resources we should rebuild all ROMs from source to catch problems like this one.
I wanted to mention this in case anyone wants to tighten up the CI to catch these issues for SeaBIOS and other ROMs.
Quoted 11 lines
Looking at
https://gitlab.com/qemu-project/seabios/-/commits/master?ref_type=HEADS
there is a problem with the mirroring:"This project is mirrored from https://review.coreboot.org/seabios. Pull mirroring failed 4 months ago.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update 4 months ago. This branch has diverged from upstream. "Could you please fix this?
git clone https://review.coreboot.org/seabiosworks on my machine, but I manually clicked the "update" button and GitLab failed again.Quoted 8 lines
In the GitLab UI there is a button to add a new mirror repo. I thought maybe we can delete the old repo and add a new one, but the push/pull direction dropdown list is disabled. Maybe that's because only 1 repo can be a mirror source for pull, I'm worried that deleting the existing failed repo will leave us with no way to add a new repo that supports pull.
Does anyone know how to go about fixing this failed mirror?
Quoted 7 lines
Maybe do a manual push --force to our mirror to sync them again? ... but it would be good to know how this could have happened at all - maybe seabios force-pushed their master branch at one point in time? Or did we commit something to the mirror that was not in the upstream repository?
Anyway, I just noticed that it seems to be working now again - how did you fix it?
I didn't fix it. GitLab's mirror operation is still failing. Your suggestion of force pushing should fix it, but I want to understand why a commit was lost first.
The issue is that QEMU's mirror and upstream have diverged. The following commit is only in QEMU's mirror repo:
commit 44693a974cd90917f81a7d0310df4b592edd7e09
Author: Christopher Lentocha <[email protected]> Date: Tue Jan 21 11:59:14 2025 -0500
Fix AHCI Disk Detection when using EDK2 CSM
It is not possible to fast-forward to upstream's master due to this difference.
Gerd: Do you know what happened to this commit upstream? According to the mailing list archives you merged it, but I don't see it on the master branch:
https://patchew.org/Seabios/clqcnplppk34e7eyiquorweq5dvmbsgm2qrk7ozhzybvxviboa@4i2yfqplktar/
Stefan
Hi,
Quoted 8 lines
I didn't fix it. GitLab's mirror operation is still failing. Your suggestion of force pushing should fix it, but I want to understand why a commit was lost first.
The issue is that QEMU's mirror and upstream have diverged. The following commit is only in QEMU's mirror repo:
commit
44693a974cd90917f81a7d0310df4b592edd7e09
Quoted 8 lines
Author: Christopher Lentocha <[email protected]> Date: Tue Jan 21 11:59:14 2025 -0500Fix AHCI Disk Detection when using EDK2 CSM
It is not possible to fast-forward to upstream's master due to this difference.
Gerd: Do you know what happened to this commit upstream?
Hmm, no idea. Didn't notice it got lost until now. Also can't remember having seen a non-ff update on the seabios master branch when pulling.
Either me or Kevin must have deleted it by accident, or something went wrong with the coreboot git server (where seabios git repo is hosted).
Guess we must do a forced update once to get them back in sync.
take care,
Gerd
Quoted 20 lines · Gerd Hoffmann
Hi,
Quoted 8 lines
I didn't fix it. GitLab's mirror operation is still failing. Your suggestion of force pushing should fix it, but I want to understand why a commit was lost first.
The issue is that QEMU's mirror and upstream have diverged. The following commit is only in QEMU's mirror repo:
commit
44693a974cd90917f81a7d0310df4b592edd7e09Quoted 8 lines
Author: Christopher Lentocha <[email protected]> Date: Tue Jan 21 11:59:14 2025 -0500Fix AHCI Disk Detection when using EDK2 CSM
It is not possible to fast-forward to upstream's master due to this difference.
Gerd: Do you know what happened to this commit upstream?
Quoted 7 lines
Hmm, no idea. Didn't notice it got lost until now. Also can't remember having seen a non-ff update on the seabios master branch when pulling.
Either me or Kevin must have deleted it by accident, or something went wrong with the coreboot git server (where seabios git repo is hosted).
Guess we must do a forced update once to get them back in sync.
Do you still want me to go ahead with the SeaBIOS update you posted?
I'm asking because if QEMU drops the commit I mentioned above, then I guess EDK2 CSM AHCI detection will break. That would be a regression.
Stefan
Quoted 27 lines · Stefan Hajnoczi
Quoted 26 lines · Gerd Hoffmann
Hi,
Quoted 8 lines
I didn't fix it. GitLab's mirror operation is still failing. Your suggestion of force pushing should fix it, but I want to understand why a commit was lost first.
The issue is that QEMU's mirror and upstream have diverged. The following commit is only in QEMU's mirror repo:
commit
44693a974cd90917f81a7d0310df4b592edd7e09Quoted 8 lines
Author: Christopher Lentocha <[email protected]> Date: Tue Jan 21 11:59:14 2025 -0500Fix AHCI Disk Detection when using EDK2 CSM
It is not possible to fast-forward to upstream's master due to this difference.
Gerd: Do you know what happened to this commit upstream?
Hmm, no idea. Didn't notice it got lost until now. Also can't remember having seen a non-ff update on the seabios master branch when pulling.
Either me or Kevin must have deleted it by accident, or something went wrong with the coreboot git server (where seabios git repo is hosted).
Quoted 6 lines
Quoted 1 line
Guess we must do a forced update once to get them back in sync.
Do you still want me to go ahead with the SeaBIOS update you posted?
I'm asking because if QEMU drops the commit I mentioned above, then I guess EDK2 CSM AHCI detection will break. That would be a regression.
AFAICT it wouldn't be a regression from QEMU's POV.
The original git submodule hash pre-dates this EDK2 CSM commit, and the new git submodule hash references a history that doesn't include this EDK2 CSM commit. So nothing in qemu ever referenced this commit.
The only way anyone would have ever used this EDK2 CSM commit is if they built directly from our mirrored seabios.git, instead of using our git submodule with roms/Makefile, or the official upstream seabios.git
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Hi,
Quoted 2 lines
Quoted 2 lines
I'm asking because if QEMU drops the commit I mentioned above, then I guess EDK2 CSM AHCI detection will break. That would be a regression.
It was broken before too, so we are "only" missing a fix, for a rather esoteric use case.
And it could very well be that this fix is not needed any more given that seabios got a ahci controller reset so possibly things are working now even without a ahci port reset.
Quoted 1 line
AFAICT it wouldn't be a regression from QEMU's POV.
Also not when looking at seabios release tags.
take care,
Gerd
Quoted 9 lines · Gerd Hoffmann
Hi,
Quoted 2 lines
Quoted 2 lines
I'm asking because if QEMU drops the commit I mentioned above, then I guess EDK2 CSM AHCI detection will break. That would be a regression.
It was broken before too, so we are "only" missing a fix, for a rather esoteric use case.
Quoted 7 lines
And it could very well be that this fix is not needed any more given that seabios got a ahci controller reset so possibly things are working now even without a ahci port reset.
Quoted 1 line
AFAICT it wouldn't be a regression from QEMU's POV.
Also not when looking at seabios release tags.
Okay, thanks Gerd and Daniel. The SeaBIOS update has been merged and will not be reverted.
Stefan
Quoted 74 lines · Stefan Hajnoczi
Quoted 73 lines · Thomas Huth
Quoted 57 lines · Stefan Hajnoczi
Quoted 25 lines · Thomas Huth
Quoted 12 lines · Gerd Hoffmann
The following changes since commit
bc98ffdc7577e55ab8373c579c28fe24d600c40f:Merge tag 'pull-10.1-maintainer-may-2025-070625-1' of https://gitlab.com/stsquad/qemu into staging (2025-06-07 15:08:55 -0400)are available in the Git repository at:
https://gitlab.com/kraxel/qemu.git tags/seabios-1.17.0-20250611-pull-requestfor you to fetch changes up to
cba36cf3881e907553ba2de38abd5edf7f952de1:seabios: update binaries to 1.17.0 (2025-06-11 09:45:00 +0200)Quoted 8 lines
----------------------------------------------------------------
seabios: update to 1.17.0 release----------------------------------------------------------------
Gerd Hoffmann (2):
seabios: update submodule to 1.17.0
seabios: update binaries to 1.17.0Hi Gerd, hi Stefan,
Quoted 7 lines
I'm now getting this when doing a git pull:
Fetching submodule roms/seabios
fatal: remote error: upload-pack: not our refb52ca86e094d19b58e2304417787e96b940e39c6
Errors during submodule fetch:
roms/seabiosGitLab CI didn't detect this, probably because the tests don't build SeaBIOS from source and use the binaries instead. Given infinite CI resources we should rebuild all ROMs from source to catch problems like this one.
I wanted to mention this in case anyone wants to tighten up the CI to catch these issues for SeaBIOS and other ROMs.
Quoted 11 lines
Looking at
https://gitlab.com/qemu-project/seabios/-/commits/master?ref_type=HEADS
there is a problem with the mirroring:"This project is mirrored from https://review.coreboot.org/seabios. Pull mirroring failed 4 months ago.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update 4 months ago. This branch has diverged from upstream. "Could you please fix this?
git clone https://review.coreboot.org/seabiosworks on my machine, but I manually clicked the "update" button and GitLab failed again.Quoted 8 lines
In the GitLab UI there is a button to add a new mirror repo. I thought maybe we can delete the old repo and add a new one, but the push/pull direction dropdown list is disabled. Maybe that's because only 1 repo can be a mirror source for pull, I'm worried that deleting the existing failed repo will leave us with no way to add a new repo that supports pull.
Does anyone know how to go about fixing this failed mirror?
Maybe do a manual push --force to our mirror to sync them again? ... but it would be good to know how this could have happened at all - maybe seabios force-pushed their master branch at one point in time? Or did we commit something to the mirror that was not in the upstream repository?
Quoted 4 lines
Quoted 2 lines
Anyway, I just noticed that it seems to be working now again - how did you fix it?
I didn't fix it. GitLab's mirror operation is still failing.
Oh, ok! Maybe the error message only pops up if I pull changes into my local master branch, and during my last fetch there were only changes coming in for the "origin/staging", and those didn't trigger the error message. Anyway, I'll keep my eyes open!
Thanks,
Thomas
Quoted 79 lines · Thomas Huth
Quoted 77 lines · Stefan Hajnoczi
Quoted 75 lines · Thomas Huth
Quoted 57 lines · Stefan Hajnoczi
Quoted 25 lines · Thomas Huth
Quoted 12 lines · Gerd Hoffmann
The following changes since commit
bc98ffdc7577e55ab8373c579c28fe24d600c40f:Merge tag 'pull-10.1-maintainer-may-2025-070625-1' of https://gitlab.com/stsquad/qemu into staging (2025-06-07 15:08:55 -0400)are available in the Git repository at:
https://gitlab.com/kraxel/qemu.git tags/seabios-1.17.0-20250611-pull-requestfor you to fetch changes up to
cba36cf3881e907553ba2de38abd5edf7f952de1:seabios: update binaries to 1.17.0 (2025-06-11 09:45:00 +0200)Quoted 8 lines
----------------------------------------------------------------
seabios: update to 1.17.0 release----------------------------------------------------------------
Gerd Hoffmann (2):
seabios: update submodule to 1.17.0
seabios: update binaries to 1.17.0Hi Gerd, hi Stefan,
Quoted 7 lines
I'm now getting this when doing a git pull:
Fetching submodule roms/seabios
fatal: remote error: upload-pack: not our refb52ca86e094d19b58e2304417787e96b940e39c6
Errors during submodule fetch:
roms/seabiosGitLab CI didn't detect this, probably because the tests don't build SeaBIOS from source and use the binaries instead. Given infinite CI resources we should rebuild all ROMs from source to catch problems like this one.
I wanted to mention this in case anyone wants to tighten up the CI to catch these issues for SeaBIOS and other ROMs.
Quoted 11 lines
Looking at
https://gitlab.com/qemu-project/seabios/-/commits/master?ref_type=HEADS
there is a problem with the mirroring:"This project is mirrored from https://review.coreboot.org/seabios. Pull mirroring failed 4 months ago.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update 4 months ago. This branch has diverged from upstream. "Could you please fix this?
git clone https://review.coreboot.org/seabiosworks on my machine, but I manually clicked the "update" button and GitLab failed again.Quoted 8 lines
In the GitLab UI there is a button to add a new mirror repo. I thought maybe we can delete the old repo and add a new one, but the push/pull direction dropdown list is disabled. Maybe that's because only 1 repo can be a mirror source for pull, I'm worried that deleting the existing failed repo will leave us with no way to add a new repo that supports pull.
Does anyone know how to go about fixing this failed mirror?
Maybe do a manual push --force to our mirror to sync them again? ... but it would be good to know how this could have happened at all - maybe seabios force-pushed their master branch at one point in time? Or did we commit something to the mirror that was not in the upstream repository?
Anyway, I just noticed that it seems to be working now again - how did you fix it?
Quoted 6 lines
Quoted 1 line
I didn't fix it. GitLab's mirror operation is still failing.
Oh, ok! Maybe the error message only pops up if I pull changes into my local master branch, and during my last fetch there were only changes coming in for the "origin/staging", and those didn't trigger the error message. Anyway, I'll keep my eyes open!
Hi Thomas,
I force pushed upstream SeaBIOS to QEMU's mirror repo and now the GitLab mirroring feature is operational again.
Thanks for your help getting to the bottom of this!
Stefan