Get Channel Info 命令详情
更新时间:2025/06/26
在Gitcode上查看源码修订记录
| openUBMC版本号 | 修订日期 | 修订人 | 修订内容 |
|---|---|---|---|
| 25.06 | 2025/06/26 | pengqiang-gs | 初稿,新增命令详情 |
基本信息
功能说明
标准命令,获取通道的详细信息。 This command returns media and protocol information about the given channel.
权限
ReadOnly
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | [7:4] - reserved [3:0] - Channel number. Use Eh to get information about the channel this command is being executed from. |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code |
| 2 | [7:4] - reserved [3:0] - actual channel number. This value will typically match the channel number passed in the request, unless the request is for channel E, in which case the response returns the actual channel number |
| 3 | [7] - reserved [6:0] - 7-bit Channel Medium type |
| 4 | Channel Protocol Type: [7:5] - reserved [4:0] - 5-bit Channel IPMI Messaging Protocol Type |
| 5 | Session support [7:6] 00b = channel is session-less 01b = channel is single-session 10b = channel is multi-session 11b = channel is session-based (return this value if a channel could alternate between single- and multi-session operation, as can occur with a serial/modem channel that supports connection mode auto-detect) Number of sessions that have been activated on given channel. [5:0] - active session count. 1-based. 00_0000b = no sessions have been activated on this channel. |
| 6:8 | Vendor ID (IANA Enterprise Number) for OEM/Organization that specified the Channel Protocol. Least significant byte first. Returns the IPMI IANA for IPMI-specification defined, non-OEM protocol type numbers other than OEM. The IPMI Enterprise Number is: 7154 (decimal). This gives the values F2h, 1Bh, 00h for bytes 6 through 8, respectively. This value is returned for all channel protocols specified in this document, including PPP. |
| 9:10 | Auxiliary Channel Info For Channel = Fh (System Interface) : byte 1: SMS Interrupt Type 00h-0Fh = IRQ 0 through 15, respectively 10h-13h = PCI A-D, respectively 14h = SMI 15h = SCI 20h-5Fh = system interrupt 0 through 63, respectively 60h = assigned by ACPI / Plug ‘n Play BIOS FFh = no interrupt / unspecified all other = reserved byte 2: Event Message Buffer Interrupt Type see values for byte 1 For OEM channel types: byte 1:2 = OEM specified per OEM identified by Vendor ID field All other channel types: byte 1:2 = reserved. |
命令样例
样例1:获取通道1的详细信息
- 请求:
ipmitool raw 0x06 0x42 0x01 - 响应:
01 04 01 81 f2 1b 00 00 00