ipmi(4) doesn't support the interface needed for local access with ipmitool/freeipmi etc.
On 2010-07-19, Imre Oolberg <i...@auul.pri.ee> wrote: > Hallo! > > First of all, I am not a seasoned ipmi user, i rather resently found out > about this possibility to control computers. I would like to ask how to > use ipmitool to control local computer's ipmi facilities from within > OpenBSD. This computer is IBM System x3550 M2 and here is where i stand > > 1. i searched archives and found that in the first place ipmi should be > enabled in kernel, so i did > > ukc> enable ipmi > > and it says in dmesg > > ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xca2/2 spacing 1 > ... > iic0: skipping sensors to avoid ipmi0 interactions > > and obviously thanks to this change appeared into sysctl lot of entries > like this > > # sysctl hw.sensors.ipmi0 > hw.sensors.ipmi0.temp0=22.00 degC (Ambient Temp), OK > hw.sensors.ipmi0.fan0=4081 RPM (Fan 1A Tach), OK > hw.sensors.ipmi0.fan1=2784 RPM (Fan 1B Tach), OK > hw.sensors.ipmi0.fan2=4081 RPM (Fan 2A Tach), OK > hw.sensors.ipmi0.fan3=2880 RPM (Fan 2B Tach), OK > .. > hw.sensors.ipmi0.indicator0=On (Power Supply 1), OK > hw.sensors.ipmi0.indicator1=On (Power Supply 2), OK > > 2. then i installed from ports ipmitool since binary packaged didnt have > open interface enabled > > 3. when i run ipmitool i get message about missing device > > # ipmitool mc info > Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No > such file or directory > Get Device ID command failed > > I guess that the computer's ipmi system in itself is working all right, > at the moment in its default configuration, since in addition to the > above mentioned sysctl values i can also issue from another computer for > example > > # ipmitool -I lanplus -H 10.0.25.138 -U USERID -P xxx mc info > > and in return i get an answer as expected. > > If somebody could suggest how to proceed to make ipmitool locally work, > i would be very interested! > > > Best regards, > > Imre > > PS I also tried freeipmi binary package, it says > > # bmc-config > --checkout > > > ipmi_open_inband: driver path required