diff --git a/ipmitool-1.8.11-systemd.patch b/ipmitool-1.8.11-systemd.patch deleted file mode 100644 index ea50d46..0000000 --- a/ipmitool-1.8.11-systemd.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -up ipmitool-1.8.12/lib/helper.c.systemd ipmitool-1.8.12/lib/helper.c ---- ipmitool-1.8.12/lib/helper.c.systemd 2012-08-13 14:24:47.391037471 +0200 -+++ ipmitool-1.8.12/lib/helper.c 2012-08-13 14:24:53.088016793 +0200 -@@ -549,10 +549,6 @@ ipmi_start_daemon(struct ipmi_intf *intf - sigset_t sighup; - #endif - -- /* if we are started from init no need to become daemon */ -- if (getppid() == 1) -- return; -- - #ifdef SIGHUP - sigemptyset(&sighup); - sigaddset(&sighup, SIGHUP); diff --git a/ipmitool-1.8.12-activate-core.patch b/ipmitool-1.8.12-activate-core.patch deleted file mode 100644 index d911ba6..0000000 --- a/ipmitool-1.8.12-activate-core.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -up ./lib/ipmi_sol.c.activate-core ./lib/ipmi_sol.c ---- ./lib/ipmi_sol.c.activate-core 2012-11-16 15:30:07.847679142 +0100 -+++ ./lib/ipmi_sol.c 2012-11-16 15:30:50.263695103 +0100 -@@ -163,8 +163,7 @@ ipmi_sol_payload_access_status(struct ip - rsp = intf->sendrecv(intf, &req); - - if (rsp == NULL) { -- lprintf(LOG_ERR, "Error: Unexpected data length (%d) received", -- rsp->data_len); -+ lprintf(LOG_ERR, "Error: No valid response.\n"); - return -1; - } - diff --git a/ipmitool-1.8.12-bigendian.patch b/ipmitool-1.8.12-bigendian.patch deleted file mode 100644 index 202e8fd..0000000 --- a/ipmitool-1.8.12-bigendian.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -up ipmitool-1.8.12/lib/ipmi_chassis.c.bigendian ipmitool-1.8.12/lib/ipmi_chassis.c ---- ipmitool-1.8.12/lib/ipmi_chassis.c.bigendian 2012-09-04 16:01:55.000000000 +0200 -+++ ipmitool-1.8.12/lib/ipmi_chassis.c 2012-09-04 16:02:20.000000000 +0200 -@@ -41,6 +41,7 @@ - #include - #include - #include -+#include - - extern int verbose; - -diff -up ipmitool-1.8.12/lib/ipmi_pef.c.bigendian ipmitool-1.8.12/lib/ipmi_pef.c ---- ipmitool-1.8.12/lib/ipmi_pef.c.bigendian 2012-09-04 16:02:05.000000000 +0200 -+++ ipmitool-1.8.12/lib/ipmi_pef.c 2012-09-04 16:02:30.000000000 +0200 -@@ -39,6 +39,7 @@ - #include - #include - #include -+#include - - extern int verbose; - /* diff --git a/ipmitool-1.8.12-bigendian2.patch b/ipmitool-1.8.12-bigendian2.patch deleted file mode 100644 index c60d9de..0000000 --- a/ipmitool-1.8.12-bigendian2.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -up ipmitool-1.8.12/lib/ipmi_delloem.c.bigendian2 ipmitool-1.8.12/lib/ipmi_delloem.c ---- ipmitool-1.8.12/lib/ipmi_delloem.c.bigendian2 2012-10-18 09:46:07.641569464 +0200 -+++ ipmitool-1.8.12/lib/ipmi_delloem.c 2012-10-18 09:46:23.471318242 +0200 -@@ -4283,10 +4283,10 @@ static int ipmi_set_power_cap(struct ipm - } - #if WORDS_BIGENDIAN - ipmipowercap.PowerCap = BSWAP_16(ipmipowercap.PowerCap); -- ipmipowercap.MaximumPowerConsump = BSWAP_16(ipmipowercap.MaximumPowerConsump); -- ipmipowercap.MinumumPowerConsump = BSWAP_16(ipmipowercap.MinimumPowerConsump); -+ ipmipowercap.MaximumPowerConsmp = BSWAP_16(ipmipowercap.MaximumPowerConsmp); -+ ipmipowercap.MinimumPowerConsmp = BSWAP_16(ipmipowercap.MinimumPowerConsmp); - ipmipowercap.AvailablePower = BSWAP_16(ipmipowercap.AvailablePower); -- ipmipowercap.totalnumpowersupp = BSWP_16(ipmipowercap.totalnumpowersupp); -+ ipmipowercap.totalnumpowersupp = BSWAP_16(ipmipowercap.totalnumpowersupp); - #endif - - memset(data, 0, 13); diff --git a/ipmitool-1.8.12-ciper-suite-default.patch b/ipmitool-1.8.12-ciper-suite-default.patch deleted file mode 100644 index 3da526e..0000000 --- a/ipmitool-1.8.12-ciper-suite-default.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up ./lib/ipmi_main.c.cip ./lib/ipmi_main.c ---- ./lib/ipmi_main.c.cip 2012-11-16 14:03:17.729119605 +0100 -+++ ./lib/ipmi_main.c 2012-11-16 14:03:25.448123005 +0100 -@@ -382,7 +382,7 @@ ipmi_main(int argc, char ** argv, - char * seloem = NULL; - int port = 0; - int devnum = 0; -- int cipher_suite_id = 1; /* See table 22-19 of the IPMIv2 spec */ -+ int cipher_suite_id = 3; /* See table 22-19 of the IPMIv2 spec */ - int argflag, i, found; - int rc = -1; - char sol_escape_char = SOL_ESCAPE_CHARACTER_DEFAULT; diff --git a/ipmitool-1.8.12f-manoverr.patch b/ipmitool-1.8.12f-manoverr.patch deleted file mode 100644 index 60d04df..0000000 --- a/ipmitool-1.8.12f-manoverr.patch +++ /dev/null @@ -1,163 +0,0 @@ -diff -up ./ipmitool.1.manover ./ipmitool.1 ---- doc/ipmitool.1.manover 2012-12-12 02:04:40.870399182 +0100 -+++ doc/ipmitool.1 2012-12-12 02:25:08.368992981 +0100 -@@ -2,38 +2,57 @@ - .SH "NAME" - ipmitool \- utility for controlling IPMI\-enabled devices - .SH "SYNOPSIS" --ipmitool [\fB\-c\fR|\fB\-h\fR|\fB\-d \fIN\fP\fR|\fB\-v\fR|\fB\-V\fR] --\fB\-I\fR \fIopen\fP <\fIcommand\fP> - --ipmitool [\fB\-c\fR|\fB\-h\fR|\fB\-v\fR|\fB\-V\fR] --\fB\-I\fR \fIlan\fP \fB\-H\fR <\fIhostname\fP> -- [\fB\-p\fR <\fIport\fP>] -- [\fB\-U\fR <\fIusername\fP>] -- [\fB\-A\fR <\fIauthtype\fP>] -- [\fB\-L\fR <\fIprivlvl\fP>] -- [\fB\-a\fR|\fB\-E\fR|\fB\-P\fR|\fB\-f\fR <\fIpassword\fP>] -- [\fB\-o\fR <\fIoemtype\fP>] -- [\fB\-O\fR <\fIsel oem\fP>] -- [\fB\-e\fR <\fIesc_char\fP>] -- [\fB\-N\fR <\fIsec\fP>] -- [\fB\-R\fR <\fIcount\fP>] -- <\fIcommand\fP> -- --ipmitool [\fB\-c\fR|\fB\-h\fR|\fB\-v\fR|\fB\-V\fR] --\fB\-I\fR \fIlanplus\fP \fB\-H\fR <\fIhostname\fP> -- [\fB\-p\fR <\fIport\fP>] -- [\fB\-U\fR <\fIusername\fP>] -- [\fB\-L\fR <\fIprivlvl\fP>] -- [\fB\-a\fR|\fB\-E\fR|\fB\-P\fR|\fB\-f\fR <\fIpassword\fP>] -- [\fB\-o\fR <\fIoemtype\fP>] -- [\fB\-O\fR <\fIsel oem\fP>] -- [\fB\-C\fR <\fIciphersuite\fP>] -- [\fB\-Y\fR|[\fB\-K\fR|\fB\-k\fR <\fIkg_key\fP>] -- [\fB\-y\fR <\fIhex_kg_key\fP>] -- [\fB\-e\fR <\fIesc_char\fP>] -- [\fB\-N\fR <\fIsec\fP>] -- [\fB\-R\fR <\fIcount\fP>] -- <\fIcommand\fP> -+ipmitool [ ] [ ] -+ -+ := [ | ] -+.br -+Any recognized option is accepted. Conditional options may be ignored or it's usage postponed until shell or exec processes relevant command. -+.br -+ -+ := [ -h | -V | -v | -I | -H
| -+ -d | -p | -c | -U | -+ -L | -l | -m | -+ -N | -R | | -+ | ] -+ -+ := [ | | -+ ] -+.br -+Bridging: -+.br -+ := -t [ -b | -+ [ -T
| -B ] ] -+.br -+ -+Options used with -I lan: -+.br -+ := [ -A ] -+.br -+ -+Options used with -I lanplus: -+.br -+ := [ -C | ] -+.br -+ -+Option groups setting same value: -+.br -+ := [ -k | -K | -y | -Y ] -+.br -+ := [ -f | -a | -P | -E ] -+.br -+ := [ -o | -g | -s ] -+.br -+ -+Options used with specific command : -+.br -+ := [ -S ] -+.br -+ := [ -O ] -+.br -+ := [ -e ] -+ -+ - .SH "DESCRIPTION" - This program lets you manage Intelligent Platform Management Interface - (IPMI) functions of either the local system, via a kernel device driver, -@@ -87,7 +106,7 @@ is to use \fI~\fP but this can conflict - .TP - \fB\-E\fR - The remote server password is specified by the environment --variable \fIIPMI_PASSWORD\fP. -+variable \fIIPMI_PASSWORD\fP or \fIIPMITOOL_PASSWORD\fP. The \fIIPMITOOL_PASSWORD\fP takes precedence. - .TP - \fB\-f\fR <\fIpassword_file\fP> - Specifies a file containing the remote server password. If this -@@ -121,6 +140,8 @@ Set destination lun for raw commands. - \fB\-L\fR <\fIprivlvl\fP> - Force session privilege level. Can be CALLBACK, USER, - OPERATOR, ADMINISTRATOR. Default is ADMINISTRATOR. -+This value is ignored and always set to ADMINISTRATOR when -+combined with \fI-t target address\fP. - .TP - \fB\-m\fR <\fIlocal_address\fP> - Set the local IPMB address. The default is 0x20 and there -@@ -131,7 +152,9 @@ Set transit local address for bridge req - .TP - \fB\-N\fR <\fIsec\fP> - Specify nr. of seconds between retransmissions of lan/lanplus messages. --Default are 2 seconds for lan and 1 second for lanplus interfaces. -+Defaults are 2 seconds for lan and 1 second for lanplus interfaces. -+Command \fIraw\fP uses fixed value of 15 seconds. -+Command \fIsol\fP uses fixed value of 1 second. - .TP - \fB\-o\fR <\fIoemtype\fP> - Select OEM type to support. This usually involves minor hacks -@@ -154,6 +177,8 @@ option is not recommended. - .TP - \fB\-R\fR <\fIcount\fP> - Set the number of retries for lan/lanplus interface (default=4). -+Command \fIraw\fP uses fixed value of one try (no retries). -+Command \fIhpm\fP uses fixed value of 10 retries. - .TP - \fB\-s\fR - Deprecated. Use: -o supermicro -@@ -166,7 +191,8 @@ SDR cache from a remote system can be cr - \fIsdr dump\fP command. - .TP - \fB\-t\fR <\fItarget_address\fP> --Bridge IPMI requests to the remote target address. -+Bridge IPMI requests to the remote target address. Default is 32. -+The \fI-L privlvl\fP option is always ignored and value set to ADMINISTRATOR. - .TP - \fB\-T\fR <\fItransmit_address\fP> - Set transit address for bridge request. (dual bridge) -@@ -178,7 +204,11 @@ Remote server username, default is NULL - Increase verbose output level. This option may be specified - multiple times to increase the level of debug output. If given - three times you will get hexdumps of all incoming and --outgoing packets. -+outgoing packets. Using it five times provides details -+on request and expected reply procesing. The \fIhpm\fP commands -+\fItargetcap\fP \fIcompprop\fP \fIabort\fP \fIupgstatus\fP -+\fIrollback\fP \fIrollbackstatus\fP \fIselftestresult\fP increases -+the verbosity level - .TP - \fB\-V\fR - Display version information. -@@ -2758,6 +2788,9 @@ Remote RMCP port. - \fIcsv\fP [\fBlevel\fR] - - Enable output in comma separated format. -+Affects following commands: -+\fIuser\fP, \fIchannel\fP, \fIisol\fP, \fIsunoem\fP, -+\fIsol\fP, \fIsensor\fP, \fIsdr\fP, \fIsel\fP, \fIsession\fP. - .RS - .RE - .TP diff --git a/ipmitool-1.8.12f-minleak.patch b/ipmitool-1.8.12f-minleak.patch deleted file mode 100644 index d5e8079..0000000 --- a/ipmitool-1.8.12f-minleak.patch +++ /dev/null @@ -1,163 +0,0 @@ -diff -up ./lib/ipmi_main.c.minleaks ./lib/ipmi_main.c ---- ./lib/ipmi_main.c.minleaks 2012-12-12 11:44:02.177217050 +0100 -+++ ./lib/ipmi_main.c 2012-12-12 12:18:11.967076191 +0100 -@@ -387,6 +387,7 @@ ipmi_main(int argc, char ** argv, - uint32_t timeout = 0; - int authtype = -1; - char * tmp = NULL; -+ char * tmpe = NULL; - char * hostname = NULL; - char * username = NULL; - char * password = NULL; -@@ -412,6 +413,8 @@ ipmi_main(int argc, char ** argv, - { - switch (argflag) { - case 'I': -+ if (intfname) -+ free(intfname); - intfname = strdup(optarg); - if (intfname == NULL) { - lprintf(LOG_ERR, "%s: malloc failure", progname); -@@ -489,6 +492,8 @@ ipmi_main(int argc, char ** argv, - csv_output = 1; - break; - case 'H': -+ if (hostname) -+ free(hostname); - hostname = strdup(optarg); - if (hostname == NULL) { - lprintf(LOG_ERR, "%s: malloc failure", progname); -@@ -504,6 +509,8 @@ ipmi_main(int argc, char ** argv, - "from file %s", optarg); - break; - case 'a': -+ if (tmp) -+ free(tmp); - #ifdef HAVE_GETPASSPHRASE - tmp = getpassphrase("Password: "); - #else -@@ -520,6 +527,8 @@ ipmi_main(int argc, char ** argv, - } - break; - case 'k': -+ if (kgkey) -+ free(kgkey); - kgkey = strdup(optarg); - if (kgkey == NULL) { - lprintf(LOG_ERR, "%s: malloc failure", progname); -@@ -527,10 +536,10 @@ ipmi_main(int argc, char ** argv, - } - break; - case 'K': -- if ((tmp = getenv("IPMI_KGKEY"))) { -+ if ((tmpe = getenv("IPMI_KGKEY"))) { - if (kgkey) - free(kgkey); -- kgkey = strdup(tmp); -+ kgkey = strdup(tmpe); - if (kgkey == NULL) { - lprintf(LOG_ERR, "%s: malloc failure", progname); - goto out_free; -@@ -540,6 +549,8 @@ ipmi_main(int argc, char ** argv, - } - break; - case 'y': -+ if (kgkey) -+ free(kgkey); - kgkey = ipmi_parse_hex(optarg); - if (kgkey == NULL) { - goto out_free; -@@ -547,14 +558,14 @@ ipmi_main(int argc, char ** argv, - break; - case 'Y': - #ifdef HAVE_GETPASSPHRASE -- tmp = getpassphrase("Key: "); -+ tmpe = getpassphrase("Key: "); - #else -- tmp = getpass("Key: "); -+ tmpe = getpass("Key: "); - #endif -- if (tmp != NULL) { -+ if (tmpe != NULL) { - if (kgkey) - free(kgkey); -- kgkey = strdup(tmp); -+ kgkey = strdup(tmpe); - if (kgkey == NULL) { - lprintf(LOG_ERR, "%s: malloc failure", progname); - goto out_free; -@@ -562,6 +573,8 @@ ipmi_main(int argc, char ** argv, - } - break; - case 'U': -+ if (username) -+ free(username); - if (strlen(optarg) > 16) { - lprintf(LOG_ERR, "Username is too long (> 16 bytes)"); - goto out_free; -@@ -573,6 +586,8 @@ ipmi_main(int argc, char ** argv, - } - break; - case 'S': -+ if (sdrcache) -+ free(sdrcache); - sdrcache = strdup(optarg); - if (sdrcache == NULL) { - lprintf(LOG_ERR, "%s: malloc failure", progname); -@@ -581,6 +596,8 @@ ipmi_main(int argc, char ** argv, - break; - #ifdef ENABLE_ALL_OPTIONS - case 'o': -+ if (oemtype) -+ free(oemtype); - oemtype = strdup(optarg); - if (oemtype == NULL) { - lprintf(LOG_ERR, "%s: malloc failure", progname); -@@ -595,10 +612,14 @@ ipmi_main(int argc, char ** argv, - break; - case 'g': - /* backwards compatible oem hack */ -+ if (oemtype) -+ free(oemtype); - oemtype = strdup("intelwv2"); - break; - case 's': - /* backwards compatible oem hack */ -+ if (oemtype) -+ free(oemtype); - oemtype = strdup("supermicro"); - break; - case 'P': -@@ -615,19 +636,19 @@ ipmi_main(int argc, char ** argv, - memset(optarg, 'X', i); - break; - case 'E': -- if ((tmp = getenv("IPMITOOL_PASSWORD"))) { -+ if ((tmpe = getenv("IPMITOOL_PASSWORD"))) { - if (password) - free(password); -- password = strdup(tmp); -+ password = strdup(tmpe); - if (password == NULL) { - lprintf(LOG_ERR, "%s: malloc failure", progname); - goto out_free; - } - } -- else if ((tmp = getenv("IPMI_PASSWORD"))) { -+ else if ((tmpe = getenv("IPMI_PASSWORD"))) { - if (password) - free(password); -- password = strdup(tmp); -+ password = strdup(tmpe); - if (password == NULL) { - lprintf(LOG_ERR, "%s: malloc failure", progname); - goto out_free; -@@ -697,6 +718,8 @@ ipmi_main(int argc, char ** argv, - sol_escape_char = optarg[0]; - break; - case 'O': -+ if (seloem) -+ free(seloem); - seloem = strdup(optarg); - if (seloem == NULL) { - lprintf(LOG_ERR, "%s: malloc failure", progname); diff --git a/ipmitool-1.8.12f-toolman.patch b/ipmitool-1.8.12f-toolman.patch deleted file mode 100644 index d3f2de9..0000000 --- a/ipmitool-1.8.12f-toolman.patch +++ /dev/null @@ -1,2439 +0,0 @@ -diff -up ./doc/ipmitool.1.manscan ./doc/ipmitool.1 ---- ./doc/ipmitool.1.manscan 2012-12-03 15:21:11.757888182 +0100 -+++ ./doc/ipmitool.1 2012-12-04 13:13:57.961402879 +0100 -@@ -58,30 +58,15 @@ Prompt for the remote server password. - Specify an authentication type to use during IPMIv1.5 \fIlan\fP - session activation. Supported types are NONE, PASSWORD, MD2, MD5, or OEM. - .TP -+\fB\-b\fR <\fIchannel\fP> -+Set destination channel for bridged request. -+.TP -+\fB\-B\fR <\fIchannel\fP> -+Set transit channel for bridged request. (dual bridge) -+.TP - \fB\-c\fR - Present output in CSV (comma separated variable) format. - This is not available with all commands. --.TP --\fB\-e\fR <\fIsol_escape_char\fP> --Use supplied character for SOL session escape character. The default --is to use \fI~\fP but this can conflict with ssh sessions. --.TP --\fB\-K\fR --Read Kg key from IPMI_KGKEY environment variable. --.TP --\fB\-k\fR <\fIkey\fP> --Use supplied Kg key for IPMIv2 authentication. The default is not to --use any Kg key. --.TP --\fB\-y\fR <\fIhex key\fP> --Use supplied Kg key for IPMIv2 authentication. The key is expected in --hexadecimal format and can be used to specify keys with non-printable --characters. E.g. '-k PASSWORD' and '-y 50415353574F5244' are --equivalent. --The default is not to use any Kg key. --.TP --\fB\-Y\fR --Prompt for the Kg key for IPMIv2 authentication. - .TP - \fB\-C\fR <\fIciphersuite\fP> - The remote server authentication, integrity, and encryption algorithms -@@ -89,6 +74,17 @@ to use for IPMIv2 \fIlanplus\fP connecti - IPMIv2 specification. The default is 3 which specifies RAKP\-HMAC\-SHA1 - authentication, HMAC\-SHA1\-96 integrity, and AES\-CBC\-128 encryption algorightms. - .TP -+\fB\-d \fIN\fP\fR -+Use device number N to specify the /dev/ipmiN (or -+/dev/ipmi/N or /dev/ipmidev/N) device to use for in-band -+BMC communication. Used to target a specific BMC on a -+multi-node, multi-BMC system through the ipmi device -+driver interface. Default is 0. -+.TP -+\fB\-e\fR <\fIsol_escape_char\fP> -+Use supplied character for SOL session escape character. The default -+is to use \fI~\fP but this can conflict with ssh sessions. -+.TP - \fB\-E\fR - The remote server password is specified by the environment - variable \fIIPMI_PASSWORD\fP. -@@ -98,6 +94,9 @@ Specifies a file containing the remote s - option is absent, or if password_file is empty, the password - will default to NULL. - .TP -+\fB\-g\fR -+Deprecated. Use: -o intelwv2 -+.TP - \fB\-h\fR - Get basic usage help from the command line. - .TP -@@ -109,6 +108,16 @@ option is required for \fIlan\fP and \fI - Selects IPMI interface to use. Supported interfaces that are - compiled in are visible in the usage help output. - .TP -+\fB\-k\fR <\fIkey\fP> -+Use supplied Kg key for IPMIv2 authentication. The default is not to -+use any Kg key. -+.TP -+\fB\-K\fR -+Read Kg key from IPMI_KGKEY environment variable. -+.TP -+\fB\-l\fR <\fIlun\fP> -+Set destination lun for raw commands. -+.TP - \fB\-L\fR <\fIprivlvl\fP> - Force session privilege level. Can be CALLBACK, USER, - OPERATOR, ADMINISTRATOR. Default is ADMINISTRATOR. -@@ -117,6 +126,9 @@ OPERATOR, ADMINISTRATOR. Default is ADMI - Set the local IPMB address. The default is 0x20 and there - should be no need to change it for normal operation. - .TP -+\fB\-M\fR <\fIaddress\fP> -+Set transit local address for bridge request. (dual bridge) -+.TP - \fB\-N\fR <\fIsec\fP> - Specify nr. of seconds between retransmissions of lan/lanplus messages. - Default are 2 seconds for lan and 1 second for lanplus interfaces. -@@ -130,7 +142,7 @@ current supported OEM types. - \fB\-O\fR <\fIsel oem\fP> - Open selected file and read OEM SEL event descriptions to be used - during SEL listings. See examples in contrib dir for file format. --.TP -+.TP - \fB\-p\fR <\fIport\fP> - Remote server UDP port to connect to. Default is 623. - .TP -@@ -143,6 +155,9 @@ option is not recommended. - \fB\-R\fR <\fIcount\fP> - Set the number of retries for lan/lanplus interface (default=4). - .TP -+\fB\-s\fR -+Deprecated. Use: -o supermicro -+.TP - \fB\-S\fR <\fIsdr_cache_file\fP> - Use local file for remote SDR cache. Using a local SDR cache - can drastically increase performance for commands that require -@@ -153,15 +168,11 @@ SDR cache from a remote system can be cr - \fB\-t\fR <\fItarget_address\fP> - Bridge IPMI requests to the remote target address. - .TP -+\fB\-T\fR <\fItransmit_address\fP> -+Set transit address for bridge request. (dual bridge) -+.TP - \fB\-U\fR <\fIusername\fP> - Remote server username, default is NULL user. --.TP --\fB\-d \fIN\fP\fR --Use device number N to specify the /dev/ipmiN (or --/dev/ipmi/N or /dev/ipmidev/N) device to use for in-band --BMC communication. Used to target a specific BMC on a --multi-node, multi-BMC system through the ipmi device --driver interface. Default is 0. - .TP - \fB\-v\fR - Increase verbose output level. This option may be specified -@@ -171,6 +182,19 @@ outgoing packets. - .TP - \fB\-V\fR - Display version information. -+.TP -+\fB\-y\fR <\fIhex key\fP> -+Use supplied Kg key for IPMIv2 authentication. The key is expected in -+hexadecimal format and can be used to specify keys with non-printable -+characters. E.g. '-k PASSWORD' and '-y 50415353574F5244' are -+equivalent. -+The default is not to use any Kg key. -+.TP -+\fB\-Y\fR -+Prompt for the Kg key for IPMIv2 authentication. -+.TP -+\fB\-z\fR <\fIsize\fP> -+Change Size of Communication Channel. (OEM) - - .LP - If no password method is specified then ipmitool will prompt the -@@ -210,172 +234,42 @@ to get option usage help. - ipmitool help - .br - Commands: -- raw Send a RAW IPMI request and print response -- i2c Send an I2C Master Write-Read command and print response -- spd Print SPD info from remote I2C device -- lan Configure LAN Channels -+ bmc Deprecated. Use mc -+ channel Configure Management Controller channels - chassis Get chassis status and set power state -- power Shortcut to chassis power commands -+ dcmi Data Center Management Interface -+ delloem Manage Dell OEM Extensions. -+ echo Used to echo lines to stdout in scripts -+ ekanalyzer run FRU-Ekeying analyzer using FRU files - event Send events to MC -+ exec Run list of commands from file -+ firewall Configure Firmware Firewall -+ fru Print built\-in FRU and scan for FRU locators -+ fwum Update IPMC using Kontron OEM Firmware Update Manager -+ gendev Read/Write Device associated with Generic Device locators sdr -+ hpm Update HPM components using PICMG HPM.1 file -+ i2c Send an I2C Master Write-Read command and print response -+ ime Upgrade/Query Intel ME firmware -+ isol Configure and connect Intel IPMIv1.5 Serial\-over\-LAN -+ kontronoem Manage Kontron OEM Extensions -+ lan Configure LAN Channels - mc Management Controller status and global enables -+ pef Configure Platform Event Filtering (PEF) -+ picmg Run a PICMG/ATA extended command -+ power Shortcut to chassis power commands -+ raw Send a RAW IPMI request and print response - sdr Print Sensor Data Repository entries and readings -- sensor Print detailed sensor information -- fru Print built\-in FRU and scan for FRU locators - sel Print System Event Log (SEL) -- pef Configure Platform Event Filtering (PEF) -+ sensor Print detailed sensor information -+ session Print session information -+ set Set runtime variable for shell and exec -+ shell Launch interactive IPMI shell - sol Configure and connect IPMIv2.0 Serial\-over\-LAN -+ spd Print SPD info from remote I2C device -+ sunoem Manage Sun OEM Extensions - tsol Configure and connect Tyan IPMIv1.5 Serial\-over\-LAN -- isol Configure and connect Intel IPMIv1.5 Serial\-over\-LAN - user Configure Management Controller users -- channel Configure Management Controller channels -- dcmi Data Center Management Interface -- session Print session information -- sunoem Manage Sun OEM Extensions -- kontronoem Manage Kontron OEM Extensions -- picmg Run a PICMG/ATA extended command -- firewall Configure Firmware Firewall -- shell Launch interactive IPMI shell -- exec Run list of commands from file -- set Set runtime variable for shell and exec -- delloem Manage Dell OEM Extensions. -- echo Used to echo lines to stdout in scripts -- ekanalyzer run FRU-Ekeying analyzer using FRU files -- ime Upgrade/Query Intel ME firmware -- hpm Update HPM components using PICMG HPM.1 file -- fwum Update IPMC using Kontron OEM Firmware Update Manager -- -- --ipmitool chassis help --.br --Chassis Commands: status, power, identify, policy, restart_cause, poh, bootdev, bootparam, selftest -- --ipmitool chassis power help --.br --chassis power Commands: status, on, off, cycle, reset, diag, soft --.TP --\fIbmc|mc\fP --.RS --.TP --\fIreset\fP <\fBwarm\fR|\fBcold\fR> --.br -- --Instructs the BMC to perform a warm or cold reset. --.TP --\fIguid\fP -- --Display the Management Controller Globally Unique IDentifier. --.TP --\fIinfo\fP --.br -- --Displays information about the BMC hardware, including device --revision, firmware revision, IPMI version supported, manufacturer ID, --and information on additional device support. --.TP --\fIwatchdog\fP --.br -- --These commands allow a user to view and change the current --state of the watchdog timer. --.RS --.TP --\fIget\fP --.br -- --Show current Watchdog Timer settings and countdown state. --.TP --\fIreset\fP --.br -- --Reset the Watchdog Timer to its most recent state and restart the --countdown timer. --.TP --\fIoff\fP --.br -- --Turn off a currently running Watchdog countdown timer. --.RE --.TP --\fIselftest\fP --.br -- --Check on the basic health of the BMC by executing the Get Self Test --results command and report the results. --.TP --\fIgetenables\fP --.br -- --Displays a list of the currently enabled options for the BMC. --.br --.TP --\fIsetenables\fP <\fBoption\fR>=[\fIon\fP|\fIoff\fP] --.br -- --Enables or disables the given \fIoption\fR. This command is --only supported over the system interface according to the IPMI --specification. Currently supported values for \fIoption\fR include: --.RS --.TP --\fIrecv_msg_intr\fP --.br -- --Receive Message Queue Interrupt --.TP --\fIevent_msg_intr\fP --.br -- --Event Message Buffer Full Interrupt --.TP --\fIevent_msg\fP --.br -- --Event Message Buffer --.TP --\fIsystem_event_log\fP --.br -- --System Event Logging --.TP --\fIoem0\fP --.br -- --OEM\-Defined option #0 --.TP --\fIoem1\fP --.br -- --OEM\-Defined option #1 --.TP --\fIoem2\fP --.br - --OEM\-Defined option #2 -- --.RE --.TP --\fIgetsysinfo\fP <\fBargument\fP> --Retrieves system info from bmc for given argument. --.br --See \fIsetsysinfo\fP for argument definitions --.TP --\fIsetsysinfo\fP <\fBargument\fP> <\fBstring\fP> --Stores system info string to bmc for given argument --.RS --.TP --Possible arguments are: --.RS --.TP --\fIprimary_os_name\fP Primary Operating System Name --.TP --\fIos_name\fP Operating System Name --.TP --\fIsystem_name\fP System Name of Server --.TP --\fIdelloem_os_version\fP Running versin of operating system --.TP --\fIdelloem_URL\fP URL of BMC Webserver --.RE --.RE - .TP - \fIchannel\fP - .RS -@@ -397,6 +291,8 @@ Possible privilege levels are: - \fI4\fP Administrator level - .br - \fI5\fP OEM Proprietary level -+.br -+\fI15\fP No access - .RE - .TP - \fIinfo\fP [\fBchannel number\fR] -@@ -421,7 +317,7 @@ Channel 0xf info: - .RE - .TP - \fIgetaccess\fP <\fBchannel number\fR> [<\fBuserid\fR>] --.br -+.RS - - Configure the given userid as the default on the given channel number. - When the given channel is subsequently used, the user is identified -@@ -439,242 +335,192 @@ Configure user access information on the - Displays the list of cipher suites supported for the given - application (ipmi or sol) on the given channel. - .RE -+.RE - .TP - \fIchassis\fP - .RS - .TP - \fIstatus\fP --.br - --Displays information regarding the high\-level --status of the system chassis and main power --subsystem. -+Status information related to power, buttons, cooling, drives and faults. -+.RS -+.RE - .TP --\fIpoh\fP --.br -- --This command will return the Power\-On Hours counter. --.TP --\fIidentify\fP <\fBinterval\fR> -- --Control the front panel identify light. Default interval --is 15 seconds. Use 0 to turn off. Use "force" to turn on --indefinitely. -+\fIpower\fP -+.RS - .TP --\fIrestart_cause\fP --.br -- --Query the chassis for the cause of the last system restart. -+\fIstatus\fP -+.RS -+.RE -+.TP -+\fIon\fP -+.RS -+.RE -+.TP -+\fIoff\fP -+.RS -+.RE -+.TP -+\fIcycle\fP -+.RS -+.RE -+.TP -+\fIreset\fP -+.RS -+.RE -+.TP -+\fIdiag\fP -+.RS -+.RE -+.TP -+\fIsoft\fP -+.RS -+.RE -+.RE - .TP --\fIselftest\fP --.br -+\fIidentify\fP [|force] - --Check on the basic health of the BMC by executing the Get Self Test --results command and report the results. -+Identify interval. -+.br -+Default is 15 seconds. -+.br -+0 - Off -+.br -+force - To turn on indefinitely -+.RS -+.RE - .TP - \fIpolicy\fP --.br - --Set the chassis power policy in the event power failure. -+What to do when power is restored. - .RS - .TP - \fIlist\fP --.br - --Return supported policies. -+Show available options. -+.RS -+.RE - .TP --\fIalways\-on\fP --.br -- --Turn on when power is restored. -+\fIalways-on\fP -+.RS -+.RE - .TP - \fIprevious\fP --.br -- --Returned to previous state when power is restored. --.TP --\fIalways\-off\fP --.br -- --Stay off after power is restored. -+.RS - .RE - .TP --\fIpower\fP --.br -- --Performs a chassis control command to view and --change the power state. -+\fIalways-off\fP - .RS --.TP --\fIstatus\fP --.br -- --Show current chassis power status. --.TP --\fIon\fP --.br -- --Power up chassis. --.TP --\fIoff\fP --.br -- --Power down chassis into soft off (S4/S5 state). --\fBWARNING\fR: This command does not initiate a clean --shutdown of the operating system prior to powering down the system. --.TP --\fIcycle\fP --.br -- --Provides a power off interval of at least 1 second. No action --should occur if chassis power is in S4/S5 state, but it is --recommended to check power state first and only issue a power --cycle command if the system power is on or in lower sleep --state than S4/S5. --.TP --\fIreset\fP --.br -- --This command will perform a hard reset. --.TP --\fIdiag\fP --.br -+.RE -+.RE - --Pulse a diagnostic interrupt (NMI) directly to the processor(s). - .TP --\fIsoft\fP --.br -+\fIrestart_cause\fP - --Initiate a soft\-shutdown of OS via ACPI. This can be done in a --number of ways, commonly by simulating an overtemperture or by --simulating a power button press. It is necessary for there to --be Operating System support for ACPI and some sort of daemon --watching for events for this soft power to work. -+Last restart cause. -+.RS - .RE - .TP --\fIbootdev\fP <\fBdevice\fR> [<\fIclear\-cmos\fP=\fByes\fR|\fBno\fR>] [<\fIoptions\fP=\fBhelp,...\fR>] --.br -- --Request the system to boot from an alternate boot device on next reboot. --The \fIclear\-cmos\fP option, if supplied, will instruct the BIOS to --clear its CMOS on the next reboot. Various options may be used to modify --the boot device settings. Run \fI"bootdev none options=help"\fP for a list of --available boot device modifiers/options. -+\fIpoh\fP - -+Get power on hours. - .RS -+.RE - .TP --Currently supported values for are: -+\fIbootdev\fP -+.RS - .TP - \fInone\fP --.br - --Do not change boot device -+Do not change boot device order. -+.RS -+.RE - .TP - \fIpxe\fP --.br - --Force PXE boot -+Force PXE boot. -+.RS -+.RE - .TP - \fIdisk\fP --.br - --Force boot from BIOS default boot device -+Force boot from default Hard-drive. -+.RS -+.RE - .TP - \fIsafe\fP --.br - --Force boot from BIOS default boot device, request Safe Mode -+Force boot from default Hard-drive, request Safe Mode. -+.RS -+.RE - .TP - \fIdiag\fP --.br - --Force boot from diagnostic partition -+Force boot from Diagnostic Partition. -+.RS -+.RE - .TP - \fIcdrom\fP --.br - --Force boot from CD/DVD -+Force boot from CD/DVD. -+.RS -+.RE - .TP - \fIbios\fP --.br - --Force boot into BIOS setup -+Force boot into BIOS Setup. -+.RS -+.RE - .TP - \fIfloppy\fP --.br - --Force boot from Floppy/primary removable media -+Force boot from Floppy/primary removable media. -+.RS -+.RE - .RE - .TP - \fIbootparam\fP --.br -- --Get or set various system boot option parameters. --.RS --.TP --\fIget\fP <\fBparam #\fR> --.br -- --Get boot parameter. Currently supported values for <\fBparam #\fR> are: -- --\fI0\fP - Set In Progress -- --\fI1\fP - Service Partition Selector -- --\fI2\fP - Service Partition Scan -- --\fI3\fP - BMC Boot Flag Valid Bit Clearing -- --\fI4\fP - Boot Info Acknowledge -- --\fI5\fP - Boot Flags -- --\fI6\fP - Boot Initiator Info -- --\fI7\fP - Boot Initiator Mailbox --.br -- --.TP --\fIset\fP <\fBoption\fR> [\fBvalue ...\fR] --.br -- --Set boot parameter. -- - .RS - .TP --Currently supported values for \fB