Skip to contentSkip to conversation

Seabios 1.17.0 20250611 patches

GIT PULL Applied Gerd Hoffmann 5 participants 19 messages Jun 11, 2025 – Jun 16, 2025

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

[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
index 48c3707d55d3884c54efa9b3c70ab5c3382139c0..509f3988e49dcf37028a1c88ce9204a0956301d5 100644
GIT binary patch
pc-bios/bios-microvm.bin binary +0 -0
index c98351e73457794373d67534f2c7cc639819c5b0..4870015d9ca4eb56f507ed8faf5a4e3ff3799b13 100644
GIT binary patch
pc-bios/bios.bin binary +0 -0
index 7e2d062af6789d4d055e8d064312897f8b424a79..4b81a969a9d63b6deac2a38ec5729625dae87d12 100644
GIT binary patch
pc-bios/vgabios-ati.bin binary +0 -0
index e10cd263b8112d25e533df1c3c9771cfdb0a6ddf..011359e7c853b40727c706f1b12a0bd8c7ba7c71 100644
GIT binary patch
pc-bios/vgabios-bochs-display.bin binary +0 -0
index 416036d98689ff7b567f34ad56a0b22f08ad6be3..1d233afe69c123417397453d3c6f1f55a82b2743 100644
GIT binary patch
pc-bios/vgabios-cirrus.bin binary +0 -0
index 4ffaa43d6f826ceae9b8e6edcd72cdd3e6b633e5..f7b06f214c431bf141874fca904c99dcb87e80dd 100644
GIT binary patch
pc-bios/vgabios-qxl.bin binary +0 -0
index 1b7a3831ef9541a1729d3c14a4a19688014398b6..50dfeb208a163f74081b3547d0ced0365c9d1f48 100644
GIT binary patch
pc-bios/vgabios-ramfb.bin binary +0 -0
index dba6cb8e32256d6bd8d0909cfa7361562f1fd814..b72279fcf330603326813c1a73194a174ca55798 100644
GIT binary patch
pc-bios/vgabios-stdvga.bin binary +0 -0
index 0d541c5530d1a1b186e43eec06b494c149ce824a..5b48ca860af0da4d43127c45e3b33e088212e345 100644
GIT binary patch
pc-bios/vgabios-virtio.bin binary +0 -0
index 2ce35576243f4d70927491b596fbfadd8bc325a6..f580c33794a5c5be464719ecb563b1eaf468b07d 100644
GIT binary patch
pc-bios/vgabios-vmware.bin binary +0 -0
index b7cab15593e784d61eaff34db79ac5040cd5c89c..03b6dbd77d27ba4353a25801c4a674f9608dfdd9 100644
GIT binary patch
pc-bios/vgabios.bin binary +0 -0
index ee748f6599de37f90a6273c8e9bace7bd74a7e03..3f71aae1715b2f3082fc973297d8193fd5163526 100644
GIT binary patch
Signature · 1 line
2.49.0
#2 lore raw

[PULL 1/2] seabios: update submodule to 1.17.0

In reply to Gerd Hoffmann

git 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
index a6ed6b701f0a..b52ca86e094d 160000
@@ -1 +1 @@
-Subproject commit a6ed6b701f0a57db0569ab98b0661c12a6ec3ff8
+Subproject commit b52ca86e094d19b58e2304417787e96b940e39c6
Signature · 1 line
2.49.0
#3 lore raw
In reply to Gerd Hoffmann

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 :|
#4 lore raw
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.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(-)
Quoted 4 lines

--
2.49.0

With 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 :|
#5 lore raw
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 :|
#6 lore raw
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

#8 lore raw
In reply to Gerd Hoffmann
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-request

for 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

#9 lore raw
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-request

for 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,

Quoted 7 lines

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

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

#10 lore raw
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-request

for 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,

Quoted 7 lines

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

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.

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

#11 lore raw
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-request

for 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,

Quoted 7 lines

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

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.

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

#12 lore raw

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 -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?

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

#13 lore raw
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 44693a974cd90917f81a7d0310df4b592edd7e09

Quoted 8 lines
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?

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

#14 lore raw
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 44693a974cd90917f81a7d0310df4b592edd7e09

Quoted 8 lines
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?

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 :|
#15 lore raw

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

#16 lore raw
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

#17 lore raw
In reply to Stefan Hajnoczi
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-request

for 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,

Quoted 7 lines

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

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.

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

#18 lore raw
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-request

for 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,

Quoted 7 lines

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

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.

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