Skip to content
Masao Uebayashi edited this page Jan 20, 2016 · 4 revisions

ipmi(4) improvement for OpenBSD

What is this?

This mainly provides ipmitool-compatible /dev/ipmiN support for OpenBSD.

What is /dev/ipmiN for?

It provides to userland the ability to access host's BMC controller. In most cases users/admins can talk to IPMI (BMC) via network, but in other (rare) cases you can't.

/dev/ipmiN is designed to provide a generic interface to execute any IPMI command. IPMI specification is huge. Implementing everything in kernel should work, but need lots of energy. Instead of that, OpenBSD implements minimal functionality in kernel: sensor reading and watchdog. Some sensors have configurable thresholds values. ipmi(4) kernel driver periodically checks threshold status and reports conditions. It is done by checking threshold status bits in the response of sensor reading commands. To configure threshold values, admins have to use ipmitool.

Clone this wiki locally