User Tools

Site Tools


supermicroipmi:start

Supermicro BIOS update

$ ipmitool -H 172.24.254.173 -U ADMIN -P ADMIN raw 0x0C 0x02 0x01 0x05 0x00 0x00
 11 00 25 90 f6 92 f2
$ echo -n 002590f692f2 | 
  xxd -r -ps | 
  openssl dgst -sha1 -mac HMAC -macopt hexkey:8544E3B47ECA58F9583043F8 -binary |
  dd bs=12 count=1 status=none |
  xxd |
  cut -c10-38 |
  sed -e 's/\ /-/g'
1975-7903-11f4-a179-b1ee-1e82
$ ipmitool -H 172.24.254.173 -U ADMIN -P ADMIN raw 0x30 0x69 0x19 0x75 0x79 0x03 0x11 0xF4 0xA1 0x79 0xB1 0xEE 0x1E 0x82
 00 
# 00 is Success
$ ipmitool -H 172.24.254.173 -U ADMIN -P ADMIN raw 0x30 0x69 0x19 0x75 0x79 0x03 0x11 0xF4 0xA1 0x79 0xB1 0xEE 0x1E 0x81
 01 
# 01 is Failure

$ java -jar SMCIPMITool.jar 172.24.254.173 ADMIN ADMIN bios setkey 1975-7903-11f4-a179-b1ee-1e82
Product key activated

IPMI propietary KVM

JViewerSMC:

helpConnectToServer(serverIP, userID, password, priv, 5901, 5900, 5120, 5123); public void helpConnectToServer(String serverIP, String userID, String password, byte priv, int serverPort, int hid_port, int cdserver_port, int fdserver_port) HID - 5900 Svr - 5901 cds - 5120 fds - 5123 byte[] data = new byte[33]; data[0] = 1; ipmiMessage.setCommandAndData((byte)-64, (byte)112, data); IPMIMessage resMessage = this.ipmiInterface.send(ipmiMessage); return resMessage; 112 - 0x70 smite@desktop03:~> ipmitool -E -I lanplus -H 192.168.13.230 -U ADMIN raw 0x30 0x70 0x01 | xxd -r -ps | xxd 0000000: 0100 0000 0200 0000 0100 0000 0000 0000 ……………. 0000010: 0d17 0000 0c17 0000 0000 0000 0200 0000 ……………. 0000020: 0000 0000 0100 0000 0000 0000 0000 0000 ……………. 0000030: 0014 0000 0414 0000 0000 0000 0000 0000 ……………. 0000040: 0100 0000 0000 0000 8000 01ff 6f74 4466 …………otDf 0000050: 734c 5a45 3433 5138 6e45 7366 00 sLZE43Q8nEsf. smite@desktop03:~> ipmitool -E -I lanplus -H 192.168.13.230 -U ADMIN raw 0x30 0x70 0x01 | xxd -r -ps | dd bs=$[0x4c] status=none skip=1; echo uLUSSA2R4H789r0C

Alternate MCs?

smite@desktop03:~> ipmitool -I lanplus -H 192.168.14.59 -U ADMIN -E  mc info
Device ID                 : 32
Device Revision           : 1
Firmware Revision         : 1.10
IPMI Version              : 2.0
Manufacturer ID           : 10876
Manufacturer Name         : Supermicro
Product ID                : 2052 (0x0804)
Product Name              : Unknown (0x804)
Device Available          : yes
Provides Device SDRs      : no
Additional Device Support :
    Sensor Device
    SDR Repository Device
    SEL Device
    FRU Inventory Device
    IPMB Event Receiver
    IPMB Event Generator
    Chassis Device
Aux Firmware Rev Info     :
    0x00
    0x00
    0x00
    0x13
