* regression in booting with -kernel in 7.2.0
@ 2023-01-13 7:36 Christoph Hellwig
2023-01-13 8:49 ` Daniel P. Berrangé
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2023-01-13 7:36 UTC (permalink / raw)
Cc: qemu-devel
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 <Jason@zx2c4.com>
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=scratch5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: regression in booting with -kernel in 7.2.0
2023-01-13 7:36 regression in booting with -kernel in 7.2.0 Christoph Hellwig
@ 2023-01-13 8:49 ` Daniel P. Berrangé
0 siblings, 0 replies; 2+ messages in thread
From: Daniel P. Berrangé @ 2023-01-13 8:49 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: qemu-devel
On Thu, Jan 12, 2023 at 11:36:22PM -0800, Christoph Hellwig wrote:
> 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 <Jason@zx2c4.com>
> 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)
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
--
|: 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 :|
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-13 8:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-13 7:36 regression in booting with -kernel in 7.2.0 Christoph Hellwig
2023-01-13 8:49 ` Daniel P. Berrangé
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).