👨‍💻 Wesley Moore

Fixing OpenBSD panic dc_atapi_start: not ready in KVM

·updated

I tried creating an OpenBSD 7.3 virtual machine on my new computer (Arch Linux host) and the installer kept crashing with the error:

Screenshot of the installer crash.
Screenshot of the installer crash.
dc_atapi_start: not ready, st = 50
fatal protection fault in supervisor mode trap type 4 code 0 rip ffffffff810089d9 cs 8 rflags 10282 cr2 287eb3000 cpl 6 rsp ffff800014fd11a0
gssbase Oxffffffff818fbff0 kgsbase Ox0
panic: trap type 4, code=0, pc=ffffffff810089d9
syncing disks...12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 _

I did a bunch of searching online and tried a several different suggestions but that one that worked for me was from this Reddid thread:

tinneriw31

Switch the virtual cd drive from ide to sata. Worked for me. Exact same issue.

I use virt-manager to manage VMs. These are the steps to do that when creating the VM:

  1. Create the VM and at the last step choose “Customize configuration before install”
  2. Click on the “IDE CDROM 1” tab and change “Disk bus” to SATA
  3. Then click Apply, and then Begin installation in the top left.

After that the VM installed successfully.

Screenshot of step 5 in the new virtual machine wizard in virt-manager showing the 'Customize configuration before install' option checked.
Customize configuration before install.
Screenshot of the virt-manager CD ROM tab showing 'Disk bus: SATA' selected.
Disk bus: SATA

Stay in touch!

Follow me on the ⁂ Fediverse, subscribe to the feed, or send me an email.