smite@desktop03:~> ipmitool -I lanplus -H 192.168.14.59 -U ADMIN -E -t 0x2c mc info
Device ID                 : 80
Device Revision           : 1
Firmware Revision         : 3.04
IPMI Version              : 2.0
Manufacturer ID           : 343
Manufacturer Name         : Intel Corporation
Product ID                : 2819 (0x0b03)
Product Name              : Unknown (0xB03)
Device Available          : yes
Provides Device SDRs      : no
Additional Device Support :
    Sensor Device
    IPMB Event Generator
Aux Firmware Rev Info     :
    0x00
    0x20
    0x90
    0x01
smite@desktop03:~>

//—– (0000ED84) ——————————————————–
int __cdecl RMDecoder::GetDecoder(char a1, int a2, int a3, int a4, int a5, int a6, int a7)
{
  int v7; // edx@3
  int v9; // eax@7
  char v10; // [sp-1Ch] [bp-74h]@3
  int v11; // [sp-18h] [bp-70h]@3
  int v12; // [sp-14h] [bp-6Ch]@3
  int v13; // [sp-10h] [bp-68h]@3
  int v14; // [sp-Ch] [bp-64h]@3
  signed int v15; // [sp-4h] [bp-5Ch]@1
  int *v16; // [sp+Ch] [bp-4Ch]@1
  size_t v17; // [sp+10h] [bp-48h]@6
  size_t v18; // [sp+14h] [bp-44h]@7
  int v19; // [sp+18h] [bp-40h]@3
  int v20; // [sp+1Ch] [bp-3Ch]@8
  char v21; // [sp+20h] [bp-38h]@3

  v15 = 60818;
  v16 = &RMDecoder::DecoderHandle;
  if ( !RMDecoder::DecoderHandle )
  {
    switch ( a3 )
    {
      case 89:
        memcpy(&v21, &a1, 0x14u);
        v19 = operator new(60);
        memcpy(&v10, &v21, 0x14u);
        HermonVideoDecoder::HermonVideoDecoder(v19, v10, v11, v12, v13, v14, a6, a7);
        v7 = v19;
        goto LABEL_4;
      default:
        return *v16;
      case 97:
        memcpy(&v21, &a1, 0x14u);
        v17 = operator new(1084);
        memcpy(&v10, &v21, 0x14u);
        Pilot3VideoDecoder::Pilot3VideoDecoder(v17, v10, v11, v12, v13, v14, a6, a7);
        v7 = v17;
LABEL_4:
        *v16 = v7;
        v16 = &RMDecoder::DecoderHandle;
        return *v16;
      case 96:
        memcpy(&v21, &a1, 0x14u);
        v18 = operator new(64);
        memcpy(&v10, &v21, 0x14u);
        YarkonVideoDecoder::YarkonVideoDecoder(v18, v10, v11, v12, v13, v14, a6, a7);
        v9 = v18;
        break;
      case 87:
      case 88:
        memcpy(&v21, &a1, 0x14u);
        v20 = operator new(68);
        memcpy(&v10, &v21, 0x14u);
        ASTVideoDecoder::ASTVideoDecoder(v20, v10, v11, v12, v13, v14, a6, a7);
        v9 = v20;
        break;
    }
    *v16 = v9;
    v16 = &RMDecoder::DecoderHandle;
  }
  return *v16;
}
// A618: using guessed type _DWORD __cdecl HermonVideoDecoder__HermonVideoDecoder(_DWORD, char, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD);
// AC48: using guessed type _DWORD __cdecl YarkonVideoDecoder__YarkonVideoDecoder(size_t size, char, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD);
// AD08: using guessed type int __cdecl operator new(_DWORD);
// B008: using guessed type _DWORD __cdecl Pilot3VideoDecoder__Pilot3VideoDecoder(size_t size, char, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD);
// B0F8: using guessed type _DWORD __cdecl ASTVideoDecoder__ASTVideoDecoder(_DWORD, char, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD);
// 284C4: using guessed type int RMDecoder__DecoderHandle;

supermicroipmi/start.txt · Last modified: 2014/07/21 14:14 by admin