Open Bsd Install Guide

Installing openbsd 6.3 on my hp pavillion x360 was straightforward except for a misconfigured inteldrm driver breaking the default install. I copied the, amd64 architecture, install63.fs image to a usb and then booted it. The install was simple and straightforward. However the boot process halted with the following error.

error: [drm:pid0:i915_firmware_load_error_print] *ERROR* failed to load firmware i915/skl_dmc_ver1.bin (-22)

After some searching I figured out drm is a hardware accelerated video driver and i915 refers to the Intel Driver specifically. On boot instead of letting the normal boot occur, I launched boot config by typing boot -c.

boot> boot -c

Then disabling inteldrm allowed me to boot.

UKC> disable inteldrm
UKC> quit

Once booted, ifconfig recognized my wifi chip.

ifconfig | grep iwm0
iwm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500

But, I was missing the iwm firmware needed to use it. To install the firmware I downloaded the necessary files:index.txt, SHA256.sig and iwm-firmware.tgz. I then mounted the usb drive with the downloaded files to /mnt and installed the firmware.

mount /dev/sd1i /mnt
fw_update -p /mnt iwm

Joining my network allowed me to update my firmware and patch my system.

ifconfig iwm0 nwid "My network" wpakey "password"
dhclient iwm0
fw_update
syspatch

However updating my firmware didn't fix the inteldrm boot problem, so I disabled inteldrm permanently with config.

config -ef /bsd
ukc> disable inteldrm
225 inteldrm * disabled
ukc> quit

I was left with a usable openbsd install. Sound and (non accelerated) video worked out of the box.

Last updated: 2019-10-09 Wed

Home