NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Cannot boot NetBSD under qemu-kvm



On 21/02/2020 03:38, Julien Savard wrote:
Hi,
it seems that since my last fedora upgrade ( 30 -> 31 ) I cannot boot any
NetBSD Guest running on KVM-Qemu.
Actual version on Fedora 31 is qemu-kvm-4.1.1-1.
NetBSD 8.0/8.1 On HD hang on : "NetBSD/x86 ffsv2 Primary Bootstrap"
NetBSD 9.0 booting on CD(iso) hangs on "acpicpu1: at cpu1: ACPI CPU".
Booting with ACPI disabled ( boot -2) hangs on : "attimer0: attached to
pcppi0"
I tried on 2 different x86_64 hosts. One Intel ( Core 2) based and the
other AMD (Opteron) based.
Booting OpenBSD or Linux works wells Only NetBSD seems to be an issue.
Has anybody experienced this issue?


What's your full command line?

This is mine:
qemu-system-x86_64 \
-drive if=virtio,file=/home/oc/VM/img/netbsd.image,index=0,media=disk \
-M q35,accel=kvm -m 350M -cpu host -smp $(nproc) \
-nic user,hostfwd=tcp::6665-:22,model=virtio-net-pci,ipv6=off -nographic

It is possible that you have to tweak the "M q35" parameter, if you moved from a previous version of qemu.

"qemu-system-x86_64 -M help" will give you all the possible values.


--
Ottavio Caruso



Home | Main Index | Thread Index | Old Index