Comment 14 for bug 110992

Revision history for this message
Jeff Lane  (bladernr) wrote :

Ok... so further investigation:

Fresh Natty install on an IBM server with BMC using the latest ISOs as of 8 March.

Looking in /lib/modules/2.6.38-5-generic/kernel/drivers/char/ipmi/ shows that the drivers are present.
No IPMI packages are installed:

First I install ipmitool:

ubuntu@ubuntu:~$ sudo apt-get install ipmitool
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  openipmi
The following NEW packages will be installed:
  ipmitool
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 418 kB of archives.
After this operation, 1,118 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ natty/universe ipmitool amd64 1.8.11-2ubuntu3 [418 kB]
Fetched 418 kB in 0s (431 kB/s)
ySelecting previously deselected package ipmitool.
(Reading database ... 30797 files and directories currently installed.)
Unpacking ipmitool (from .../ipmitool_1.8.11-2ubuntu3_amd64.deb) ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db ...
Setting up ipmitool (1.8.11-2ubuntu3) ...
ipmievd: using pidfile /var/run/ipmievd.pid0
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Unable to open interface
invoke-rc.d: initscript ipmievd, action "start" failed.
Unable to start ipmievd during installation. Trying to disable.

Also note that installing ipmitool does not install any other packages at all.

These errors happened because /dev/ipmi0 is not created... that requires ipmi_devmntf to be loaded. One would think that since I just installed ipmitool, which includes ipmievd to pass BMC messages on to syslog, that as soon as I reboot, the modules would be loaded, /dev/ipmi0 would be created and everthing would be copacetic. So after installing ipmitool and verifying that ipmievd was not running, /dev/ipmi0 was not there, and the modules were not loaded, I rebooted the server to see what would happen.

ipmi modules are NOT loaded, ipmievd is not started, and /dev/ipmi0 is not created, thus, nothing.

Now I install the openipmi package (which is NOT pulled in by installing ipmitool):

ubuntu@ubuntu:~$ sudo apt-get install openipmi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libopenipmi0 libperl5.10 libsensors4 libsnmp-base libsnmp15
Suggested packages:
  lm-sensors snmp-mibs-downloader
The following NEW packages will be installed:
  libopenipmi0 libperl5.10 libsensors4 libsnmp-base libsnmp15 openipmi
0 upgraded, 6 newly installed, 0 to remove and 13 not upgraded.
Need to get 2,288 kB of archives.
After this operation, 6,595 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://10.189.84.1/enablement/cdimage.ubuntu.com/ubuntu-server/daily/current/natty-server-amd64/ natty/main libopenipmi0 amd64 2.0.18-0ubuntu3 [559 kB]
Get:2 http://10.189.84.1/enablement/cdimage.ubuntu.com/ubuntu-server/daily/current/natty-server-amd64/ natty/main libperl5.10 amd64 5.10.1-17ubuntu3 [1,200 B]
Get:3 http://10.189.84.1/enablement/cdimage.ubuntu.com/ubuntu-server/daily/current/natty-server-amd64/ natty/main libsensors4 amd64 1:3.2.0-1 [32.8 kB]
Get:4 http://10.189.84.1/enablement/cdimage.ubuntu.com/ubuntu-server/daily/current/natty-server-amd64/ natty/main libsnmp-base all 5.4.3~dfsg-2ubuntu1 [214 kB]
Get:5 http://10.189.84.1/enablement/cdimage.ubuntu.com/ubuntu-server/daily/current/natty-server-amd64/ natty/main libsnmp15 amd64 5.4.3~dfsg-2ubuntu1 [1,336 kB]
Get:6 http://10.189.84.1/enablement/cdimage.ubuntu.com/ubuntu-server/daily/current/natty-server-amd64/ natty/main openipmi amd64 2.0.18-0ubuntu3 [146 kB]
Fetched 2,288 kB in 0s (26.5 MB/s)
Selecting previously deselected package libopenipmi0.
(Reading database ... 30810 files and directories currently installed.)
Unpacking libopenipmi0 (from .../libopenipmi0_2.0.18-0ubuntu3_amd64.deb) ...
Selecting previously deselected package libperl5.10.
Unpacking libperl5.10 (from .../libperl5.10_5.10.1-17ubuntu3_amd64.deb) ...
Selecting previously deselected package libsensors4.
Unpacking libsensors4 (from .../libsensors4_1%3a3.2.0-1_amd64.deb) ...
Selecting previously deselected package libsnmp-base.
Unpacking libsnmp-base (from .../libsnmp-base_5.4.3~dfsg-2ubuntu1_all.deb) ...
Selecting previously deselected package libsnmp15.
Unpacking libsnmp15 (from .../libsnmp15_5.4.3~dfsg-2ubuntu1_amd64.deb) ...
Selecting previously deselected package openipmi.
Unpacking openipmi (from .../openipmi_2.0.18-0ubuntu3_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up libopenipmi0 (2.0.18-0ubuntu3) ...
Setting up libperl5.10 (5.10.1-17ubuntu3) ...
Setting up libsensors4 (1:3.2.0-1) ...
Setting up libsnmp-base (5.4.3~dfsg-2ubuntu1) ...
Setting up libsnmp15 (5.4.3~dfsg-2ubuntu1) ...
Setting up openipmi (2.0.18-0ubuntu3) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Note that this installs SEVERAL packages but also does not load the modules after installation, so off to reboot we go again.

And now, ipmi_devintf is loaded, along with ipmi_si and ipmi_msghandler

So the real issue seems to simply be that this package should be pulling in the openipmi package when it's installed. That will fix the problem, I think.