├── 2-documenting ├── never-forget └── AMI-YAFU │ └── README.md ├── 3-implementing ├── never-surrender └── 1-shell-attempt │ ├── ipmi.sh │ ├── ipmi.cmds │ └── README.md ├── README.md └── 1-discovering ├── snippets ├── Computercheese │ ├── README.md │ ├── DCMI-Thermal Management Commands.txt │ ├── DCMI-Sensor and SDR Commands.txt │ ├── DCMI-Platform and Asset Identification Commands.txt │ ├── IPNM-SEL Device Commands.txt │ ├── DCMI-DCMI Capabilities and Discovery Configuration Commands.txt │ ├── IPMI-BMC Watchdog Timer Commands.txt │ ├── IPNM-External DCMI power management commands.txt │ ├── IPNM-IPMI OEM Device Commands.txt │ ├── IPNM-IPMI Device Global Commands.txt │ ├── IPMI-Firmware Firewall Commands.txt │ ├── IPMI-RMCP+ Support and Payload Commands.txt │ ├── IPMI-FRU Commands.txt │ ├── DCMI-Power Management Commands.txt │ ├── IPMI-SOL Commands.txt │ ├── IPNM-IPMI OEM PECI Proxy Commands.txt │ ├── IPMI-Event commands.txt │ ├── IPMI-IPM Device Global Commands.txt │ ├── IPNM-Sensor Device Commands.txt │ ├── IPNM-Local Platform Intel NM Configuration and Control Commands.txt │ ├── IPMI-SDR Repository commands.txt │ ├── IPMI-PEF-Alerting commands.txt │ ├── IPMI-SEL Device Commands.txt │ ├── IPNM-External Intel NM Configuration and Control Commands.txt │ ├── IPMI-Sensor Device Commands.txt │ ├── IPMI-Chassis Device Commands.txt │ ├── IPMI-LAN Commands.txt │ └── IPMI-Messaging Support commands.txt ├── Supermicro │ ├── SMT_X9_139_Get_PCH_Temp.md │ ├── SMT_X10_118_Get_Onboard_LAN1_MAC_Address.md │ ├── SMT_X9_174_Get_PowerSupply_Individual_Status.md │ ├── SMT_X9_180_Get_Network_Link_status.md │ ├── SMT_X10_138_BIOS_Status.md │ ├── SMT_X9_325_Get_PowerSupply_Consumption_Reading.md │ ├── SMT_X10_138_Clear_SSL_Certificate.md │ ├── SMT_X10_164_Enable_Event_Log.md │ ├── SMT_X9_107_Reset_to_Factory_Default_with_FRU.md │ ├── SMT_X10_023_AC_Power_On_Event_Log.md │ ├── SMT_X10_135_GetSet_Dual_Boot_Block.md │ ├── SMM_GetSetFan.md │ ├── SMT_GetSetFan.md │ ├── SMT_X9_217_Set_Link_Configuration.md │ ├── SMT_X10_118_GetSetPortsServices.md │ └── SMx_PowerSupply_PMBus.md └── BMC-Serial-Logs │ └── Supermicro-X8SIL-F.txt ├── beetje-poepe-daan ├── ASPEED │ └── AST2050 iRMC A3 Datasheet (1.05).pdf └── AMI │ └── MegaRAC® SP-X (1.08.00.39310) - Firmware Release Document.pdf ├── tools ├── probe-ipmi-netfn.sh └── probe-ipmi-ipnm-cpu-package-configuration-read.sh └── logs ├── probe-ipmi-netfn-X10SL7-F.SMT_X10_145.ME.md ├── probe-ipmi-netfn-X10SLD-F.SMT_X10_123.BMC.md └── probe-ipmi-netfn-X10SL7-F.SMT_X10_145.BMC.md /2-documenting/never-forget: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /3-implementing/never-surrender: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # IPMI research 2 | 3 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/README.md: -------------------------------------------------------------------------------- 1 | Source: http://computercheese.blogspot.nl/ 2 | -------------------------------------------------------------------------------- /1-discovering/snippets/Supermicro/SMT_X9_139_Get_PCH_Temp.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Raw: 0x30 0x95 3 | 4 | Filename: SMT_X9_139.bin ver1.39 Date: 12-06-2011 5 | 6 | 1. Support OEM command to get PCH Temp: raw 0x30 0x95 7 | ```` 8 | -------------------------------------------------------------------------------- /1-discovering/beetje-poepe-daan/ASPEED/AST2050 iRMC A3 Datasheet (1.05).pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erik-smit/oohhh-what-does-this-ipmi-doooo-no-deedee-nooooo/HEAD/1-discovering/beetje-poepe-daan/ASPEED/AST2050 iRMC A3 Datasheet (1.05).pdf -------------------------------------------------------------------------------- /1-discovering/snippets/Supermicro/SMT_X10_118_Get_Onboard_LAN1_MAC_Address.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Raw: 0x30 0x21 3 | 4 | Filename: SMT_X10_118.bin version: 1.18 Date: 10-09-2013 5 | [Validation steps] 1. Use 0x30 0x21 command to get system mac address 6 | ```` 7 | -------------------------------------------------------------------------------- /1-discovering/snippets/Supermicro/SMT_X9_174_Get_PowerSupply_Individual_Status.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Raw: 0x30 0x9d 3 | 4 | Filename: SMT_X9_174.bin version: 1.74 Date: 08-06-2012 5 | 6 | Support get power supply individual status(0x30 0x9D) for SD3 7 | ```` 8 | 9 | 10 | -------------------------------------------------------------------------------- /1-discovering/snippets/Supermicro/SMT_X9_180_Get_Network_Link_status.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Raw: 0x30 0x70 0x60 3 | 4 | Filename: SMT_X9_180.bin version: 1.80 Date: 09-28-2012 5 | 6 | 10 Add sub oem command, “Get Network Link Status” (0x30, Cmd: 0x70, Subcmd: 0x60) 7 | 8 | ```` 9 | -------------------------------------------------------------------------------- /1-discovering/beetje-poepe-daan/AMI/MegaRAC® SP-X (1.08.00.39310) - Firmware Release Document.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erik-smit/oohhh-what-does-this-ipmi-doooo-no-deedee-nooooo/HEAD/1-discovering/beetje-poepe-daan/AMI/MegaRAC® SP-X (1.08.00.39310) - Firmware Release Document.pdf -------------------------------------------------------------------------------- /1-discovering/snippets/Supermicro/SMT_X10_138_BIOS_Status.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Raw: 0x30 0x99 3 | 4 | Filename: SMT_X10_138.bin version: 1.38 Date: XX-XX-2014 5 | 6 | 1.Check if storage web menu occured on the IPMI web gui (bios need to set bit 6 of 1st byte on 0x30 0x99 command) 7 | ```` 8 | -------------------------------------------------------------------------------- /1-discovering/snippets/Supermicro/SMT_X9_325_Get_PowerSupply_Consumption_Reading.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Raw: 0x30 0xe2 0x0 0x0 0x0 3 | 4 | Filename: SMT_X9_325.bin version: 3.25 Date: 05/16/2014 5 | 6 | Validation: please verify power supply consumption reading through command raw 0x30 0xe2 0x0 0x0 0x0 7 | ```` 8 | -------------------------------------------------------------------------------- /1-discovering/snippets/Supermicro/SMT_X10_138_Clear_SSL_Certificate.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Raw: 0x30 0x68 0x0 3 | 4 | Filename: SMT_X10_138.bin version: 1.38 Date: XX-XX-2014 5 | 6 | 2. run the following command to clear SSL certiifcate and 7 | ipmitool -I lanplus -H 10.133.176.44 -U ADMIN -P ADMIN raw 0x30 0x68 0 8 | ```` 9 | -------------------------------------------------------------------------------- /1-discovering/snippets/Supermicro/SMT_X10_164_Enable_Event_Log.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Raw: 0x30 0x70 0xfb 0x01 3 | Param: See below 4 | 5 | Filename: SMT_X10_164.bin version: 1.64 Date: 09-03-2014 6 | 7 | Disable LSI event log temporarily 8 | LSI event log functions 9 | Use 0x30 0x70 0xfb 0x1 to enable event log function 10 | ```` 11 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/DCMI-Thermal Management Commands.txt: -------------------------------------------------------------------------------- 1 | Set Thermal Limit (O) - NetFn = DCGRP (0x2ch), CMD = 0x0bh, Privilege Level = Operator 2 | 3 | Get Thermal Limit (O) - NetFn = DCGRP (0x2ch), CMD = 0x0ch, Privilege Level = User 4 | 5 | Get Temperature Readings - NetFn = DCGRP (0x2ch), CMD = 0x10h, Privilege Level = User 6 | 7 | -------------------------------------------------------------------------------- /1-discovering/snippets/Supermicro/SMT_X9_107_Reset_to_Factory_Default_with_FRU.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Raw: 0x30 0x41 3 | 4 | Filename: SMT_X9_107.bin ver1.07 Date: 03-29-2011 5 | 6 | 2. Modify default FRU 7 | Description:Board Manufacture modified as “Supermicro” and all other entries cleared 8 | Note: Required OEM command raw 0x30 0x41(wait for BMC reset) to replace with the new FRU content 9 | ```` 10 | 11 | -------------------------------------------------------------------------------- /1-discovering/snippets/Supermicro/SMT_X10_023_AC_Power_On_Event_Log.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Raw: 0x30 0x70 0x64 3 | Param: See Below 4 | 5 | Filename: SMT_X10_023.bin version: 0.23 Date: 02-01-2013 SVN: 234 6 | 7 | Add AC Power On Event Log on web page 8 | Ipmi command, 0x30 0x70 0x64 9 | Data1 Get/Set →[0/1] 10 | Data2 set ac power on event flag → [0/1] //disable / enable 11 | ```` 12 | 13 | -------------------------------------------------------------------------------- /1-discovering/snippets/Supermicro/SMT_X10_135_GetSet_Dual_Boot_Block.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Raw: 0x30 0x70 0x68 3 | Param: See below 4 | 5 | Filename: SMT_X10_135.bin version: 1.35 Date: 03-14-2014 6 | 7 | 5. ipmitool -I lan -H -U ADMIN -P ADMIN raw 0x30 0x70 0x68 0x1 0x2 8 | (Change to boot block 2, and power off the system.) 9 | 10 | 7. After finishing the recovery, change back to boot block 1 by command. 11 | (ipmitool -I lan -H -U ADMIN -P ADMIN raw 0x30 0x70 0x68 0x1 0x1) 12 | ```` 13 | -------------------------------------------------------------------------------- /1-discovering/snippets/Supermicro/SMM_GetSetFan.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Raw: 0x30 0x70 0x0c 3 | Param: See below 4 | 5 | // for AMI 6 | LAN mode get: 7 | Input : NetFn 0x30 8 | Cmd 0x70 9 | Param1 0x0c 10 | Param2 0 [read] 11 | Param3 0 12 | Parem4 0 13 | Output: Completion Code 0x00 14 | Data 1 disable/enable [0/1] 15 | Data 2 dedicate/on-board [0/1] 16 | 17 | 18 | LAN mode set: 19 | Input : NetFn 0x30 20 | Cmd 0x70 21 | Param1 0x0c 22 | Param2 1 [write] 23 | Param3 [disable/enable] 24 | Param4 [dedicated/onBoard] -> 0/1 25 | ```` 26 | -------------------------------------------------------------------------------- /1-discovering/snippets/Supermicro/SMT_GetSetFan.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Raw: 0x30 0x70 0x0c 3 | Param: See below 4 | 5 | // for ATEN 6 | LAN mode get: 7 | Input : NetFn 0x30 8 | Cmd 0x70 9 | Param1 0x0c 10 | Param2 0 [read] 11 | 12 | Output: Completion Code 0x00 13 | Data [dedicated/onBoard/failover] 14 | 15 | LAN mode set: 16 | Input : NetFn 0x30 17 | Cmd 0x70 18 | Param1 0x0c 19 | Param2 1 [write] 20 | Param3 [dedicated/onBoard/failover] 21 | 22 | Output: Completion Code 0x00 23 | dedicated: 0 24 | onBoard: 1 25 | failover: 2 26 | ```` 27 | -------------------------------------------------------------------------------- /1-discovering/tools/probe-ipmi-netfn.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ICMD="ipmitool raw " 4 | 5 | for i in `seq $[0x0] 2 $[0xff]`; do 6 | for j in `seq 0 255`; do 7 | RAW="0x`printf %.2x $i` 0x`printf %.2x $j`" 8 | echo -n "$RAW |" 9 | OUTPUT=`$ICMD $RAW 2>&1 | cut -d: -f2- ` 10 | if [[ $OUTPUT == Unable* ]]; then 11 | OUTPUT=`$ICMD $RAW 2>&1 | cut -d: -f2- ` 12 | if [[ $OUTPUT == Unable* ]]; then 13 | OUTPUT=`$ICMD $RAW 2>&1 | cut -d: -f2- ` 14 | fi 15 | fi 16 | echo "$OUTPUT" 17 | done 18 | done | grep -v Invalid 19 | -------------------------------------------------------------------------------- /1-discovering/tools/probe-ipmi-ipnm-cpu-package-configuration-read.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ICMD="ipmitool -P ADMIN -t 0x2c raw " 4 | 5 | for i in `seq $[0x0] $[0xff]`; do 6 | INDEX="0x`printf %x $i`" 7 | RAW="0x2e 0x42 0x57 0x01 0x00 0x00 0x00 0x00 0x00 $INDEX" 8 | echo -n "PCS Index $INDEX |" 9 | OUTPUT=`$ICMD $RAW 2>&1 | cut -d: -f2- ` 10 | if [[ $OUTPUT == Unable* ]]; then 11 | OUTPUT=`$ICMD $RAW 2>&1 | cut -d: -f2- ` 12 | if [[ $OUTPUT == Unable* ]]; then 13 | OUTPUT=`$ICMD $RAW 2>&1 | cut -d: -f2- ` 14 | fi 15 | fi 16 | echo "$OUTPUT" 17 | done | grep -v Invalid 18 | -------------------------------------------------------------------------------- /3-implementing/1-shell-attempt/ipmi.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | IRAW="sudo ipmitool" 4 | 5 | while IFS=\| read IC PROTOCOL TEXT CMD PROCESS; do 6 | if echo $IC | grep -vq ^\# ; then 7 | case $IC in 8 | ME*) 9 | TARGET="0x2c";; 10 | *) 11 | TARGET="0x20";; 12 | esac 13 | 14 | echo '-------------------------------------' 15 | printf "%s\nTarget: %s [%s]\n\nRequest :%s\nResponse: %s\n" "$TEXT" "$IC" "$TARGET" "`echo $CMD | sed -e 's/0x//'`" "`$IRAW -t $TARGET raw $CMD 2>&1 | $PROCESS | perl -p -e 's/^ *//;s/ *$//;s/[\n\r]/ /'`" 16 | fi 17 | done < ipmi.cmds 18 | -------------------------------------------------------------------------------- /1-discovering/snippets/Supermicro/SMT_X9_217_Set_Link_Configuration.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Raw: 0x30 0x70 0x63 3 | Param: See below 4 | 5 | Filename: SMT_X9_217.bin version: 2.17 Date: 02-08-2013 6 | 7 | 1.[New Feature] Link Speed/Duplex can be configured manually through Web/OEM commands when Dedicated LAN mode is set 8 | 9 | OEM command format: 10 | NetFn:0x30/ CMD:0x70/ SubCMD:0x63 Set Link configuration (only for Dedicated LAN mode) 11 | Data 1: 0/1 [Get/Set] 12 | Data 2: 13 | 0 :Auto-neogitaion 14 | 1: 10M Half duplex 15 | 2: 10M Full duplex 16 | 3:100M Half duplex 17 | 4:100M Full duplex 18 | ```` 19 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/DCMI-Sensor and SDR Commands.txt: -------------------------------------------------------------------------------- 1 | Get DCMI Sensor Info - NetFn = DCGRP (0x2ch), CMD = 0x07h, Privilege Level = Operator 2 | [IPMI tool in Linux] 3 | ipmitool raw 0x2c 0x07 0xdc Data[2:5] 4 | 5 | For example 6 | [IPMI tool in Linux] 7 | $ ipmitool raw 0x2c 0x07 0xdc 0x01 0x41 0x00 0x00 8 | dc 00 00 00 00 9 | 10 | 11 | Reference 12 | [1] "Intelligent Platform Management Interface Specification Second Generation v2.0" 13 | [2] "Data Center Manageability Interface: Spec, V1.5" 14 | [3] "IPMItool" http://ipmitool.sourceforge.net/ 15 | [4] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 16 | [5] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/ 17 | -------------------------------------------------------------------------------- /2-documenting/AMI-YAFU/README.md: -------------------------------------------------------------------------------- 1 | # AMI YAFU 2 | 3 | Spotted on: X7SB3-F 4 | 5 | ``` 6 | NetFN: 0x32 7 | ---------------------------------- 8 | Cmd: 0x01 9 | Description: Get Flash Info 10 | Request: 11 | Byte 1:4 seqNum 12 | Byte 5:6 yafuCmd 13 | Byte 7:8 dataLen 14 | Byte 9:12 crc32 15 | 16 | Response: 17 | Byte 1:12 yafu 18 | Byte 13:16 flashSize 19 | Byte 17:20 flashAddress 20 | Byte 21:24 flashEraseBlkSize 21 | Byte 25:26 flashProductId 22 | Byte 27:28 reserved 23 | Byte 29:30 noEraseBlks 24 | ``` 25 | 26 | Example: 27 | 28 | ``` 29 | ipmitool -H 192.168.13.230 -U ADMIN -P ADMIN raw 0x32 0x01 0x00 0x00 0x00 0x02 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 30 | 00 00 00 02 01 00 20 00 10 31 08 7c 00 00 00 01 31 | 00 00 00 40 00 00 01 00 00 00 08 01 00 00 00 01 32 | ``` 33 | ---------------------------------- 34 | -------------------------------------------------------------------------------- /1-discovering/snippets/Supermicro/SMT_X10_118_GetSetPortsServices.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Raw: 0x30 0x70 0x67 3 | Param: See below 4 | 5 | Feature: Support port change and enable/disable function on both port setting web page and oem commad 6 | 7 | Cmd: 0x30 0x70 0x67 Get/Set ports & Services 8 | 9 | Request 10 | Data 1: 0/1 [Get/Set] 11 | Data 2: Port service 12 | 0: HTTP_PORT,1: HTTPS_PORT,2: IKVM_PORT,3:VM_PORT,4:SSH_PORT,5:WSMAN_PORT,6:HTTP_SERVICE, 13 | 7:HTTPS_SERVICE,8:IKVM_SERVICE,9:VM_SERVICE,10:SSH_SERVICE,11:WSMAN_SERVICE,12:SSL_REDIRECT 14 | Data 3-4 : [Set] 15 | Data 4: port number (LSB) 16 | Data 5: port number (MSB) 17 | Response 18 | [Get] 19 | Data1: completion code 20 | Data2: port number (LSB) 21 | Data3: port number (MSB) 22 | [Set] 23 | Data1: completion code 24 | ```` 25 | -------------------------------------------------------------------------------- /1-discovering/logs/probe-ipmi-netfn-X10SL7-F.SMT_X10_145.ME.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Supermicro X10SL7-F running SMT_X10_145 bridgint to Management Engine (IPMB address 0x2c) 3 | 4 | 0x4 0x0 | Request data length invalid 5 | 0x4 0x1 | 20 00 6 | 0x4 0x26 | Request data length invalid 7 | 0x4 0x27 | Request data length invalid 8 | 0x4 0x28 | Request data length invalid 9 | 0x4 0x29 | Request data length invalid 10 | 0x4 0x2a | Request data length invalid 11 | 0x4 0x2b | Request data length invalid 12 | 0x4 0x2d | Request data length invalid 13 | 0x6 0x1 | 50 01 03 05 02 21 57 01 00 03 0b 00 12 80 02 14 | 0x6 0x2 | 15 | 0x6 0x4 | 55 00 16 | 0xa 0x48 | e6 64 9b 53 17 | 0x30 0xa0 | 18 | 0x30 0xa1 | Request data length invalid 19 | 0x30 0xa2 | Request data length invalid 20 | 0x30 0xa3 | Request data length invalid 21 | 0x30 0xa4 | Request data length invalid 22 | 0x30 0xa6 | 16 01 00 00 00 00 00 00 00 00 23 | 0x30 0xa7 | 02 03 24 | ```` 25 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/DCMI-Platform and Asset Identification Commands.txt: -------------------------------------------------------------------------------- 1 | Get Asset Tag - NetFn = DCGRP (0x2ch), CMD = 0x06h, Privilege Level = User 2 | [IPMI tool in Linux] 3 | ipmitool raw 0x2c 0x06 0xdc 4 | ipmitool dcmi asset_tag 5 | 6 | For example 7 | [IPMI tool in Linux] 8 | $ ipmitool raw 0x2c 0x06 0xdc 0x00 0x10 9 | dc 04 41 42 43 44 00 00 00 00 00 00 00 00 00 00 10 | 00 00 11 | $ ipmitool dcmi asset_tag 12 | 13 | Asset tag: ABCD 14 | 15 | 16 | Set Asset Tag - NetFn = DCGRP (0x2ch), CMD = 0x08h, Privilege Level = Operator 17 | [IPMI tool in Linux] 18 | ipmitool raw 0x2c 0x08 0xdc Data[2:N] 19 | 20 | 21 | Reference 22 | [1] "Intelligent Platform Management Interface Specification Second Generation v2.0" 23 | [2] "Data Center Manageability Interface: Spec, V1.5" 24 | [3] "IPMItool" http://ipmitool.sourceforge.net/ 25 | [4] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 26 | [5] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/ 27 | -------------------------------------------------------------------------------- /1-discovering/snippets/Supermicro/SMx_PowerSupply_PMBus.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Raw: 0x06 0x52 0x07 0x78 0x01 0x78 3 | 4 | Question: 5 | We monitor power supplies in super server 1026T-URF4+ using these IPMI commands: 6 | ipmitool raw 0x06 0x52 0x07 0x78 0x01 0x78 7 | ipmitool raw 0x06 0x52 0x07 0x7a 0x01 0x78 8 | 9 | These commands return one byte of hex, which reads 01 when the PSU is operating normally and 48 if the PSU is unplugged. I determined code 48 experimentally, but now we're seeing code 4c in the field, and I don't know what that means. Can you either get a list of these response codes for the PSUs? 10 | 11 | Answer: 12 | The STATUS BITS of offset 0x78 in the PWS-703P-1R power supply are as below: 13 | #7 Not used, default = 0 14 | #6 Device is off due to PSON or for any reason (eg. Protection) = 1, else 0 15 | #5 Output OVP = 1, else 0 16 | #4 Output OCP = 1, else 0 17 | #3 VIN under voltage = 1, else 0 18 | #2 OTP = 1, else 0 19 | #1 Not used, default = 0 20 | #0 None of the above (Power is good and turned on) = 1, else 0 21 | ```` 22 | 23 | -- 24 | Source: http://www.supermicro.com/support/faqs/faq.cfm?faq=13424 25 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPNM-SEL Device Commands.txt: -------------------------------------------------------------------------------- 1 | Get SEL Time - NetFn = Storage (0x0Ah), CMD = 0x48h 2 | [IPMI tool in Linux] 3 | ipmitool -b -t
raw 0x0a 0x48 4 | ipmitool -b -t
sel time get 5 | 6 | For example 7 | [IPMI tool in Linux] 8 | $ ipmitool -b 0x06 -t 0x2c raw 0x0a 0x48 9 | 0b 2f e5 51 10 | $ ipmitool -b 0x06 -t 0x2c sel time get 11 | 07/18/2013 18:15:43 12 | 13 | 14 | Get SEL Entry - NetFn = Storage (0x0Ah), CMD = 0x43h 15 | [IPMI tool in Linux] 16 | ipmitool -b -t
raw 0x0a 0x43 Byte[1:6] 17 | 18 | For example 19 | [IPMI tool in Linux] 20 | $ ipmitool -b 0x06 -t 0x2c raw 0x0a 0x43 0x00 0x00 0x00 0x01 0x00 0xff 21 | 01 01 00 01 ef 00 00 00 00 bc 93 04 00 00 00 00 22 | 00 00 23 | 24 | 25 | [1] "Intel® Intelligent Power Node Manager 2.0" http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/intelligent-power-node-manager-specification.pdf 26 | [2] "Intel® Intelligent Power Node Manager 1.5" http://www.intel.com/content/dam/doc/technical-specification/intelligent-power-node-manager-1-5-specification.pdf 27 | [3] "Intelligent Platform Management Interface Specification Second Generation v2.0" 28 | [4] "IPMItool" http://ipmitool.sourceforge.net/ 29 | [5] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 30 | [6] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net 31 | 32 | Acknowledges the Following Trademarks: 33 | Intel® is a registered trademark of the Intel Corporation. 34 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/DCMI-DCMI Capabilities and Discovery Configuration Commands.txt: -------------------------------------------------------------------------------- 1 | Get DCMI Capabilities Info - NetFn = DCGRP (0x2ch), CMD = 0x01h, Privilege Level = User 2 | [IPMI tool in Linux] 3 | ipmitool raw 0x2c 0x01 0xdc 0x01 4 | [IPMI tool under DOS] 5 | ipmitool 20 b0 01 dc 01 6 | [IPMIUTIL] 7 | ipmiutil cmd 00 20 b0 01 dc 01 8 | 9 | For example 10 | [IPMI tool in Linux] 11 | $ ipmitool raw 0x2c 0x01 0xdc 0x01 12 | dc 01 00 02 0f 00 39 13 | [IPMI tool under DOS] 14 | C:\> ipmitool 20 b0 01 dc 01 15 | b4 01 00 dc 01 00 02 0f 00 39 16 | 17 | Set DCMI Configuration Parameters - NetFn = DCGRP (0x2ch), CMD = 0x12h, Privilege Level = Admin 18 | Get DCMI COnfiguration Parameters - NetFn = DCGRP (0x2ch), CMD = 0x13h, Privilege Level = User 19 | 20 | 21 | Get Management Controller Identifier String - NetFn = DCGRP (0x2ch), CMD = 0x09h, Privilege Level = User 22 | [IPMI tool in Linux] 23 | ipmitool raw 0x2c 0x09 0xdc Data[2:3] 24 | [IPMI tool under DOS] 25 | ipmitool 20 b0 09 dc Data[2:3] 26 | 27 | For example 28 | [IPMI tool in Linux] 29 | $ ipmitool raw 0x2c 0x09 0xdc 0x00 0x10 30 | dc 0f 41 41 41 33 33 33 33 33 41 30 30 30 30 30 31 | 30 00 32 | [IPMI tool under DOS] 33 | C:\> ipmitool 20 b0 09 dc 00 10 34 | b4 09 00 dc 0f 41 41 41 33 33 33 33 33 41 30 30 30 30 30 30 00 35 | 36 | 37 | Set Management Controller Identifier String - NetFn = DCGRP (0x2ch), CMD = 0x0ah, Privilege Level = ADMIN 38 | [IPMI tool in Linux] 39 | ipmitool raw 0x2c 0x0a 0xdc Data[2:N] 40 | 41 | 42 | Reference 43 | [1] "Intelligent Platform Management Interface Specification Second Generation v2.0" 44 | [2] "Data Center Manageability Interface: Spec, V1.5" 45 | [3] "IPMItool" http://ipmitool.sourceforge.net/ 46 | [4] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 47 | [5] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/ 48 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPMI-BMC Watchdog Timer Commands.txt: -------------------------------------------------------------------------------- 1 | Reset Watchdog Timer - NetFn = App (0x06h), CMD = 0x22h 2 | [IPMI tool in Linux] 3 | ipmitool raw 0x06 0x22 4 | ipmitool mc watchdog reset 5 | [IPMI tool under DOS] 6 | ipmitool 20 18 22 7 | 8 | For exmaple 9 | [IPMI tool in Linux] 10 | $ ipmitool mc watchdog reset 11 | IPMI Watchdog Timber Reset - countdown restarted! 12 | 13 | 14 | 15 | Set Watchdog Timer - NetFn = App (0x06h), CMD = 0x24h 16 | [IPMI tool in Linux] 17 | ipmitool raw 0x06 0x24 Data[1:6] 18 | ipmitool mc watchdog off 19 | [IPMI tool under DOS] 20 | ipmitool 20 18 24 Data[1:6] 21 | 22 | For example 23 | [IPMI tool in Linux] 24 | $ ipmitool mc watchdog off 25 | Watchdog Timer Shutoff successful -- timer stopped 26 | 27 | 28 | Get Watchdog Timer - NetFn = App (0x06h), CMD = 0x25h 29 | [IPMI tool in Linux] 30 | ipmitool raw 0x06 0x25 31 | ipmitool mc watchdog get 32 | [IPMI tool under DOS] 33 | ipmitool 20 18 25 34 | 35 | For example 36 | [IPMI tool in Linux] 37 | $ ipmitool raw 0x06 0x25 38 | 81 03 01 00 64 00 64 00 39 | $ ipmitool mc watchdog get 40 | Watchdog Timer Use: BIOS FRB2 (0x81) 41 | Watchdog Timer Is: Stopped 42 | Watchdog Timer Actions: Power Cycle (0x03) 43 | Pre-timeout interval: 1 seconds 44 | Timer Expiration Flags: 0x00 45 | Initial Countdown: 10 sec 46 | Present Countdown: 10 sec 47 | 48 | 49 | For example 50 | [IPMI tool in Linux] 51 | Step 1. Set Watchdog Timer 52 | $ ipmitool raw 0x06 0x24 0x01 0x03 0x01 0x02 0x64 0x00 53 | Step 2. Reset Watchdog Timer 54 | $ ipmitool raw 0x06 0x22 55 | Step 3. Get Watchdog Timer 56 | $ ipmitool raw 0x06 0x25 57 | 58 | 59 | 60 | Reference 61 | [1] "Intelligent Platform Management Interface Specification Second Generation v2.0" 62 | [2] "IPMItool" http://ipmitool.sourceforge.net/ 63 | [3] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 64 | [4] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/ 65 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPNM-External DCMI power management commands.txt: -------------------------------------------------------------------------------- 1 | Get DCMI Capability Info - NetFn = DCGRP (0x2Ch), CMD = 0x01h 2 | [IPMI tool in Linux] 3 | ipmitool -b -t
raw 0x2c 0x01 0xdc Byte[2] 4 | 5 | For example 6 | [IPMI tool in Linux] 7 | $ ipmitool -b 0x06 -t 0x2c raw 0x2c 0x01 0xdc 0x05 8 | dc 01 05 02 09 05 0f 1e 41 43 47 4f 5e 81 9 | 10 | 11 | Get Power Reading - NetFn = DCGRP (0x2Ch), CMD = 0x02h 12 | [IPMI tool in Linux] 13 | ipmitool -b -t
raw 0x2c 0x02 0xdc Byte[2:4] 14 | 15 | For example 16 | [IPMI tool in Linux] 17 | $ ipmitool -b 0x06 -t 0x2c raw 0x2c 0x02 0xdc 0x01 0x00 0x00 18 | dc 00 00 00 00 00 00 00 00 81 7e 20 53 a0 13 29 19 | 00 00 20 | 21 | 22 | Get Power Limit - NetFn = DCGRP (0x2Ch), CMD = 0x03h 23 | [IPMI tool in Linux] 24 | ipmitool -b -t
raw 0x2c 0x03 0xdc Byte[2:4] 25 | 26 | 27 | Set Power Limit - NetFn = DCGRP (0x2Ch), CMD = 0x04h 28 | [IPMI tool in Linux] 29 | ipmitool -b -t
raw 0x2c 0x04 0xdc Byte[2:15] 30 | 31 | 32 | Activate/Deactivate Power Limit - NetFn = DCGRP (0x2Ch), CMD = 0x05h 33 | [IPMI tool in Linux] 34 | ipmitool -b -t
raw 0x2c 0x05 0xdc Byte[2:4] 35 | 36 | 37 | [1] "Intel® Intelligent Power Node Manager 2.0" 38 | http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/intelligent-power-node-manager-specification.pdf 39 | [2] "Intel® Intelligent Power Node Manager 1.5" http://www.intel.com/content/dam/doc/technical-specification/intelligent-power-node-manager-1-5-specification.pdf 40 | [3] "Intelligent Platform Management Interface Specification Second Generation v2.0" 41 | [4] "IPMItool" http://ipmitool.sourceforge.net/ 42 | [5] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 43 | [6] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net 44 | 45 | Acknowledges the Following Trademarks: 46 | Intel® is a registered trademark of the Intel Corporation. 47 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPNM-IPMI OEM Device Commands.txt: -------------------------------------------------------------------------------- 1 | Set ME Power State - NetFn = 0x2Eh, CMD = 0xDCh 2 | [IPMI tool in Linux] 3 | ipmitool -b -t
raw 0x2e 0xdc 0x57 0x01 0x00 Byte[4] 4 | 5 | 6 | Set ME FW Capabilities - NetFn = 0x2Eh, CMD = 0xDDh 7 | [IPMI tool in Linux] 8 | ipmitool -b -t
raw 0x2e 0xdd 0x57 0x01 0x00 Byte[4:13] 9 | 10 | For example 11 | [IPMI tool in Linux] 12 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xdd 0x57 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xff 13 | 57 01 00 03 05 38 20 02 f0 00 01 7f 03 14 | 15 | 16 | Get ME FW Capabilities - NetFn = 0x2Eh, CMD = 0xDEh 17 | [IPMI tool in Linux] 18 | ipmitool -b -t
raw 0x2e 0xde 0x57 0x01 0x00 Byte[4:11] 19 | 20 | For example 21 | [IPMI tool in Linux] 22 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xde 0x57 0x01 0x00 0x0 0x0 0x0 0x0 0x02 0x00 0x00 0xff 23 | 57 01 00 03 05 38 20 02 f0 00 01 7f 03 24 | 25 | 26 | Force ME Recovery - NetFn = 0x2Eh, CMD = 0xDFh 27 | [IPMI tool in Linux] 28 | ipmitool -b -t
raw 0x2e 0xdf 0x57 0x01 0x00 Byte[1] 29 | 30 | For example 31 | [IPMI tool in Linux] 32 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xdf 0x57 0x01 0x00 0x01 33 | 57 01 00 34 | 35 | 36 | Get ME Factory Presets Signature - NetFn = 0x2Eh, CMD = 0xE0h 37 | [IPMI tool in Linux] 38 | ipmitool -b -t
raw 0x2e 0xe0 0x57 0x01 0x00 39 | 40 | 41 | [1] "Intel® Intelligent Power Node Manager 2.0" http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/intelligent-power-node-manager-specification.pdf 42 | [2] "Intel® Intelligent Power Node Manager 1.5" http://www.intel.com/content/dam/doc/technical-specification/intelligent-power-node-manager-1-5-specification.pdf 43 | [3] "Intelligent Platform Management Interface Specification Second Generation v2.0" 44 | [4] "IPMItool" http://ipmitool.sourceforge.net/ 45 | [5] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 46 | [6] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net 47 | 48 | Acknowledges the Following Trademarks: 49 | Intel® is a registered trademark of the Intel Corporation. 50 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPNM-IPMI Device Global Commands.txt: -------------------------------------------------------------------------------- 1 | Get Device ID - NetFn = App (0x06h), CMD = 0x01h 2 | [IPMI tool in Linux] 3 | ipmitool -b -t
raw 0x06 0x01 4 | ipmitool -b -t
mc info 5 | 6 | For example 7 | [IPMI tool in Linux] 8 | $ ipmitool -b 0x06 -t 0x2c raw 0x06 0x01 9 | 50 01 02 17 02 21 57 01 00 02 0b 02 22 50 01 10 | $ ipmitool -b 0x06 -t 0x2c mc info 11 | Device ID : 80 12 | Device Revision : 1 13 | Firmware Revision : 2.17 14 | IPMI Version : 2.0 15 | Manufacturer ID : 343 16 | Manufacturer Name : Intel Corporation 17 | Product ID : 2818 (0x0b02) 18 | Product Name : Unknown (0xB02) 19 | Device Available : yes 20 | Provides Device SDRs : no 21 | Additional Device Support : 22 | Sensor Device 23 | IPMB Event Generator 24 | Aux Firmware Rev Info : 25 | 0x02 26 | 0x12 27 | 0x90 28 | 0x01 29 | 30 | 31 | Cold Reset - NetFn = App (0x06h), CMD = 0x02h 32 | [IPMI tool in Linux] 33 | ipmitool -b -t
raw 0x06 0x02 34 | 35 | For example 36 | [IPMI tool in Linux] 37 | $ ipmitool -b 0x06 -t 0x2c raw 0x06 0x02 38 | 39 | 40 | Get Self Test Results - NetFn = App (0x06h), CMD = 0x04h 41 | [IPMI tool in Linux] 42 | ipmitool -b -t
raw 0x06 0x04 43 | 44 | For example 45 | [IPMI tool in Linux] 46 | $ ipmitool -b 0x06 -t 0x2c raw 0x06 0x04 47 | 80 03 48 | 49 | 50 | [1] "Intel® Intelligent Power Node Manager 2.0" http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/intelligent-power-node-manager-specification.pdf 51 | [2] "Intel® Intelligent Power Node Manager 1.5" http://www.intel.com/content/dam/doc/technical-specification/intelligent-power-node-manager-1-5-specification.pdf 52 | [3] "Intelligent Platform Management Interface Specification Second Generation v2.0" 53 | [4] "IPMItool" http://ipmitool.sourceforge.net/ 54 | [5] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 55 | [6] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net 56 | 57 | Acknowledges the Following Trademarks: 58 | Intel® is a registered trademark of the Intel Corporation. 59 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPMI-Firmware Firewall Commands.txt: -------------------------------------------------------------------------------- 1 | Get NetFn Support - NetFn = App (0x06h), CMD = 0x09h 2 | [IPMI tool in Linux] 3 | ipmitool raw 0x06 0x09 Data[1] 4 | [IPMI tool under DOS] 5 | ipmitool 20 18 09 Data[1] 6 | 7 | For example 8 | [IPMI tool in Linux] 9 | $ ipmitool raw 0x06 0x09 0x00 10 | 02 6f 00 00 0b 00 00 00 00 00 00 00 00 00 00 00 11 | 00 12 | 13 | 14 | Get Command Support - NetFn = App (0x06h), CMD = 0x0ah 15 | [IPMI tool in Linux] 16 | ipmitool raw 0x06 0x0a Data[1:3] 17 | [IPMI tool under DOS] 18 | ipmitool 20 18 0a Data[1:3] 19 | 20 | For example 21 | [IPMI tool in Linux] 22 | $ ipmitool raw 0x06 0x0a 0x01 0x0a 0x00 23 | ff ff 00 00 00 0e 00 00 00 00 00 0c 00 00 00 00 24 | 25 | 26 | Get Command Sub-function Support - NetFn = App (0x06h), CMD = 0xbh 27 | [IPMI tool in Linux] 28 | ipmitool raw 0x06 0x0b Data[1:4] 29 | [IPMI tool under DOS] 30 | ipmitool 20 18 0b Data[1:4] 31 | 32 | For example 33 | [IPMI tool in Linux] 34 | $ ipmitool raw 0x06 0x0b 0x01 0x06 0x00 0x1 35 | 00 20 10 ff ff ff ff 36 | 37 | 38 | Get Configure Commands - NetFn = App (0x06h), CMD = 0x0ch 39 | [IPMI tool in Linux] 40 | ipmitool raw 0x06 0x0c Data[1:3] 41 | [IPMI tool under DOS] 42 | ipmitool 20 18 0c Data[1:3] 43 | 44 | For example 45 | [IPMI tool in Linux] 46 | $ ipmitool raw 0x06 0x0c 0x01 0x00 0x00 47 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 | 49 | 50 | Get Configure Commands Sub-functions - NetFn = App (0x06h), CMD = 0x0dh 51 | [IPMI tool in Linux] 52 | ipmitool raw 0x06 0x0d Data[1:4] 53 | [IPMI tool under DOS] 54 | ipmitool 20 18 0d Data[1:4] 55 | 56 | For example 57 | [IPMI tool in Linux] 58 | $ ipmitool raw 0x06 0x0d 0x01 0x06 0x00 0x1 59 | 00 00 00 00 60 | 61 | 62 | Set Command Enables - NetFn = App (0x06h), CMD = 0x60h 63 | Get Command Enables - NetFn = App (0x06h), CMD = 0x61h 64 | Set Command Sub-function Enables - NetFn = App (0x06h), CMD = 0x62h 65 | Get Command Sub-function Enables - NetFn = App (0x06h), CMD = 0x63h 66 | Get OEM NetFn IANA Support - NetFn = App (0x06h), CMD = 0x64h 67 | 68 | 69 | Reference 70 | [1] "Intelligent Platform Management Interface Specification Second Generation v2.0" 71 | [2] "IPMItool" http://ipmitool.sourceforge.net/ 72 | [3] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 73 | [4] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/ 74 | -------------------------------------------------------------------------------- /3-implementing/1-shell-attempt/ipmi.cmds: -------------------------------------------------------------------------------- 1 | BMC|IPMI|Get Device ID|0x06 0x01|cat 2 | BMC|IPMI|Read FRU Data|0x0a 0x11 0x00 0x00 0x00 0xff|cat 3 | BMC|IPMI|Write FRU Data|0x0a 0x12 0x00 0x00 0x00 0x01 0x01 0x02 0x04 0x08 0x00 0x00 0xf0|cat 4 | BMC|DCMI|Get DCMI Capabilities Info #1|0x2c 0x01 0xdc 0x01|cat 5 | BMC|DCMI|Get DCMI Capabilities Info #2|0x2c 0x01 0xdc 0x02|cat 6 | BMC|DCMI|Get DCMI Capabilities Info #3|0x2c 0x01 0xdc 0x03|cat 7 | BMC|DCMI|Get DCMI Capabilities Info #4|0x2c 0x01 0xdc 0x04|cat 8 | BMC|DCMI|Get DCMI Capabilities Info #5 (opt)|0x2c 0x01 0xdc 0x05|cat 9 | BMC|DCMI|Get DCMI Sensor Info|0x2c 0x07 0xdc 0x01 0x41 0x00 0x00|cat 10 | BMC|DCMI|Get DCMI Configuration Parameters #1|0x2c 0x13 0xdc 0x01|cat 11 | BMC|DCMI|Get Asset Tag|0x2c 0x06 0xdc 0x00 0x10|xxd -r 12 | BMC|DCMI|Get Management Controller Identifier String|0x2c 0x09 0xdc 0x00 0x10|xxd -r 13 | BMC|DCMI|Get Power Reading|0x2c 0x02 0xdc 0x01 0x01 0x00|cat 14 | #BMC|DCMI|Set Management Controller Identifier String|0x2c 0x0a 0xdc 0x00 0x0e 0x6e 0x6f 0x6f 0x2d 0x64 0x65 0x65 0x64 0x65 0x65 0x2d 0x6e 0x6f 0x6f|cat 15 | ME|IPMI|Get Device ID|0x06 0x01|cat 16 | ME|IPNM|Get ME Factory Presets Signature|0x2e 0xe0 0x57 0x01 0x00|cat 17 | ME|IPNM|Get ME FW Capabilities|0x2e 0xde 0x57 0x01 0x00 0x0 0x0 0x0 0x0 0x02 0x00 0x00 0xff|cat 18 | ME|IPNM|PECI Ping()|0x2e 0x40 0x57 0x01 0x00 0x30 0x00 0x00|cat 19 | ME|IPNM|PECI GetDIB()|0x2e 0x40 0x57 0x01 0x00 0x30 0x01 0x08 0xf7|cat 20 | ME|IPNM|PECI GetTemp()|0x2e 0x40 0x57 0x01 0x00 0x30 0x01 0x02 0x01|cat 21 | ME|IPNM|PECI RdPkgConfig(CPU ID)|0x2e 0x40 0x57 0x01 0x00 0x30 0x05 0x05 0xa1 0x00 0x00 0x00 0x00|cat 22 | ME|IPNM|PECI RdIAMSR(IA32_PLATFORM_ID)|0x2e 0x40 0x57 0x01 0x00 0x30 0x05 0x05 0xb1 0x00 0x00 0x00 0x00|cat 23 | ME|IPNM|CPU Package Configuration Read|0x2e 0x42 0x57 0x01 0x00 0x00 0x00 0x00 0x00 0x03|cat 24 | ME|IPNM|PECI RdPCIConfigLocal()|0x2e 0x40 0x57 0x01 0x00 0x30 0x05 0x05 0xe1 0x00 0x00 0x00 0x00|cat 25 | ME|IPNM|CPU PCI Configuration Read (Pre-Boot)|0x2e 0x44 0x57 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x03|cat 26 | ME|IPNM|CPU IA MSR Read (IA32_PLATFORM_ID)|0x2e 0x46 0x57 0x01 0x00 0x00 0x00 0x17 0x00 0x04|cat 27 | ME|IPNM|Get CPU and Memory Temperature|0x2e 0x4b 0x57 0x01 0x00 0x0f 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff| 28 | ME|IPNM|Get PSU Configuration|0x2e 0xd8 0x57 0x01 0x00 0x00|cat 29 | ME|IPNM|Get Host CPU Configuration|0x2e 0xea 0x57 0x01 0x00 0x00|cat 30 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPMI-RMCP+ Support and Payload Commands.txt: -------------------------------------------------------------------------------- 1 | Activate Payload - NetFn = App (0x06h), CMD = 0x48h 2 | [IPMI tool in Linux] 3 | ipmitool raw 0x06 0x48 Data[1:6] 4 | 5 | For example 6 | [IPMI tool in Linux] 7 | $ ipmitool raw 0x06 0x48 0x01 0x01 0x00 0x00 0x00 0x00 8 | 00 00 00 00 fc 00 fc 00 02 6f ff ff 9 | 10 | 11 | Deactivate Payload - NetFn = App (0x06h), CMD = 0x49h 12 | [IPMI tool in Linux] 13 | ipmitool raw 0x06 0x49 Data[1:6] 14 | 15 | For example 16 | [IPMI tool in Linux] 17 | $ ipmitool raw 0x06 0x49 0x01 0x01 0x00 0x00 0x00 0x00 18 | 19 | Test steps: 20 | Step 1. SOL activate command 21 | Step 2. Deactivate Payload command 22 | Step 3. Check SOL will malfunction 23 | 24 | 25 | Suspend/Resume Payload Encryption Command - NetFn = App (0x06h), CMD = 0x55h 26 | 27 | 28 | Get Payload Activation Status - NetFn = App (0x06h), CMD = 0x4ah 29 | [IPMI tool in Linux] 30 | ipmitool raw 0x06 0x4a Data[1] 31 | 32 | For example 33 | [IPMI tool in Linux] 34 | $ ipmitool raw 0x06 0x4a 0x00 35 | 0f 01 00 36 | 37 | 38 | Get Payload Instance Info - NetFn = App (0x06h), CMD = 0x4bh 39 | [IPMI tool in Linux] 40 | ipmitool raw 0x06 0x4b Data[1:2] 41 | 42 | For example 43 | [IPMI tool in Linux] 44 | $ ipmitool raw 0x06 0x4b 0x01 0x01 45 | 00 00 00 00 00 00 00 00 00 00 00 00 46 | 47 | 48 | Set User Payload Access Command - NetFn = App (0x06h), CMD = 0x4ch 49 | 50 | 51 | Get User Payload Access Command - NetFn = App (0x06h), CMD = 0x4dh 52 | [IPMI tool in Linux] 53 | ipmitool raw 0x06 0x4d Data[1:2] 54 | 55 | For example 56 | [IPMI tool in Linux] 57 | $ ipmitool raw 0x06 0x4d 0x01 0x01 58 | 02 00 00 00 59 | 60 | 61 | Get Channel Payload Support Command - NetFn = App (0x06h), CMD = 0x4eh 62 | [IPMI tool in Linux] 63 | ipmitool raw 0x06 0x4e Data[1] 64 | 65 | For example 66 | [IPMI tool in Linux] 67 | $ ipmitool raw 0x06 0x4e 0x01 68 | 03 00 3f 00 00 00 00 00 69 | 70 | 71 | Get Channel Payload Version Command - NetFn = App (0x06h), CMD = 0x4fh 72 | [IPMI tool in Linux] 73 | ipmitool raw 0x06 0x4f Data[1:2] 74 | 75 | For example 76 | [IPMI tool in Linux] 77 | $ ipmitool raw 0x06 0x4f 0x01 0x00 78 | 10 79 | 80 | 81 | Get Channel OEM Payload Info Command - NetFn = App (0x06h), CMD = 0x50h 82 | 83 | 84 | Reference 85 | [1] "Intelligent Platform Management Interface Specification Second Generation v2.0" 86 | [2] "IPMItool" http://ipmitool.sourceforge.net/ 87 | [3] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 88 | [4] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/ 89 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPMI-FRU Commands.txt: -------------------------------------------------------------------------------- 1 | Get FRU Inventory Area Info - NetFn = Storage (0x0ah), CMD = 0x10h 2 | [IPMI tool in Linux] 3 | ipmitool raw 0x0a 0x10 Data[1] 4 | [IPMI tool under DOS] 5 | ipmitool 20 28 10 Data[1] 6 | 7 | For example 8 | [IPMI tool in Linux] 9 | $ ipmitool raw 0x0a 0x10 0x00 10 | ff 00 00 11 | 12 | 13 | Read FRU Data - NetFn = Storage (0x0ah), CMD = 0x11h 14 | [IPMI tool in Linux] 15 | ipmitool raw 0x0a 0x11 Data[1:4] 16 | ipmitool fru 17 | ipmitool fru print 18 | [IPMI tool under DOS] 19 | ipmitool 20 28 11 Data[1:4] 20 | 21 | For example 22 | [IPMI tool in Linux] 23 | $ ipmitool raw 0x0a 0x11 0x00 0x00 0x00 0xff 24 | 68 01 01 02 04 08 00 00 f0 01 00 01 04 00 00 03 25 | 00 00 00 17 00 00 30 00 30 c0 c0 c1 00 00 00 00 26 | f2 01 04 00 9c 00 8b c3 00 00 00 c4 00 03 00 30 27 | c0 c7 4d 00 2d 00 30 00 00 c0 c0 c1 00 00 00 00 28 | ba 01 05 00 c3 00 00 00 c7 40 00 00 00 30 00 00 29 | c7 40 50 20 50 30 30 30 c0 30 2e 30 c0 c0 c0 c0 30 | c1 00 00 00 00 00 00 00 19 31 | $ ipmitool fru 32 | FRU Device Description : Builtin FRU Device (ID 0) 33 | Chassis Type : Rack Mount Chassis 34 | Chassis Part Number : S000 35 | Board Mfg Date : Tue May 7 05:20:00 2013 36 | Board Mfg : CPC 37 | Board Product : S000 38 | Board Part Number : RX-0000 39 | Product Manufacturer : CPC 40 | Product Name : XXXXXX 41 | Product Part Number : XXXXXX 42 | Product Version : 1.1 43 | $ ipmitool fru print 0x00 44 | FRU Device Description : Builtin FRU Device (ID 0) 45 | Chassis Type : Rack Mount Chassis 46 | Chassis Part Number : S000 47 | Board Mfg Date : Tue May 7 05:20:00 2013 48 | Board Mfg : CPC 49 | Board Product : S000 50 | Board Part Number : RX-0000 51 | Product Manufacturer : CPC 52 | Product Name : XXXXXX 53 | Product Part Number : XXXXXX 54 | Product Version : 1.1 55 | 56 | 57 | Write FRU Data - NetFn = Storage (0x0ah), CMD = 0x12h 58 | [IPMI tool in Linux] 59 | ipmitool raw 0x0a 0x12 Data[1:N] 60 | [IPMI tool under DOS] 61 | ipmitool 20 28 12 Data[1:N] 62 | 63 | For example 64 | [IPMI tool in Linux] 65 | $ipmitool raw 0x0a 0x12 0x00 0x00 0x00 0x01 0x01 0x02 0x04 0x08 0x00 0x00 0xF0 66 | 08 67 | 68 | 69 | Reference 70 | [1] "Intelligent Platform Management Interface Specification Second Generation v2.0" 71 | [2] "- IPMI - Platform Management FRU Information Storage Definition v1.0" 72 | [3] "IPMItool" http://ipmitool.sourceforge.net/ 73 | [4] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 74 | [5] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/ 75 | 76 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/DCMI-Power Management Commands.txt: -------------------------------------------------------------------------------- 1 | Get Power Reading (O) - NetFn = DCGRP (0x2ch), CMD = 0x02h, Privilege Level = User 2 | [IPMI tool in Linux] 3 | ipmitool raw 0x2c 0x02 0xdc Data[2:4] 4 | ipmitool dcmi power reading 5 | 6 | For example 7 | [IPMI tool in Linux] 8 | $ipmitool raw 0x2c 0x02 0xdc 0x01 0x01 0x00 9 | dc 28 00 1e 00 47 00 1e 00 1b 58 8c 51 88 13 00 10 | 00 01 11 | $ ipmitool dcmi power reading 12 | 13 | Instantaneous power reading: 42 Watts 14 | Minimum during sampling period: 2 Watts 15 | Maximum during sampling period: 81 Watts 16 | Average power reading over sample period: 31 Watts 17 | IPMI timestamp: Wed May 15 00:03:26 2013 18 | Sampling period: 00005000 Milliseconds 19 | Power reading state is: deactivated 20 | 21 | 22 | Get Power Limit (O) - NetFn = DCGRP (0x2ch), CMD = 0x03h, Privilege Level = User 23 | [IPMI tool in Linux] 24 | ipmitool raw 0x2c 0x03 0xdc 0x00 0x00 25 | ipmitool dcmi power get_limit 26 | 27 | For example 28 | [IPMI tool in Linux] 29 | $ ipmitool raw 0x2c 0x03 0xdc 0x00 0x00 30 | dc 00 00 01 f4 01 e8 03 00 00 00 00 05 00 31 | $ ipmitool dcmi power get_limit 32 | 33 | Current Limit State: Power Limit Active 34 | Exception actions: Hard Power Off & Log Event to SEL 35 | Power Limit: 500 Watts 36 | Correction time: 1000 milliseconds 37 | Sampling period: 5 seconds 38 | 39 | 40 | Set Power Limit (O) - NetFn = DCGRP (0x2ch), CMD = 0x04h, Privilege Level = Operator 41 | [IPMI tool in Linux] 42 | ipmitool raw 0x2c 0x04 0xdc 0x01 0x00 0x00 Data[5:15] 43 | ipmitool dcmi power set_limit 44 | 45 | For example 46 | [IPMI tool in Linux] 47 | $ ipmitool raw 0x2c 0x04 0xdc 0x00 0x00 0x01 0x11 0x02 0x02 0x01 0x01 0x01 0x20 0x01 0x01 0x10 0x10 48 | 49 | 50 | Activate Power Limit (O) - NetFn = DCGRP (0x2ch), CMD = 0x05h, Privilege Level = Operator 51 | [IPMI tool in Linux] 52 | ipmitool raw 0x2c 0x05 0xdc Data[2:4] 53 | ipmitool dcmi power deactivate 54 | ipmitool dcmi power activate 55 | 56 | For example 57 | [IPMI tool in Linux] 58 | $ ipmitool raw 0x2c 0x05 0xdc 0x01 0x00 0x00 59 | dc 60 | $ ipmitool dcmi power deactivate 61 | 62 | Power limit successfully deactivated 63 | 64 | $ ipmitool dcmi power activate 65 | 66 | Power limit successfully activated 67 | 68 | 69 | Scenario to set power limit: 70 | 1. Get Power Reading 71 | 2. Get Power Limit 72 | 3. Deactivate Power Limit 73 | 4. Set Power Limit 74 | 5. Activate Power Limit 75 | 76 | 77 | Reference 78 | [1] "Intelligent Platform Management Interface Specification Second Generation v2.0" 79 | [2] "Data Center Manageability Interface: Spec, V1.5" 80 | [3] "IPMItool" http://ipmitool.sourceforge.net/ 81 | [4] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 82 | [5] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/ 83 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPMI-SOL Commands.txt: -------------------------------------------------------------------------------- 1 | SOL Activating - NetFn = Transport (0x0ch), CMD = 0x20h 2 | [IPMI tool in Linux] 3 | ipmitool -I lanplus -H [ip addr] -U [user] -P [PWD] sol activate 4 | ipmitool -I lanplus -H [ip addr] -U [user] -P [PWD] sol deactivate 5 | 6 | For example 7 | [IPMI tool in Linux] 8 | $ ipmitool -I lanplus -H 192.168.1.5 -U user -P pwd sol activate 9 | [SOL Session operational. Use ~? for help] 10 | 11 | 12 | Set SOL Configuration Parameters - Transport(0x0ch), CMD = 21h 13 | [IPMI tool in Linux] 14 | ipmitool sol [] 15 | 16 | For example 17 | $ ipmitool sol set volatile-bit-rate 115.2 1 18 | $ ipmitool sol set non-volatile-bit-rate 115.2 19 | 20 | 21 | Get SOL Configuration Parameters - NetFn = Transport (0x0ch), CMD = 0x22h 22 | [IPMI tool in Linux] 23 | ipmitool raw 0x0c 0x22 Data[1:4] 24 | ipmitool sol info [] 25 | [IPMI tool under DOS] 26 | ipmitool 20 30 22 Data[1:4] 27 | 28 | For example 29 | [IPMI tool in Linux] 30 | $ ipmitool raw 0x0c 0x22 0x01 0x05 0x00 0x00 31 | 11 0a 32 | $ ipmitool sol info 0x01 33 | Set in progress : set-complete 34 | Enabled : true 35 | Force Encryption : false 36 | Force Authentication : false 37 | Privilege Level : USER 38 | Character Accumulate Level (ms) : 60 39 | Character Send Threshold : 96 40 | Retry Count : 7 41 | Retry Interval (ms) : 500 42 | Volatile Bit Rate (kbps) : 115.2 43 | Non-Volatile Bit Rate (kbps) : 115.2 44 | Payload Channel : 1 (0x01) 45 | Payload Port : 623 46 | 47 | [IPMI tool under DOS] 48 | c:\> ipmitool 20 30 22 01 05 00 00 49 | 34 22 00 11 0a 50 | 51 | 52 | ======================================================= 53 | SOL operation 54 | 55 | For example 56 | [IPMI tool in Linux] 57 | $ ipmitool -I lanplus -H 192.168.1.5 -U user -P pwd sol activate 58 | [SOL Session operational. Use ~? for help] 59 | 60 | For Help, press {Shift + ~}, {Shift + ?} 61 | $~? 62 | Supported escape sequences: 63 | ~. - terminate connection 64 | ~^Z - suspend ipmitool 65 | ~^X - suspend ipmitool, but don't restore tty on restart 66 | ~B - send break 67 | ~? - help 68 | ~~ - send the escape character by typing it twice 69 | (Note that escapes are only recognized immediately after newline.) 70 | 71 | Send break, press {Shift + ~}, {Shift + B} 72 | $~B [send break] 73 | 74 | Terminate connection, press {Shift + ~}, {.} 75 | $~. [terminated ipmitool] 76 | 77 | 78 | Reference 79 | [1] "Intelligent Platform Management Interface Specification Second Generation v2.0"[2] "IPMItool" http://ipmitool.sourceforge.net/ 80 | [3] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 81 | [4] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/ 82 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPNM-IPMI OEM PECI Proxy Commands.txt: -------------------------------------------------------------------------------- 1 | Send Raw PECI - NetFn = 0x2Eh, CMD = 0x40h 2 | [IPMI tool in Linux] 3 | ipmitool -b -t
raw 0x2e 0x40 0x57 0x01 0x00 Byte[4:M] 4 | 5 | For example 6 | [IPMI tool in Linux] 7 | $ ipmitool -t 0x2c -b 0x06 raw 0x2e 0x40 0x57 0x01 0x00 0x30 0x01 0x02 0x01 8 | 57 01 00 cb f5 9 | 10 | 11 | Aggregate Send Raw PECI - NetFn = 0x2Eh, CMD = 0x41h 12 | [IPMI tool in Linux] 13 | ipmitool -b -t
raw 0x2e 0x41 0x57 0x01 0x00 Byte[4:M] 14 | 15 | For example 16 | [IPMI tool in Linux] 17 | $ ipmitool -t 0x2c -b 0x06 raw 0x2e 0x41 0x57 0x01 0x00 0x30 0x01 0x02 0x01 18 | 57 01 00 00 d6 f5 19 | 20 | 21 | CPU Package Configuration Read - NetFn = 0x2Eh, CMD = 0x42h 22 | [IPMI tool in Linux] 23 | ipmitool -b -t
raw 0x2e 0x42 0x57 0x01 0x00 Byte[4:8] 24 | 25 | For example 26 | [IPMI tool in Linux] 27 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0x42 0x57 0x01 0x00 0x00 0x00 0x00 0x00 0x03 28 | 57 01 00 f1 06 03 00 29 | 30 | 31 | CPU Package Configuration Write - NetFn = 0x2Eh, CMD = 0x43h 32 | [IPMI tool in Linux] 33 | ipmitool -b -t
raw 0x2e 0x43 0x57 0x01 0x00 Byte[4:N] 34 | 35 | 36 | CPU PCI Configuration Read - NetFn = 0x2Eh, CMD = 0x44h 37 | [IPMI tool in Linux] 38 | ipmitool -b -t
raw 0x2e 0x44 0x57 0x01 0x00 Byte[4:9] 39 | 40 | For example 41 | [IPMI tool in Linux] 42 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0x44 0x57 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x03 43 | 57 01 00 86 80 00 2f 44 | 45 | 46 | CPU PCI Configuration Write - NetFn = 0x2Eh, CMD = 0x45h 47 | [IPMI tool in Linux] 48 | ipmitool -b -t
raw 0x2e 0x45 0x57 0x01 0x00 Byte[4:N] 49 | 50 | 51 | CPU IA MSR Read - NetFn = 0x2Eh, CMD = 0x46h 52 | [IPMI tool in Linux] 53 | ipmitool -b -t
raw 0x2e 0x46 0x57 0x01 0x00 Byte[4:8] 54 | 55 | 56 | Get CPU and Memory Temperature - NetFn = 0x2Eh, CMD = 0x4Bh 57 | [IPMI tool in Linux] 58 | ipmitool -b -t
raw 0x2e 0x4b 0x57 0x01 0x00 Byte[4:12] 59 | 60 | For example 61 | [IPMI tool in Linux] 62 | CPU#[0~3], Channel#[0~3], DIMM#[0~3] 63 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0x4b 0x57 0x01 0x00 0x0f 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 64 | 57 01 00 2f 2d ff ff ff 24 ff ff ff ff ff ff ff 65 | ff ff ff ff ff ff ff ff 21 ff ff ff ff ff ff ff 66 | ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 67 | ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 68 | ff ff ff ff ff ff ff 69 | 70 | 71 | 72 | [1] "Intel® Intelligent Power Node Manager 2.0" http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/intelligent-power-node-manager-specification.pdf 73 | [2] "Intel® Intelligent Power Node Manager 1.5" http://www.intel.com/content/dam/doc/technical-specification/intelligent-power-node-manager-1-5-specification.pdf 74 | [3] "Intelligent Platform Management Interface Specification Second Generation v2.0" 75 | [4] "IPMItool" http://ipmitool.sourceforge.net/ 76 | [5] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 77 | [6] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net 78 | 79 | Acknowledges the Following Trademarks: 80 | Intel® is a registered trademark of the Intel Corporation. 81 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPMI-Event commands.txt: -------------------------------------------------------------------------------- 1 | Set Event Receiver - NetFn Sensor/Event (0x04h) cmd = 0x00h 2 | [IPMI tool in Linux] 3 | ipmitool raw 0x04 0x00 Data[1:2] 4 | [IPMI tool under DOS] 5 | ipmitool 20 10 00 Data[1:2] 6 | 7 | For example 8 | [IPMI tool in Linux] 9 | $ ipmitool raw 0x04 0x00 0x20 0x00 10 | 11 | [IPMI tool under DOS] 12 | C:\> ipmitool 20 10 00 20 00 13 | 20 14 00 00 14 | 15 | 16 | Get Event Receiver - NetFn = Sensor/Event (0x04h), CMD = 0x01h 17 | [IPMI tool in Linux] 18 | ipmitool raw 0x04 0x01 19 | [IPMI tool under DOS] 20 | ipmitool 20 10 01 21 | 22 | For example 23 | [IPMI tool in Linux] 24 | $ ipmitool raw 0x04 0x01 25 | 20 00 26 | [IPMI tool under DOS] 27 | C:\> ipmitool 20 10 01 28 | 20 14 01 00 20 00 29 | 30 | 31 | Platform Event - NetFn = Sensor/Event (0x04h), CMD = 0x02h 32 | [IPMI tool in Linux] 33 | ipmitool raw 0x04 0x02 Data[1:7] 34 | ipmitool event [event_dir] 35 | [IPMI tool under DOS] 36 | ipmitool 20 10 02 Data[1:8] 37 | 38 | For example 39 | [IPMI tool in Linux] 40 | Send Unknown #0x17 Event 41 | $ ipmitool raw 0x04 0x02 0x04 0x30 0x17 0x75 0xa0 0x04 0x07 42 | 43 | List Sensor States of VCOREA 44 | $ ipmitool event VCOREA 45 | Finding sensor VCOREA... ok 46 | Sensor States: 47 | lnr : Lower Non-Recoverable 48 | lcr : Lower Critical 49 | lnc : Lower Non-Critical 50 | unc : Upper Non-Critical 51 | ucr : Upper Critical 52 | unr : Upper Non-Recoverable 53 | 54 | Send VCOREA Lower Non-Recoverable event 55 | $ ipmitool event VCOREA lnr 56 | Finding sensor VCOREA... ok 57 | 0 | Pre-Init Time-stamp | Voltage #0x06 | Lower Non-recoverable going low 58 | 59 | Send Generic TEST events by ipmitool event default 60 | $ ipmitool event 1 61 | Sending SAMPLE event: Temperature - Upper Critical - Going High 62 | 0 | Pre-Init Time-stamp | Temperature #0x30 | Upper Critical going high 63 | $ ipmitool event 2 64 | Sending SAMPLE event: Voltage Threshold - Lower Critical - Going Low 65 | 0 | Pre-Init Time-stamp | Voltage #0x60 | Lower Critical going low 66 | $ ipmitool event 3 67 | Sending SAMPLE event: Memory - Correctable ECC 68 | 0 | Pre-Init Time-stamp | Memory #0x53 | Correctable ECC | Asserted 69 | 70 | 71 | [IPMI tool under DOS] 72 | Unknown #0x17 Event 73 | C:\> ipmitool 20 10 02 00 04 30 17 75 a0 04 07 74 | 20 14 02 00 75 | 76 | BIOS Event 77 | C:\> ipmitool 20 10 02 01 04 0c 00 00 01 00 00 78 | 20 14 02 00 79 | 80 | SMI Handler Event 81 | C:\> ipmitool 20 10 02 21 04 0c 00 00 01 00 00 82 | 20 14 02 00 83 | 84 | System Management Software Event 85 | C:\> ipmitool 20 10 02 41 04 0c 00 00 01 00 00 86 | 20 14 02 00 87 | 88 | Remote Console Software Event 89 | C:\> ipmitool 20 10 02 81 04 0c 00 00 01 00 00 90 | 20 14 02 00 91 | 92 | Terminal Mode Remote Console Software Event 93 | C:\> ipmitool 20 10 02 8F 04 0c 00 00 01 00 00 94 | 20 14 02 00 95 | 96 | 97 | Reference 98 | [1] "Intelligent Platform Management Interface Specification Second Generation v2.0"[2] "IPMItool" http://ipmitool.sourceforge.net/ 99 | [3] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 100 | [4] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/ 101 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPMI-IPM Device Global Commands.txt: -------------------------------------------------------------------------------- 1 | Get Device ID - NetFn = App (0x06h), CMD = 0x01h 2 | [IPMI tool in Linux] 3 | ipmitool raw 0x06 0x01 4 | ipmitool mc 5 | ipmitool mc info 6 | [IPMI tool under DOS] 7 | ipmitool 20 18 01 8 | 9 | For example 10 | [IPMI tool in Linux] 11 | $ ipmitool raw 0x06 0x01 12 | 20 01 00 09 02 bf 83 23 00 00 00 00 00 00 00 13 | $ ipmitool mc info 14 | Device ID : 0 15 | Device Revision : 0 16 | Firmware Revision : 1.02 17 | IPMI Version : 2.0 18 | Manufacturer ID : 262145 19 | Manufacturer Name : Unknown (0x01) 20 | Product ID : 0 (0x0000) 21 | Product Name : Unknown (0x0) 22 | Device Available : yes 23 | Provides Device SDRs : no 24 | Additional Device Support : 25 | Sensor Device 26 | SDR Repository Device 27 | SEL Device 28 | FRU Inventory Device 29 | Aux Firmware Rev Info : 30 | 0xb9 31 | 0x0c 32 | 0x00 33 | 0x00 34 | 35 | [IPMI tool under DOS] 36 | C:\> ipmitool 20 18 01 37 | 20 1C 01 00 20 01 00 10 02 BF 83 23 00 00 00 00 00 00 00 38 | 39 | 40 | Cold Reset - NetFn = App (0x06h), CMD = 0x02h 41 | [IPMI tool in Linux] 42 | ipmitool raw 0x06 0x02 43 | ipmitool mc reset cold 44 | [IPMI tool under DOS] 45 | ipmitool 20 18 02 46 | 47 | 48 | Warm Reset - NetFn = App (0x06h), CMD = 0x03h 49 | [IPMI tool in Linux] 50 | ipmitool raw 0x06 0x03 51 | ipmitool mc reset worm 52 | [IPMI tool under DOS] 53 | ipmitool 20 18 03 54 | 55 | 56 | Get Self Test Result - NetFn = App (0x06h), CMD = 0x04h 57 | [IPMI tool in Linux] 58 | ipmitool raw 0x06 0x04 59 | ipmitool mc selftest 60 | [IPMI tool under DOS] 61 | ipmitool 20 18 04 62 | 63 | For example 64 | [IPMI tool in Linux] 65 | No error 66 | $ ipmitool raw 0x06 0x04 67 | 55 00 68 | $ ipmitool mc selftest 69 | Selftest: passed 70 | 71 | Internal Use Area of BMC FRU corrupted 72 | $ ipmitool raw 0x06 0x04 73 | 57 04 74 | 75 | 76 | Manufacturing Test On - NetFn = App (0x06h), CMD = 0x05h 77 | 78 | 79 | Set ACPI Power State - NetFn = App (0x06h), CMD = 0x06h 80 | [IPMI tool in Linux] 81 | ipmitool raw 0x06 0x06 Data[1:2] 82 | [IPMI tool under DOS] 83 | ipmitool 20 18 06 Data[1:2] 84 | 85 | For example 86 | Set System Power State to S5 and Device Power State to D0 87 | [IPMI tool in Linux] 88 | $ ipmitool raw 0x06 0x06 0x85 0x80 89 | 90 | 91 | [IPMI tool under DOS] 92 | C:\> ipmitool 20 18 06 85 80 93 | 1c 06 00 94 | 95 | 96 | Get ACPI Power State - NetFn = App (0x06h), CMD = 0x07h 97 | [IPMI tool in Linux] 98 | ipmitool raw 0x06 0x07 99 | [IPMI tool under DOS] 100 | ipmitool 20 18 07 101 | 102 | For example 103 | [IPMI tool in Linux] 104 | $ ipmitool raw 0x06 0x07 105 | 05 00 106 | [IPMI tool under DOS] 107 | C:\> ipmitool 20 18 07 108 | 1c 07 00 05 00 109 | 110 | 111 | Get Device GUID - NetFn = App (0x06h), CMD = 0x08h 112 | [IPMI tool in Linux] 113 | ipmitool raw 0x06 0x08 114 | [IPMI tool under DOS] 115 | ipmitool 20 18 08 116 | 117 | For example 118 | [IPMI tool in Linux] 119 | $ ipmitool raw 0x06 0x08 120 | 8c 88 a5 15 ac b2 e1 02 00 10 d2 1d 54 b6 62 21 121 | 122 | 123 | Reference 124 | [1] "Intelligent Platform Management Interface Specification Second Generation v2.0" 125 | [2] "IPMItool" http://ipmitool.sourceforge.net/ 126 | [3] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 127 | [4] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/ 128 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPNM-Sensor Device Commands.txt: -------------------------------------------------------------------------------- 1 | Set Event Reciver - NetFn = S/E (0x04h), CMD = 0x00h 2 | [IPMI tool in Linux] 3 | ipmitool -b -t
raw 0x04 0x00 Byte[1:2] 4 | 5 | For example 6 | [IPMI tool in Linux] 7 | $ ipmitool -b 0x06 -t 0x2c raw 0x04 0x00 0x2c 0x00 8 | 9 | 10 | Get Event Receiver - NetFn = S/E (0x04h), CMD = 0x01h 11 | [IPMI tool in Linux] 12 | ipmitool -b -t
raw 0x04 0x01 13 | 14 | For example 15 | [IPMI tool in Linux] 16 | $ ipmitool -b 0x06 -t 0x2c raw 0x04 0x01 17 | 2c 00 18 | 19 | 20 | Set Sensor Thresholds - NetFn = S/E (0x04h), CMD = 0x26h 21 | [IPMI tool in Linux] 22 | ipmitool -b -t
raw 0x04 0x26 Byte[1:8] 23 | 24 | For example 25 | [IPMI tool in Linux] 26 | $ ipmitool -b 0x06 -t 0x2c raw 0x04 0x26 0x20 0x3f 0x6d 0x6a 0x55 0x6e 0x73 0x78 27 | 28 | 29 | Get Sensor Thresholds - NetFn = S/E (0x04h), CMD = 0x27h 30 | [IPMI tool in Linux] 31 | ipmitool -b -t
raw 0x04 0x27 Byte[1] 32 | 33 | For example 34 | [IPMI tool in Linux] 35 | $ ipmitool -b 0x06 -t 0x2c raw 0x04 0x27 0x20 36 | 3f 6d 6a 55 6e 73 78 37 | 38 | 39 | Set Sensor Event Enable - NetFn = S/E (0x04h), CMD = 0x28h 40 | [IPMI tool in Linux] 41 | ipmitool -b -t
raw 0x04 0x28 Byte[1:(6)] 42 | 43 | For example 44 | [IPMI tool in Linux] 45 | $ ipmitool -b 0x06 -t 0x2c raw 0x04 0x28 0x20 0xc0 0x95 0x0a 0x95 0x0a 46 | 47 | 48 | Get Sensor Event Enable - NetFn = S/E (0x04h), CMD = 0x29h 49 | [IPMI tool in Linux] 50 | ipmitool -b -t
raw 0x04 0x29 Byte[1] 51 | 52 | For example 53 | [IPMI tool in Linux] 54 | $ ipmitool -b 0x06 -t 0x2c raw 0x04 0x29 0x20 55 | c0 00 00 00 00 56 | 57 | 58 | Re-arm Sensor Events - NetFn = S/E (0x04h), CMD = 0x2Ah 59 | [IPMI tool in Linux] 60 | ipmitool -b -t
raw 0x04 0x2a Byte[1:2] 61 | 62 | For example 63 | [IPMI tool in Linux] 64 | $ ipmitool -b 0x06 -t 0x2c raw 0x04 0x2a 0x20 0x00 65 | 66 | 67 | Get Sensor Event Status - NetFn = S/E (0x04h), CMD = 0x2Bh 68 | [IPMI tool in Linux] 69 | ipmitool -b -t
raw 0x04 0x2b Byte[1] 70 | 71 | For example 72 | [IPMI tool in Linux] 73 | $ ipmitool -b 0x06 -t 0x2c raw 0x04 0x2b 0x20 74 | c0 00 00 00 00 75 | $ ipmitool -b 0x06 -t 0x2c raw 0x04 0x2b 0x21 76 | e0 00 00 00 00 77 | 78 | 79 | Get Sensor Reading - NetFn = S/E (0x04h), CMD = 0x2Dh 80 | [IPMI tool in Linux] 81 | ipmitool -b -t
raw 0x04 0x2d Byte[1] 82 | 83 | For example 84 | [IPMI tool in Linux] 85 | PCH Thermal Sensor 86 | $ ipmitool -b 0x06 -t 0x2c raw 0x04 0x2d 0x08 87 | 2b c0 00 88 | CPU#0 Tjmax Sensor 89 | $ ipmitool -b 0x06 -t 0x2c raw 0x04 0x2d 0x30 90 | 67 40 c0 91 | 92 | 93 | [1] "Intel® Intelligent Power Node Manager 2.0" http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/intelligent-power-node-manager-specification.pdf 94 | [2] "Intel® Intelligent Power Node Manager 1.5" http://www.intel.com/content/dam/doc/technical-specification/intelligent-power-node-manager-1-5-specification.pdf 95 | [3] "Intelligent Platform Management Interface Specification Second Generation v2.0" 96 | [4] "IPMItool" http://ipmitool.sourceforge.net/ 97 | [5] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 98 | [6] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net 99 | 100 | Acknowledges the Following Trademarks: 101 | Intel® is a registered trademark of the Intel Corporation. 102 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPNM-Local Platform Intel NM Configuration and Control Commands.txt: -------------------------------------------------------------------------------- 1 | Set Total Power Budget - NetFn = 0x2Eh, CMD = 0xD0h 2 | [IPMI tool in Linux] 3 | ipmitool -b -t
raw 0x2e 0xd0 0x57 0x01 0x00 Byte[4:6] 4 | 5 | For example 6 | [IPMI tool in Linux] 7 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xd0 0x57 0x01 0x00 0x00 0x10 0x00 8 | 57 01 00 9 | 10 | 11 | Get Total Power Budget - NetFn = 0x2Eh, CMD = 0xD1h 12 | [IPMI tool in Linux] 13 | ipmitool -b -t
raw 0x2e 0xd1 0x57 0x01 0x00 Byte[4] 14 | 15 | For example 16 | [IPMI tool in Linux] 17 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xd1 0x57 0x01 0x00 0x00 18 | 57 01 00 10 00 19 | 20 | 21 | Set Max Allowed CPU P-state/T-state - NetFn = 0x2Eh, CMD = 0xD2h 22 | [IPMI tool in Linux] 23 | ipmitool -b -t
raw 0x2e 0xd2 0x57 0x01 0x00 Byte[4:6] 24 | 25 | For example 26 | [IPMI tool in Linux] 27 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xd2 0x57 0x01 0x00 0x00 0x01 0x01 28 | 57 01 00 29 | 30 | 31 | Get Max Allowed CPU P-state/T-state - NetFn = 0x2Eh, CMD = 0xD3h 32 | [IPMI tool in Linux] 33 | ipmitool -b -t
raw 0x2e 0xd3 0x57 0x01 0x00 Byte[4] 34 | 35 | For example 36 | [IPMI tool in Linux] 37 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xd3 0x57 0x01 0x00 0x00 38 | 57 01 00 00 00 39 | 40 | 41 | Get Number of P-state/T-states - NetFn = 0x2Eh, CMD = 0xD4h 42 | [IPMI tool in Linux] 43 | ipmitool -b -t
raw 0x2e 0xd4 0x57 0x01 0x00 Byte[4] 44 | 45 | For example 46 | [IPMI tool in Linux] 47 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xd4 0x57 0x01 0x00 0x00 48 | 57 01 00 0e 0f 49 | 50 | 51 | Set PSU Configuration - NetFn = 0x2Eh, CMD = 0xD7h 52 | [IPMI tool in Linux] 53 | ipmitool -b -t
raw 0x2e 0xd7 0x57 0x01 0x00 Byte[4:12] 54 | 55 | For example 56 | [IPMI tool in Linux] 57 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xd7 0x57 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 58 | 57 01 00 59 | 60 | 61 | Get PSU Configuration - NetFn = 0x2Eh, CMD = 0xD8h 62 | [IPMI tool in Linux] 63 | ipmitool -b -t
raw 0x2e 0xd8 0x57 0x01 0x00 Byte[4] 64 | 65 | For example 66 | [IPMI tool in Linux] 67 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xd8 0x57 0x01 0x00 0x00 68 | 57 01 00 00 b1 b3 00 00 00 00 00 00 69 | 70 | 71 | Send Raw PMBUS command - NetFn = 0x2Eh, CMD = 0xD9h 72 | [IPMI tool in Linux] 73 | ipmitool -b -t
raw 0x2e 0xd9 0x57 0x01 0x00 Byte[4:M] 74 | 75 | 76 | Get Host CPU data - NetFn = 0x2Eh, CMD = 0xEAh 77 | [IPMI tool in Linux] 78 | ipmitool -b -t
raw 0x2e 0xea 0x57 0x01 0x00 Byte[4] 79 | 80 | For example 81 | [IPMI tool in Linux] 82 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xea 0x57 0x01 0x00 0x00 83 | 57 01 00 90 0e 0f 02 1e 1d 1c 1b 1b 1b 1b 1b 00 84 | 18 81 fb 33 0c 08 00 00 85 | 86 | 87 | [1] "Intel® Intelligent Power Node Manager 2.0" http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/intelligent-power-node-manager-specification.pdf 88 | [2] "Intel® Intelligent Power Node Manager 1.5" http://www.intel.com/content/dam/doc/technical-specification/intelligent-power-node-manager-1-5-specification.pdf 89 | [3] "Intelligent Platform Management Interface Specification Second Generation v2.0" 90 | [4] "IPMItool" http://ipmitool.sourceforge.net/ 91 | [5] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 92 | [6] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net 93 | 94 | Acknowledges the Following Trademarks: 95 | Intel® is a registered trademark of the Intel Corporation. 96 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPMI-SDR Repository commands.txt: -------------------------------------------------------------------------------- 1 | Get SDR Repository Info - NetFn = Storage (0x0ah), CMD = 0x20h 2 | [IPMI tool in Linux] 3 | ipmitool raw 0x0a 0x20 4 | ipmitool sdr info 5 | [IPMI tool under DOS] 6 | ipmitool 20 28 20 7 | 8 | For example 9 | [IPMI tool in Linux] 10 | $ ipmitool raw 0x0a 0x20 11 | 51 1e 00 40 20 00 00 00 00 00 00 00 00 27 12 | $ ipmitool sdr info 13 | SDR Version : 0x51 14 | Record Count : 26 15 | Free Space : 8496 bytes 16 | Most recent Addition : 17 | Most recent Erase : 18 | SDR overflow : no 19 | SDR Repository Update Support : non-modal 20 | Delete SDR supported : no 21 | Partial Add SDR supported : yes 22 | Reserve SDR repository supported : yes 23 | SDR Repository Alloc info supported : no 24 | 25 | 26 | Get SDR Repository Allocation Info - NetFn = Storage (0x0ah), CMD = 0x21h 27 | [IPMI tool in Linux] 28 | ipmitool raw 0x0a 0x21 29 | [IPMI tool under DOS] 30 | ipmitool 20 28 21 31 | 32 | For example 33 | [IPMI tool in Linux] 34 | $ ipmitool raw 0x0a 0x21 35 | 7f 02 10 00 04 02 04 02 08 36 | 37 | 38 | Reserve SDR Repository - NetFn = Storage (0x0ah), CMD = 0x22h 39 | [IPMI tool in Linux] 40 | ipmitool raw 0x0a 0x22 41 | [IPMI tool under DOS] 42 | ipmitool 20 28 22 43 | 44 | For example 45 | [IPMI tool in Linux] 46 | $ ipmitool raw 0x0a 0x22 47 | 01 00 48 | 49 | 50 | Get SDR - NetFn = Storage (0x0ah), CMD = 0x23h 51 | [IPMI tool in Linux] 52 | ipmitool raw 0x0a 0x23 Data[1:6] 53 | ipmitool sdr 54 | ipmitool sdr list [all|full|compact|event|mcloc|fru|generic] 55 | ipmitool sdr elist [all|full|compact|event|mcloc|fru|generic] 56 | [IPMI tool under DOS] 57 | ipmitool 20 28 23 Data[1:6] 58 | 59 | For example 60 | [IPMI tool in Linux] 61 | $ ipmitool raw 0x0a 0x23 0x00 0x00 0xff 0x0ff 0x00 0x10 62 | ff ff 1e 00 51 01 3a 20 00 24 03 00 7f 68 01 01 63 | 95 7a 64 | $ ipmitool sdr 65 | Temp01 | 52 degrees C | ok 66 | Watchdog2 | 0x00 | ok 67 | $ ipmitool sdr elist 68 | Temp01 | 17h | ok | 3.0 | 52 degrees C 69 | Watchdog2 | 30h | ok | 7.2 | 70 | Get Threshold sensors SDR 71 | $ ipmitool sdr list full 72 | Temp01 | 52 degrees C | ok 73 | Get Discrete sensors SDR 74 | $ ipmitool sdr list compact 75 | Watchdog2 | 0x00 | ok 76 | 77 | 78 | Add SDR (M) - NetFn = Storage (0x0ah), CMD = 0x24h 79 | Partial Add SDR - NetFn = Storage (0x0ah), CMD = 0x25h 80 | Delete SDR - NetFn = Storage (0x0ah), CMD = 0x26h 81 | Clear SDR Repository (M) - NetFn = Storage (0x0ah), CMD = 0x27h 82 | 83 | 84 | Get SDR Repository Time - NetFn = Storage (0x0ah), CMD = 0x28h 85 | [IPMI tool in Linux] 86 | ipmitool raw 0x0a 0x28 87 | [IPMI tool under DOS] 88 | ipmitool 20 28 28 89 | 90 | For example 91 | [IPMI tool in Linux] 92 | $ ipmitool raw 0x0a 0x28 93 | d0 ec de 51 94 | 95 | 96 | Set SDR Repository Time (O/M) - NetFn = Storage (0x0ah), CMD = 0x29h 97 | Enter SDR Repository Update Mode - NetFn = Storage (0x0ah), CMD = 0x2Ah 98 | Exit SDR Repository Update Mode - NetFn = Storage (0x0ah), CMD = 0x2Bh 99 | 100 | 101 | Run Initialization Agent - NetFn = Storage (0x0ah), CMD = 0x2Ch 102 | [IPMI tool in Linux] 103 | ipmitool raw 0x0a 0x2c Data[1] 104 | [IPMI tool under DOS] 105 | ipmitool 20 28 2c Data[1] 106 | 107 | For example 108 | [IPMI tool in Linux] 109 | $ ipmitool raw 0x0a 0x2c 0x01 110 | 01 111 | 112 | 113 | 114 | Reference 115 | [1] "Intelligent Platform Management Interface Specification Second Generation v2.0"[2] "IPMItool" http://ipmitool.sourceforge.net/ 116 | [3] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 117 | [4] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/ 118 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPMI-PEF-Alerting commands.txt: -------------------------------------------------------------------------------- 1 | Get PEF Capabilities - NetFn = Sensor/Event (0x04h), CMD = 0x10h 2 | [IPMI tool in Linux] 3 | ipmitool raw 0x04 0x10 4 | ipmitool pef 5 | ipmitool pef info 6 | [IPMI tool under DOS] 7 | ipmitool 20 10 10 8 | 9 | For example 10 | [IPMI tool in Linux] 11 | $ ipmitool raw 0x04 0x10 12 | 51 2f 28 13 | $ ipmitool pef info 14 | 0x51 | 40 | 60 | 00000000-acb2-e102-0010-d21deab86521 | Alert,Power-off,Reset,Power-cycle,Diagnostic-interrupt 15 | 16 | 17 | 18 | Arm PEF Postpone Timer - NetFn = Sensor/Event (0x04h), CMD = 0x11h 19 | [IPMI tool in Linux] 20 | ipmitool raw 0x04 0x11 Data[1] 21 | [IPMI tool under DOS] 22 | ipmitool 20 10 11 Data[1] 23 | 24 | Where Data[1] = 25 | 00h: disable postpone timer 26 | 01h - FDh: arm timer 27 | FEh: the PEF Postpone timer does not countdown from the value 28 | FFh: get present countdown value 29 | 30 | For example 31 | [IPMI tool in Linux] 32 | arm timer 33 | $ ipmitool raw 0x04 0x11 0xfd 34 | fd 35 | get present countdown value 36 | $ ipmitool raw 0x04 0x11 0xff 37 | fc 38 | no countdown 39 | $ ipmitool raw 0x04 0x11 0xfe 40 | fe 41 | 42 | 43 | Set PEF Configuration Parameters - NetFn = Sensor/Event (0x04h), CMD = 0x12h 44 | [IPMI tool in Linux] 45 | ipmitool raw 0x04 0x12 Data[1:N] 46 | [IPMI tool under DOS] 47 | ipmitool 20 10 12 Data[1:N] 48 | 49 | For example 50 | [IPMI tool in Linux] 51 | $ ipmitool raw 0x04 0x12 0x01 0x0f 52 | 53 | 54 | Get PEF Configuration Parameters - NetFn = Sensor/Event (0x04h), CMD = 0x13h 55 | [IPMI tool in Linux] 56 | ipmitool raw 0x04 0x13 Data[1:3] 57 | ipmitool pef list 58 | [IPMI tool under DOS] 59 | ipmitool 20 10 13 Data[1:3] 60 | 61 | For example 62 | [IPMI tool in Linux] 63 | $ ipmitool raw 0x04 0x13 0x00 0x00 0x00 64 | 11 00 65 | $ ipmitool pef list 66 | 1 | active | 0x11 | Any | Any | None | OEM | Any | Alert,OEM-defined | 1 67 | 2 | active | 0x11 | Any | Any | None | OEM | Any | Alert,OEM-defined | 2 68 | 3 | active | 0x11 | Any | Any | None | OEM | Any | Alert,OEM-defined | 3 69 | 4 | active | 0x11 | Any | Any | None | OEM | Any | Alert,OEM-defined | 4 70 | 5 | active | 0x11 | Any | Any | None | OEM | Any | Alert,OEM-defined | 5 71 | 6 | active | 0x11 | Any | Any | None | OEM | Any | Alert,OEM-defined | 6 72 | 7 | active | 0x11 | Any | Any | None | OEM | Any | Alert,OEM-defined | 7 73 | 8 | active | 0x11 | Any | Any | None | OEM | Any | Alert,OEM-defined | 8 74 | 9 | active | 0x11 | Any | Any | None | OEM | Any | Alert,OEM-defined | 9 75 | 10 | active | 0x11 | Any | Any | None | OEM | Any | Alert,OEM-defined | 10 76 | 11 | active | 0x11 | Any | Any | None | OEM | Any | Alert,OEM-defined | 11 77 | 12 | active | 0x11 | Any | Any | None | OEM | Any | Alert,OEM-defined | 12 78 | 13 | active | 0x11 | Any | Any | None | OEM | Any | Alert,OEM-defined | 13 79 | 14 | active | 0x11 | Any | Any | None | OEM | Any | Alert,OEM-defined | 14 80 | 15 | active | 0x11 | Any | Any | None | OEM | Any | Alert,OEM-defined | 15 81 | 16 | inactive 82 | 17 | inactive 83 | 18 | inactive 84 | 19 | inactive 85 | 20 | inactive 86 | 21 | inactive 87 | 22 | inactive 88 | 23 | inactive 89 | 24 | inactive 90 | 25 | inactive 91 | 26 | inactive 92 | 27 | inactive 93 | 28 | inactive 94 | 29 | inactive 95 | 96 | 97 | Set Last Processed Event ID - NetFn = Sensor/Event (0x04h), CMD = 0x14h 98 | [IPMI tool in Linux] 99 | ipmitool raw 0x04 0x14 Data[1:3] 100 | [IPMI tool under DOS] 101 | ipmitool 20 10 14 Data[1:3] 102 | 103 | Where Data[1] = 104 | 00h: Last Software processed Record ID 105 | 01h: Last BMC processed Record ID 106 | 107 | For example 108 | [IPMI tool in Linux] 109 | set record ID for last record processed by Software 110 | $ ipmitool raw 0x04 0x014 0x00 0x07 0x00 111 | 112 | 113 | set record ID for last record processed by BMC 114 | $ ipmitool raw 0x04 0x014 0x01 0x07 0x00 115 | 116 | 117 | 118 | Get Last Processed Event ID - NetFn = Sensor/Event (0x04h), CMD = 0x15h 119 | [IPMI tool in Linux] 120 | ipmitool raw 0x04 0x15 121 | ipmitool pef status 122 | [IPMI tool under DOS] 123 | ipmitool 20 10 15 124 | 125 | For example 126 | [IPMI tool in Linux] 127 | $ ipmitool raw 0x04 0x15 128 | 4e 63 2c 53 ff ff 07 00 09 00 129 | $ ipmitool pef status 130 | 03/21/2014 16:05:34 | 0xffff | 0x0007 | 0x0009 | PEF | Alert,Power-off,Reset,Power-cycle,OEM-defined 131 | 132 | 133 | Alert Immediate - NetFn = Sensor/Event (0x04h), CMD = 0x16h 134 | PET Acknowledge - NetFn = Sensor/Event (0x04h), CMD = 0x17h 135 | 136 | 137 | 138 | Reference 139 | [1] "Intelligent Platform Management Interface Specification Second Generation v2.0" 140 | [2] "IPMItool" http://ipmitool.sourceforge.net/ 141 | [3] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 142 | [4] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/ 143 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPMI-SEL Device Commands.txt: -------------------------------------------------------------------------------- 1 | Get SEL Info - NetFn = Storage (0x0ah), CMD = 0x40h 2 | [IPMI tool in Linux] 3 | ipmitool raw 0x0a 0x40 4 | ipmitool sel 5 | ipmitool sel info 6 | [IPMI tool under DOS] 7 | ipmitool 20 28 40 8 | 9 | For example 10 | [IPMI tool in Linux] 11 | $ ipmitool raw 0x0a 0x40 12 | 51 02 00 bc 4f a5 c4 90 51 70 c4 90 51 07 13 | $ ipmitool sel info 14 | SEL Information 15 | Version : 1.5 (v1.5, v2 compliant) 16 | Entries : 2 17 | Free Space : 20412 bytes 18 | Percent Used : 0% 19 | Last Add Time : 05/13/2013 10:47:01 20 | Last Del Time : 05/13/2013 10:46:08 21 | Overflow : false 22 | Supported Cmds : 'Partial Add' 'Reserve' 'Get Alloc Info' 23 | # of Alloc Units : 1136 24 | Alloc Unit Size : 18 25 | # Free Units : 1134 26 | Largest Free Blk : 1134 27 | Max Record Size : 4 28 | 29 | 30 | Get SEL Allocation Info - NetFn = Storage (0x0ah), CMD = 0x41h 31 | [IPMI tool in Linux] 32 | ipmitool raw 0x0a 0x41 33 | [IPMI tool under DOS] 34 | ipmitool 20 28 41 35 | 36 | For example 37 | [IPMI tool in Linux] 38 | $ ipmitool raw 0x0a 0x41 39 | 70 04 12 00 6e 04 6e 04 01 40 | 41 | 42 | Reserve SEL - NetFn = Storage (0x0ah), CMD = 0x42h 43 | [IPMI tool in Linux] 44 | ipmitool raw 0x0a 0x42 45 | [IPMI tool under DOS] 46 | ipmitool 20 28 42 47 | 48 | For example 49 | [IPMI tool in Linux] 50 | $ ipmitool raw 0x0a 0x42 51 | 07 00 52 | 53 | 54 | Get SEL Entry - NetFn = Storage (0x0ah), CMD = 0x43h 55 | [IPMI tool in Linux] 56 | ipmitool raw 0x0a 0x43 Data[1:6] 57 | ipmitool sel elist 58 | ipmitool sel list 59 | ipmitool sel get 60 | ipmitool sel save 61 | [IPMI tool under DOS] 62 | ipmitool 20 28 43 Data[1:6] 63 | 64 | For example 65 | [IPMI tool in Linux] 66 | Get First Entry of SEL 67 | $ ipmitool raw 0x0a 0x43 0x00 0x00 0x00 0x00 0x00 0xff 68 | 02 00 01 00 c1 12 fc 5b 52 00 00 00 09 02 00 00 69 | 00 00 70 | Get Entry 0x17 of SEL 71 | $ ipmitool raw 0x0a 0x43 0x00 0x00 0x17 0x00 0x00 0xff 72 | 18 00 17 00 c1 2c 0e 61 52 00 00 00 09 02 00 00 73 | 00 00 74 | Get Last Entry of SEL 75 | $ ipmitool raw 0x0a 0x43 0x00 0x00 0xff 0xff 0x00 0xff 76 | ff ff 18 00 c1 7b 11 61 52 00 00 00 0a 02 00 00 77 | 00 00 78 | $ ipmitool sel list 79 | 1 | 04/22/2013 | 14:47:37 | System Firmware Progress | Memory initialization | Asserted 80 | 2 | 04/22/2013 | 14:47:38 | System Firmware Progress | Secondary CPU Initialization | Asserted 81 | $ ipmitool sel get 0x01 82 | SEL Record ID : 0001 83 | Record Type : 02 84 | Timestamp : 04/22/2013 14:47:37 85 | Generator ID : 0001 86 | EvM Revision : 04 87 | Sensor Type : System Firmware Progress 88 | Sensor Number : 00 89 | Event Type : Sensor-specific Discrete 90 | Event Direction : Assertion Event 91 | Event Data : c201ff 92 | Description : Memory initialization 93 | 94 | Save SEL to file 95 | $ ipmitool sel save selsave.txt 96 | 97 | 98 | Add SEL Entry - NetFn = Storage (0x0ah), CMD = 0x44h 99 | [IPMI tool in Linux] 100 | ipmitool raw 0x0a 0x44 Data[1:16] 101 | [IPMI tool under DOS] 102 | ipmitool 20 28 44 Data[1:16] 103 | 104 | For example 105 | [IPMI tool in Linux] 106 | $ ipmitool raw 0x0a 0x44 0x01 0x00 0x02 0xab 0xcd 0xef 0x00 0x01 0x00 0x04 0x01 0x17 0x00 0xa0 0x04 0x07 107 | 01 00 108 | $ ipmitool sel list 109 | 1 | 05/13/2013 | 16:50:45 | Temperature #0x17 | 110 | $ ipmitool sel get 0x01 111 | SEL Record ID : 0001 112 | Record Type : 02 113 | Timestamp : 05/13/2013 16:50:45 114 | Generator ID : 0001 115 | EvM Revision : 04 116 | Sensor Type : Temperature 117 | Sensor Number : 17 118 | Event Type : Unspecified 119 | Event Direction : Assertion Event 120 | Event Data : a00407 121 | Description : 122 | 123 | 124 | Clear SEL - NetFn = Storage (0x0ah), CMD = 0x47h 125 | [IPMI tool in Linux] 126 | ipmitool raw 0x0a 0x47 Data[1:6] 127 | ipmitool sel clear 128 | [IPMI tool under DOS] 129 | ipmitool 20 28 47 Data[1:6] 130 | 131 | For example 132 | [IPMI tool in Linux] 133 | $ ipmitool raw 0x0a 0x47 0xff 0xff 0x43 0x4c 0x52 0x00 134 | 01 135 | $ ipmitool sel clear 136 | Clearing SEL. Please allow a few seconds to erase. 137 | 138 | 139 | Get SEL Time - NetFn = Storage (0x0ah), CMD = 0x48h 140 | [IPMI tool in Linux] 141 | ipmitool raw 0x0a 0x48 142 | ipmitool sel time get 143 | [IPMI tool under DOS] 144 | ipmitool 20 28 48 145 | 146 | For example 147 | [IPMI tool in Linux] 148 | $ ipmitool raw 0x0a 0x48 149 | 0d d1 90 51 150 | $ ipmitool sel time get 151 | 05/13/2013 11:39:18 152 | 153 | 154 | Set SEL Time - NetFn = Storage (0x0ah), CMD = 0x49h 155 | [IPMI tool in Linux] 156 | ipmitool raw 0x0a 0x49 Data[1:4] 157 | ipmitool sel time set "mm/dd/yyyy hh:mm:ss" 158 | [IPMI tool under DOS] 159 | ipmitool 20 28 49 Data[1:4] 160 | 161 | For example 162 | [IPMI tool in Linux] 163 | $ ipmitool raw 0x0a 0x49 0x0d 0xd1 0x90 0x51 164 | $ ipmitool sel time set "05/13/2013 11:39:18" 165 | $ ipmitool sel time set now 166 | 167 | 168 | Get SEL Time UTC Offset - NetFn = Storage (0x0ah), CMD = 0x5ch 169 | [IPMI tool in Linux] 170 | ipmitool raw 0x0a 0x5c 171 | 172 | For example 173 | [IPMI tool in Linux] 174 | $ ipmitool raw 0x0a 0x5c 175 | ff 07 176 | 177 | 178 | Set SEL Time UTC Offset - NetFn = Storage (0x0ah), CMD = 0x5dh 179 | [IPMI tool in Linux] 180 | ipmitool raw 0x0a 0x5d Data[1:2] 181 | 182 | For example 183 | [IPMI tool in Linux] 184 | $ ipmitool raw 0x0a 0x5d 0x00 0x00 185 | 186 | 187 | 188 | Reference 189 | [1] "Intelligent Platform Management Interface Specification Second Generation v2.0"[2] "IPMItool" http://ipmitool.sourceforge.net/ 190 | [3] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 191 | [4] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/ 192 | -------------------------------------------------------------------------------- /3-implementing/1-shell-attempt/README.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Supermicro X9SCL-F running SMT_X9_315 3 | 4 | $ ./ipmi.sh 5 | ------------------------------------- 6 | Get Device ID 7 | Target: BMC [0x20] 8 | 9 | Request :06 0x01 10 | Response: 20 01 03 15 02 bf 7c 2a 00 34 06 11 | ------------------------------------- 12 | Read FRU Data 13 | Target: BMC [0x20] 14 | 15 | Request :0a 0x11 0x00 0x00 0x00 0xff 16 | Response: 17 | ------------------------------------- 18 | Write FRU Data 19 | Target: BMC [0x20] 20 | 21 | Request :0a 0x12 0x00 0x00 0x00 0x01 0x01 0x02 0x04 0x08 0x00 0x00 0xf0 22 | Response: 08 23 | ------------------------------------- 24 | Get DCMI Capabilities Info #1 25 | Target: BMC [0x20] 26 | 27 | Request :2c 0x01 0xdc 0x01 28 | Response: dc 01 01 02 0f 01 39 29 | ------------------------------------- 30 | Get DCMI Capabilities Info #2 31 | Target: BMC [0x20] 32 | 33 | Request :2c 0x01 0xdc 0x02 34 | Response: dc 01 01 02 00 02 05 07 35 | ------------------------------------- 36 | Get DCMI Capabilities Info #3 37 | Target: BMC [0x20] 38 | 39 | Request :2c 0x01 0xdc 0x03 40 | Response: dc 01 01 02 20 01 41 | ------------------------------------- 42 | Get DCMI Capabilities Info #4 43 | Target: BMC [0x20] 44 | 45 | Request :2c 0x01 0xdc 0x04 46 | Response: dc 01 01 02 01 ff ff 47 | ------------------------------------- 48 | Get DCMI Capabilities Info #5 (opt) 49 | Target: BMC [0x20] 50 | 51 | Request :2c 0x01 0xdc 0x05 52 | Response: dc 01 01 02 09 05 0f 1e 41 43 47 4f 5e 81 53 | ------------------------------------- 54 | Get DCMI Sensor Info 55 | Target: BMC [0x20] 56 | 57 | Request :2c 0x07 0xdc 0x01 0x41 0x00 0x00 58 | Response: Unable to send RAW command (channel=0x0 netfn=0x2c lun=0x0 cmd=0x7 rsp=0xcb): Requested sensor, data, or record not found 59 | ------------------------------------- 60 | Get DCMI Configuration Parameters #1 61 | Target: BMC [0x20] 62 | 63 | Request :2c 0x13 0xdc 0x01 64 | Response: Unable to send RAW command (channel=0x0 netfn=0x2c lun=0x0 cmd=0x13 rsp=0xc1): Invalid command 65 | ------------------------------------- 66 | Get Asset Tag 67 | Target: BMC [0x20] 68 | 69 | Request :2c 0x06 0xdc 0x00 0x10 70 | Response: 71 | ------------------------------------- 72 | Get Management Controller Identifier String 73 | Target: BMC [0x20] 74 | 75 | Request :2c 0x09 0xdc 0x00 0x10 76 | Response: noo-deedee-noo 77 | ------------------------------------- 78 | Get Power Reading 79 | Target: BMC [0x20] 80 | 81 | Request :2c 0x02 0xdc 0x01 0x01 0x00 82 | Response: Unable to send RAW command (channel=0x0 netfn=0x2c lun=0x0 cmd=0x2 rsp=0xcc): Invalid data field in request 83 | ------------------------------------- 84 | Get Device ID 85 | Target: ME [0x2c] 86 | 87 | Request :06 0x01 88 | Response: 50 01 02 20 02 21 57 01 00 01 0b 02 04 90 01 89 | ------------------------------------- 90 | Get ME Factory Presets Signature 91 | Target: ME [0x2c] 92 | 93 | Request :2e 0xe0 0x57 0x01 0x00 94 | Response: 57 01 00 00 00 00 00 48 14 66 3c f3 9e b7 6a 1e e0 91 d5 f6 95 35 2f 76 4a 28 f2 58 8a 77 af d9 1b e1 f9 39 e7 a7 cb 95 | ------------------------------------- 96 | Get ME FW Capabilities 97 | Target: ME [0x2c] 98 | 99 | Request :2e 0xde 0x57 0x01 0x00 0x0 0x0 0x0 0x0 0x02 0x00 0x00 0xff 100 | Response: Unable to send RAW command (channel=0x0 netfn=0x2e lun=0x0 cmd=0xde rsp=0xc1): Invalid command 101 | ------------------------------------- 102 | PECI Ping() 103 | Target: ME [0x2c] 104 | 105 | Request :2e 0x40 0x57 0x01 0x00 0x30 0x00 0x00 106 | Response: 57 01 00 107 | ------------------------------------- 108 | PECI GetDIB() 109 | Target: ME [0x2c] 110 | 111 | Request :2e 0x40 0x57 0x01 0x00 0x30 0x01 0x08 0xf7 112 | Response: 57 01 00 00 32 00 00 00 00 00 00 113 | ------------------------------------- 114 | PECI GetTemp() 115 | Target: ME [0x2c] 116 | 117 | Request :2e 0x40 0x57 0x01 0x00 0x30 0x01 0x02 0x01 118 | Response: 57 01 00 cf f3 119 | ------------------------------------- 120 | PECI RdPkgConfig(CPU ID) 121 | Target: ME [0x2c] 122 | 123 | Request :2e 0x40 0x57 0x01 0x00 0x30 0x05 0x05 0xa1 0x00 0x00 0x00 0x00 124 | Response: 57 01 00 40 a9 06 03 00 125 | ------------------------------------- 126 | PECI RdIAMSR(IA32_PLATFORM_ID) 127 | Target: ME [0x2c] 128 | 129 | Request :2e 0x40 0x57 0x01 0x00 0x30 0x05 0x05 0xb1 0x00 0x00 0x00 0x00 130 | Response: Unable to send RAW command (channel=0x0 netfn=0x2e lun=0x0 cmd=0x40 rsp=0xa5): Unknown (0xA5) 131 | ------------------------------------- 132 | CPU Package Configuration Read 133 | Target: ME [0x2c] 134 | 135 | Request :2e 0x42 0x57 0x01 0x00 0x00 0x00 0x00 0x00 0x03 136 | Response: 57 01 00 a9 06 03 00 137 | ------------------------------------- 138 | PECI RdPCIConfigLocal() 139 | Target: ME [0x2c] 140 | 141 | Request :2e 0x40 0x57 0x01 0x00 0x30 0x05 0x05 0xe1 0x00 0x00 0x00 0x00 142 | Response: Unable to send RAW command (channel=0x0 netfn=0x2e lun=0x0 cmd=0x40 rsp=0xa5): Unknown (0xA5) 143 | ------------------------------------- 144 | CPU PCI Configuration Read (Pre-Boot) 145 | Target: ME [0x2c] 146 | 147 | Request :2e 0x44 0x57 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x03 148 | Response: Unable to send RAW command (channel=0x0 netfn=0x2e lun=0x0 cmd=0x44 rsp=0xa5): Unknown (0xA5) 149 | ------------------------------------- 150 | CPU IA MSR Read (IA32_PLATFORM_ID) 151 | Target: ME [0x2c] 152 | 153 | Request :2e 0x46 0x57 0x01 0x00 0x00 0x00 0x17 0x00 0x04 154 | Response: Unable to send RAW command (channel=0x0 netfn=0x2e lun=0x0 cmd=0x46 rsp=0xab): Unknown (0xAB) 155 | ------------------------------------- 156 | Get CPU and Memory Temperature 157 | Target: ME [0x2c] 158 | 159 | Request :2e 0x4b 0x57 0x01 0x00 0x0f 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 160 | Response: 161 | ------------------------------------- 162 | Get PSU Configuration 163 | Target: ME [0x2c] 164 | 165 | Request :2e 0xd8 0x57 0x01 0x00 0x00 166 | Response: 57 01 00 00 b0 b2 b4 b6 b8 ba bc be 167 | ------------------------------------- 168 | Get Host CPU Configuration 169 | Target: ME [0x2c] 170 | 171 | Request :2e 0xea 0x57 0x01 0x00 0x00 172 | Response: 57 01 00 90 0f 00 04 25 25 24 23 00 00 00 00 00 21 01 e0 10 10 08 00 00 173 | ```` 174 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPNM-External Intel NM Configuration and Control Commands.txt: -------------------------------------------------------------------------------- 1 | Enable/Disable Intel NM Policy Control - NetFn = 0x2Eh, CMD = 0xC0h 2 | [IPMI tool in Linux] 3 | ipmitool -b -t
raw 0x2e 0xc0 0x57 0x01 0x00 Byte[4:6] 4 | 5 | For example 6 | [IPMI tool in Linux] 7 | Global Disable Node Manager Policy Control 8 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xc0 0x57 0x01 0x00 0x00 0x00 0x00 9 | 57 01 00 10 | Global Enable Node Manager Policy Control 11 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xc0 0x57 0x01 0x00 0x01 0x00 0x00 12 | 57 01 00 13 | 14 | 15 | Set Intel NM Policy - NetFn = 0x2Eh, CMD = 0xC1h 16 | [IPMI tool in Linux] 17 | ipmitool -b -t
raw 0x2e 0xc1 0x57 0x01 0x00 Byte[4:17] 18 | 19 | For example 20 | [IPMI tool in Linux] 21 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xc1 0x57 0x01 0x00 0x00 0x01 0x10 0x01 0xff 0x7f 0xc0 0x27 0x09 0x00 0x00 0x00 0x10 0x0e 22 | 57 01 00 23 | 24 | 25 | Get Intel NM Policy - NetFn = 0x2Eh, CMD = 0xC2h 26 | [IPMI tool in Linux] 27 | ipmitool -b -t
raw 0x2e 0xc2 0x57 0x01 0x00 Byte[4:7] 28 | 29 | For example 30 | [IPMI tool in Linux] 31 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xc2 0x57 0x01 0x00 0x00 0x01 32 | 57 01 00 60 10 01 ff 7f c0 27 09 00 ff 7f 10 0e 33 | 34 | 35 | Set Intel NM Policy Alert Thresholds - NetFn = 0x2Eh, CMD = 0xC3h 36 | [IPMI tool in Linux] 37 | ipmitool -b -t
raw 0x2e 0xc3 0x57 0x01 0x00 Byte[4:7] 38 | 39 | For example 40 | [IPMI tool in Linux] 41 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xc3 0x57 0x01 0x00 0x00 0x01 0x00 42 | 57 01 00 43 | 44 | 45 | Get Intel NM Policy Alert Thresholds - NetFn = 0x2Eh, CMD = 0xC4h 46 | [IPMI tool in Linux] 47 | ipmitool -b -t
raw 0x2e 0xc4 0x57 0x01 0x00 Byte[4:7] 48 | 49 | For example 50 | [IPMI tool in Linux] 51 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xc4 0x57 0x01 0x00 0x00 0x01 52 | 57 01 00 00 53 | 54 | 55 | Set Intel NM Policy Suspend Periods - NetFn = 0x2Eh, CMD = 0xC5h 56 | [IPMI tool in Linux] 57 | ipmitool -b -t
raw 0x2e 0xc5 0x57 0x01 0x00 Byte[4:N] 58 | 59 | For example 60 | [IPMI tool in Linux] 61 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xc5 0x57 0x01 0x00 0x00 0x01 0x00 62 | 57 01 00 63 | 64 | 65 | Get Intel NM Policy Suspend Periods - NetFn = 0x2Eh, CMD = 0xC6h 66 | [IPMI tool in Linux] 67 | ipmitool -b -t
raw 0x2e 0xc6 0x57 0x01 0x00 Byte[4:5] 68 | 69 | For example 70 | [IPMI tool in Linux] 71 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xc6 0x57 0x01 0x00 0x00 0x01 72 | 57 01 00 00 73 | 74 | 75 | Reset Intel NM Statistics - NetFn = 0x2Eh, CMD = 0xC7h 76 | [IPMI tool in Linux] 77 | ipmitool -b -t
raw 0x2e 0xc7 0x57 0x01 0x00 Byte[4:6] 78 | 79 | For example 80 | [IPMI tool in Linux] 81 | Reset Global Statistics 82 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xc7 0x57 0x01 0x00 0x00 0x00 0x01 83 | 57 01 00 84 | Reset Per Policy Statistics 85 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xc7 0x57 0x01 0x00 0x01 0x00 0x01 86 | 57 01 00 87 | 88 | 89 | Get Intel NM Statistics - NetFn = 0x2Eh, CMD = 0xC8h 90 | [IPMI tool in Linux] 91 | ipmitool -b -t
raw 0x2e 0xc8 0x57 0x01 0x00 Byte[4:6] 92 | 93 | For example 94 | Global Power Statistics in [Watts] 95 | [IPMI tool in Linux] 96 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xc8 0x57 0x01 0x00 0x01 0x00 0x01 97 | 57 01 00 00 00 00 00 00 00 00 00 f9 df c2 51 f7 98 | 00 00 00 10 99 | 100 | 101 | Get Intel NM Capabilities - NetFn = 0x2Eh, CMD = 0xC9h 102 | [IPMI tool in Linux] 103 | ipmitool -b -t
raw 0x2e 0xc9 0x57 0x01 0x00 Byte[4:5] 104 | 105 | For example 106 | [IPMI tool in Linux] 107 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xc9 0x57 0x01 0x00 0x00 0x10 108 | 57 01 00 08 ff 7f 01 00 e8 03 00 00 c0 27 09 00 109 | 01 00 10 0e 00 110 | 111 | 112 | Get Intel NM Version - NetFn = 0x2Eh, CMD = 0xCAh 113 | [IPMI tool in Linux] 114 | ipmitool -b -t
raw 0x2e 0xca 0x57 0x01 0x00 115 | 116 | For example 117 | [IPMI tool in Linux] 118 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xca 0x57 0x01 0x00 119 | 57 01 00 03 02 00 02 17 120 | 121 | 122 | Set Intel NM Power Draw Range - NetFn = 0x2Eh, CMD = 0xCBh 123 | [IPMI tool in Linux] 124 | ipmitool -b -t
raw 0x2e 0xcb 0x57 0x01 0x00 Byte[4:8] 125 | 126 | For example 127 | [IPMI tool in Linux] 128 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xcb 0x57 0x01 0x00 0x00 0x00 0x00 0x00 0x00 129 | 57 01 00 130 | 131 | 132 | Set Intel NM Alert Destination - NetFn = 0x2Eh, CMD = 0xCEh 133 | [IPMI tool in Linux] 134 | ipmitool -b -t
raw 0x2e 0xce 0x57 0x01 0x00 Byte[4:6] 135 | 136 | For example 137 | [IPMI tool in Linux] 138 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xce 0x57 0x01 0x00 0x01 0x00 0x00 139 | 57 01 00 140 | 141 | 142 | Get Intel NM Alert Destination - NetFn = 0x2Eh, CMD = 0xCFh 143 | [IPMI tool in Linux] 144 | ipmitool -b -t
raw 0x2e 0xcf 0x57 0x01 0x00 145 | 146 | For example 147 | [IPMI tool in Linux] 148 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xcf 0x57 0x01 0x00 149 | 57 01 00 01 00 00 150 | $ ipmitool -b 0x06 -t 0x2c raw 0x2e 0xcf 0x57 0x01 0x00 151 | 57 01 00 80 00 00 152 | 153 | 154 | Get Limiting Policy ID - NetFn = 0x2Eh, CMD = 0xF2h 155 | [IPMI tool in Linux] 156 | ipmitool -b -t
raw 0x2e 0xf2 0x57 0x01 0x00 Byte[4] 157 | 158 | 159 | [1] "Intel® Intelligent Power Node Manager 2.0" http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/intelligent-power-node-manager-specification.pdf 160 | [2] "Intel® Intelligent Power Node Manager 1.5" http://www.intel.com/content/dam/doc/technical-specification/intelligent-power-node-manager-1-5-specification.pdf 161 | [3] "Intelligent Platform Management Interface Specification Second Generation v2.0" 162 | [4] "IPMItool" http://ipmitool.sourceforge.net/ 163 | [5] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 164 | [6] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net 165 | 166 | Acknowledges the Following Trademarks: 167 | Intel® is a registered trademark of the Intel Corporation. 168 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPMI-Sensor Device Commands.txt: -------------------------------------------------------------------------------- 1 | Get Device SDR Info - NetFn = Sensor/Event (0x04h), Cmd = 0x20h 2 | Get Device SDR - NetFn = Sensor/Event (0x04h), Cmd = 21h 3 | Reserve Device SDR Repository - NetFn = Sensor/Event (0x04h), Cmd = 22h 4 | 5 | 6 | Get Sensor Reading Factors - NetFn = Sensor/Event (0x04h), Cmd = 0x23h 7 | [IPMI tool in Linux] 8 | ipmitool raw 0x04 0x23 Data[1:2] 9 | [IPMI tool under DOS] 10 | ipmitool 20 10 23 Data[1:2] 11 | 12 | For example 13 | [IPMI tool in Linux] 14 | $ ipmitool raw 0x04 0x23 0x01 0xff 15 | 20 04 00 00 00 00 e0 16 | 17 | 18 | Set Sensor Hysteresis - NetFn = Sensor/Event (0x04h), Cmd = 24h 19 | [IPMI tool in Linux] 20 | ipmitool raw 0x04 0x24 Data[1:4] 21 | [IPMI tool under DOS] 22 | ipmitool 20 10 24 Data[1:4] 23 | 24 | For example 25 | [IPMI tool in Linux] 26 | $ ipmitool raw 0x04 0x24 0x01 0xff 0x00 0x00 27 | 28 | 29 | 30 | Get Sensor Hysteresis - NetFn = Sensor/Event (0x04h), Cmd = 25h 31 | [IPMI tool in Linux] 32 | ipmitool raw 0x04 0x25 Data[1:2] 33 | [IPMI tool under DOS] 34 | ipmitool 20 10 25 Data[1:2] 35 | 36 | For example 37 | [IPMI tool in Linux] 38 | $ ipmitool raw 0x04 0x25 0x01 0xff 39 | 00 00 40 | 41 | 42 | Set Sensor Threshold - NetFn = Sensor/Event (0x04h), Cmd = 0x26h 43 | [IPMI tool in Linux] 44 | ipmitool raw 0x04 0x26 Data[1:8] 45 | ipmitool sensor thresh 46 | ipmitool sensor thresh lower 47 | ipmitool sensor thresh upper 48 | [IPMI tool under DOS] 49 | ipmitool 20 10 26 Data[1:8] 50 | 51 | For example 52 | [IPMI tool in Linux] 53 | $ ipmitool raw 0x04 0x26 0x06 0x3f 0x6d 0x6a 0x55 0x6e 0x73 0x78 54 | $ ipmitool sensor thresh Temp_CPU1 unr 125 55 | Locating sensor record 'Temp_CPU1'... 56 | Setting sensor "Temp_CPU1" Upper Non-Recoverable threshold to 125.000 57 | $ ipmitool sensor thresh Temp_CPU1 upper 70 80 90 58 | Locating sensor record 'Temp_CPU1'... 59 | Setting sensor "Temp_CPU1" Upper Non-Critical threshold to 70.000 60 | Setting sensor "Temp_CPU1" Upper Critical threshold to 80.000 61 | Setting sensor "Temp_CPU1" Upper Non-Recoverable threshold to 90.000 62 | [IPMI tool under DOS] 63 | C:\> ipmitool 20 10 26 06 3f 6d 6a 55 6e 73 78 64 | 65 | 66 | Get Sensor Threshold - NetFn = Sensor/Event (0x04h), Cmd = 27h 67 | [IPMI tool in Linux] 68 | ipmitool raw 0x04 0x27 Data[1] 69 | [IPMI tool under DOS] 70 | ipmitool 20 10 27 Data[1] 71 | 72 | For example 73 | [IPMI tool in Linux] 74 | $ ipmitool raw 0x04 0x27 0x01 75 | 3f 4e 46 41 57 5e 63 76 | 77 | 78 | Set Sensor Event Enable - NetFn = Sensor/Event (0x04h), Cmd = 28h 79 | [IPMI tool in Linux] 80 | ipmitool raw 0x04 0x28 Data[1:(6)] 81 | [IPMI tool under DOS] 82 | ipmitool 20 10 28 Data[1:(6)] 83 | 84 | For example 85 | [IPMI tool in Linux] 86 | $ ipmitool raw 0x04 0x28 0x01 0xc0 0x95 0x0a 0x95 0x0a 87 | 88 | 89 | 90 | Get Sensor Event Enable - NetFn = Sensor/Event (0x04h), Cmd = 29h 91 | [IPMI tool in Linux] 92 | ipmitool raw 0x04 0x29 Data[1] 93 | [IPMI tool under DOS] 94 | ipmitool 20 10 29 Data[1] 95 | 96 | For example 97 | [IPMI tool in Linux] 98 | $ ipmitool raw 0x04 0x29 0x01 99 | c0 95 0a 95 0a 100 | 101 | 102 | Re-arm Sensor Events - NetFn = Sensor/Event (0x04h), Cmd = 2ah 103 | [IPMI tool in Linux] 104 | ipmitool raw 0x04 0x2a Data[1:2] 105 | [IPMI tool under DOS] 106 | ipmitool 20 10 2a Data[1:2] 107 | 108 | For example 109 | [IPMI tool in Linux] 110 | $ ipmitool raw 0x04 0x2a 0x01 0x00 111 | 112 | [IPMI tool under DOS] 113 | C:\> ipmitool 20 10 2a 01 00 114 | 20 14 2A 00 115 | 116 | 117 | Get Sensor Event Status - NetFn = Sensor/Event (0x04h), Cmd = 2bh 118 | [IPMI tool in Linux] 119 | ipmitool raw 0x04 0x2b Data[1] 120 | [IPMI tool under DOS] 121 | ipmitool 20 10 2b Data[1] 122 | 123 | For example 124 | [IPMI tool in Linux] 125 | $ ipmitool raw 0x04 0x2b 0x01 126 | c0 00 00 00 00 127 | [IPMI tool under DOS] 128 | C:\> ipmitool 20 10 2b 01 129 | 20 14 2B 00 C0 00 00 00 00 130 | 131 | 132 | Get Sensor Reading - NetFn = Sensor/Event (0x04h), Cmd = 2dh 133 | [IPMI tool in Linux] 134 | ipmitool raw 0x04 0x2d Data[1] 135 | ipmitool sensor 136 | ipmitool sensor list 137 | ipmitool sensor get 138 | [IPMI tool under DOS] 139 | ipmitool 20 10 2d Data[1] 140 | 141 | For example 142 | [IPMI tool in Linux] 143 | $ ipmitool raw 0x04 0x2d 0x01 144 | 54 c0 c0 00 145 | $ ipmitool sensor 146 | Temp_CPU1 | 62.000 | degrees C | nr | 0.000 | 2.000 | 5.000 | 30.000 | 40.000 | 50.000 147 | Temp_CPU1_DIMM1 | 34.000 | degrees C | ok | 0.000 | 2.000 | 5.000 | 75.000 | 85.000 | 100.000 148 | $ ipmitool sensor get Temp_CPU1 149 | Locating sensor record... 150 | Sensor ID : Temp_CPU1 (0x17) 151 | Entity ID : 3.0 152 | Sensor Type (Analog) : Temperature 153 | Sensor Reading : 61 (+/- 1) degrees C 154 | Status : ok 155 | Lower Non-Recoverable : 0.000 156 | Lower Critical : 2.000 157 | Lower Non-Critical : 5.000 158 | Upper Non-Critical : 75.000 159 | Upper Critical : 85.000 160 | Upper Non-Recoverable : 100.000 161 | Assertion Events : 162 | Assertions Enabled : lnc- lcr- lnr- unc+ ucr+ unr+ 163 | Deassertions Enabled : lnc- lcr- lnr- unc+ ucr+ unr+ 164 | $ ipmitool sensor get FRU_EEPROM 165 | Locating sensor record... 166 | Device ID : FRU_EEPROM 167 | Entity ID : 7.1 (System Board) 168 | Device Access Address : 20h 169 | Logical FRU Device : 00h 170 | Channel Number : 0h 171 | LUN.Bus : 0h.0h 172 | Device Type.Modifier : 9h.0h (Unknown (0x900)) 173 | OEM : 00h 174 | 175 | 176 | Set Sensor Type - NetFn = Sensor/Event (0x04h), Cmd = 2eh 177 | [IPMI tool in Linux] 178 | ipmitool raw 0x04 0x2e Data[1:3] 179 | [IPMI tool under DOS] 180 | ipmitool 20 10 2e Data[1:3] 181 | 182 | For example 183 | [IPMI tool in Linux] 184 | $ ipmitool raw 0x04 0x2e 0x01 0x02 0x01 185 | 186 | 187 | 188 | Get Sensor Type - NetFn = Sensor/Event (0x04h), Cmd = 2fh 189 | [IPMI tool in Linux] 190 | ipmitool raw 0x04 0x2f Data[1] 191 | [IPMI tool under DOS] 192 | ipmitool 20 10 2f Data[1] 193 | 194 | For example 195 | [IPMI tool in Linux] 196 | $ ipmitool raw 0x04 0x2f 0x01 197 | 02 01 198 | [IPMI tool under DOS] 199 | C:\> ipmitool 20 10 2f 01 200 | 20 14 2F 00 02 01 201 | 202 | 203 | Set Sensor Reading and Event Status - NetFn = Sensor/Event (0x04h), Cmd = 30h 204 | 205 | 206 | Reference 207 | [1] "Intelligent Platform Management Interface Specification Second Generation v2.0"[2] "IPMItool" http://ipmitool.sourceforge.net/ 208 | [3] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 209 | [4] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/ 210 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPMI-Chassis Device Commands.txt: -------------------------------------------------------------------------------- 1 | Get Chassis Capabilities - NetFn = Chassis (0x00h), CMD = 0x00h 2 | [IPMI tool in Linux] 3 | ipmitool raw 0x00 0x00 4 | [IPMI tool under DOS] 5 | ipmitool 20 00 00 6 | 7 | For example 8 | [IPMI tool in Linux] 9 | $ ipmitool raw 0x00 0x00 10 | 00 20 20 20 20 20 11 | 12 | 13 | Get Chassis Status (M) - NetFn = Chassis (0x00h), CMD = 0x01h 14 | [IPMI tool in Linux] 15 | ipmitool raw 0x00 0x01 16 | ipmitool chassis status 17 | ipmitool power status 18 | ipmitool chassis power status 19 | ipmitool chassis poh 20 | [IPMI tool under DOS] 21 | ipmitool 20 00 00 22 | 23 | For example 24 | [IPMI tool in Linux] 25 | $ ipmitool raw 0x00 0x01 26 | 41 10 40 00 27 | $ ipmitool chassis status 28 | System Power : on 29 | Power Overload : false 30 | Power Interlock : inactive 31 | Main Power Fault : false 32 | Power Control Fault : false 33 | Power Restore Policy : always-on 34 | Last Power Event : ac-failed 35 | Chassis Intrusion : inactive 36 | Front-Panel Lockout : inactive 37 | Drive Fault : false 38 | Cooling/Fan Fault : false 39 | $ ipmitool power status 40 | Chassis Power is on 41 | $ ipmitool chassis power status 42 | Chassis Power is off 43 | Get chassis power on hours 44 | $ ipmitool chassis poh 45 | POH Counter : 0 days, 20 hours 46 | 47 | 48 | Chassis Control - NetFn = Chassis (0x00h), CMD = 0x02h 49 | 0h = power down 50 | [IPMI tool in Linux] 51 | ipmitool raw 0x00 0x02 0x00 52 | ipmitool chassis power off 53 | ipmitool power off 54 | [IPMI tool under DOS] 55 | ipmitool 20 00 02 00 56 | 57 | 1h = power up 58 | [IPMI tool in Linux] 59 | ipmitool raw 0x00 0x02 0x01 60 | ipmitool chassis power on 61 | ipmitool power on 62 | [IPMI tool under DOS] 63 | ipmitool 20 00 02 01 64 | 65 | 2h = power cycle (Optional) 66 | [IPMI tool in Linux] 67 | ipmitool raw 0x00 0x02 0x02 68 | ipmitool chassis power cycle 69 | ipmitool power cycle 70 | [IPMI tool under DOS] 71 | ipmitool 20 00 02 02 72 | 73 | 3h = hard reset 74 | [IPMI tool in Linux] 75 | ipmitool raw 0x00 0x02 0x03 76 | ipmitool chassis power reset 77 | ipmitool power reset 78 | [IPMI tool under DOS] 79 | ipmitool 20 00 02 03 80 | 81 | 4h = pulse Diagnostic Interrupt (Optional) 82 | [IPMI tool in Linux] 83 | ipmitool raw 0x00 0x02 0x04 84 | ipmitool chassis power diag 85 | ipmitool power diag 86 | [IPMI tool under DOS] 87 | ipmitool 20 00 02 04 88 | 89 | 5h = Initiate a soft-shutdown via ACPI (Optional) 90 | [IPMI tool in Linux] 91 | ipmitool raw 0x00 0x02 0x05 92 | ipmitool chassis power soft 93 | ipmitool power soft 94 | [IPMI tool under DOS] 95 | ipmitool 20 00 02 05 96 | 97 | 98 | Chassis Reset - NetFn = Chassis (0x00h), CMD = 0x03h 99 | 100 | 101 | Chassis Identify - NetFn = Chassis (0x00h), CMD = 0x04h 102 | [IPMI tool in Linux] 103 | ipmitool raw 0x00 0x04 [Data[1:2]] 104 | ipmitool chassis identify 105 | where, 106 | Data[1] = 0x00: Turn off indentify 107 | 108 | For example 109 | [IPMI tool in Linux] 110 | $ ipmitool raw 0x00 0x04 111 | 112 | $ ipmitool raw 0x00 0x04 0x00 113 | 114 | $ ipmitool chassis identify 115 | Chassis identify interval: default (15 seconds) 116 | $ ipmitool chassis identify 33 117 | Chassis identify interval: 33 seconds 118 | $ ipmitool chassis identify 00 119 | Chassis identify interval: off 120 | 121 | 122 | Set Front Panel Enables - NetFn = Chassis (0x00h), CMD = 0x0Ah 123 | [IPMI tool in Linux] 124 | ipmitool raw 0x00 0x0a Data[1] 125 | 126 | For example 127 | [IPMI tool in Linux] 128 | $ ipmitool raw 0x00 0x0a 0x00 129 | 130 | 131 | Set Chassis Capabilities - NetFn = Chassis (0x00h), CMD = 0x05h 132 | [IPMI tool in Linux] 133 | ipmitool raw 0x00 0x05 Data[1:6] 134 | 135 | For example 136 | [IPMI tool in Linux] 137 | $ ipmitool raw 0x00 0x05 0x00 0x20 0x20 0x20 0x20 0x20 138 | 139 | 140 | Set Power Restore Policy - NetFn = Chassis (0x00h), CMD = 0x06h 141 | [IPMI tool in Linux] 142 | ipmitool raw 0x00 0x06 Data[1] 143 | 144 | For example 145 | [IPMI tool in Linux] 146 | $ ipmitool raw 0x00 0x06 0x03 147 | 07 148 | 149 | 150 | Set Power Cycle Interval - NetFn = Chassis (0x00h), CMD = 0x0Bh 151 | [IPMI tool in Linux] 152 | ipmitool raw 0x00 0x0b Data[1] 153 | 154 | For example 155 | [IPMI tool in Linux] 156 | $ ipmitool raw 0x00 0x0b 0x00 157 | 158 | 159 | Get System Restart Cause - NetFn = Chassis (0x00h), CMD = 0x07h 160 | [IPMI tool in Linux] 161 | ipmitool raw 0x00 0x07 162 | ipmitool chassis restart_cause 163 | 164 | For example 165 | [IPMI tool in Linux] 166 | $ ipmitool raw 0x00 0x07 167 | 01 01 168 | $ ipmitool chassis restart_cause 169 | System restart cause: chassis power control command 170 | 171 | 172 | 173 | 174 | Set System Boot Options - NetFn = Chassis (0x00h), CMD = 0x08h 175 | [IPMI tool in Linux] 176 | ipmitool raw 0x00 0x08 Data[1:6] 177 | ipmitool chassis bootdev 178 | ipmitool chassis bootparam set bootflag 179 | [IPMI tool under DOS] 180 | ipmitool 20 00 08 Data[1:6] 181 | 182 | For example 183 | [IPMI tool in Linux] 184 | Force boot into BIOS Setup 185 | $ ipmitool raw 0x00 0x08 0x05 0x80 0x18 0x00 0x00 0x00 186 | 187 | $ ipmitool chassis bootdev bios 188 | Set Boot Device to bios 189 | $ ipmitool chassis bootparam set bootflag force_bios 190 | Set Boot Device to force_bios 191 | 192 | Force PXE boot 193 | $ ipmitool raw 0x00 0x08 0x05 0x80 0x04 0x00 0x00 0x00 194 | $ ipmitool chassis bootdev pxe 195 | $ ipmitool chassis bootparam set bootflag force_pxe 196 | 197 | Force boot from default Hard-drive 198 | $ ipmitool raw 0x00 0x08 0x05 0x80 0x08 0x00 0x00 0x00 199 | $ ipmitool chassis bootdev disk 200 | $ ipmitool chassis bootparam set bootflag force_disk 201 | 202 | Force boot from CD/DVD 203 | $ ipmitool raw 0x00 0x08 0x05 0x80 0x14 0x00 0x00 0x00 204 | $ ipmitool chassis bootdev cdrom 205 | $ ipmitool chassis bootparam set bootflag force_cdrom 206 | 207 | 208 | Get System Boot Options - NetFn = Chassis (0x00h), CMD = 0x09h 209 | [IPMI tool in Linux] 210 | ipmitool raw 0x00 0x09 Data[1:3] 211 | [IPMI tool under DOS] 212 | ipmitool 20 00 09 Data[1:3] 213 | 214 | For example 215 | [IPMI tool in Linux] 216 | $ ipmitool raw 0x00 0x09 0x05 0x00 0x00 217 | 01 05 80 18 00 00 00 218 | Where, 219 | Response Data[5] 220 | 0x00: No override 221 | 0x04: Force PXE 222 | 0x08: Force boot from default Hard-drive 223 | 0x14: Force boot from default CD/DVD 224 | 0x18: Force boot into BIOS setup 225 | 226 | 227 | Get POH Counter - NetFn = Chassis (0x00h), CMD = 0x0Fh 228 | [IPMI tool in Linux] 229 | ipmitool raw 0x00 0x0f 230 | ipmitool chassis poh 231 | [IPMI tool under DOS] 232 | ipmitool 20 00 0f 233 | 234 | For example 235 | [IPMI tool in Linux] 236 | $ ipmitool raw 0x00 0x0f 237 | 3c 03 00 00 00 238 | $ ipmitool chassis poh 239 | POH Counter : 0 days, 3 hours 240 | 241 | 242 | 243 | Reference 244 | [1] "Intelligent Platform Management Interface Specification Second Generation v2.0" 245 | [2] "IPMItool" http://ipmitool.sourceforge.net/ 246 | [3] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 247 | [4] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/ 248 | -------------------------------------------------------------------------------- /1-discovering/logs/probe-ipmi-netfn-X10SLD-F.SMT_X10_123.BMC.md: -------------------------------------------------------------------------------- 1 | 0x00 0x00 | 00 20 20 20 20 20 2 | 0x00 0x01 | 01 00 40 3 | 0x00 0x02 | Request data truncated 4 | 0x00 0x04 | 5 | 0x00 0x06 | Request data truncated 6 | 0x00 0x07 | 00 0f 7 | 0x00 0x08 | Request data truncated 8 | 0x00 0x09 | Request data truncated 9 | 0x00 0x0b | Request data truncated 10 | 0x00 0x0f | 3c 00 00 00 00 11 | 0x04 0x00 | Request data length invalid 12 | 0x04 0x01 | 20 00 13 | 0x04 0x02 | Request data length invalid 14 | 0x04 0x10 | 51 1f 10 15 | 0x04 0x11 | Request data length invalid 16 | 0x04 0x12 | Request data length invalid 17 | 0x04 0x13 | Request data length invalid 18 | 0x04 0x14 | Request data length invalid 19 | 0x04 0x15 | ff ff ff ff ff ff ff ff ff ff 20 | 0x04 0x16 | Request data length invalid 21 | 0x04 0x17 | Request data length invalid 22 | 0x04 0x20 | 00 00 23 | 0x04 0x21 | Request data length invalid 24 | 0x04 0x22 | 02 00 25 | 0x04 0x24 | Request data length invalid 26 | 0x04 0x25 | Request data length invalid 27 | 0x04 0x26 | Request data length invalid 28 | 0x04 0x27 | Request data length invalid 29 | 0x04 0x28 | Request data length invalid 30 | 0x04 0x29 | Request data length invalid 31 | 0x04 0x2a | Request data length invalid 32 | 0x04 0x2b | Request data length invalid 33 | 0x04 0x2d | Request data length invalid 34 | 0x04 0x2e | Request data length invalid 35 | 0x04 0x2f | Request data length invalid 36 | 0x06 0x01 | 20 01 01 23 02 bf 7c 2a 00 10 08 37 | 0x06 0x02 | 38 | 0x06 0x04 | 55 00 39 | 0x06 0x06 | Request data length invalid 40 | 0x06 0x07 | 00 00 41 | 0x06 0x08 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 42 | 0x06 0x22 | Unknown (0x80) 43 | 0x06 0x24 | Request data truncated 44 | 0x06 0x25 | 00 00 00 00 00 00 00 00 45 | 0x06 0x2e | Request data truncated 46 | 0x06 0x2f | 0d 47 | 0x06 0x30 | Request data truncated 48 | 0x06 0x31 | 00 49 | Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0 cmd=0x33) 50 | Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0 cmd=0x34) 51 | Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0 cmd=0x35) 52 | 0x06 0x37 | 43 30 30 31 4d 53 00 25 90 d7 9f ff 00 00 00 00 53 | 0x06 0x38 | Insufficient privilege level 54 | 0x06 0x39 | Request data truncated 55 | 0x06 0x3a | Insufficient privilege level 56 | 0x06 0x3b | Request data truncated 57 | 0x06 0x3c | Request data truncated 58 | 0x06 0x3d | Request data truncated 59 | 0x06 0x40 | Request data truncated 60 | 0x06 0x41 | Request data truncated 61 | 0x06 0x42 | Request data truncated 62 | 0x06 0x43 | Request data truncated 63 | 0x06 0x44 | Request data truncated 64 | 0x06 0x45 | Request data truncated 65 | 0x06 0x46 | Request data truncated 66 | 0x06 0x47 | Request data truncated 67 | 0x06 0x48 | Request data length invalid 68 | 0x06 0x49 | Request data length invalid 69 | 0x06 0x4a | Request data length invalid 70 | 0x06 0x4b | Request data length invalid 71 | 0x06 0x4c | Request data truncated 72 | 0x06 0x4d | Request data truncated 73 | 0x06 0x4e | Request data length invalid 74 | 0x06 0x4f | Request data length invalid 75 | 0x06 0x52 | Request data truncated 76 | 0x06 0x54 | Request data length invalid 77 | 0x06 0x56 | Request data length invalid 78 | 0x0a 0x11 | Request data truncated 79 | 0x0a 0x12 | Request data truncated 80 | 0x0a 0x20 | 51 1a 00 30 05 00 00 00 00 00 00 00 00 2f 81 | 0x0a 0x21 | 30 00 40 00 14 00 14 00 40 82 | 0x0a 0x22 | 01 00 83 | 0x0a 0x23 | Request data length invalid 84 | 0x0a 0x24 | Request data length invalid 85 | 0x0a 0x25 | Request data length invalid 86 | 0x0a 0x26 | Request data length invalid 87 | 0x0a 0x27 | Request data length invalid 88 | 0x0a 0x28 | 50 b1 11 54 89 | 0x0a 0x2c | Request data length invalid 90 | 0x0a 0x40 | 51 00 00 00 28 ff ff ff ff 00 00 00 00 03 91 | 0x0a 0x41 | 00 02 14 00 00 02 00 02 14 92 | 0x0a 0x42 | 02 00 93 | 0x0a 0x43 | Request data truncated 94 | 0x0a 0x44 | Request data truncated 95 | 0x0a 0x47 | Request data truncated 96 | 0x0a 0x48 | 72 cd 11 54 97 | 0x0a 0x49 | Request data truncated 98 | 0x0c 0x01 | Request data length invalid 99 | 0x0c 0x02 | Request data length invalid 100 | 0x0c 0x03 | Request data truncated 101 | 0x0c 0x04 | Request data truncated 102 | 0x0c 0x10 | Request data length invalid 103 | 0x0c 0x11 | Request data truncated 104 | 0x0c 0x12 | Request data length invalid 105 | 0x0c 0x21 | Request data length invalid 106 | 0x0c 0x22 | 11 00 107 | 0x2c 0x16 | Request data length invalid 108 | 0x2e 0x01 | 109 | 0x2e 0x02 | 20 01 01 23 02 bf 7c 2a 00 10 08 110 | 0x2e 0x03 | 00 111 | 0x2e 0x04 | Request data length invalid 112 | 0x2e 0x05 | 01 113 | 0x2e 0x07 | 114 | 0x2e 0x0a | Request data length invalid 115 | 0x2e 0x17 | Request data truncated 116 | 0x30 0x02 | 117 | 0x30 0x03 | 118 | 0x30 0x05 | 119 | 0x30 0x06 | Request data length invalid 120 | 0x30 0x07 | 00 121 | 0x30 0x0b | Request data length invalid 122 | 0x30 0x0c | 00 123 | 0x30 0x0d | 124 | 0x30 0x0e | 125 | 0x30 0x0f | 00 126 | 0x30 0x10 | 01 127 | 0x30 0x20 | Request data length invalid 128 | 0x30 0x21 | 10 08 01 02 00 25 90 e5 00 7a 129 | 0x30 0x23 | Request data length invalid 130 | 0x30 0x2a | 00 131 | 0x30 0x2c | Request data length invalid 132 | 0x30 0x30 | Request data length invalid 133 | 0x30 0x31 | Request data length invalid 134 | 0x30 0x40 | 135 | 0x30 0x41 | 136 | 0x30 0x42 | 137 | 0x30 0x44 | 138 | 0x30 0x45 | 00 139 | 0x30 0x47 | Request data length invalid 140 | 0x30 0x60 | Command not supported in present state 141 | 0x30 0x61 | Command not supported in present state 142 | 0x30 0x62 | Command not supported in present state 143 | 0x30 0x63 | Command not supported in present state 144 | 0x30 0x64 | Command not supported in present state 145 | 0x30 0x65 | Command not supported in present state 146 | 0x30 0x66 | Command not supported in present state 147 | 0x30 0x68 | 148 | 0x30 0x69 | Request data length invalid 149 | 0x30 0x6a | 00 150 | 0x30 0x6e | 00 00 00 00 151 | 0x30 0x71 | 00 152 | 0x30 0x90 | Request data length invalid 153 | 0x30 0x91 | Request data length invalid 154 | 0x30 0x92 | 01 155 | 0x30 0x93 | 1e 156 | 0x30 0x94 | ff 157 | 0x30 0x95 | 27 158 | 0x30 0x96 | 64 64 64 64 159 | 0x30 0x97 | 160 | 0x30 0x98 | 161 | 0x30 0x99 | Request data length invalid 162 | 0x30 0x9a | Requested sensor, data, or record not found 163 | 0x30 0x9b | 10 00 00 00 00 00 00 00 00 00 164 | 0x30 0x9d | 01 ff ff ff ff 165 | 0x30 0x9e | 166 | 0x30 0x9f | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 167 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 168 | 00 00 00 00 00 169 | 0x30 0xac | Request data length invalid 170 | 0x30 0xb0 | ff 171 | 0x30 0xe2 | Requested sensor, data, or record not found 172 | 0x30 0xe3 | 173 | 0x30 0xe7 | 1e 00 01 174 | 0x3a 0x3e | Request data length invalid 175 | 0x3a 0x3f | Request data length invalid 176 | 0x3c 0x03 | 00 00 00 00 00 00 00 00 177 | 0x3c 0x04 | Request data length invalid 178 | 0x3c 0x08 | Request data length invalid 179 | 0x3c 0x09 | Request data length invalid 180 | 0x3c 0x40 | 181 | 0x3c 0x41 | 182 | 0x3e 0x02 | Request data truncated 183 | 0x3e 0x09 | 42 4c 5f 53 55 50 45 52 4d 49 43 52 4f 5f 58 37 184 | 53 42 33 5f 32 30 31 33 2d 31 31 2d 31 35 5f 42 185 | 0x3e 0x14 | 186 | 0x3e 0x15 | Unspecified error 187 | 0x3e 0x16 | Unspecified error 188 | Unspecified error 189 | 0x3e 0x17 | Unspecified error 190 | Unspecified error 191 | 0x3e 0x18 | Unspecified error 192 | Unspecified error 193 | 0x3e 0x1b | 194 | 0x3e 0x1c | Unspecified error 195 | 0x3e 0x1d | Unspecified error 196 | Unspecified error 197 | 0x3e 0x1e | Unspecified error 198 | Unspecified error 199 | 0x3e 0x1f | Unspecified error 200 | Unspecified error 201 | 0x3e 0x20 | Request data length invalid 202 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPMI-LAN Commands.txt: -------------------------------------------------------------------------------- 1 | Set LAN Configuration Parameters - NetFn = Transport (0x0ch), CMD = 0x01h 2 | [IPMI tool in Linux] 3 | ipmitool raw 0x0c 0x01 Data[1:N] 4 | ipmitool lan set 5 | Set channel IP address 6 | ipmitool lan set ipaddr 7 | Set channel IP netmask 8 | ipmitool lan set netmask 9 | Set default gateway IP address 10 | ipmitool lan set defgw ipaddr 11 | Set channel MAC address 12 | ipmitool lan set macaddr 13 | Set IP address source 14 | ipmitool lan set ipsrc 15 | Enable or disable access to this channel 16 | ipmitool lan set access 17 | [IPMI tool under DOS] 18 | ipmitool 20 30 01 Data[1:N] 19 | 20 | For example 21 | **** eth0 on channel 01 **** 22 | [IPMI tool in Linux] 23 | Enable LAN channel access 24 | $ ipmitool lan set 0x01 access on 25 | 26 | 27 | Set MAC address by raw command 28 | $ ipmitool raw 0x0c 0x01 0x01 0xc2 0x00 29 | $ ipmitool raw 0x0c 0x01 0x01 0x05 0x8c 0x89 0xa5 0x15 0xaa 0xbb 30 | 31 | Set MAC address 32 | $ ipmitool lan set 0x01 macaddr 8c:88:a5:15:aa:bb 33 | Setting LAN MAC Address to 8c:88:a5:15:aa:bb 34 | 35 | 36 | Set static IP address by raw command 37 | $ ipmitool raw 0x0c 0x01 0x01 0x00 0x01 38 | $ ipmitool raw 0x0c 0x01 0x01 0x04 0x01 39 | $ ipmitool raw 0x0c 0x01 0x01 0x03 0xc0 0xa8 0x01 0x05 40 | $ ipmitool raw 0x0c 0x01 0x01 0x06 0xff 0xff 0xff 0x00 41 | $ ipmitool raw 0x0c 0x01 0x01 0x00 0x00 42 | 43 | Set static IP address assignment 44 | $ ipmitool lan set 0x01 ipsrc static 45 | $ ipmitool lan set 0x01 ipaddr 192.168.1.5 46 | Setting LAN IP Address to 192.168.1.5 47 | $ ipmitool lan set 0x01 netmask 255.255.255.0 48 | Setting LAN Subnet Mask to 255.255.255.0 49 | 50 | 51 | Set DHCP IP address by raw command 52 | $ ipmitool raw 0x0c 0x01 0x01 0x03 0x00 0x00 0x00 0x00 53 | $ ipmitool raw 0x0c 0x01 0x01 0x04 0x02 54 | $ ipmitool raw 0x06 0x02 55 | 56 | Set DHCP IP address assignment 57 | $ ipmitool lan set 0x01 ipsrc dhcp 58 | 59 | 60 | 61 | 62 | [IPMI tool under DOS] 63 | Set MAC address 64 | C:\> ipmitool 20 30 01 01 c2 00 65 | C:\> ipmitool 20 30 01 01 05 8c 89 a5 15 aa bb 66 | 67 | Set IP address 68 | C:\> ipmitool 20 30 01 01 00 01 69 | C:\> ipmitool 20 30 01 01 04 01 70 | C:\> ipmitool 20 30 01 01 03 c0 a8 01 05 71 | C:\> ipmitool 20 30 01 01 06 ff ff ff 00 72 | C:\> ipmitool 20 30 01 01 00 00 73 | 74 | Set DHCP IP address assignment 75 | C:\> ipmitool 20 30 01 01 03 00 00 00 00 76 | C:\> ipmitool 20 30 01 01 04 02 77 | C:\> ipmitool 20 18 02 78 | 79 | **** eth1 on channel 08**** 80 | [IPMI tool in Linux] 81 | Enable LAN channel access 82 | $ ipmitool lan set 0x08 access on 83 | 84 | 85 | Set MAC address by raw command 86 | $ ipmitool raw 0x0c 0x01 0x01 0xc2 0x01 87 | $ ipmitool raw 0x0c 0x01 0x08 0x05 0x8c 0x89 0xa5 0x15 0xaa 0xbc 88 | 89 | Set MAC address 90 | $ ipmitool lan set 0x08 macaddr 8c:88:a5:15:aa:bc 91 | Setting LAN MAC Address to 8c:88:a5:15:aa:bc 92 | 93 | 94 | Set static IP address by raw command 95 | $ ipmitool raw 0x0c 0x01 0x08 0x00 0x01 96 | $ ipmitool raw 0x0c 0x01 0x08 0x04 0x01 97 | $ ipmitool raw 0x0c 0x01 0x08 0x03 0xc0 0xa8 0x02 0x05 98 | $ ipmitool raw 0x0c 0x01 0x08 0x06 0xff 0xff 0xff 0x00 99 | $ ipmitool raw 0x0c 0x01 0x08 0x00 0x00 100 | 101 | Set static IP address assignment 102 | $ ipmitool lan set 0x08 ipsrc static 103 | $ ipmitool lan set 0x08 ipaddr 192.168.2.5 104 | Setting LAN IP Address to 192.168.2.5 105 | $ ipmitool lan set 0x08 netmask 255.255.255.0 106 | Setting LAN Subnet Mask to 255.255.255.0 107 | 108 | 109 | Set DHCP IP address by raw command 110 | $ ipmitool raw 0x0c 0x01 0x08 0x03 0x00 0x00 0x00 0x00 111 | $ ipmitool raw 0x0c 0x01 0x08 0x04 0x02 112 | $ ipmitool raw 0x06 0x02 113 | 114 | Set DHCP IP address assignment 115 | $ ipmitool lan set 0x08 ipsrc dhcp 116 | 117 | 118 | 119 | [IPMI tool under DOS] 120 | Set MAC address 121 | C:\> ipmitool 20 30 01 01 c2 01 122 | C:\> ipmitool 20 30 01 08 05 8c 89 a5 15 aa bc 123 | 124 | Set IP address 125 | C:\> ipmitool 20 30 01 08 00 01 126 | C:\> ipmitool 20 30 01 08 04 01 127 | C:\> ipmitool 20 30 01 08 03 c0 a8 02 05 128 | C:\> ipmitool 20 30 01 08 06 ff ff ff 00 129 | C:\> ipmitool 20 30 01 08 00 00 130 | 131 | Set DHCP IP address assignment 132 | C:\> ipmitool 20 30 01 08 03 00 00 00 00 133 | C:\> ipmitool 20 30 01 08 04 02 134 | C:\> ipmitool 20 18 02 135 | 136 | 137 | Get LAN Configuration Parameters - NetFn = Transport (0x0ch), CMD = 0x02h 138 | [IPMI tool in Linux] 139 | ipmitool raw 0x0c 0x02 Data[1:4] 140 | ipmitool lan print [] 141 | [IPMI tool under DOS] 142 | ipmitool 20 30 02 Data[1:4] 143 | 144 | For example 145 | [IPMI tool in Linux] 146 | Get MAC address 147 | $ ipmitool raw 0x0c 0x02 0x01 0x05 0x00 0x00 148 | 11 8c 88 a5 15 aa bb 149 | 150 | Get IP address 151 | $ ipmitool raw 0x0c 0x02 0x01 0x03 0x00 0x00 152 | 11 c0 a8 01 05 153 | 154 | Get IP address source 155 | $ ipmitool raw 0x0c 0x02 0x01 0x04 0x00 0x00 156 | 11 01 157 | Where: 158 | 00h: unspecified 159 | 01h: static address 160 | 02h: obtained by BMC running DHCP 161 | 03h: by BIOS or system software 162 | 04h: by BMC running other address assignment protocol 163 | 164 | 165 | Get Lan Configuration Parameters 166 | $ ipmitool lan print 167 | $ ipmitool lan print 0x01 168 | Set in Progress : Set Complete 169 | Auth Type Support : NONE MD2 MD5 PASSWORD OEM 170 | Auth Type Enable : Callback : NONE MD2 MD5 PASSWORD OEM 171 | : User : NONE MD2 MD5 PASSWORD OEM 172 | : Operator : NONE MD2 MD5 PASSWORD OEM 173 | : Admin : NONE MD2 MD5 PASSWORD OEM 174 | : OEM : 175 | IP Address Source : Static Address 176 | IP Address : 192.168.1.5 177 | Subnet Mask : 255.255.255.0 178 | MAC Address : 8c:88:a5:15:aa:bb 179 | SNMP Community String : XXX 180 | IP Header : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10 181 | BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Disabled 182 | Gratituous ARP Intrvl : 0.0 seconds 183 | Default Gateway IP : 0.0.0.0 184 | Default Gateway MAC : 00:00:00:00:00:00 185 | Backup Gateway IP : 0.0.0.0 186 | Backup Gateway MAC : 00:00:00:00:00:00 187 | 802.1q VLAN ID : Disabled 188 | 802.1q VLAN Priority : 0 189 | RMCP+ Cipher Suites : 0,1,2,3,6,7,8,11,12 190 | Cipher Suite Priv Max : caaaXXaaaXXaaXX 191 | : X=Cipher Suite Unused 192 | : c=CALLBACK 193 | : u=USER 194 | : o=OPERATOR 195 | : a=ADMIN 196 | : O=OEM 197 | 198 | 199 | [IPMI tool under DOS] 200 | Get MAC address 201 | C:\> ipmitool 20 30 02 01 05 00 00 202 | 34 02 00 11 8c 88 a5 15 aa bb 203 | Get IP address 204 | C:\> ipmitool 20 30 02 01 03 00 00 205 | 34 02 00 11 c0 a8 01 05 206 | Get IP address source 207 | C:\> ipmitool 20 30 02 01 04 00 00 208 | 34 02 00 11 01 209 | Where: 210 | 00h: unspecified 211 | 01h: static address 212 | 02h: obtained by BMC running DHCP 213 | 03h: by BIOS or system software 214 | 04h: by BMC running other address assignment protocol 215 | 216 | 217 | Suspend BMC ARPs - NetFn = Transport (0x0ch), CMD = 0x03h 218 | [IPMI tool in Linux] 219 | ipmitool raw 0x0c 0x03 Data[1:2] 220 | [IPMI tool under DOS] 221 | ipmitool 20 30 03 Data[1:2] 222 | 223 | For example 224 | [IPMI tool in Linux] 225 | $ ipmitool raw 0x0c 0x03 0x01 0x03 226 | 02 227 | 228 | 229 | Get IP/UDP/RMCP Statistics - NetFn = Transport (0x0ch), CMD = 0x04h 230 | 231 | 232 | Reference 233 | [1] "Intelligent Platform Management Interface Specification Second Generation v2.0" 234 | [2] "IPMItool" http://ipmitool.sourceforge.net/ 235 | [3] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 236 | [4] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/ 237 | -------------------------------------------------------------------------------- /1-discovering/logs/probe-ipmi-netfn-X10SL7-F.SMT_X10_145.BMC.md: -------------------------------------------------------------------------------- 1 | ```` 2 | Supermicro X10SL7-F running SMT_X10_145 3 | 4 | $ ./probe-netfn-cmd.sh 5 | 0x0 0x0 | 00 20 20 20 20 20 6 | 0x0 0x1 | 41 00 40 7 | 0x0 0x2 | Request data truncated 8 | 0x0 0x4 | 9 | 0x0 0x6 | Request data truncated 10 | 0x0 0x7 | 00 01 11 | 0x0 0x8 | Request data truncated 12 | 0x0 0x9 | Request data truncated 13 | 0x0 0xb | Request data truncated 14 | 0x0 0xf | 3c 00 00 00 00 15 | 0x4 0x0 | Request data length invalid 16 | 0x4 0x1 | 20 00 17 | 0x4 0x2 | Request data length invalid 18 | 0x4 0x10 | 51 1f 10 19 | 0x4 0x11 | Request data length invalid 20 | 0x4 0x12 | Request data length invalid 21 | 0x4 0x13 | Request data length invalid 22 | 0x4 0x14 | Request data length invalid 23 | 0x4 0x15 | 07 cc 99 53 06 00 ff ff ff ff 24 | 0x4 0x16 | Request data length invalid 25 | 0x4 0x17 | Request data length invalid 26 | 0x4 0x20 | 00 00 27 | 0x4 0x21 | Request data length invalid 28 | 0x4 0x22 | 01 00 29 | 0x4 0x24 | Request data length invalid 30 | 0x4 0x25 | Request data length invalid 31 | 0x4 0x26 | Request data length invalid 32 | 0x4 0x27 | Request data length invalid 33 | 0x4 0x28 | Request data length invalid 34 | 0x4 0x29 | Request data length invalid 35 | 0x4 0x2a | Request data length invalid 36 | 0x4 0x2b | Request data length invalid 37 | 0x4 0x2d | Request data length invalid 38 | 0x4 0x2e | Request data length invalid 39 | 0x4 0x2f | Request data length invalid 40 | 0x6 0x1 | 20 01 01 45 02 bf 7c 2a 00 04 08 41 | 0x6 0x2 | 42 | 0x6 0x4 | 55 00 43 | 0x6 0x6 | Request data length invalid 44 | 0x6 0x7 | 00 00 45 | 0x6 0x8 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 46 | 0x6 0x22 | Unknown (0x80) 47 | 0x6 0x24 | Request data truncated 48 | 0x6 0x25 | 00 00 00 00 00 00 00 00 49 | 0x6 0x2e | Insufficient privilege level 50 | 0x6 0x2f | 09 51 | 0x6 0x30 | Insufficient privilege level 52 | 0x6 0x31 | Insufficient privilege level 53 | 0x6 0x32 | Insufficient privilege level 54 | 0x6 0x34 | Request data length invalid 55 | 0x6 0x35 | Insufficient privilege level 56 | 0x6 0x37 | 43 30 30 31 4d 53 00 25 90 f6 42 bd 00 00 00 00 57 | 0x6 0x38 | Request data truncated 58 | 0x6 0x39 | Request data truncated 59 | 0x6 0x3a | Request data truncated 60 | 0x6 0x3b | Request data truncated 61 | 0x6 0x3c | Request data truncated 62 | 0x6 0x3d | Request data truncated 63 | 0x6 0x40 | Request data truncated 64 | 0x6 0x41 | Request data truncated 65 | 0x6 0x42 | Request data truncated 66 | 0x6 0x43 | Request data truncated 67 | 0x6 0x44 | Request data truncated 68 | 0x6 0x45 | Request data truncated 69 | 0x6 0x46 | Request data truncated 70 | 0x6 0x47 | Request data truncated 71 | 0x6 0x48 | Request data length invalid 72 | 0x6 0x49 | Request data length invalid 73 | 0x6 0x4a | Request data length invalid 74 | 0x6 0x4b | Request data length invalid 75 | 0x6 0x4c | Request data truncated 76 | 0x6 0x4d | Request data truncated 77 | 0x6 0x4e | Request data length invalid 78 | 0x6 0x4f | Request data length invalid 79 | 0x6 0x52 | Request data truncated 80 | 0x6 0x54 | Request data length invalid 81 | 0x6 0x56 | Request data length invalid 82 | 0x6 0x58 | Unknown (0x80) 83 | 0x6 0x59 | Request data length invalid 84 | 0x6 0x5f | Unable to establish LAN session 85 | Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0 cmd=0x5f) 86 | 0x6 0x84 |Get Device ID command failed 87 | 0xa 0x10 | 00 01 00 88 | 0xa 0x11 | Request data truncated 89 | 0xa 0x12 | Request data truncated 90 | 0xa 0x20 | 51 19 00 73 05 00 00 00 00 00 00 00 00 2f 91 | 0xa 0x21 | 30 00 40 00 15 00 15 00 40 92 | 0xa 0x22 | 01 00 93 | 0xa 0x23 | Request data length invalid 94 | 0xa 0x24 | Request data length invalid 95 | 0xa 0x25 | Request data length invalid 96 | 0xa 0x26 | Request data length invalid 97 | 0xa 0x27 | Request data length invalid 98 | 0xa 0x28 | 9b b0 99 53 99 | 0xa 0x2c | Request data length invalid 100 | 0xa 0x40 | 51 07 00 74 27 b0 cc 99 53 00 00 00 00 03 101 | 0xa 0x41 | 00 02 14 00 f9 01 f9 01 14 102 | 0xa 0x42 | 04 00 103 | 0xa 0x43 | Request data truncated 104 | 0xa 0x44 | Request data truncated 105 | 0xa 0x47 | Request data truncated 106 | 0xa 0x48 | bc cc 99 53 107 | 0xa 0x49 | Request data truncated 108 | 0xc 0x1 | Request data length invalid 109 | 0xc 0x2 | Request data length invalid 110 | 0xc 0x3 | Request data truncated 111 | 0xc 0x4 | Request data truncated 112 | 0xc 0x10 | Request data length invalid 113 | 0xc 0x11 | Request data truncated 114 | 0xc 0x12 | Request data length invalid 115 | 0xc 0x21 | Request data length invalid 116 | 0xc 0x22 | 11 00 117 | 0x2c 0x16 | Request data length invalid 118 | 0x2e 0x1 | 119 | 0x2e 0x2 | Request data truncated 120 | 0x2e 0x3 | 00 121 | 0x2e 0x4 | Request data length invalid 122 | 0x2e 0x5 | 01 123 | 0x2e 0x7 | 124 | 0x2e 0xa | Request data length invalid 125 | 0x2e 0x17 | Request data truncated 126 | 0x30 0x2 | 127 | 0x30 0x3 | 128 | 0x30 0x5 | 129 | 0x30 0x6 | Request data length invalid 130 | 0x30 0x7 | 00 131 | 0x30 0xb | Request data length invalid 132 | 0x30 0xc | 00 133 | 0x30 0xd | 134 | 0x30 0xe | 135 | 0x30 0xf | 00 136 | 0x30 0x10 | 01 137 | 0x30 0x20 | Request data length invalid 138 | 0x30 0x21 | 04 08 01 01 00 25 90 f3 5b 94 139 | 0x30 0x23 | Request data length invalid 140 | 0x30 0x2a | 41 141 | 0x30 0x2c | Request data length invalid 142 | 0x30 0x30 | Request data length invalid 143 | 0x30 0x31 | Request data length invalid 144 | 0x30 0x40 | 145 | 0x30 0x41 | 146 | 0x30 0x42 | 147 | 0x30 0x44 | 148 | 0x30 0x45 | 00 149 | 0x30 0x47 | Request data length invalid 150 | 0x30 0x60 | Command not supported in present state 151 | 0x30 0x61 | Command not supported in present state 152 | 0x30 0x62 | Command not supported in present state 153 | 0x30 0x63 | Command not supported in present state 154 | 0x30 0x64 | Command not supported in present state 155 | 0x30 0x65 | Command not supported in present state 156 | 0x30 0x66 | Command not supported in present state 157 | 0x30 0x68 | 158 | 0x30 0x69 | Request data length invalid 159 | 0x30 0x6a | 00 160 | 0x30 0x6e | 00 00 00 00 161 | 0x30 0x71 | 00 162 | 0x30 0x72 | Request data length invalid 163 | 0x30 0x90 | Request data length invalid 164 | 0x30 0x91 | Request data length invalid 165 | 0x30 0x92 | 01 166 | 0x30 0x93 | 37 167 | 0x30 0x94 | ff 168 | 0x30 0x95 | 33 169 | 0x30 0x96 | 64 64 64 64 170 | 0x30 0x97 | 171 | 0x30 0x98 | 172 | 0x30 0x99 | Request data length invalid 173 | 0x30 0x9a | Requested sensor, data, or record not found 174 | 0x30 0x9b | 10 00 00 00 00 00 00 00 00 00 175 | 0x30 0x9d | 01 ff ff ff ff 176 | 0x30 0x9e | 177 | 0x30 0x9f | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 178 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 179 | 00 00 00 00 00 180 | 0x30 0xac | Request data length invalid 181 | 0x30 0xb0 | ff 182 | 0x30 0xe2 | 00 00 00 183 | 0x30 0xe3 | 184 | 0x30 0xe7 | 1e 00 00 185 | 0x32 0x87 |Get Device ID command failed 186 | Unable to send RAW command (channel=0x0 netfn=0x32 lun=0x0 cmd=0x87) 187 | Close Session command failed 188 | 0x32 0xb2 |Get Session Challenge command failed 189 | Unable to establish LAN session 190 | Unable to send RAW command (channel=0x0 netfn=0x32 lun=0x0 cmd=0xb2) 191 | 0x3a 0x3e | Request data length invalid 192 | 0x3a 0x3f | Request data length invalid 193 | 0x3c 0x3 | 00 00 00 00 00 00 00 00 194 | 0x3c 0x4 | Request data length invalid 195 | 0x3c 0x8 | Request data length invalid 196 | 0x3c 0x9 | Request data length invalid 197 | 0x3c 0x40 | 198 | 0x3c 0x41 | 199 | 0x3e 0x2 | Request data truncated 200 | 0x3e 0x9 | 42 4c 5f 53 55 50 45 52 4d 49 43 52 4f 5f 58 37 201 | 53 42 33 5f 32 30 31 34 2d 30 35 2d 30 38 5f 42 202 | 0x3e 0x14 | 203 | 0x3e 0x15 |Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0 cmd=0x15) 204 | Close Session command failed 205 | 0x3e 0x16 | 02 20 00 00 00 206 | 0x3e 0x17 | 00 207 | 0x3e 0x1b | Unknown (0xDF) 208 | 0x3e 0x1c |Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0 cmd=0x1c) 209 | Close Session command failed 210 | 0x3e 0x1d | Unable to establish LAN session 211 | Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0 cmd=0x1d) 212 | 0x3e 0x1e | Unable to establish LAN session 213 | Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0 cmd=0x1e) 214 | 0x3e 0x1f | Unable to establish LAN session 215 | Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0 cmd=0x1f) 216 | 0x3e 0x20 | Unable to establish LAN session 217 | Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0 cmd=0x20) 218 | 0x3e 0x21 | Unable to establish LAN session 219 | Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0 cmd=0x21) 220 | ... 221 | 222 | kaput 223 | ```` 224 | -------------------------------------------------------------------------------- /1-discovering/snippets/Computercheese/IPMI-Messaging Support commands.txt: -------------------------------------------------------------------------------- 1 | Set BMC Global Enables - NetFn = App (0x06h), CMD = 0x2eh 2 | [IPMI tool in Linux] 3 | ipmitool mc setenables 4 | 5 | 6 | Get BMC Global Enables - NetFn = App (0x06h), CMD = 0x2fh 7 | [IPMI tool in Linux] 8 | ipmitool raw 0x06 0x2f 9 | ipmitool mc getenables 10 | [IPMI tool under DOS] 11 | ipmitool 20 18 2f 12 | 13 | For example 14 | [IPMI tool in Linux] 15 | $ ipmitool raw 0x06 0x2f 16 | 09 17 | $ ipmitool mc getenables 18 | Receive Message Queue Interrupt : enabled 19 | Event Message Buffer Full Interrupt : disabled 20 | Event Message Buffer : disabled 21 | System Event Logging : enabled 22 | OEM 0 : disabled 23 | OEM 1 : disabled 24 | OEM 2 : disabled 25 | 26 | 27 | Clear Message Flags - NetFn = App (0x06h), CMD = 0x30h 28 | Get Message Flags - NetFn = App (0x06h), CMD = 0x31h 29 | Enable Message Channel Receive - NetFn = App (0x06h), CMD = 0x32h 30 | Get Message (M) - NetFn = App (0x06h), CMD = 0x33h 31 | Send Message (M) - NetFn = App (0x06h), CMD = 0x34h 32 | 33 | 34 | Read Event Message Buffer - NetFn = App (0x06h), CMD = 0x35h 35 | [IPMI tool in Linux] 36 | ipmitool raw 0x06 0x35 37 | [IPMI tool under DOS] 38 | ipmitool 20 18 35 39 | 40 | For example 41 | [IPMI tool in Linux] 42 | $ ipmitool raw 0x06 0x35 43 | 80 44 | 45 | 46 | Steps: 47 | 1. Enable Event Message reception into Event Message Buffer by "Set BMC Global Enables Command" 48 | $ ipmitool raw 0x06 0x2e 0x04 49 | 2. Produce a SEL log 50 | 3. Read Event Message Buffer 51 | $ ipmitool raw 0x06 0x35 52 | 32 4f 02 a6 b3 ff 4e 20 00 04 04 b0 01 50 00 010 53 | 4. Disable Event Message reception into Event Message Buffer 54 | $ ipmitool raw 0x06 0x2e 0x04 55 | 56 | 5. Read Event Message Buffer, where response 80h = data not available (queue / buffer empty) 57 | $ ipmitool raw 0x06 0x35 58 | 80 59 | 60 | 61 | Get System Interface Capabilities (M) - NetFn = App (0x06h), CMD = 0x57h 62 | [IPMI tool in Linux] 63 | ipmitool raw 0x06 0x57 Data[1] 64 | [IPMI tool under DOS] 65 | ipmitool 20 18 57 Data[1] 66 | 67 | For example 68 | [IPMI tool in Linux] 69 | $ ipmitool raw 0x06 0x57 0x01 70 | 00 00 ff 71 | $ ipmitool raw 0x06 0x57 0x00 72 | 00 88 50 50 73 | 74 | 75 | 76 | Get BT Interface Capabilities (M) - NetFn = App (0x06h), CMD = 0x36h 77 | 78 | 79 | Master Write-Read - NetFn = App (0x06h), CMD = 0x52h 80 | [IPMI tool in Linux] 81 | ipmitool raw 0x06 0x52 Data[1:N] 82 | ipmitool i2c [bus= #] [write data] 83 | [IPMI tool under DOS] 84 | ipmitool 20 18 52 Data[1:N] 85 | 86 | For example 87 | [IPMI tool in Linux] 88 | Write 89 | $ ipmitool raw 0x06 0x52 0x03 0xa4 0x00 0x00 0x00 0x01 0x20 0x00 0x01 0x00 0x10 0x00 0xce 90 | 91 | $ ipmitool i2c bus=1 0xa4 0x00 0x00 0x00 0x01 0x20 0x00 0x01 0x00 0x10 0x00 0xce 92 | 93 | 94 | Read 95 | $ ipmitool raw 0x06 0x52 0x03 0xa4 0x08 0x00 0x00 96 | 01 20 00 01 00 10 00 ce 97 | $ ipmitool i2c bus=1 0xa4 0x08 0x00 0x00 98 | 01 20 00 01 00 10 00 ce 99 | 100 | 101 | [IPMI tool under DOS] 102 | Write 103 | C:\> ipmitool 20 18 52 03 a4 00 00 00 01 20 00 01 00 10 00 ce 104 | 20 1c 52 00 105 | Read 106 | C:\> ipmitool 20 18 52 03 a4 08 00 00 107 | 20 1c 52 00 01 20 00 01 00 10 00 ce 108 | 109 | 110 | Get System GUID - NetFn = App (0x06h), CMD = 0x37h 111 | [IPMI tool in Linux] 112 | ipmitool raw 0x06 0x37 113 | ipmitool mc guid 114 | ipmitool bmc guid 115 | [IPMI tool under DOS] 116 | ipmitool 20 18 37 117 | 118 | For example 119 | [IPMI tool in Linux] 120 | $ ipmitool raw 0x06 0x37 121 | 8c 88 a5 15 ac b2 e1 02 00 10 d2 1d 2e 1b 5f 21 122 | $ ipmitool mc guid 123 | System GUID : 15a5888c-b2ac-02e1-0010-d21d2e2b5f21 124 | Timestemp : 07/05/1981 16:32:12 125 | 126 | 127 | Set System Info Parameters - NetFn = App (0x06h), CMD = 0x58h 128 | 129 | 130 | Get System Info Parameters - NetFn = App (0x06h), CMD = 0x59h 131 | [IPMI tool in Linux] 132 | ipmitool raw 0x06 0x59 Data[1:4] 133 | 134 | For example 135 | [IPMI tool in Linux] 136 | $ ipmitool raw 0x06 0x59 0x00 0x00 0x00 0x00 137 | 11 00 138 | 139 | 140 | Get Channel Authentication Capabilities - NetFn = App (0x06h), CMD = 0x38h 141 | [IPMI tool in Linux] 142 | ipmitool raw 0x06 0x38 Data[1:2] 143 | 144 | For example 145 | [IPMI tool in Linux] 146 | $ ipmitool raw 0x06 0x38 0x8f 0x04 147 | 0f 80 00 00 00 00 00 00 148 | 149 | 150 | Get Channel Cipher Suites - NetFn = App (0x06h), CMD = 0x54h 151 | Get Session Challenge - NetFn = App (0x06h), CMD = 0x39h 152 | Activate Session - NetFn = App (0x06h), CMD = 0x3ah 153 | 154 | 155 | Set Session Privilege Level - NetFn = App (0x06h), CMD = 0x3bh 156 | [IPMI tool in Linux] 157 | ipmitool raw 0x06 0x3b 0x04 158 | For example 159 | [IPMI tool in Linux] 160 | $ ipmitool raw 0x06 0x3b 0x04 161 | 04 162 | 163 | 164 | Close Session - NetFn = App (0x06h), CMD = 0x3ch 165 | 166 | 167 | Get Session Info - NetFn = App (0x06h), CMD = 0x3dh 168 | [IPMI tool in Linux] 169 | ipmitool raw 0x06 0x3d Data[1] 170 | [IPMI tool under DOS] 171 | ipmitool 20 18 3d Data[1] 172 | 173 | For example 174 | [IPMI tool in Linux] 175 | $ ipmitool raw 0x06 0x3d 0x00 176 | 40 24 01 02 04 01 c0 a8 01 03 40 61 86 7b b5 d0 177 | 0d 0f 178 | 179 | 180 | 181 | Get AuthCode - NetFn = App (0x06h), CMD = 0x3fh 182 | Set Channel Access - NetFn = App (0x06h), CMD = 0x40h 183 | 184 | 185 | Get Channel Access - NetFn = App (0x06h), CMD = 0x41h 186 | [IPMI tool in Linux] 187 | ipmitool raw 0x06 0x41 Data[1:2] 188 | 189 | For example 190 | [IPMI tool in Linux] 191 | $ ipmitool raw 0x06 0x41 0x01 0x80 192 | 02 04 193 | 194 | 195 | Get Channel Info - NetFn = App (0x06h), CMD = 0x42h 196 | [IPMI tool in Linux] 197 | ipmitool raw 0x06 0x42 Data[1] 198 | ipmitool channel info Data[1] 199 | [IPMI tool under DOS] 200 | ipmitool 20 18 42 Data[1] 201 | 202 | For example 203 | [IPMI tool in Linux] 204 | $ ipmitool raw 0x06 0x42 0x01 205 | 01 04 01 81 f2 1b 00 00 00 206 | $ ipmitool channel info 0x01 207 | Channel 0x1 info: 208 | Channel Medium Type : 802.3 LAN 209 | Channel Protocol Type : IPMB-1.0 210 | Session Support : multi-session 211 | Active Session Count : 1 212 | Protocol Vendor ID : 7154 213 | Volatile(active) Settings 214 | Alerting : enabled 215 | Per-message Auth : enabled 216 | User Level Auth : enabled 217 | Access Mode : always available 218 | Non-Volatile Settings 219 | Alerting : enabled 220 | Per-message Auth : enabled 221 | User Level Auth : enabled 222 | Access Mode : always available 223 | 224 | 225 | Set Channel Security Keys - NetFn = App (0x06h), CMD = 0x56h 226 | 227 | Set User Access - NetFn = App (0x06h), CMD = 0x43h 228 | [IPMI tool in Linux] 229 | ipmitool raw 0x06 0x43 Data[1:4] 230 | ipmitool user enable 231 | ipmitool user disable 232 | ipmitool user priv [] 233 | 234 | For example 235 | [IPMI tool in Linux] 236 | set user id 0x03 privilege level to USER 237 | $ ipmitool raw 0x06 0x43 0x01 0x03 0x02 0x00 238 | 239 | $ ipmitool user priv 0x03 0x02 240 | $ ipmitool user priv 0x03 0x02 0x01 241 | 242 | enable user id 0x03 243 | $ ipmitool user enable 0x03 244 | 245 | 246 | Get User Access - NetFn = App (0x06h), CMD = 0x44h 247 | [IPMI tool in Linux] 248 | ipmitool raw 0x06 0x44 Data[1:2] 249 | ipmitool user summary [] 250 | 251 | For example 252 | [IPMI tool in Linux] 253 | $ ipmitool raw 0x06 0x44 0x01 0x02 254 | 0a 43 02 54 255 | $ ipmitool user summary 256 | Maximum IDs : 10 257 | Enabled User Count : 2 258 | Fixed Name Count : 2 259 | 260 | 261 | Set User Name - NetFn = App(0x06), CMD= 0x45h 262 | [IPMI tool in Linux] 263 | ipmitool raw 0x06 0x45 Data[1:6] 264 | ipmitool user set name 265 | [IPMI tool under DOS] 266 | ipmitool 20 18 45 Data[1:6] 267 | 268 | For example 269 | [IPMI tool in Linux] 270 | $ ipmitool raw 0x06 0x45 0x02 0x41 0x44 0x4d 0x49 0x4e 271 | $ ipmitool user set name 0x03 guest 272 | 273 | 274 | Get User Name - NetFn = App(0x06), CMD= 0x46h 275 | [IPMI tool in Linux] 276 | ipmitool raw 0x06 0x46 Data[1] 277 | ipmitool user list 278 | [IPMI tool under DOS] 279 | ipmitool 20 18 46 Data[1] 280 | 281 | For example 282 | [IPMI tool in Linux] 283 | $ ipmitool raw 0x06 0x46 0x02 284 | 41 44 4d 49 4e 00 00 00 00 00 00 00 00 00 00 00 285 | $ ipmitool user list 286 | ID Name Callin Link Auth IPMI Msg Channel Priv Limit 287 | 1 false false true ADMINISTRATOR 288 | 2 ADMIN false false true ADMINISTRATOR 289 | 3 guest true false false NO ACCESS 290 | 291 | 292 | Set User Password - NetFn = App(0x06), CMD= 0x47h 293 | [IPMI tool in Linux] 294 | ipmitoo raw 0x06 0x47 Data[1:22] 295 | ipmitool user set password [] 296 | 297 | For example 298 | [IPMI tool in Linux] 299 | $ ipmitool user set password 0x03 TEST 300 | 301 | 302 | Reference 303 | [1] "Intelligent Platform Management Interface Specification Second Generation v2.0" 304 | [2] "IPMItool" http://ipmitool.sourceforge.net/ 305 | [3] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm 306 | [4] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/ 307 | -------------------------------------------------------------------------------- /1-discovering/snippets/BMC-Serial-Logs/Supermicro-X8SIL-F.txt: -------------------------------------------------------------------------------- 1 | Source: http://blog.devicenull.org/2014/06/06/x8sil-f-ipmi-serial-debug-port.html 2 | --------------------------------------------------------------------------------- 3 | BL: SERIAL BAUD RATE - 115200 bps 4 | [OEM Setup GPIO Pin]:2 Port:2 Dir:1 Value:1 5 | BL: FLASH - MX25L12805D FOUND 6 | 7 | 8 | 9 | WPCM450 Boot Loader [ Version:1.0.14 ] 10 | Rebuilt on Mar 23 2012 11 | HardCoded CPU: 180 MHz 12 | Memory Size is 0x8000000 Bytes, Flash Size is 0x1000000 Bytes 13 | Board designed by Winbond 14 | Hardware support provided at Winbond 15 | Copyright (c) Winbond Limited 2001 - 2006. All rights reserved. 16 | 17 | 18 | For help on the available commands type 'h' 19 | 20 | Press ESC to enter debug mode... Remain 10s 21 | Press ESC to enter debug mode... Remain 9s 22 | Press ESC to enter debug mode... Remain 8s 23 | Press ESC to enter debug mode... Remain 7s 24 | Press ESC to enter debug mode... Remain 6s 25 | Press ESC to enter debug mode... Remain 5s 26 | Press ESC to enter debug mode... Remain 4s 27 | Press ESC to enter debug mode... Remain 3s 28 | Press ESC to enter debug mode... Remain 2s 29 | Press ESC to enter debug mode... Remain 1s 30 | 31 | Processing image 1 ... 32 | Processing image 2 ... 33 | Processing image 3 ... 34 | Unzip image 3 ... 35 | Executing image 3 ... 36 | init started: BusyBox v1.12.0 (2014-01-02 18:15:33 PST) 37 | starting pid 685, tty '': '/etc/init.d/rcS' 38 | rm: cannot remove '/nv/system_log': No such file or directory 39 | ***** load kernel module for bonding channel ***** 40 | ls: /nv/ipctrl/*.sav: No such file or directory 41 | USB HID Module insert, Build Time 18:15:18 42 | register reboot notifier for usb k/m 43 | cp: cannot stat '/etc/IPMIdevicedesc_sample.xml': No such file or directory 44 | [Linda Debug] num_lan= 0, board_id= 0 45 | Create debug files - /tmp/message 46 | [run_shellcmd] insmod /bin/module/eth_wpcm450mac.ko ChannelNum1=1 47 | PhyTblIdx[0] 1 Auto scan phy completed, phyname RTL8201N phyaddr = 5 48 | Detect Phy in EMC0 49 | WPCM450 Ethernet(eth0) driver has been initialized successfully! 50 | Can't detect Phy in EMC1 51 | [NCSI 1] Select package ID 0 52 | [NCSI 1] Discovery all NCSI channels for this Package. 53 | [NCSI 1] DeSelect package ............... 54 | WPCM450 Ethernet(eth1) driver has been initialized successfully! 55 | [UtilInsertDrvier] Insert the driver module insmod /bin/module/eth_wpcm450mac.ko ChannelNum1=1 56 | [run_shellcmd] insmod /bin/module/i2c.ko 57 | [UtilInsertDrvier] Insert the driver module insmod /bin/module/i2c.ko 58 | [run_shellcmd] insmod /bin/module/ipmb.ko 59 | [UtilInsertDrvier] Insert the driver module insmod /bin/module/ipmb.ko 60 | Load Default SDR from firmware(/etc/conf) 61 | NVRamInit() fails to initial SDR 62 | NVRamInit() fails to initial 63 | [run_shellcmd] insmod /bin/module/wdt_drv.ko 64 | [UtilInsertDrvier] Insert the driver module insmod /bin/module/wdt_drv.ko 65 | Enable HW WDT timer 66 | [run_shellcmd] insmod /bin/module/gpiodrv.ko 67 | [UtilInsertDrvier] Insert the driver module insmod /bin/module/gpiodrv.ko 68 | setup 69 | [PltCHASSIS_PowerInit] at_St_OEMPS.a_b_PSTimeoutEnable=0x1, at_St_OEMPS.a_w_PSTimeoutValue=0x1E 70 | [run_shellcmd] insmod /bin/module/uart_drv.ko 71 | [UtilInsertDrvier] Insert the driver module insmod /bin/module/uart_drv.ko 72 | [UtilUsbHidSetMouseMode] The current Modes Relative Mode 73 | Before Sensor_Init_Agent(1) 74 | the amount number of SDR records = 0 75 | the amount number of Sensors = 0 76 | [GetSELTimeFromME] Fail in reading SEL Time from ME 77 | [GetSELTimeFromME] Retry Get SEL Time from ME.......0 78 | [GetSELTimeFromME] Retry Get SEL Time from ME.......1 79 | [GetSELTimeFromME] Retry Get SEL Time from ME.......2 80 | Got Error I2C From ME for Get SEL Time 81 | [OEMPostOS_Init] 82 | start dcmi_init 83 | [run_shellcmd] insmod /bin/module/kcs_drv.ko 84 | semaphore create done!SOLMsgHandler:SOL and UART share the same port 85 | PEFEntryTablePreConfig 86 | 1 ninit.c:at_FW_UpdateMode = 0x0 87 | mknod: /dev/ipmb5: File exists 88 | [run_shellcmd] ip link set bond0 up; ifenslave bond0 eth0 eth1 89 | ifenslave: bond0: can't set hw address 90 | ifenslave: can't enslave eth0 to bond0: Cannot assign requested address 91 | ifenslave: bond0: can't set hw address 92 | ifenslave: can't enslave eth1 to bond0: Cannot assign requested address 93 | [run_shellcmd] ip link set bond0 down 94 | [debug] cmd = ip link set bond0 down 95 | [run_shellcmd] ip link set eth0 addr ff:ff:ff:ff:ff:ff 96 | video source:INT_VGA 97 | [UtilInsertDrvier] Insert the driver module insmod /bin/module/kcs_drv.ko 98 | Empty IKVM Port in PS,use default port 5900 99 | UART_NONFLOWCTRL 100 | ip: SIOCSIFHWADDR: Cannot assign requested address 101 | [UtilSetMACAddr Debug] cmd = ip link set eth0 addr ff:ff:ff:ff:ff:ff 102 | [run_shellcmd] ip link set eth1 addr ff:ff:ff:ff:ff:ff 103 | dma_alloc_coherent LogAddr= ffc2c000 104 | dma_alloc_coherent PhyAddr= 03600000 105 | mknod: /dev/usb0: File exists 106 | Waiting for ready message from kernel 107 | Recieve Events from NIC Drive 108 | LAN Notifier Ready 109 | ip: SIOCSIFHWADDR: Cannot assign requested address 110 | [UtilSetMACAddr Debug] cmd = ip link set eth1 addr ff:ff:ff:ff:ff:ff 111 | [run_shellcmd] ip link set bond0 up; ifenslave bond0 eth0 eth1 112 | ifenslave: bond0: can't set hw address 113 | ifenslave: can't enslave eth0 to bond0: Cannot assign requested address 114 | ifenslave: bond0: can't set hw address 115 | ifenslave: can't enslave eth1 to bond0: Cannot assign requested address 116 | [run_shellcmd] /sbin/udhcpc -b -i bond0& 117 | [run_shellcmd] dhcp6c -c /etc/dhcpv6/dhcp6c.conf-stateless -p /tmp/dhcp6c.pid bond0& 118 | mknod: /dev/usb1: File exists 119 | mknod: /dev/ipmb4: File exists 120 | mknod: /dev/usb2: File exists 121 | udhcpc (v1.12.0) started 122 | [LanConfigApply Debug] arpping , cmd = arping -b -c 2 0.0.0.0 -I bond0 >>/dev/null 123 | [run_shellcmd] arping -b -c 2 0.0.0.0 -I bond0 >>/dev/null 124 | SSL Certificate is not yet valid. Time maybe lost. 125 | arping: cannot connect to remote host (0.0.0.0): No such device 126 | [run_shellcmd] /etc/network/network6 bond0 start 127 | start Web server ............. 128 | Jan 1 00:00:30 [844] Loading plugin: /wsman/openwsman/lib/openwsman/plugins/libwsman_test.so 129 | Jan 1 00:00:30 [844] Loading plugin: /wsman/openwsman/lib/openwsman/plugins/libwsman_identify_plugin.so 130 | Jan 1 00:00:31 [844] Loading plugin: /wsman/openwsman/lib/openwsman/plugins/libwsman_cim_plugin.so 131 | Jan 1 00:00:31 [844] Plugin 'Test', version: 2.1.0 132 | Jan 1 00:00:31 [844] Plugin 'IdentifyResponse', version: 2.1.0 133 | Jan 1 00:00:31 [844] reading configuration file options 134 | Jan 1 00:00:31 [844] vendor namespaces: OpenWBEM=http://schema.openwbem.org/wbem/wscim/1/cim-schema/2,Linux=http://sblim.sf.net/wbem/wscim/1/cim-schema/2,OMC=http://schema.omc-project.org/wbem/wscim/1/cim-schema/2,PG=http://schema.openpegasus.org/wbem/wscim/1/cim-schema/2,IPMI=http://ipmi.aten.com/wbem/wscim/1/cim-schema/2 135 | Jan 1 00:00:31 [844] cim namespace: root 136 | Jan 1 00:00:31 [844] Registering interface 137 | Jan 1 00:00:31 [844] Plugin 'CIM Resource', version: 2.1.0 138 | Jan 1 00:00:31 [844] make new callback entry 139 | Jan 1 00:00:31 [844] make new callback entry 140 | Jan 1 00:00:31 [844] Registering 3 plugins 141 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/transfer/Get 142 | Jan 1 00:00:31 [844] Registering endpoint for Get 143 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate 144 | Jan 1 00:00:31 [844] Registering endpoint for Enumerate 145 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull 146 | Jan 1 00:00:31 [844] Registering endpoint for direct Pull 147 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull 148 | Jan 1 00:00:31 [844] Registering endpoint for Pull 149 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/enumeration/Release 150 | Jan 1 00:00:31 [844] Registering endpoint for Release 151 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/transfer/Put 152 | Jan 1 00:00:31 [844] Registering endpoint for Put 153 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe 154 | Jan 1 00:00:31 [844] Registering endpoint for Subscribe 155 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/08/eventing/Unsubscribe 156 | Jan 1 00:00:31 [844] Registering endpoint for Unsubscribe 157 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/08/eventing/Renew 158 | Jan 1 00:00:31 [844] Registering Endpoint: (null) 159 | Jan 1 00:00:31 [844] Registering endpoint for Identify 160 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/transfer/Get 161 | Jan 1 00:00:31 [844] Registering endpoint for direct Get 162 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/transfer/Put 163 | Jan 1 00:00:31 [844] Registering endpoint for direct Put 164 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/transfer/Create 165 | Jan 1 00:00:31 [844] Registering endpoint for direct Create 166 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/transfer/Delete 167 | Jan 1 00:00:31 [844] Registering endpoint for Delete 168 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate 169 | Jan 1 00:00:31 [844] Registering endpoint for Enumerate 170 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull 171 | Jan 1 00:00:31 [844] Registering endpoint for direct Pull 172 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/enumeration/Release 173 | Jan 1 00:00:31 [844] Registering endpoint for Release 174 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe 175 | Jan 1 00:00:31 [844] Registering endpoint for Subscribe 176 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/08/eventing/Unsubscribe 177 | Jan 1 00:00:31 [844] Registering endpoint for Unsubscribe 178 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/08/eventing/Renew 179 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull 180 | Jan 1 00:00:31 [844] Registering endpoint for Pull 181 | Jan 1 00:00:31 [844] Registering Endpoint: (null) 182 | Jan 1 00:00:31 [844] Registering endpoint for private EndPoint 183 | Jan 1 00:00:31 [844] subscription_repository_uri = /var/lib/openwsman/subscriptions 184 | Jan 1 00:00:31 [844] Working on port 5985 185 | Jan 1 00:00:31 [844] Basic File authentication uses password file: /wsman/openwsman/etc/openwsman/simple_auth.passwd 186 | Verify the ssh key-/nv/dropbear/dropbear_rsa_host_key. Please wait. 187 | Jan 1 00:00:32 [844] Using Basic Authorization libwsman_file_auth.so 188 | Jan 1 00:00:32 [844] Initializing http server 189 | Jan 1 00:00:32 [844] init_ctx: initialized context 0x22d80 190 | Jan 1 00:00:32 [844] Registered CIM Indication Listener: /cimindicationlistener/* 191 | Jan 1 00:00:32 [844] Using Basic Authorization libwsman_file_auth.so for /cimindicationlistener 192 | Jan 1 00:00:32 [844] Using Basic Authorization libwsman_file_auth.so for /wsman 193 | Jan 1 00:00:32 [844] shttpd_listen: added socket 3 194 | Sending discover... 195 | 196 | Please press Enter to activate this console. PWSnrTask() at_b_HotSwapController=0 197 | Verify the ssh key-/nv/dropbear/dropbear_dss_host_key. Please wait. 198 | Configure IPv6 Network........ 199 | ==== Channel bonding task for IPv6 ===== 200 | Sending discover... 201 | Starting SMASH daemon ..... 202 | ============ Done ============= 203 | [run_shellcmd] killall -9 lldpd; /bin/lldpd & 204 | killall: lldpd: no process killed 205 | LLDP Service Restart...OK 206 | [run_shellcmd] ip route del default 207 | ip: RTNETLINK answers: No such process 208 | route: SIOCADDRT: Invalid argument 209 | [run_shellcmd] route add default gw 0.0.0.0 dev bond0 210 | route: SIOCADDRT: Invalid argument 211 | Sending discover... 212 | sysinfo.machine: armv5tejl 213 | sysinfo.sysname: Linux 214 | sysinfo.release: 2.6.17.WB_WPCM450.1.3 215 | lldp_systemdesc: armv5tejl/Linux 2.6.17.WB_WPCM450.1.3 216 | lldp_systemname: (none).(none) 217 | Find the footer, check the ATEN SYMBOL 218 | Find ATEN SYMBOL, Find the checksum 219 | CheckSum = 0x29618c71 220 | crc32 = 0x29618c71 221 | udhcpc leasefail 222 | No lease, forking to backgroundBL: SERIAL BAUD RATE - 115200 bps 223 | [OEM Setup GPIO Pin]:2 Port:2 Dir:1 Value:1 224 | BL: FLASH - MX25L12805D FOUND 225 | 226 | 227 | 228 | WPCM450 Boot Loader [ Version:1.0.14 ] 229 | Rebuilt on Mar 23 2012 230 | HardCoded CPU: 180 MHz 231 | Memory Size is 0x8000000 Bytes, Flash Size is 0x1000000 Bytes 232 | Board designed by Winbond 233 | Hardware support provided at Winbond 234 | Copyright (c) Winbond Limited 2001 - 2006. All rights reserved. 235 | 236 | 237 | For help on the available commands type 'h' 238 | 239 | Press ESC to enter debug mode... Remain 10s 240 | Press ESC to enter debug mode... Remain 9s 241 | Press ESC to enter debug mode... Remain 8s 242 | Press ESC to enter debug mode... Remain 7s 243 | Press ESC to enter debug mode... Remain 6s 244 | Press ESC to enter debug mode... Remain 5s 245 | Press ESC to enter debug mode... Remain 4s 246 | Press ESC to enter debug mode... Remain 3s 247 | Press ESC to enter debug mode... Remain 2s 248 | Press ESC to enter debug mode... Remain 1s 249 | 250 | Processing image 1 ... 251 | Processing image 2 ... 252 | Processing image 3 ... 253 | Unzip image 3 ... 254 | Executing image 3 ... 255 | init started: BusyBox v1.12.0 (2014-01-02 18:15:33 PST) 256 | starting pid 685, tty '': '/etc/init.d/rcS' 257 | rm: cannot remove '/nv/system_log': No such file or directory 258 | ***** load kernel module for bonding channel ***** 259 | ls: /nv/ipctrl/*.sav: No such file or directory 260 | USB HID Module insert, Build Time 18:15:18 261 | register reboot notifier for usb k/m 262 | cp: cannot stat '/etc/IPMIdevicedesc_sample.xml': No such file or directory 263 | [Linda Debug] num_lan= 0, board_id= 0 264 | Create debug files - /tmp/message 265 | [run_shellcmd] insmod /bin/module/eth_wpcm450mac.ko ChannelNum1=1 266 | PhyTblIdx[0] 1 Auto scan phy completed, phyname RTL8201N phyaddr = 5 267 | Detect Phy in EMC0 268 | WPCM450 Ethernet(eth0) driver has been initialized successfully! 269 | Can't detect Phy in EMC1 270 | [NCSI 1] Select package ID 0 271 | [NCSI 1] Discovery all NCSI channels for this Package. 272 | [NCSI 1] DeSelect package ............... 273 | WPCM450 Ethernet(eth1) driver has been initialized successfully! 274 | [UtilInsertDrvier] Insert the driver module insmod /bin/module/eth_wpcm450mac.ko ChannelNum1=1 275 | [run_shellcmd] insmod /bin/module/i2c.ko 276 | [UtilInsertDrvier] Insert the driver module insmod /bin/module/i2c.ko 277 | [run_shellcmd] insmod /bin/module/ipmb.ko 278 | [UtilInsertDrvier] Insert the driver module insmod /bin/module/ipmb.ko 279 | Load Default SDR from firmware(/etc/conf) 280 | NVRamInit() fails to initial SDR 281 | NVRamInit() fails to initial 282 | [run_shellcmd] insmod /bin/module/wdt_drv.ko 283 | [UtilInsertDrvier] Insert the driver module insmod /bin/module/wdt_drv.ko 284 | Enable HW WDT timer 285 | [run_shellcmd] insmod /bin/module/gpiodrv.ko 286 | [UtilInsertDrvier] Insert the driver module insmod /bin/module/gpiodrv.ko 287 | setup 288 | [PltCHASSIS_PowerInit] at_St_OEMPS.a_b_PSTimeoutEnable=0x1, at_St_OEMPS.a_w_PSTimeoutValue=0x1E 289 | [run_shellcmd] insmod /bin/module/uart_drv.ko 290 | [UtilInsertDrvier] Insert the driver module insmod /bin/module/uart_drv.ko 291 | [UtilUsbHidSetMouseMode] The current Modes Relative Mode 292 | Before Sensor_Init_Agent(1) 293 | the amount number of SDR records = 0 294 | the amount number of Sensors = 0 295 | [GetSELTimeFromME] Fail in reading SEL Time from ME 296 | [GetSELTimeFromME] Retry Get SEL Time from ME.......0 297 | [GetSELTimeFromME] Retry Get SEL Time from ME.......1 298 | [GetSELTimeFromME] Retry Get SEL Time from ME.......2 299 | Got Error I2C From ME for Get SEL Time 300 | [OEMPostOS_Init] 301 | start dcmi_init 302 | [run_shellcmd] insmod /bin/module/kcs_drv.ko 303 | semaphore create done!SOLMsgHandler:SOL and UART share the same port 304 | PEFEntryTablePreConfig 305 | 1 ninit.c:at_FW_UpdateMode = 0x0 306 | mknod: /dev/ipmb5: File exists 307 | [run_shellcmd] ip link set bond0 up; ifenslave bond0 eth0 eth1 308 | ifenslave: bond0: can't set hw address 309 | ifenslave: can't enslave eth0 to bond0: Cannot assign requested address 310 | ifenslave: bond0: can't set hw address 311 | ifenslave: can't enslave eth1 to bond0: Cannot assign requested address 312 | [run_shellcmd] ip link set bond0 down 313 | [debug] cmd = ip link set bond0 down 314 | [run_shellcmd] ip link set eth0 addr ff:ff:ff:ff:ff:ff 315 | video source:INT_VGA 316 | [UtilInsertDrvier] Insert the driver module insmod /bin/module/kcs_drv.ko 317 | Empty IKVM Port in PS,use default port 5900 318 | UART_NONFLOWCTRL 319 | ip: SIOCSIFHWADDR: Cannot assign requested address 320 | [UtilSetMACAddr Debug] cmd = ip link set eth0 addr ff:ff:ff:ff:ff:ff 321 | [run_shellcmd] ip link set eth1 addr ff:ff:ff:ff:ff:ff 322 | dma_alloc_coherent LogAddr= ffc2c000 323 | dma_alloc_coherent PhyAddr= 03600000 324 | mknod: /dev/usb0: File exists 325 | Waiting for ready message from kernel 326 | Recieve Events from NIC Drive 327 | LAN Notifier Ready 328 | ip: SIOCSIFHWADDR: Cannot assign requested address 329 | [UtilSetMACAddr Debug] cmd = ip link set eth1 addr ff:ff:ff:ff:ff:ff 330 | [run_shellcmd] ip link set bond0 up; ifenslave bond0 eth0 eth1 331 | ifenslave: bond0: can't set hw address 332 | ifenslave: can't enslave eth0 to bond0: Cannot assign requested address 333 | ifenslave: bond0: can't set hw address 334 | ifenslave: can't enslave eth1 to bond0: Cannot assign requested address 335 | [run_shellcmd] /sbin/udhcpc -b -i bond0& 336 | [run_shellcmd] dhcp6c -c /etc/dhcpv6/dhcp6c.conf-stateless -p /tmp/dhcp6c.pid bond0& 337 | mknod: /dev/usb1: File exists 338 | mknod: /dev/ipmb4: File exists 339 | mknod: /dev/usb2: File exists 340 | udhcpc (v1.12.0) started 341 | [LanConfigApply Debug] arpping , cmd = arping -b -c 2 0.0.0.0 -I bond0 >>/dev/null 342 | [run_shellcmd] arping -b -c 2 0.0.0.0 -I bond0 >>/dev/null 343 | SSL Certificate is not yet valid. Time maybe lost. 344 | arping: cannot connect to remote host (0.0.0.0): No such device 345 | [run_shellcmd] /etc/network/network6 bond0 start 346 | start Web server ............. 347 | Jan 1 00:00:30 [844] Loading plugin: /wsman/openwsman/lib/openwsman/plugins/libwsman_test.so 348 | Jan 1 00:00:30 [844] Loading plugin: /wsman/openwsman/lib/openwsman/plugins/libwsman_identify_plugin.so 349 | Jan 1 00:00:31 [844] Loading plugin: /wsman/openwsman/lib/openwsman/plugins/libwsman_cim_plugin.so 350 | Jan 1 00:00:31 [844] Plugin 'Test', version: 2.1.0 351 | Jan 1 00:00:31 [844] Plugin 'IdentifyResponse', version: 2.1.0 352 | Jan 1 00:00:31 [844] reading configuration file options 353 | Jan 1 00:00:31 [844] vendor namespaces: OpenWBEM=http://schema.openwbem.org/wbem/wscim/1/cim-schema/2,Linux=http://sblim.sf.net/wbem/wscim/1/cim-schema/2,OMC=http://schema.omc-project.org/wbem/wscim/1/cim-schema/2,PG=http://schema.openpegasus.org/wbem/wscim/1/cim-schema/2,IPMI=http://ipmi.aten.com/wbem/wscim/1/cim-schema/2 354 | Jan 1 00:00:31 [844] cim namespace: root 355 | Jan 1 00:00:31 [844] Registering interface 356 | Jan 1 00:00:31 [844] Plugin 'CIM Resource', version: 2.1.0 357 | Jan 1 00:00:31 [844] make new callback entry 358 | Jan 1 00:00:31 [844] make new callback entry 359 | Jan 1 00:00:31 [844] Registering 3 plugins 360 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/transfer/Get 361 | Jan 1 00:00:31 [844] Registering endpoint for Get 362 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate 363 | Jan 1 00:00:31 [844] Registering endpoint for Enumerate 364 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull 365 | Jan 1 00:00:31 [844] Registering endpoint for direct Pull 366 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull 367 | Jan 1 00:00:31 [844] Registering endpoint for Pull 368 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/enumeration/Release 369 | Jan 1 00:00:31 [844] Registering endpoint for Release 370 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/transfer/Put 371 | Jan 1 00:00:31 [844] Registering endpoint for Put 372 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe 373 | Jan 1 00:00:31 [844] Registering endpoint for Subscribe 374 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/08/eventing/Unsubscribe 375 | Jan 1 00:00:31 [844] Registering endpoint for Unsubscribe 376 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/08/eventing/Renew 377 | Jan 1 00:00:31 [844] Registering Endpoint: (null) 378 | Jan 1 00:00:31 [844] Registering endpoint for Identify 379 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/transfer/Get 380 | Jan 1 00:00:31 [844] Registering endpoint for direct Get 381 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/transfer/Put 382 | Jan 1 00:00:31 [844] Registering endpoint for direct Put 383 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/transfer/Create 384 | Jan 1 00:00:31 [844] Registering endpoint for direct Create 385 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/transfer/Delete 386 | Jan 1 00:00:31 [844] Registering endpoint for Delete 387 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate 388 | Jan 1 00:00:31 [844] Registering endpoint for Enumerate 389 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull 390 | Jan 1 00:00:31 [844] Registering endpoint for direct Pull 391 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/enumeration/Release 392 | Jan 1 00:00:31 [844] Registering endpoint for Release 393 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe 394 | Jan 1 00:00:31 [844] Registering endpoint for Subscribe 395 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/08/eventing/Unsubscribe 396 | Jan 1 00:00:31 [844] Registering endpoint for Unsubscribe 397 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/08/eventing/Renew 398 | Jan 1 00:00:31 [844] Registering Endpoint: http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull 399 | Jan 1 00:00:31 [844] Registering endpoint for Pull 400 | Jan 1 00:00:31 [844] Registering Endpoint: (null) 401 | Jan 1 00:00:31 [844] Registering endpoint for private EndPoint 402 | Jan 1 00:00:31 [844] subscription_repository_uri = /var/lib/openwsman/subscriptions 403 | Jan 1 00:00:31 [844] Working on port 5985 404 | Jan 1 00:00:31 [844] Basic File authentication uses password file: /wsman/openwsman/etc/openwsman/simple_auth.passwd 405 | Verify the ssh key-/nv/dropbear/dropbear_rsa_host_key. Please wait. 406 | Jan 1 00:00:32 [844] Using Basic Authorization libwsman_file_auth.so 407 | Jan 1 00:00:32 [844] Initializing http server 408 | Jan 1 00:00:32 [844] init_ctx: initialized context 0x22d80 409 | Jan 1 00:00:32 [844] Registered CIM Indication Listener: /cimindicationlistener/* 410 | Jan 1 00:00:32 [844] Using Basic Authorization libwsman_file_auth.so for /cimindicationlistener 411 | Jan 1 00:00:32 [844] Using Basic Authorization libwsman_file_auth.so for /wsman 412 | Jan 1 00:00:32 [844] shttpd_listen: added socket 3 413 | Sending discover... 414 | 415 | Please press Enter to activate this console. PWSnrTask() at_b_HotSwapController=0 416 | Verify the ssh key-/nv/dropbear/dropbear_dss_host_key. Please wait. 417 | Configure IPv6 Network........ 418 | ==== Channel bonding task for IPv6 ===== 419 | Sending discover... 420 | Starting SMASH daemon ..... 421 | ============ Done ============= 422 | [run_shellcmd] killall -9 lldpd; /bin/lldpd & 423 | killall: lldpd: no process killed 424 | LLDP Service Restart...OK 425 | [run_shellcmd] ip route del default 426 | ip: RTNETLINK answers: No such process 427 | route: SIOCADDRT: Invalid argument 428 | [run_shellcmd] route add default gw 0.0.0.0 dev bond0 429 | route: SIOCADDRT: Invalid argument 430 | Sending discover... 431 | sysinfo.machine: armv5tejl 432 | sysinfo.sysname: Linux 433 | sysinfo.release: 2.6.17.WB_WPCM450.1.3 434 | lldp_systemdesc: armv5tejl/Linux 2.6.17.WB_WPCM450.1.3 435 | lldp_systemname: (none).(none) 436 | Find the footer, check the ATEN SYMBOL 437 | Find ATEN SYMBOL, Find the checksum 438 | CheckSum = 0x29618c71 439 | crc32 = 0x29618c71 440 | udhcpc leasefail 441 | No lease, forking to background 442 | --------------------------------------------------------------------------------