Purpose:
This article aims to provide the Versa OS IPMITOOL checking rule for customer reference.
Target Audience:
For Advantech TSE, RBU AE, outsourcing service engineer(s) and End customer with the following knowledges :
- IPMlTOOL function troubleshooting experience
- Linux troubleshooting experience
Content:
1. Please login BIOS to check BMC self Test Status, the status needs to report PASSED if user needs to install ipmitool in Versa OS
2. Some Versa OS default have not ipmitool utility,
Versa FlexVNF software
Release : 16.1R2 (S2.5)
Release date: 20180718
Package ID : af6f0ef
[admin@versa-flexvnf: ~] $ sudo ipmitool
[sudo] password for admin:
sudo: ipmitool: command not found
User needs to install ipmitool tool in Versa OS by user-self, following segment is using dpkg command to install 1.8.13-1ubuntu0.6 utility,
Versa OS default doesn't load ipmit_devintf module, it will report fail message during ipmitool installation.
[admin@versa-flexvnf: fwa5020] $ sudo dpkg -i ipmitool_1.8.13-1ubuntu0.6_amd64.deb
Selecting previously unselected package ipmitool.
(Reading database ... 98919 files and directories currently installed.)
Preparing to unpack ipmitool_1.8.13-1ubuntu0.6_amd64.deb ...
Unpacking ipmitool (1.8.13-1ubuntu0.6) ...
Setting up ipmitool (1.8.13-1ubuntu0.6) ...
* Starting IPMI event daemon
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
...fail!
invoke-rc.d: initscript ipmievd, action "start" failed.
Unable to start ipmievd during installation. Trying to disable.
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
[admin@versa-flexvnf: ~] $ sudo dpkg -s ipmitool
Package: ipmitool
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 1275
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Version: 1.8.13-1ubuntu0.6
Depends: libc6 (>= 2.15), libreadline6 (>= 6.0), libssl1.0.0 (>= 1.0.0), lsb-base
Please use following command to check IPMI module in Versa OS, default is not loading ipmi_devintf module.
[admin@versa-flexvnf: ~] $ lsmod | grep -i ipmi
ipmi_ssif 24576 0
ipmi_si 57344 0
ipmi_msghandler 49152 2 ipmi_ssif,ipmi_si
Please key-in following command to load ipmi_devintf module in Versa OS.
[admin@versa-flexvnf: /] $ sudo modprobe ipmi_devintf
and IPMItool command will works normally.
[admin@versa-flexvnf: /] $ sudo ipmitool hpm check
PICMG HPM.1 Upgrade Agent 1.0.9:
-------Target Information-------
Device Id : 0x7a
Device Revision : 0x1
Product Id : 0x5020
Manufacturer Id : 0x2839 (Unknown (0x2839))
--------------------------------------------------------------------------
|ID | Name | Versions |
| | | Active | Backup | Deferred |
--------------------------------------------------------------------------
| 0 |BOOT | 1.20 00000000 | ---.-- -------- | ---.-- -------- |
| 1 |APP | 1.08 00000000 | 1.08 00000000 | ---.-- -------- |
|* 2|BIOS | 1.12 00000000 | 1.20 00000000 | ---.-- -------- |
--------------------------------------------------------------------------
(*) Component requires Payload Cold Reset
When user doesn't load ipmi_devintf module in Versa OS, key-in ipmitool command will report "Could not open device..." message.
[admin@versa-flexvnf: /] $ sudo ipmitool hpm check
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Comments
0 comments
Please sign in to leave a comment.