Hello!
> I have tried to install openbsd under qemu/kvm, but when it is installing
> the sets it triggers a protection fault.
It is known bug in OpenBSD 7.3/amd64 kernel when it uses i8254 Timer. As
workaround you need to enable HPET Timer in QEMU/KVM. If you are using
libvirt (or virt-manager) on top of KVM (very common) you need to edit
Domain XML (for example using "virsh edit VM_NAME" and enable HPET. Here
is related snippet:
<clock offset='utc'>
<timer name='hpet' present='yes'/>
</clock>
Notice, that by default attribute 'present' is unfortunately set to 'no'
triggering this kernel bug.
Here is my post with more details on HPET timer:
- https://marc.info/?l=openbsd-bugs&m=168537353225613&w=2
And here is my in-depth analysis:
- https://marc.info/?l=openbsd-bugs&m=168564039922088&w=2
Original text:
On 7/26/23 15:19, Tom Lawlor wrote:
Hello
I have tried to install openbsd under qemu/kvm, but when it is installing
the sets it triggers a protection fault.
[image: image.png]
The vm has:
1 vCPU
1Gib RAM
It is running under a zen3 processor.
Steps to reproduce
1. Press enter using automatic options for every option
2. Protection fault occurs