freeipmi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freeipmi-devel] Patch for Fujitsu OEM Sensor Types and SEL decoding


From: Liebig, Holger
Subject: [Freeipmi-devel] Patch for Fujitsu OEM Sensor Types and SEL decoding
Date: Fri, 27 Aug 2010 13:35:20 +0200

Hi all,
The attached patch against freeipmi-0.8.9 adds Fujitsu iRMC S1 / iRMC S2 OEM 
specific Sensor type decoding to ipmi-sensors and integrates the Fujitsu OEM 
command 'Get SEL Entry Long Text' into ipmi-sel. The use of this OEM IPMI 
command has been reviewed and slightly adapted to older iRMC S1 systems in 
ipmi-oem (partial read and smaller text). The OEM decoding is activated with 
--interpret-oem-data. There is still room for improvement, but it's a starting 
point.

Some notes regarding ipmi-sel:
The OEM command currently hooks into the OEM Record and event (%e) decoding 
only. If the command is successful completed, further event decoding should not 
really be required, but is currently executed by the generic decoding routines 
from freeipmi. As a result, some information might be redundant in the final 
output for threshold based sensors (e.g trigger).

Reading of the SEL normally does not require any elevated privilege, but the 
used OEM IPMI command requires Admin privilege, so a hint is added to the 
output. Dependend from the command line arguments you will get the following 
outputs:

No additional arguments:
20   | Aug-27-2010 | 05:00:16 | Manufacturer ID = Fujitsu Siemens Computers 
(2880h) | OEM defined = 10h 02h C0h A8h 33h 6Ah

--interpret-oem-data
20   | Aug-27-2010 | 05:00:16 | Manufacturer ID = Fujitsu Siemens Computers 
(2880h) | (admin privilege required for full OEM decoding) OEM defined = 10h 
02h C0h A8h 33h 6Ah  

--interpret-oem-data -l admin
20   | Aug-27-2010 | 05:00:16 | Manufacturer ID = Fujitsu Siemens Computers 
(2880h) | INFORMATIONAL: iRMC Browser user 'admin' AVR Session started from 
192.168.51.106


And for ipmi-sensors:
No additional arguments
2000 | DIMM-1A          | OEM Reserved            | N/A        | N/A   | 
'Unrecognized State'

--interpret-oem-data
2000 | DIMM-1A          | OEM Memory Status       | N/A        | N/A   | 'OK'

Holger

Attachment: Fujitsu_Sensor_and_SEL.patch
Description: Fujitsu_Sensor_and_SEL.patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]