mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
ID:417 - Fix some typos
Commit fixes typos in texts in code, print-outs, README and man page. Submitted by Jörg Frings-Fürst
This commit is contained in:
parent
a74e837562
commit
b8ca3cac3a
2
README
2
README
@ -24,7 +24,7 @@ Background
|
|||||||
==========
|
==========
|
||||||
I originally wrote ipmitool while between projects and employeed at Sun
|
I originally wrote ipmitool while between projects and employeed at Sun
|
||||||
Microsystems. Sun had just embarked on a new line of general-purpose x86
|
Microsystems. Sun had just embarked on a new line of general-purpose x86
|
||||||
servers that inclued an OEM Intel board with an IPMIv1.5 BMC on board.
|
servers that included an OEM Intel board with an IPMIv1.5 BMC on board.
|
||||||
It started with an idea that remote chassis power control would be a handy
|
It started with an idea that remote chassis power control would be a handy
|
||||||
feature for my systems in the lab and from there it grew into a multi-
|
feature for my systems in the lab and from there it grew into a multi-
|
||||||
purpose tool that lots of people found useful. I decided to release it
|
purpose tool that lots of people found useful. I decided to release it
|
||||||
|
126
doc/ipmitool.1
126
doc/ipmitool.1
@ -10,47 +10,47 @@ ipmitool [ <options> ] <command> [ <sub-commands and sub-options> ]
|
|||||||
Any recognized option is accepted. Conditional options may be ignored or it's usage postponed until shell or exec processes relevant command.
|
Any recognized option is accepted. Conditional options may be ignored or it's usage postponed until shell or exec processes relevant command.
|
||||||
.br
|
.br
|
||||||
|
|
||||||
<general-options> := [ -h | -V | -v | -I <interface> | -H <address> |
|
<general\-options> := [ \-h | \-V | \-v | \-I <interface> | \-H <address> |
|
||||||
-d <N> | -p <port> | -c | -U <username> |
|
\-d <N> | \-p <port> | \-c | \-U <username> |
|
||||||
-L <privlvl> | -l <lun> | -m <local_address> |
|
\-L <privlvl> | \-l <lun> | \-m <local_address> |
|
||||||
-N <sec> | -R <count> | <password-option> |
|
\-N <sec> | \-R <count> | <password\-option> |
|
||||||
<oem-option> | <bridge-options> ]
|
<oem-option> | <bridge-options> ]
|
||||||
|
|
||||||
<conditional-opts> := [ <lan-options> | <lanplus-options> |
|
<conditional\-opts> := [ <lan\-options> | <lanplus\-options> |
|
||||||
<command-options> ]
|
<command\-options> ]
|
||||||
.br
|
.br
|
||||||
Bridging:
|
Bridging:
|
||||||
.br
|
.br
|
||||||
<bridge-options> := -t <target_address> [ -b <channel> |
|
<bridge\-options> := \-t <target_address> [ \-b <channel> |
|
||||||
[ -T <address> | -B <channel> ] ]
|
[ \-T <address> | \-B <channel> ] ]
|
||||||
.br
|
.br
|
||||||
|
|
||||||
Options used with -I lan:
|
Options used with \-I lan:
|
||||||
.br
|
.br
|
||||||
<lan-options> := [ -A <authtype> ]
|
<lan\-options> := [ \-A <authtype> ]
|
||||||
.br
|
.br
|
||||||
|
|
||||||
Options used with -I lanplus:
|
Options used with \-I lanplus:
|
||||||
.br
|
.br
|
||||||
<lanplus-options> := [ -C <ciphersuite> | <key-option> ]
|
<lanplus\-options> := [ \-C <ciphersuite> | <key\-option> ]
|
||||||
.br
|
.br
|
||||||
|
|
||||||
Option groups setting same value:
|
Option groups setting same value:
|
||||||
.br
|
.br
|
||||||
<key-option> := [ -k <key> | -K | -y <hex_key> | -Y ]
|
<key\-option> := [ \-k <key> | \-K | \-y <hex_key> | \-Y ]
|
||||||
.br
|
.br
|
||||||
<password-option> := [ -f <password_file> | -a | -P <password> | -E ]
|
<password\-option> := [ \-f <password_file> | \-a | \-P <password> | \-E ]
|
||||||
.br
|
.br
|
||||||
<oem-option> := [ -o <oemtype> | -g | -s ]
|
<oem\-option> := [ \-o <oemtype> | \-g | \-s ]
|
||||||
.br
|
.br
|
||||||
|
|
||||||
Options used with specific command <command-options>:
|
Options used with specific command <command-options>:
|
||||||
.br
|
.br
|
||||||
<options-sdr> := [ -S <sdr_cache_file> ]
|
<options\-sdr> := [ \-S <sdr_cache_file> ]
|
||||||
.br
|
.br
|
||||||
<options-sel> := [ -O <sel_oem> ]
|
<options\-sel> := [ \-O <sel_oem> ]
|
||||||
.br
|
.br
|
||||||
<options-sol> := [ -e <sol_escape_char> ]
|
<options\-sol> := [ \-e <sol_escape_char> ]
|
||||||
|
|
||||||
|
|
||||||
.SH "DESCRIPTION"
|
.SH "DESCRIPTION"
|
||||||
@ -63,7 +63,7 @@ chassis power control.
|
|||||||
IPMI management of a local system interface requires a compatible IPMI
|
IPMI management of a local system interface requires a compatible IPMI
|
||||||
kernel driver to be installed and configured. On Linux this driver is
|
kernel driver to be installed and configured. On Linux this driver is
|
||||||
called \fIOpenIPMI\fP and it is included in standard distributions.
|
called \fIOpenIPMI\fP and it is included in standard distributions.
|
||||||
On Solaris this driver is called \fIBMC\fP and is inclued in Solaris 10.
|
On Solaris this driver is called \fIBMC\fP and is included in Solaris 10.
|
||||||
Management of a remote station requires the IPMI\-over\-LAN interface to be
|
Management of a remote station requires the IPMI\-over\-LAN interface to be
|
||||||
enabled and configured. Depending on the particular requirements of each
|
enabled and configured. Depending on the particular requirements of each
|
||||||
system it may be possible to enable the LAN interface using ipmitool over
|
system it may be possible to enable the LAN interface using ipmitool over
|
||||||
@ -120,7 +120,7 @@ option is absent, or if password_file is empty, the password
|
|||||||
will default to NULL.
|
will default to NULL.
|
||||||
.TP
|
.TP
|
||||||
\fB\-g\fR
|
\fB\-g\fR
|
||||||
Deprecated. Use: -o intelplus
|
Deprecated. Use: \-o intelplus
|
||||||
.TP
|
.TP
|
||||||
\fB\-h\fR
|
\fB\-h\fR
|
||||||
Get basic usage help from the command line.
|
Get basic usage help from the command line.
|
||||||
@ -151,7 +151,7 @@ combined with \fI-t target address\fP.
|
|||||||
.TP
|
.TP
|
||||||
\fB\-m\fR <\fIlocal_address\fP>
|
\fB\-m\fR <\fIlocal_address\fP>
|
||||||
Set the local IPMB address. The local address defaults to 0x20
|
Set the local IPMB address. The local address defaults to 0x20
|
||||||
or is auto discovered on PICMG platforms when -m is not specified.
|
or is auto discovered on PICMG platforms when \-m is not specified.
|
||||||
There should be no need to change the local address for normal operation.
|
There should be no need to change the local address for normal operation.
|
||||||
.TP
|
.TP
|
||||||
\fB\-N\fR <\fIsec\fP>
|
\fB\-N\fR <\fIsec\fP>
|
||||||
@ -185,7 +185,7 @@ Command \fIraw\fP uses fixed value of one try (no retries).
|
|||||||
Command \fIhpm\fP uses fixed value of 10 retries.
|
Command \fIhpm\fP uses fixed value of 10 retries.
|
||||||
.TP
|
.TP
|
||||||
\fB\-s\fR
|
\fB\-s\fR
|
||||||
Deprecated. Use: -o supermicro
|
Deprecated. Use: \-o supermicro
|
||||||
.TP
|
.TP
|
||||||
\fB\-S\fR <\fIsdr_cache_file\fP>
|
\fB\-S\fR <\fIsdr_cache_file\fP>
|
||||||
Use local file for remote SDR cache. Using a local SDR cache
|
Use local file for remote SDR cache. Using a local SDR cache
|
||||||
@ -223,7 +223,7 @@ Display version information.
|
|||||||
\fB\-y\fR <\fIhex key\fP>
|
\fB\-y\fR <\fIhex key\fP>
|
||||||
Use supplied Kg key for IPMIv2.0 authentication. The key is expected in
|
Use supplied Kg key for IPMIv2.0 authentication. The key is expected in
|
||||||
hexadecimal format and can be used to specify keys with non-printable
|
hexadecimal format and can be used to specify keys with non-printable
|
||||||
characters. E.g. '-k PASSWORD' and '-y 50415353574F5244' are
|
characters. E.g. '\-k PASSWORD' and '\-y 50415353574F5244' are
|
||||||
equivalent.
|
equivalent.
|
||||||
The default is not to use any Kg key.
|
The default is not to use any Kg key.
|
||||||
.TP
|
.TP
|
||||||
@ -1052,7 +1052,7 @@ Display point to point physical connectivity between carriers and AMC modules.
|
|||||||
\fIpower\fP <\fBxx=filename1\fR> <\fBxx=filename2\fR> \fB...\fr
|
\fIpower\fP <\fBxx=filename1\fR> <\fBxx=filename2\fR> \fB...\fr
|
||||||
.br
|
.br
|
||||||
|
|
||||||
Display power supply informations between carrier and AMC modules.
|
Display power supply information between carrier and AMC modules.
|
||||||
.TP
|
.TP
|
||||||
\fIall\fP <\fBxx=filename\fR> <\fBxx=filename\fR> \fB...\fr
|
\fIall\fP <\fBxx=filename\fR> <\fBxx=filename\fR> \fB...\fr
|
||||||
.br
|
.br
|
||||||
@ -1064,7 +1064,7 @@ modules.
|
|||||||
.TP
|
.TP
|
||||||
\fIfrushow\fP <\fBxx=filename\fR>
|
\fIfrushow\fP <\fBxx=filename\fR>
|
||||||
.br
|
.br
|
||||||
Convert a binary FRU file into human readable text format. Use -v option to get
|
Convert a binary FRU file into human readable text format. Use \-v option to get
|
||||||
more display information.
|
more display information.
|
||||||
|
|
||||||
.RE
|
.RE
|
||||||
@ -1082,56 +1082,56 @@ and an AMC module or between 2 AMC modules. Example:
|
|||||||
AMC slot B1 port 0 ==> On-Carrier Device 0 port 16
|
AMC slot B1 port 0 ==> On-Carrier Device 0 port 16
|
||||||
Matching Result
|
Matching Result
|
||||||
- From On-Carrier Device ID 0
|
- From On-Carrier Device ID 0
|
||||||
-Channel ID 11 || Lane 0: enable
|
\-Channel ID 11 || Lane 0: enable
|
||||||
-Link Type: AMC.2 Ethernet
|
\-Link Type: AMC.2 Ethernet
|
||||||
-Link Type extension: 1000BASE-BX (SerDES Gigabit) Ethernet link
|
\-Link Type extension: 1000BASE-BX (SerDES Gigabit) Ethernet link
|
||||||
-Link Group ID: 0 || Link Asym. Match: exact match
|
\-Link Group ID: 0 || Link Asym. Match: exact match
|
||||||
- To AMC slot B1
|
- To AMC slot B1
|
||||||
-Channel ID 0 || Lane 0: enable
|
\-Channel ID 0 || Lane 0: enable
|
||||||
-Link Type: AMC.2 Ethernet
|
\-Link Type: AMC.2 Ethernet
|
||||||
-Link Type extension: 1000BASE-BX (SerDES Gigabit) Ethernet link
|
\-Link Type extension: 1000BASE-BX (SerDES Gigabit) Ethernet link
|
||||||
-Link Group ID: 0 || Link Asym. Match: exact match
|
\-Link Group ID: 0 || Link Asym. Match: exact match
|
||||||
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||||
AMC slot B1 port 1 ==> On-Carrier Device 0 port 12
|
AMC slot B1 port 1 ==> On-Carrier Device 0 port 12
|
||||||
Matching Result
|
Matching Result
|
||||||
- From On-Carrier Device ID 0
|
- From On-Carrier Device ID 0
|
||||||
-Channel ID 6 || Lane 0: enable
|
\-Channel ID 6 || Lane 0: enable
|
||||||
-Link Type: AMC.2 Ethernet
|
\-Link Type: AMC.2 Ethernet
|
||||||
-Link Type extension: 1000BASE-BX (SerDES Gigabit) Ethernet link
|
\-Link Type extension: 1000BASE-BX (SerDES Gigabit) Ethernet link
|
||||||
-Link Group ID: 0 || Link Asym. Match: exact match
|
\-Link Group ID: 0 || Link Asym. Match: exact match
|
||||||
- To AMC slot B1
|
- To AMC slot B1
|
||||||
-Channel ID 1 || Lane 0: enable
|
\-Channel ID 1 || Lane 0: enable
|
||||||
-Link Type: AMC.2 Ethernet
|
\-Link Type: AMC.2 Ethernet
|
||||||
-Link Type extension: 1000BASE-BX (SerDES Gigabit) Ethernet link
|
\-Link Type extension: 1000BASE-BX (SerDES Gigabit) Ethernet link
|
||||||
-Link Group ID: 0 || Link Asym. Match: exact match
|
\-Link Group ID: 0 || Link Asym. Match: exact match
|
||||||
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||||
On-Carrier Device vs AMC slot A2
|
On-Carrier Device vs AMC slot A2
|
||||||
AMC slot A2 port 0 ==> On-Carrier Device 0 port 3
|
AMC slot A2 port 0 ==> On-Carrier Device 0 port 3
|
||||||
Matching Result
|
Matching Result
|
||||||
- From On-Carrier Device ID 0
|
- From On-Carrier Device ID 0
|
||||||
-Channel ID 9 || Lane 0: enable
|
\-Channel ID 9 || Lane 0: enable
|
||||||
-Link Type: AMC.2 Ethernet
|
\-Link Type: AMC.2 Ethernet
|
||||||
-Link Type extension: 1000BASE-BX (SerDES Gigabit) Ethernet link
|
\-Link Type extension: 1000BASE-BX (SerDES Gigabit) Ethernet link
|
||||||
-Link Group ID: 0 || Link Asym. Match: exact match
|
\-Link Group ID: 0 || Link Asym. Match: exact match
|
||||||
- To AMC slot A2
|
- To AMC slot A2
|
||||||
-Channel ID 0 || Lane 0: enable
|
\-Channel ID 0 || Lane 0: enable
|
||||||
-Link Type: AMC.2 Ethernet
|
\-Link Type: AMC.2 Ethernet
|
||||||
-Link Type extension: 1000BASE-BX (SerDES Gigabit) Ethernet link
|
\-Link Type extension: 1000BASE-BX (SerDES Gigabit) Ethernet link
|
||||||
-Link Group ID: 0 || Link Asym. Match: exact match
|
\-Link Group ID: 0 || Link Asym. Match: exact match
|
||||||
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||||
AMC slot B1 vs AMC slot A2
|
AMC slot B1 vs AMC slot A2
|
||||||
AMC slot A2 port 2 ==> AMC slot B1 port 2
|
AMC slot A2 port 2 ==> AMC slot B1 port 2
|
||||||
Matching Result
|
Matching Result
|
||||||
- From AMC slot B1
|
- From AMC slot B1
|
||||||
-Channel ID 2 || Lane 0: enable
|
\-Channel ID 2 || Lane 0: enable
|
||||||
-Link Type: AMC.3 Storage
|
\-Link Type: AMC.3 Storage
|
||||||
-Link Type extension: Serial Attached SCSI (SAS/SATA)
|
\-Link Type extension: Serial Attached SCSI (SAS/SATA)
|
||||||
-Link Group ID: 0 || Link Asym. Match: FC or SAS interface {exact match}
|
\-Link Group ID: 0 || Link Asym. Match: FC or SAS interface {exact match}
|
||||||
- To AMC slot A2
|
- To AMC slot A2
|
||||||
-Channel ID 2 || Lane 0: enable
|
\-Channel ID 2 || Lane 0: enable
|
||||||
-Link Type: AMC.3 Storage
|
\-Link Type: AMC.3 Storage
|
||||||
-Link Type extension: Serial Attached SCSI (SAS/SATA)
|
\-Link Type extension: Serial Attached SCSI (SAS/SATA)
|
||||||
-Link Group ID: 0 || Link Asym. Match: FC or SAS interface {exact match}
|
\-Link Group ID: 0 || Link Asym. Match: FC or SAS interface {exact match}
|
||||||
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||||
.TP
|
.TP
|
||||||
\fIunmatch\fP <\fBxx=filename\fR> <\fBxx=filename\fR> \fB...\fr
|
\fIunmatch\fP <\fBxx=filename\fR> <\fBxx=filename\fR> \fB...\fr
|
||||||
@ -2516,7 +2516,7 @@ Remove a policy. If domain is not supplied a default of platform is used.
|
|||||||
\fIpower\fP \fImin\fP <minimum> \fImax\fP <maximum> [\fIdomain\fP <platform|CPU|Memory>]
|
\fIpower\fP \fImin\fP <minimum> \fImax\fP <maximum> [\fIdomain\fP <platform|CPU|Memory>]
|
||||||
.br
|
.br
|
||||||
|
|
||||||
Configure Node Manager power minumum and maximum power draw limits.
|
Configure Node Manager power minimum and maximum power draw limits.
|
||||||
The \fImin\fP and \fImax\fP values must be in the range of 0-65535.
|
The \fImin\fP and \fImax\fP values must be in the range of 0-65535.
|
||||||
If domain is not supplied a default of platform is used.
|
If domain is not supplied a default of platform is used.
|
||||||
|
|
||||||
@ -3269,7 +3269,7 @@ I2C Master Write\-Read IPMI command.
|
|||||||
|
|
||||||
Execute the service processor command line interface commands.
|
Execute the service processor command line interface commands.
|
||||||
Without any command string, an interactive session is started
|
Without any command string, an interactive session is started
|
||||||
in the service processor command line environ ment. If a
|
in the service processor command line environment. If a
|
||||||
command string is specified, the command string is executed
|
command string is specified, the command string is executed
|
||||||
on the service processor and the connection is closed.
|
on the service processor and the connection is closed.
|
||||||
.TP
|
.TP
|
||||||
@ -3515,7 +3515,7 @@ a 2.4\-based kernel in order for ipmitool to work:
|
|||||||
Incoming and outgoing message handler for IPMI interfaces.
|
Incoming and outgoing message handler for IPMI interfaces.
|
||||||
.TP
|
.TP
|
||||||
.B ipmi_kcs_drv
|
.B ipmi_kcs_drv
|
||||||
An IPMI Keyboard Controler Style (KCS) interface driver for the message handler.
|
An IPMI Keyboard Controller Style (KCS) interface driver for the message handler.
|
||||||
.TP
|
.TP
|
||||||
.B ipmi_devintf
|
.B ipmi_devintf
|
||||||
Linux character device interface for the message handler.
|
Linux character device interface for the message handler.
|
||||||
@ -3553,7 +3553,7 @@ ipmitool includes some sample initialization scripts that
|
|||||||
can perform this task automatically at start\-up.
|
can perform this task automatically at start\-up.
|
||||||
|
|
||||||
In order to have ipmitool use the OpenIPMI device interface
|
In order to have ipmitool use the OpenIPMI device interface
|
||||||
you can specifiy it on the command line:
|
you can specify it on the command line:
|
||||||
.PP
|
.PP
|
||||||
ipmitool \fB\-I\fR \fIopen\fP <\fIcommand\fP>
|
ipmitool \fB\-I\fR \fIopen\fP <\fIcommand\fP>
|
||||||
.SH "BMC INTERFACE"
|
.SH "BMC INTERFACE"
|
||||||
@ -3664,7 +3664,7 @@ encryption algorightms.
|
|||||||
The ipmitool \fIfree\fP interface utilizes the FreeIPMI libfreeipmi
|
The ipmitool \fIfree\fP interface utilizes the FreeIPMI libfreeipmi
|
||||||
drivers.
|
drivers.
|
||||||
.LP
|
.LP
|
||||||
You can tell ipmitool to use the FreeIPMI interface with the -I option:
|
You can tell ipmitool to use the FreeIPMI interface with the \-I option:
|
||||||
.PP
|
.PP
|
||||||
ipmitool \fB\-I\fR \fIfree\fP <\fIcommand\fP>
|
ipmitool \fB\-I\fR \fIfree\fP <\fIcommand\fP>
|
||||||
|
|
||||||
@ -3674,7 +3674,7 @@ ipmitool \fB\-I\fR \fIfree\fP <\fIcommand\fP>
|
|||||||
The ipmitool \fIimb\fP interface supports the Intel IMB (Intel
|
The ipmitool \fIimb\fP interface supports the Intel IMB (Intel
|
||||||
Inter-module Bus) Interface through the /dev/imb device.
|
Inter-module Bus) Interface through the /dev/imb device.
|
||||||
.LP
|
.LP
|
||||||
You can tell ipmitool to use the IMB interface with the -I option:
|
You can tell ipmitool to use the IMB interface with the \-I option:
|
||||||
.PP
|
.PP
|
||||||
ipmitool \fB\-I\fR \fIimb\fP <\fIcommand\fP>
|
ipmitool \fB\-I\fR \fIimb\fP <\fIcommand\fP>
|
||||||
|
|
||||||
|
@ -194,7 +194,7 @@ static struct ipmi_event_sensor_types oem_kontron_event_types[] __attribute__((u
|
|||||||
{ 0xC7 , 0x01 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FWUM Status", "First Boot After Rollback(error)" },
|
{ 0xC7 , 0x01 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FWUM Status", "First Boot After Rollback(error)" },
|
||||||
{ 0xC7 , 0x02 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FWUM Status", "First Boot After Errors (watchdog)" },
|
{ 0xC7 , 0x02 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FWUM Status", "First Boot After Errors (watchdog)" },
|
||||||
{ 0xC7 , 0x03 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FWUM Status", "First Boot After Manual Rollback" },
|
{ 0xC7 , 0x03 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FWUM Status", "First Boot After Manual Rollback" },
|
||||||
{ 0xC7 , 0x08 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FWUM Status", "Firmware Watchdog Bite, reset occured" },
|
{ 0xC7 , 0x08 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FWUM Status", "Firmware Watchdog Bite, reset occurred" },
|
||||||
|
|
||||||
{ 0xC8 , 0x00 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Switch Mngt Software Status", "Not Loaded" },
|
{ 0xC8 , 0x00 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Switch Mngt Software Status", "Not Loaded" },
|
||||||
{ 0xC8 , 0x01 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Switch Mngt Software Status", "Initializing" },
|
{ 0xC8 , 0x01 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Switch Mngt Software Status", "Initializing" },
|
||||||
|
@ -64,7 +64,7 @@ struct sol_config_parameters {
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The ACTIVATE PAYLOAD command reponse structure
|
* The ACTIVATE PAYLOAD command response structure
|
||||||
* From table 24-2 of the IPMI v2.0 spec
|
* From table 24-2 of the IPMI v2.0 spec
|
||||||
*/
|
*/
|
||||||
#ifdef PRAGMA_PACK
|
#ifdef PRAGMA_PACK
|
||||||
|
@ -671,7 +671,7 @@ chk_nm_rsp(struct ipmi_rs * rsp)
|
|||||||
* some issue and cannot complete the command
|
* some issue and cannot complete the command
|
||||||
*/
|
*/
|
||||||
if (rsp == NULL) {
|
if (rsp == NULL) {
|
||||||
lprintf(LOG_ERR, "\n No reponse to NM request");
|
lprintf(LOG_ERR, "\n No response to NM request");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
/* if the completion code is greater than zero there was an error. We'll
|
/* if the completion code is greater than zero there was an error. We'll
|
||||||
@ -1426,7 +1426,7 @@ ipmi_dcmi_getthermalpolicy(struct ipmi_intf * intf, uint8_t entityID,
|
|||||||
/* rsp->data[0] is equal to response data byte 2 in spec */
|
/* rsp->data[0] is equal to response data byte 2 in spec */
|
||||||
memcpy(&val, rsp->data, sizeof (val));
|
memcpy(&val, rsp->data, sizeof (val));
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf(" Persistance flag is: %s\n",
|
printf(" Persistence flag is: %s\n",
|
||||||
((val.exceptionActions & 0x80) ? "set" : "notset"));
|
((val.exceptionActions & 0x80) ? "set" : "notset"));
|
||||||
printf(" Exception Actions, taken if the Temperature Limit exceeded:\n");
|
printf(" Exception Actions, taken if the Temperature Limit exceeded:\n");
|
||||||
printf(" Hard Power Off system and log event: %s\n",
|
printf(" Hard Power Off system and log event: %s\n",
|
||||||
@ -3163,7 +3163,7 @@ ipmi_nm_thresh(struct ipmi_intf * intf, int argc, char **argv)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (str2ushort(argv[0], &thresh.thresholds[i++]) < 0) {
|
if (str2ushort(argv[0], &thresh.thresholds[i++]) < 0) {
|
||||||
lprintf(LOG_ERR,"threshold value %d count must be a positve integer.\n", i);
|
lprintf(LOG_ERR,"threshold value %d count must be a positive integer.\n", i);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
@ -2021,13 +2021,13 @@ HpmfwupgQueryRollbackStatus(struct ipmi_intf *intf,
|
|||||||
memcpy(&pCtx->resp, rsp->data,
|
memcpy(&pCtx->resp, rsp->data,
|
||||||
sizeof(struct HpmfwupgQueryRollbackStatusResp));
|
sizeof(struct HpmfwupgQueryRollbackStatusResp));
|
||||||
if (pCtx->resp.rollbackComp.ComponentBits.byte != 0) {
|
if (pCtx->resp.rollbackComp.ComponentBits.byte != 0) {
|
||||||
/* Rollback occured */
|
/* Rollback occurred */
|
||||||
lprintf(LOG_NOTICE,
|
lprintf(LOG_NOTICE,
|
||||||
"Rollback occured on component mask: 0x%02x",
|
"Rollback occurred on component mask: 0x%02x",
|
||||||
pCtx->resp.rollbackComp.ComponentBits.byte);
|
pCtx->resp.rollbackComp.ComponentBits.byte);
|
||||||
} else {
|
} else {
|
||||||
lprintf(LOG_NOTICE,
|
lprintf(LOG_NOTICE,
|
||||||
"No Firmware rollback occured");
|
"No Firmware rollback occurred");
|
||||||
}
|
}
|
||||||
} else if (rsp->ccode == 0x81) {
|
} else if (rsp->ccode == 0x81) {
|
||||||
lprintf(LOG_ERR,
|
lprintf(LOG_ERR,
|
||||||
|
@ -779,7 +779,7 @@ ipmi_mc_rst_watchdog(struct ipmi_intf * intf)
|
|||||||
if (rsp->ccode) {
|
if (rsp->ccode) {
|
||||||
lprintf(LOG_ERR, "Reset Watchdog Timer command failed: %s",
|
lprintf(LOG_ERR, "Reset Watchdog Timer command failed: %s",
|
||||||
(rsp->ccode == IPM_WATCHDOG_RESET_ERROR) ?
|
(rsp->ccode == IPM_WATCHDOG_RESET_ERROR) ?
|
||||||
"Attempt to reset unitialized watchdog" :
|
"Attempt to reset uninitialized watchdog" :
|
||||||
val2str(rsp->ccode, completion_code_vals));
|
val2str(rsp->ccode, completion_code_vals));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
@ -469,7 +469,7 @@ ipmi_sunoem_led_get(struct ipmi_intf * intf, int argc, char ** argv)
|
|||||||
ledtype = str2val(argv[1], sunoem_led_type_vals);
|
ledtype = str2val(argv[1], sunoem_led_type_vals);
|
||||||
if (ledtype == 0xFF)
|
if (ledtype == 0xFF)
|
||||||
lprintf(LOG_ERR,
|
lprintf(LOG_ERR,
|
||||||
"Unknow ledtype, will use data from the SDR oem field");
|
"Unknown ledtype, will use data from the SDR oem field");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strncasecmp(argv[0], "all", 3) == 0) {
|
if (strncasecmp(argv[0], "all", 3) == 0) {
|
||||||
@ -676,7 +676,7 @@ ipmi_sunoem_led_set(struct ipmi_intf * intf, int argc, char ** argv)
|
|||||||
ledtype = str2val(argv[2], sunoem_led_type_vals);
|
ledtype = str2val(argv[2], sunoem_led_type_vals);
|
||||||
if (ledtype == 0xFF)
|
if (ledtype == 0xFF)
|
||||||
lprintf(LOG_ERR,
|
lprintf(LOG_ERR,
|
||||||
"Unknow ledtype, will use data from the SDR oem field");
|
"Unknown ledtype, will use data from the SDR oem field");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strncasecmp(argv[0], "all", 3) == 0) {
|
if (strncasecmp(argv[0], "all", 3) == 0) {
|
||||||
|
@ -970,7 +970,7 @@ ipmi_lan_send_cmd(struct ipmi_intf * intf, struct ipmi_rq * req)
|
|||||||
// Example: We have to send command 23 and 2d.
|
// Example: We have to send command 23 and 2d.
|
||||||
// If we send command,seq as 23,10 and if we dont get any response it will
|
// If we send command,seq as 23,10 and if we dont get any response it will
|
||||||
// retry 4 times with 23,10 and then come out here and indicate that there is no
|
// retry 4 times with 23,10 and then come out here and indicate that there is no
|
||||||
// reponse from the remote controller and will send the next command for
|
// response from the remote controller and will send the next command for
|
||||||
// ie 2d,11. And if the BMC is slow to respond and returns 23,10 then it
|
// ie 2d,11. And if the BMC is slow to respond and returns 23,10 then it
|
||||||
// will match it in the list and will take response of command 23 as response
|
// will match it in the list and will take response of command 23 as response
|
||||||
// for command 2d and return success. So ideally when retries are done and
|
// for command 2d and return success. So ideally when retries are done and
|
||||||
|
@ -606,7 +606,7 @@ ipmiv2_lan_ping(struct ipmi_intf * intf)
|
|||||||
* Receive whatever comes back. Ignore received packets that don't correspond
|
* Receive whatever comes back. Ignore received packets that don't correspond
|
||||||
* to a request we've sent.
|
* to a request we've sent.
|
||||||
*
|
*
|
||||||
* Returns: the ipmi_rs packet describing the/a reponse we expect.
|
* Returns: the ipmi_rs packet describing the/a response we expect.
|
||||||
*/
|
*/
|
||||||
static struct ipmi_rs *
|
static struct ipmi_rs *
|
||||||
ipmi_lan_poll_single(struct ipmi_intf * intf)
|
ipmi_lan_poll_single(struct ipmi_intf * intf)
|
||||||
@ -651,7 +651,7 @@ ipmi_lan_poll_single(struct ipmi_intf * intf)
|
|||||||
*
|
*
|
||||||
* 1) An IPMI 1.5 packet (the response to our GET CHANNEL
|
* 1) An IPMI 1.5 packet (the response to our GET CHANNEL
|
||||||
* AUTHENTICATION CAPABILITIES request)
|
* AUTHENTICATION CAPABILITIES request)
|
||||||
* 2) An RMCP+ message with an IPMI reponse payload
|
* 2) An RMCP+ message with an IPMI response payload
|
||||||
* 3) AN RMCP+ open session response
|
* 3) AN RMCP+ open session response
|
||||||
* 4) An RAKP-2 message (response to an RAKP 1 message)
|
* 4) An RAKP-2 message (response to an RAKP 1 message)
|
||||||
* 5) An RAKP-4 message (response to an RAKP 3 message)
|
* 5) An RAKP-4 message (response to an RAKP 3 message)
|
||||||
@ -681,7 +681,7 @@ ipmi_lan_poll_single(struct ipmi_intf * intf)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Handle IPMI responses (case #1 and #2) -- all IPMI reponses
|
* Handle IPMI responses (case #1 and #2) -- all IPMI responses
|
||||||
*/
|
*/
|
||||||
if (rsp->session.payloadtype == IPMI_PAYLOAD_TYPE_IPMI) {
|
if (rsp->session.payloadtype == IPMI_PAYLOAD_TYPE_IPMI) {
|
||||||
struct ipmi_rq_entry * entry;
|
struct ipmi_rq_entry * entry;
|
||||||
@ -863,7 +863,7 @@ ipmi_lan_poll_single(struct ipmi_intf * intf)
|
|||||||
* Receive whatever comes back. Ignore received packets that don't correspond
|
* Receive whatever comes back. Ignore received packets that don't correspond
|
||||||
* to a request we've sent.
|
* to a request we've sent.
|
||||||
*
|
*
|
||||||
* Returns: the ipmi_rs packet describing the/a reponse we expect.
|
* Returns: the ipmi_rs packet describing the/a response we expect.
|
||||||
*/
|
*/
|
||||||
static struct ipmi_rs *
|
static struct ipmi_rs *
|
||||||
ipmi_lan_poll_recv(struct ipmi_intf * intf)
|
ipmi_lan_poll_recv(struct ipmi_intf * intf)
|
||||||
@ -881,7 +881,7 @@ ipmi_lan_poll_recv(struct ipmi_intf * intf)
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* read_open_session_reponse
|
* read_open_session_response
|
||||||
*
|
*
|
||||||
* Initialize the ipmi_rs from the IPMI 2.x open session response data.
|
* Initialize the ipmi_rs from the IPMI 2.x open session response data.
|
||||||
*
|
*
|
||||||
@ -903,7 +903,7 @@ read_open_session_response(struct ipmi_rs * rsp, int offset)
|
|||||||
/* Message tag */
|
/* Message tag */
|
||||||
rsp->payload.open_session_response.message_tag = rsp->data[offset];
|
rsp->payload.open_session_response.message_tag = rsp->data[offset];
|
||||||
|
|
||||||
/* RAKP reponse code */
|
/* RAKP response code */
|
||||||
rsp->payload.open_session_response.rakp_return_code = rsp->data[offset + 1];
|
rsp->payload.open_session_response.rakp_return_code = rsp->data[offset + 1];
|
||||||
|
|
||||||
/* Maximum privilege level */
|
/* Maximum privilege level */
|
||||||
@ -970,7 +970,7 @@ read_rakp2_message(
|
|||||||
/* Message tag */
|
/* Message tag */
|
||||||
rsp->payload.rakp2_message.message_tag = rsp->data[offset];
|
rsp->payload.rakp2_message.message_tag = rsp->data[offset];
|
||||||
|
|
||||||
/* RAKP reponse code */
|
/* RAKP response code */
|
||||||
rsp->payload.rakp2_message.rakp_return_code = rsp->data[offset + 1];
|
rsp->payload.rakp2_message.rakp_return_code = rsp->data[offset + 1];
|
||||||
|
|
||||||
/* Console session ID */
|
/* Console session ID */
|
||||||
@ -1051,7 +1051,7 @@ read_rakp4_message(
|
|||||||
/* Message tag */
|
/* Message tag */
|
||||||
rsp->payload.rakp4_message.message_tag = rsp->data[offset];
|
rsp->payload.rakp4_message.message_tag = rsp->data[offset];
|
||||||
|
|
||||||
/* RAKP reponse code */
|
/* RAKP response code */
|
||||||
rsp->payload.rakp4_message.rakp_return_code = rsp->data[offset + 1];
|
rsp->payload.rakp4_message.rakp_return_code = rsp->data[offset + 1];
|
||||||
|
|
||||||
/* Console session ID */
|
/* Console session ID */
|
||||||
@ -3417,7 +3417,7 @@ ipmi_lanplus_open(struct ipmi_intf * intf)
|
|||||||
if (!ipmi_oem_active(intf, "i82571spt") &&
|
if (!ipmi_oem_active(intf, "i82571spt") &&
|
||||||
ipmi_get_auth_capabilities_cmd(intf, &auth_cap)) {
|
ipmi_get_auth_capabilities_cmd(intf, &auth_cap)) {
|
||||||
lprintf(LOG_INFO, "Error issuing Get Channel "
|
lprintf(LOG_INFO, "Error issuing Get Channel "
|
||||||
"Authentication Capabilies request");
|
"Authentication Capabilities request");
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user