regression in booting with -kernel in 7.2.0
Hi all,
qemu 7.2.0 fails to boot my usual test setup using -kernel (see the actual script below). I've bisected this down to:
commit ffe2d2382e5f1aae1abc4081af407905ef380311
Author: Jason A. Donenfeld <[email protected]> Date: Wed Sep 21 11:31:34 2022 +0200
x86: re-enable rng seeding via SetupData
with this commit I don't even get to kernel console output, with it reverted it boots fine (although with 7.2 configuring the network takes forever, the actua bisection point before the commit does not show that issue)
---
#!/bin/sh
hostdev='driver=host_device,cache.direct=on,cache.no-flush=on'
/opt/qemu/bin/qemu-system-x86_64 \
-nographic \
-enable-kvm \
-m 4096 \
-smp 4 \
-cpu host \
-kernel arch/x86/boot/bzImage \
-append "root=/dev/vda console=ttyS0,115200n8 cgroup_no_v1=all" \
-blockdev driver=file,cache.direct=on,node-name=root,filename=/home/hch/images/bullseye.img \
-device virtio-blk,drive=root \
-blockdev ${hostdev},node-name=test,filename=/dev/nvme0n1p4 \
-device virtio-blk,drive=test \
-blockdev ${hostdev},node-name=scratch,filename=/dev/nvme0n1p5 \
-device virtio-blk,drive=scratch \
-blockdev ${hostdev},node-name=scratch2,filename=/dev/nvme0n1p6 \
-device virtio-blk,drive=scratch2 \
-blockdev ${hostdev},node-name=scratch3,filename=/dev/nvme0n1p7 \
-device virtio-blk,drive=scratch3 \
-blockdev ${hostdev},node-name=scratch4,filename=/dev/nvme0n1p8 \
-device virtio-blk,drive=scratch4 \
-blockdev ${hostdev},node-name=scratch5,filename=/dev/nvme0n1p9 \
-device virtio-blk,drive=scratch5Quoted 9 lines · Christoph Hellwig
Hi all,
qemu 7.2.0 fails to boot my usual test setup using -kernel (see the actual script below). I've bisected this down to:
commit
ffe2d2382e5f1aae1abc4081af407905ef380311Author: Jason A. Donenfeld <[email protected]> Date: Wed Sep 21 11:31:34 2022 +0200
Quoted 6 lines
x86: re-enable rng seeding via SetupData
with this commit I don't even get to kernel console output, with it reverted it boots fine (although with 7.2 configuring the network takes forever, the actua bisection point before the commit does not show that issue)
Workaround is -machine pc-i440fx-7.1
Latest proposed fix IIRC is
https://lists.gnu.org/archive/html/qemu-devel/2022-12/msg04862.html
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 :|