Get Smbios Info
更新时间: 2026/08/06
在Gitcode上查看源码

Get Smbios Info

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

This command is used to query SMBIOS information.

Privilege

Command Information

Request Information

ByteData Field
NetFn30h
CMD93h
1:3Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
4Sub command, sub command = 0 Ah
5Parameter selector
[7]-reserved
[6:0]-Smbios parameter selector
6[7:0]-Set Selector
Selects a particular block or set of parameters under the given parameter selector
Write as 00h if parameter doesn't use a Set Selector
7[7:0]-Block Selector
Selects a particular block within a set of parameters
Write as 00h if parameter doesn't use a Block Selector

Response Information

ByteData Field
1Completion Code
2:4Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
5:NData. For details, see SMBIOS information.

Reference

Table 1 SMBIOS information.

Parameter#Parameter Data
CPU Info1CPU Info:
data 1-set selector indicates the sequence number of the parameter to be read in a series of parameters of the same type. for example, CPU1 or CPU2.
data 2-block selector indicates the sequence number of the block of an item in the parameter that is read. The length of each block is 16 bytes.
data 3-set number indicates the number of sets.
data 4: 19-16-byte block data. The first byte of the first block indicates the total length of an attribute.
Memory Info2Memory Info:
data 1-set selector indicates the sequence number of the parameter to be read in a series of parameters of the same type. for example, Mem1 or Mem2.
data 2-block selector indicates the sequence number of the block of an item in the parameter that is read. The length of each block is 16 bytes.
data 3-set number indicates the number of sets.
data 4: 19-16-byte block data. The first byte of the first block indicates the total length of an attribute.

Command Example

Query SMBIOS information.

Request:

bash
ipmicmd -k "0f 00 MM NN" smi 0

Response:

text
0f MM NN

Back to Index