#110992 still happens (modules are not loaded)

Bug #908112 reported by Martin on 2011-12-23
76
This bug affects 13 people
Affects Status Importance Assigned to Milestone
The Eilt project
Undecided
Unassigned
ipmitool (Ubuntu)
Medium
Unassigned

Bug Description

Ubuntu 10.04.3

background: ipmitool needs the following kernel modules to be loaded in order to works (/dev/ipmi0 and co should be created)

ipmi_si 34848 2
ipmi_devintf 5153 4
ipmi_msghandler 32803 2 ipmi_si,ipmi_devintf

installing ipmitool currently results in the following error:
$ sudo apt-get install ipmitool
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libreadline5
Suggested packages:
  openipmi
The following NEW packages will be installed:
  ipmitool libreadline5
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 555kB of archives.
After this operation, 1,434kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://fr.archive.ubuntu.com/ubuntu/ lucid/main libreadline5 5.2-7build1 [132kB]
Get:2 http://fr.archive.ubuntu.com/ubuntu/ lucid/universe ipmitool 1.8.11-1ubuntu1 [424kB]
Fetched 555kB in 0s (1,710kB/s)
Selecting previously deselected package libreadline5.
(Reading database ... 136133 files and directories currently installed.)
Unpacking libreadline5 (from .../libreadline5_5.2-7build1_i386.deb) ...
Selecting previously deselected package ipmitool.
Unpacking ipmitool (from .../ipmitool_1.8.11-1ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up libreadline5 (5.2-7build1) ...

Setting up ipmitool (1.8.11-1ubuntu1) ...
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.

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Installing openipmi too as suggested in #110992 doens't solve the problem for me.

I think that ipmitool command should just trigger module auto-load.

When modprobe'd ipmi modules by hand, all works fine until the next reboot.
Current workaround is tweaking /etc/modules

Martin (ub71-martin) on 2011-12-23
description: updated
Robie Basak (racb) on 2011-12-23
Changed in ipmitool (Ubuntu):
importance: Undecided → Medium
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ipmitool (Ubuntu):
status: New → Confirmed
Trevor Robinson (scurrilous) wrote :

This still occurs in 12.04:

root@sandy3:~# lsb_release -d
Description: Ubuntu 12.04 LTS
root@sandy3:~# aptitude install ipmitool
The following NEW packages will be installed:
  ipmitool
The following packages are RECOMMENDED but will NOT be installed:
  openipmi
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 408 kB of archives. After unpacking 1,064 kB will be used.
Get: 1 http://mirror.calxeda.com/ubuntu/ precise/universe ipmitool amd64 1.8.11-5ubuntu1 [408 kB]
Fetched 408 kB in 0s (3,467 kB/s)
Selecting previously unselected package ipmitool.
(Reading database ... 55593 files and directories currently installed.)
Unpacking ipmitool (from .../ipmitool_1.8.11-5ubuntu1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up ipmitool (1.8.11-5ubuntu1) ...
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.

root@sandy3:~# ipmitool sdr list
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
Unable to open SDR for reading
root@sandy3:~# modprobe ipmi_si
root@sandy3:~# ipmitool sdr list
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
Unable to open SDR for reading
root@sandy3:~# modprobe ipmi_devintf
root@sandy3:~# ipmitool sdr list
System Temp | 33 degrees C | ok
CPU Temp | 0 unspecified | ok
FAN 1 | 4725 RPM | ok
FAN 2 | 4860 RPM | ok
FAN 3 | 4995 RPM | ok
FAN 4 | disabled | ns
FAN A | disabled | ns
Vcore | 0.73 Volts | ok
3.3VCC | 3.39 Volts | ok
12V | 12.24 Volts | ok
VDIMM | 1.52 Volts | ok
5VCC | 5.15 Volts | ok
-12V | -11.49 Volts | ok
VBAT | 3.15 Volts | ok
VSB | 3.36 Volts | ok
AVCC | 3.39 Volts | ok
Chassis Intru | 0 unspecified | nc
PS Status | 0 unspecified | nc

Jason N (jasonsstuff) wrote :

Does anyone have a workaround for this? I can't seem to get the ipmi modules to load at boot, no matter how hard I try. I can modprobe them manually but it doesn't seem to work using /etc/modules.

dann frazier (dannf) wrote :

Try installing 'openipmi' - it should cause the modules to get loaded at boot, and it is a "Suggests" of the ipmitool package.

Jason N (jasonsstuff) wrote :

I installed openipmi last night -- no joy.

What seems to work, at least for now is just calling modprobe to load the ipmi modules in /etc/rc.local

I should probably mention I'm on 12.04 LTS, running the LTSEnablementStack kernels.

Jörg Frings-Fürst (jff-de) wrote :

Hello,

The version 1.8.11 is not longer supported. The current version is 4.0.17.

I close this bug

To close I set the status to "Invalid". If the bug still occurs please change the status to 'Confirmed'.

Jörg

Changed in ipmitool (Ubuntu):
status: Confirmed → Invalid
Jason N (jasonsstuff) wrote :

I don't see a version anywhere close to 4.0.17 available to me on 12.04 LTS. I have 1.8.11 installed, which is what came out from the standard repo. I do see 1.8.13, but I'll need some clarification as to how to load it (https://launchpad.net/ubuntu/precise/+package/ipmitool).

However, I don't see anything specifically listed in the changelog between .11 and .13 that appears to address this problem.

Changed in ipmitool (Ubuntu):
status: Invalid → Confirmed

On Thu, May 29, 2014 at 7:56 AM, Jason N <email address hidden> wrote:
> I don't see a version anywhere close to 4.0.17 available to me on 12.04 LTS.

Jörg has recently uploaded ipmitool 1.8.14 and foomatic-filters 4.0.17
to Debian, so I guess that's a typo.

Jörg, if you are reading this: please don't simply close old bugs, but
actually test them to see whether or not they were actually fixed. If
you want the submitter to test again with the new version, please set
the status to Incomplete.

Jörg Frings-Fürst (jff-de) wrote :

Hi Ryan,
Hi Jason

sorry for the 4.0.17: its wrong.

the current version is 1.8.14-1.

Jörg

Jason N (jasonsstuff) wrote :

How do I install either .13-1 or .14-1 to test?

Jörg Frings-Fürst (jff-de) wrote :

Hi Jason,

U have uploaded 1.8.14-2 . Please test with this version.

Jörg

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ipmitool - 1.8.14-2

---------------
ipmitool (1.8.14-2) unstable; urgency=medium

  * patch 115-lib_declarations.patch
     - lib/kontronoem.c
       correct declaration of write_fru_area ( Closes: #749913 )
  * remove hardening-wrapper from build-Depends
  * add ipmi* kernel-modules to startup-script
     ( LP: #908112 )
  * add debian/systemd/ipmitool.conf to load
     ipmi* kernel-modules under systemd
  * add debian/source/option
     compression xy / level 9

  [ Gerald Turner <email address hidden> ]
  * changes on systemd startup scripts ( Closes: #750003 )

 -- Jörg Frings-Fürst <email address hidden> Tue, 27 May 2014 14:53:55 +0200

Changed in ipmitool (Ubuntu):
status: Confirmed → Fix Released
Jason N (jasonsstuff) wrote :

So at least in 1.8.13-1 it still doesn't work. I don't know how to get 1.8.14-2 in Precise LTS.

Below is what I get when trying to run ipmitool without loading the ipmi modules explicitly with /etc/rc.local

Please advise.

jason@server:~$ apt-cache policy ipmitool
ipmitool:
  Installed: 1.8.13-1~ubuntu12.04.1
  Candidate: 1.8.13-1~ubuntu12.04.1
  Version table:
 *** 1.8.13-1~ubuntu12.04.1 0
        100 http://archive.ubuntu.com/ubuntu/ precise-backports/universe amd64 Packages
        100 /var/lib/dpkg/status
     1.8.11-5ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages

jason@server:~$ sudo ipmitool -I open mc info
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
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
jason@server:~$ sudo modprobe ipmi_msghandler && sudo modprobe ipmi_devintf && sudo modprobe ipmi_si
jason@server:~$ sudo ipmitool -I open mc info
Device ID : 32
Device Revision : 1
Firmware Revision : 1.23
IPMI Version : 2.0
Manufacturer ID : 10876
Manufacturer Name : Supermicro
Product ID : 2054 (0x0806)
Product Name : Unknown (0x806)
Device Available : yes
Provides Device SDRs : no
Additional Device Support :
    Sensor Device
    SDR Repository Device
    SEL Device
    FRU Inventory Device
    IPMB Event Receiver
    IPMB Event Generator
    Chassis Device

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers