OpenBSD 7.3 on VirtualBox 7: Installation as guest OS failed due to I/O APIC enabled
- Infrastructure and operations
- Published
- 1 min read
- @nabbisen
Table of contents
Problem Problem
With VirtualBox (opens in a new tab) 7.0 (opens in a new tab), installing OpenBSD (opens in a new tab) π‘ 7.3 (opens in a new tab) as guest on Artix Linux (opens in a new tab) π§ as host failed.
It was because of vbox Settings, in which checked (by default) was System - Motherboard - “Enable I/O APIC”…π€
Although I don’t know it has something to do with the failure, I found VirtualBox documentation telling (opens in a new tab):
software support for I/O APICs has been unreliable with some OSes other than Windows.
Error Error
It happened just after I finished answering to the OpenBSD installer and installation began. (See the first line below.)
Installing bsd 0% (...)
dc_atapi_start: not ready, st = 40
fatal protection fault in supervisor mode
trap type 4 code 0 rip ff(...) cs 8 rflags 10286 cr2 42f9c8 cpl 6 rsp ff(...)
gsbase 0xff(...) kgsbase 0x0
panic: trap type 4, code=0, pc=ff(...)
syncing disks...6 6 (...)
Solution Solution
I had to uncheck “Enable I/O APIC” of System - Motherboard in VirtualBox Settings to successfully install OpenBSD as guest.

Anyway, it solved my problem π
This post is based on my tweets (opens in a new tab).
More on: Containers and virtual machines
-
This post shows how to install Docker and run vm on Devuan, a systemd-free fork of Debian.
-
It is not so difficult to install Podman on Artix Linux, based on Arch Linux and systemd-free.
-
Podman is an engine for virtualization to create and maintain containers on virtual machines.
OBSD Solutions
OBSD Solutions: OpenBSD consulting and support by Scqr, Reflerd Inc. (opens in a new tab)
Comments and feedback are welcome.