New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPMI detection false positive #1
Comments
|
Thanks for this. Unfortunatly your command would not work. What I am doing in the fact is to test whether dmidecode gives anything related to IPMI: "grep -q" being the relevant thing there. I need to rewrite this fact a little bit, it seems |
|
Why wouldn't it work? dmidecode -t 38 = Print information about an IPMI Device The ultimate exit code here will be 0 if there's an 'Interface Type: (anything except unknown)' line, and 1 if there's either 'Interface Type: Unknown', or no 'Interface Type' line. I'm using the modified line across my machines, and it appears to be working properly. |
|
There is another case in which it can be false positive. I have old server with some Arima mobo, with sodimm-type slot for OPMA cards. Even if card is not present, it will show: [root@tank ~]# dmidecode -t 38
# dmidecode 2.11
SMBIOS 2.4 present.
Handle 0x0022, DMI type 38, 18 bytes
IPMI Device Information
Interface Type: KCS (Keyboard Control Style)
Specification Version: 0.10
I2C Slave Address: 0x0a
NV Storage Device Address: 2
Base Address: 0x0000000000000CA2 (I/O)
Register Spacing: Successive Byte Boundaries |
|
So i did a little digging around that problem This is supermicro server with integrated IPMI. All correct. However: This is another supermicro server, with H8DGU motherboard. There is integrated ipmi 2.0 support in that mobo variations (-F and -LNF4), but in base version i have, ipmi is not integrated and can't be installed even with external card (maybe i'm wrong but i can't find any info about it). As for me, following line should not give any false positives: %x{dmidecode -t 38 | grep "Specification Version: 2.0"}Another possible solution can be checking is ipmi kernel module loaded successfully, but idea of loading unneeded modules on all servers is just wrong. But it works on my home NAS with that Areca mobo: (Also there may be another problem - you should specify offset for kernel module. But this is completely different problem) |
|
Are we getting anywhere on this? dmidecode -t 38dmidecode 2.9SMBIOS 2.6 present. Handle 0x003B, DMI type 38, 18 bytes |
|
On a supermicro blade (http://www.supermicro.com.tr/SBI-7125B-T1.cfm.htm) there is another weird result. It states version 1.0 but IPMI is only available on the blade itself, not the individual boards :( Handle 0x0030, DMI type 38, 18 bytes |
On CentOS, dmidecode -t 38 prints the following even if no IPMI controller is present:
This causes a false positive, I would suggest the following instead:
%x{dmidecode -t 38 | grep "Interface Type" | grep -v "Unknown"}
The text was updated successfully, but these errors were encountered: