Comment 10 for bug 2025591

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

Verification done for jammy-proposed.

QEMU can boot successfully from a file backed by 4096-byte sectors on the 6.2 HWE kernel.
No regressions with the other options (ie, 512 on 6.2 kernel and 4096/512 on 5.15 kernel).

 $ lsb_release -cs
 jammy

 $ apt policy qemu-system-x86
 qemu-system-x86:
   Installed: 1:6.2+dfsg-2ubuntu6.12
   Candidate: 1:6.2+dfsg-2ubuntu6.12
   Version table:
  *** 1:6.2+dfsg-2ubuntu6.12 500
  500 http://security.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
  500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
  100 /var/lib/dpkg/status
 ...

Detailed test steps in comment #3.

6.2 HWE kernel:
---

 # uname -r
 6.2.0-23-generic

 # LOOPDEV=$(losetup --find --show --sector-size 4096 jammy.raw)
 # qemu-system-x86_64 -drive file=$LOOPDEV,format=raw,cache=none -boot order=c -nodefaults -no-user-config -nographic -serial stdio -enable-kvm

 SeaBIOS (version 1.15.0-1)
 Booting from Hard Disk...
 GRUB_FORCE_PARTUUID set, initrdless boot failed. Attempting with initrd.
 Linux version <...>

 # losetup -d $LOOPDEV
 # LOOPDEV=$(losetup --find --show jammy.raw)
 # qemu-system-x86_64 -drive file=$LOOPDEV,format=raw,cache=none -boot order=c -nodefaults -no-user-config -nographic -serial stdio -enable-kvm

 SeaBIOS (version 1.15.0-1)
 Booting from Hard Disk...
 GRUB_FORCE_PARTUUID set, initrdless boot failed. Attempting with initrd.
 Linux version <...>

5.15 GA kernel
---

 # uname -r
 5.15.0-1035-kvm

 # LOOPDEV=$(losetup --find --show --sector-size 4096 jammy.raw)
 # qemu-system-x86_64 -drive file=$LOOPDEV,format=raw,cache=none -boot order=c -nodefaults -no-user-config -nographic -serial stdio -enable-kvm

 SeaBIOS (version 1.15.0-1)
 Booting from Hard Disk...
 GRUB_FORCE_PARTUUID set, initrdless boot failed. Attempting with initrd.
 Linux version <...>

 # losetup -d $LOOPDEV
 # LOOPDEV=$(losetup --find --show jammy.raw)
 # qemu-system-x86_64 -drive file=$LOOPDEV,format=raw,cache=none -boot order=c -nodefaults -no-user-config -nographic -serial stdio -enable-kvm

 SeaBIOS (version 1.15.0-1)
 Booting from Hard Disk...
 GRUB_FORCE_PARTUUID set, initrdless boot failed. Attempting with initrd.
 Linux version <...>