让 IPMI SMB(I2C SMBus SSIF)在内核 3.2 上运行

让 IPMI SMB(I2C SMBus SSIF)在内核 3.2 上运行

我手里有一台旧服务器,正在尝试让 IPMI 正常工作。

服务器主板是SE7520JR2SE7520JR22S, SE7520JR22.86B.P.08.10.0081.051820051126

$ dmidecode -t 38
# dmidecode 2.11
SMBIOS 2.3 present.

Handle 0x0038, DMI type 38, 18 bytes
IPMI Device Information
        Interface Type: SSIF (SMBus System Interface)
        Specification Version: 1.5
        I2C Slave Address: 0x10
        NV Storage Device: Not Present
        Base Address: 0x42 (SMBus)

我有 I2C 端口通过

$ modprobe i2c-i801
$ modprobe i2c-dev
$ ls -lsa /dev/i2c-0
0 crw-rw---T 1 root i2c 89, 0 Apr 18 01:55 /dev/i2c-0

我还获得了 BMC 信息

$ bmc-info -D ssif --disable-auto-probe --driver-address=0x42 --driver-device=/dev/i2c-0 
Device ID             : 32
Device Revision       : 1
Device SDRs           : supported
Firmware Revision     : 2.40
Device Available      : yes (normal operation)
IPMI Version          : 1.5
Sensor Device         : supported
SDR Repository Device : supported
SEL Device            : supported
FRU Inventory Device  : supported
IPMB Event Receiver   : supported
IPMB Event Generator  : unsupported
Bridge                : unsupported
Chassis Device        : supported
Manufacturer ID       : Intel Corporation (343)
Product ID            : 17169

输出似乎ipmi-chassis-config也不完整

$ ipmi-chassis-config -D ssif --disable-auto-probe --driver-address=0x42 --driver-device=/dev/i2c-0 --checkout 
#
# Section Chassis_Front_Panel_Buttons Comments 
#
# The following configuration options are for enabling or disabling button 
# functionality on the chassis. Button may refer to a pushbutton, switch, or 
# other front panel control built into the system chassis. 
#
# The value of the below may not be able to be checked out. Therefore we 
# recommend the user configure all four fields rather than a subset of them, 
# otherwise some assumptions on configure may be made. 
#
Section Chassis_Front_Panel_Buttons
$

问题是ipmi_smb内核驱动程序自内核版本 2.6.35/36 以来就不存在了,并且ipmi_si不适用于钢坯/I2C配置(据我所知 modinfo)。

因此任何类似的工具ipmitool都会失败(Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory

后续内核是否支持 SSIF IPMI 设备,或者能否以某种方式添加?
我正在运行 Debian 7.4(3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux)。

答案1

我不这么认为。我这里有同样的旧硬件,而且我也停留在内核 2.6.35。看来补丁没有移植到较新的内核版本 :/

相关内容