Great, it'll be fixed in FreeIPMI 1.0.3. Al
On Fri, 2011-03-11 at 00:50 -0800, Nicola Pedrozzi wrote: > Hi Al, > thanks, bmc-info now works: > > > # bmc-info > Device ID : 19 > Device Revision : 1 > Device SDRs : supported > Firmware Revision : 1.07 > Device Available : yes (normal operation) > IPMI Version : 2.0 > Sensor Device : supported > SDR Repository Device : supported > SEL Device : supported > FRU Inventory Device : supported > IPMB Event Receiver : unsupported > IPMB Event Generator : unsupported > Bridge : unsupported > Chassis Device : unsupported > Manufacturer ID : Hewlett-Packard (11) > Product ID : 8224 > > Channel Information > > Channel Number : 2 > Medium Type : 802.3 LAN > Protocol Type : IPMB-1.0 > Active Session Count : 0 > Session Support : multi-session > Vendor ID : Intelligent Platform Management Interface forum (7154) > > Channel Number : 7 > Medium Type : OEM > Protocol Type : KCS > Active Session Count : 0 > Session Support : session-less > Vendor ID : Intelligent Platform Management Interface forum (7154) > > > > About OEM Sensors Id 0 and 1, I'll contact HP to see if they can provide some > info. > And maybe some more general specs on their IPMI implementation. > > > > > Thanks for now, > Bye nIc > > > > Albert Chu wrote: > > Hi Nicola, > > > > I just uploaded a beta of FreeIPMI 1.0.3 here: > > > > http://download.gluster.com/pub/freeipmi/qa-release/freeipmi-1.0.3.beta0.tar.gz > > > > Could you give it a try to see if it runs bmc-info correctly? > > > > Thanks, > > Al > > > > On Thu, 2011-03-10 at 15:05 -0800, Albert Chu wrote: > >> Hi Nicola, > >> > >>> ===================================================== > >>> Get System Info Parameters Response > >>> ===================================================== > >>> KCS Header: > >>> ------------ > >>> [ 0h] = lun[ 2b] > >>> [ 7h] = net_fn[ 6b] > >>> IPMI Command Data: > >>> ------------------ > >>> [ 59h] = cmd[ 8b] > >>> [ 80h] = comp_code[ 8b] > >>> ipmi_cmd_get_system_info_parameters_system_firmware_version_first_set: > >>> bad completion code > >> > >> I never handled this particular error code, so I can put in a fix to > >> deal with this. I'll e-mail you a link to a beta tar.gz later on with > >> the fix. > >> > >> Looking at the ipmi-sensors debug data, it seems legitimate. There's > >> nothing to indicate that there should be more sensors. The sensors that > >> report N/A are not available. If it's a bug on HP's part, that's on > >> their firmware side and you'd have to ping them on that. > >> > >> One additional note: > >> > >> 0 | System Chassis 1 UID Light | OEM Reserved | N/A > >> | N/A | 'OEM Event = 0000h' > >> 1 | System Chassis 2 Sys. Health LED | OEM Reserved | N/A > >> | N/A | 'OEM Event = 0000h' > >> > >> It'd be nice to support these OEM sensors. If you can ping HP and > >> determine how to interpret these two sensors, I can add OEM > >> interpretations into FreeIPMI for them. > >> > >> Al > >> > >> On Thu, 2011-03-10 at 14:11 -0800, Nicola Pedrozzi wrote: > >>> Hi Albert, > >>> first of all thanks for your prompt reply. > >>> > >>> The --entity-sensor-names helped a bit, but still some infos are > >>> missing, more specifically the RPM > >>> of the fans (there is space for 6 fans and correctly only the first 4 are > >>> showed because in my > >>> system config I only have 4, but I think somewhere there should also be > >>> the fans RPM of the 2 Power > >>> Supply...). > >>> > >>> > >>> Here the output with your suggested option: > >>> > >>> # ipmi-sensors --entity-sensor-names > >>> ID | Name | Type | Reading > >>> | Units | Event > >>> 0 | System Chassis 1 UID Light | OEM Reserved | N/A > >>> | N/A | 'OEM Event = 0000h' > >>> 1 | System Chassis 2 Sys. Health LED | OEM Reserved | N/A > >>> | N/A | 'OEM Event = 0000h' > >>> 2 | Power Supply 1 Power Supply 1 | Power Supply | N/A > >>> | N/A | 'Presence detected' > >>> 3 | Power Supply 2 Power Supply 2 | Power Supply | N/A > >>> | N/A | 'Presence detected' > >>> 4 | Power Supply 3 Power Supplies | Power Supply | N/A > >>> | N/A | 'Fully Redundant' > >>> 6 | System Board 1 Fan 1 | Fan | N/A > >>> | N/A | 'transition to > >>> Running' > >>> 7 | System Board 2 Fan 2 | Fan | N/A > >>> | N/A | 'transition to > >>> Running' > >>> 8 | System Board 3 Fan 3 | Fan | N/A > >>> | N/A | 'transition to > >>> Running' > >>> 9 | System Board 4 Fan 4 | Fan | N/A > >>> | N/A | 'transition to > >>> Running' > >>> 10 | System Board 5 Fan 5 | Fan | N/A > >>> | N/A | N/A > >>> 11 | System Board 6 Fan 6 | Fan | N/A > >>> | N/A | N/A > >>> 12 | System Board 7 Fans | Fan | N/A > >>> | N/A | 'Fully Redundant' > >>> 14 | Air Inlet Temp 1 | Temperature | 20.00 > >>> | C | 'OK' > >>> 15 | Processor 1 Temp 2 | Temperature | 40.00 > >>> | C | 'OK' > >>> 16 | Processor 2 Temp 3 | Temperature | N/A > >>> | C | N/A > >>> 17 | Memory Module 1 Temp 4 | Temperature | 37.00 > >>> | C | 'OK' > >>> 18 | Memory Module 2 Temp 5 | Temperature | 37.00 > >>> | C | 'OK' > >>> 19 | Memory Module 3 Temp 6 | Temperature | N/A > >>> | C | N/A > >>> 20 | Memory Module 4 Temp 7 | Temperature | N/A > >>> | C | N/A > >>> 21 | Power Unit 1 Temp 8 | Temperature | 45.00 > >>> | C | 'OK' > >>> 22 | Power Unit 2 Temp 9 | Temperature | 37.00 > >>> | C | 'OK' > >>> 23 | System Board 1 Temp 10 | Temperature | 47.00 > >>> | C | 'OK' > >>> 24 | System Board 2 Temp 11 | Temperature | 38.00 > >>> | C | 'OK' > >>> 25 | System Board 3 Temp 12 | Temperature | 49.00 > >>> | C | 'OK' > >>> 26 | System Internal Expansion Board 1 Temp 13 | Temperature | N/A > >>> | C | N/A > >>> 27 | System Internal Expansion Board 2 Temp 14 | Temperature | N/A > >>> | C | N/A > >>> 28 | System Internal Expansion Board 3 Temp 15 | Temperature | N/A > >>> | C | N/A > >>> 29 | System Internal Expansion Board 4 Temp 16 | Temperature | N/A > >>> | C | N/A > >>> 30 | System Internal Expansion Board 5 Temp 17 | Temperature | N/A > >>> | C | N/A > >>> 31 | System Internal Expansion Board 6 Temp 18 | Temperature | N/A > >>> | C | N/A > >>> 32 | System Board 4 Temp 19 | Temperature | 27.00 > >>> | C | 'OK' > >>> 33 | System Board 5 Temp 20 | Temperature | 33.00 > >>> | C | 'OK' > >>> 34 | System Board 6 Temp 21 | Temperature | 36.00 > >>> | C | 'OK' > >>> 35 | System Board 7 Temp 22 | Temperature | 33.00 > >>> | C | 'OK' > >>> 36 | System Board 8 Temp 23 | Temperature | 44.00 > >>> | C | 'OK' > >>> 37 | System Board 9 Temp 24 | Temperature | 37.00 > >>> | C | 'OK' > >>> 38 | System Board 10 Temp 25 | Temperature | 33.00 > >>> | C | 'OK' > >>> 39 | System Board 11 Temp 26 | Temperature | 33.00 > >>> | C | 'OK' > >>> 40 | System Internal Expansion Board 7 Temp 27 | Temperature | N/A > >>> | C | N/A > >>> 41 | System Internal Expansion Board 8 Temp 28 | Temperature | N/A > >>> | C | N/A > >>> 42 | Drive Backplane Temp 29 | Temperature | 35.00 > >>> | C | 'OK' > >>> 43 | System Board 12 Temp 30 | Temperature | 77.00 > >>> | C | 'OK' > >>> 44 | System Board 8 Memory | Memory | N/A > >>> | N/A | 'Presence detected' > >>> 45 | System Board 9 Power Meter | Current | N/A > >>> | N/A | 'Device Enabled' > >>> > >>> > >>> > >>> > >>> Here the bmc-info --debug output (the one of ipmi-sensor is attached as > >>> .gz): > >>> > >>> > >>> # bmc-info --debug > >>> ===================================================== > >>> Get Device ID Request > >>> ===================================================== > >>> KCS Header: > >>> ------------ > >>> [ 0h] = lun[ 2b] > >>> [ 6h] = net_fn[ 6b] > >>> IPMI Command Data: > >>> ------------------ > >>> [ 1h] = cmd[ 8b] > >>> ===================================================== > >>> Get Device ID Response > >>> ===================================================== > >>> KCS Header: > >>> ------------ > >>> [ 0h] = lun[ 2b] > >>> [ 7h] = net_fn[ 6b] > >>> IPMI Command Data: > >>> ------------------ > >>> [ 1h] = cmd[ 8b] > >>> [ 0h] = comp_code[ 8b] > >>> [ 13h] = device_id[ 8b] > >>> [ 1h] = device_revision.revision[ 4b] > >>> [ 0h] = device_revision.reserved1[ 3b] > >>> [ 1h] = device_revision.sdr_support[ 1b] > >>> [ 1h] = firmware_revision1.major_revision[ 7b] > >>> [ 0h] = firmware_revision1.device_available[ 1b] > >>> [ 7h] = firmware_revision2.minor_revision[ 8b] > >>> [ 2h] = ipmi_version_major[ 4b] > >>> [ 0h] = ipmi_version_minor[ 4b] > >>> [ 1h] = additional_device_support.sensor_device[ 1b] > >>> [ 1h] = additional_device_support.sdr_repository_device[ 1b] > >>> [ 1h] = additional_device_support.sel_device[ 1b] > >>> [ 1h] = additional_device_support.fru_inventory_device[ 1b] > >>> [ 0h] = additional_device_support.ipmb_event_receiver[ 1b] > >>> [ 0h] = additional_device_support.ipmb_event_generator[ 1b] > >>> [ 0h] = additional_device_support.bridge[ 1b] > >>> [ 0h] = additional_device_support.chassis_device[ 1b] > >>> [ Bh] = manufacturer_id.id[20b] > >>> [ 0h] = manufacturer_id.reserved1[ 4b] > >>> [ 2020h] = product_id[16b] > >>> Device ID : 19 > >>> Device Revision : 1 > >>> Device SDRs : supported > >>> Firmware Revision : 1.07 > >>> Device Available : yes (normal operation) > >>> IPMI Version : 2.0 > >>> Sensor Device : supported > >>> SDR Repository Device : supported > >>> SEL Device : supported > >>> FRU Inventory Device : supported > >>> IPMB Event Receiver : unsupported > >>> IPMB Event Generator : unsupported > >>> Bridge : unsupported > >>> Chassis Device : unsupported > >>> Manufacturer ID : Hewlett-Packard (11) > >>> Product ID : 8224 > >>> > >>> ===================================================== > >>> Get Device GUID Request > >>> ===================================================== > >>> KCS Header: > >>> ------------ > >>> [ 0h] = lun[ 2b] > >>> [ 6h] = net_fn[ 6b] > >>> IPMI Command Data: > >>> ------------------ > >>> [ 8h] = cmd[ 8b] > >>> ===================================================== > >>> Get Device GUID Response > >>> ===================================================== > >>> KCS Header: > >>> ------------ > >>> [ 0h] = lun[ 2b] > >>> [ 7h] = net_fn[ 6b] > >>> IPMI Command Data: > >>> ------------------ > >>> [ 8h] = cmd[ 8b] > >>> [ C1h] = comp_code[ 8b] > >>> ===================================================== > >>> Get System Info Parameters Request > >>> ===================================================== > >>> KCS Header: > >>> ------------ > >>> [ 0h] = lun[ 2b] > >>> [ 6h] = net_fn[ 6b] > >>> IPMI Command Data: > >>> ------------------ > >>> [ 59h] = cmd[ 8b] > >>> [ 0h] = reserved[ 7b] > >>> [ 0h] = get_parameter[ 1b] > >>> [ 1h] = parameter_selector[ 8b] > >>> [ 0h] = set_selector[ 8b] > >>> [ 0h] = block_selector[ 8b] > >>> ===================================================== > >>> Get System Info Parameters Response > >>> ===================================================== > >>> KCS Header: > >>> ------------ > >>> [ 0h] = lun[ 2b] > >>> [ 7h] = net_fn[ 6b] > >>> IPMI Command Data: > >>> ------------------ > >>> [ 59h] = cmd[ 8b] > >>> [ 80h] = comp_code[ 8b] > >>> ipmi_cmd_get_system_info_parameters_system_firmware_version_first_set: > >>> bad completion code > >>> > >>> > >>> > >>> > >>> Thank you and good night, > >>> nIc > >>> > >>> > >>> > >>> Albert Chu wrote: > >>>> Hi Nicola, > >>>> > >>>> If you could you provide --debug output, that'd be great. For bmc-info, > >>>> I'm betting the HP node returns some non-standard error code, so I don't > >>>> handle that error code correctly (I would normally expect the "Not > >>>> supported" or "Invalid" error code if it isn't supported). > >>>> > >>>> As for the ipmi-sensors output, it appears pretty solid. If you are > >>>> comparing the names to HP specific software, it's possible that there is > >>>> extra info (via OEM extensions) that the HP specific software knows of > >>>> that I don't. Or you may want to try the --entity-sensor-names option > >>>> in ipmi-sensors. I noticed on Dell motherboards that they "name" their > >>>> sensors by combining an entity ID with a text string. It's possible HP > >>>> software does something similar. If --entity-sensor-names doesn't work, > >>>> we'd have to come up with a new option. > >>>> > >>>> As for the not listing specific sensors, it's hard to say. Some > >>>> motherboards don't support the sensors you're interested in. It's also > >>>> possible the "N/A" outputs are due to a bug in HP's firmware. If you > >>>> send me the --debug output, I might be able to see if there is anything > >>>> particularly odd about it. > >>>> > >>>> Al > >>>> > >>>> On Thu, 2011-03-10 at 09:25 -0800, Nicola Pedrozzi wrote: > >>>>> Hello everybody, > >>>>> today I installed freeipmi-1.0.2 on the following system: > >>>>> > >>>>> . HP Proliant DL380 G7 > >>>>> . Slackware 13.1 > >>>>> . OS 2.6.35.11 x86_64 (compiled by myself) > >>>>> . 1x Xeon(R) CPU E5630 @ 2.53GHz > >>>>> . 2x redundant Power Supply (detected) > >>>>> . 4x redundant Fan (detected) > >>>>> > >>>>> > >>>>> Things seem to work but not completely. I cannot manage to output some > >>>>> important information such as Fan/RPM and the "Name" of the showed > >>>>> temperatures. > >>>>> > >>>>> bcm-info gives an error and does not fully complete: > >>>>> > >>>>> # bmc-info > >>>>> Device ID : 19 > >>>>> Device Revision : 1 > >>>>> Device SDRs : supported > >>>>> Firmware Revision : 1.07 > >>>>> Device Available : yes (normal operation) > >>>>> IPMI Version : 2.0 > >>>>> Sensor Device : supported > >>>>> SDR Repository Device : supported > >>>>> SEL Device : supported > >>>>> FRU Inventory Device : supported > >>>>> IPMB Event Receiver : unsupported > >>>>> IPMB Event Generator : unsupported > >>>>> Bridge : unsupported > >>>>> Chassis Device : unsupported > >>>>> Manufacturer ID : Hewlett-Packard (11) > >>>>> Product ID : 8224 > >>>>> > >>>>> ipmi_cmd_get_system_info_parameters_system_firmware_version_first_set: > >>>>> bad completion code > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> And here the output of ipmi-sensors > >>>>> > >>>>> # ipmi-sensors --interpret-oem-data > >>>>> > >>>>> ID | Name | Type | Reading | Units | Event > >>>>> 0 | UID Light | OEM Reserved | N/A | N/A | 'OEM Event = > >>>>> 0000h' > >>>>> 1 | Sys. Health LED | OEM Reserved | N/A | N/A | 'OEM Event = > >>>>> 0000h' > >>>>> 2 | Power Supply 1 | Power Supply | N/A | N/A | 'Presence > >>>>> detected' > >>>>> 3 | Power Supply 2 | Power Supply | N/A | N/A | 'Presence > >>>>> detected' > >>>>> 4 | Power Supplies | Power Supply | N/A | N/A | 'Fully > >>>>> Redundant' > >>>>> 6 | Fan 1 | Fan | N/A | N/A | 'transition > >>>>> to Running' > >>>>> 7 | Fan 2 | Fan | N/A | N/A | 'transition > >>>>> to Running' > >>>>> 8 | Fan 3 | Fan | N/A | N/A | 'transition > >>>>> to Running' > >>>>> 9 | Fan 4 | Fan | N/A | N/A | 'transition > >>>>> to Running' > >>>>> 10 | Fan 5 | Fan | N/A | N/A | N/A > >>>>> 11 | Fan 6 | Fan | N/A | N/A | N/A > >>>>> 12 | Fans | Fan | N/A | N/A | 'Fully > >>>>> Redundant' > >>>>> 14 | Temp 1 | Temperature | 22.00 | C | 'OK' > >>>>> 15 | Temp 2 | Temperature | 40.00 | C | 'OK' > >>>>> 16 | Temp 3 | Temperature | N/A | C | N/A > >>>>> 17 | Temp 4 | Temperature | 38.00 | C | 'OK' > >>>>> 18 | Temp 5 | Temperature | 39.00 | C | 'OK' > >>>>> 19 | Temp 6 | Temperature | N/A | C | N/A > >>>>> 20 | Temp 7 | Temperature | N/A | C | N/A > >>>>> 21 | Temp 8 | Temperature | 46.00 | C | 'OK' > >>>>> 22 | Temp 9 | Temperature | 38.00 | C | 'OK' > >>>>> 23 | Temp 10 | Temperature | 48.00 | C | 'OK' > >>>>> 24 | Temp 11 | Temperature | 39.00 | C | 'OK' > >>>>> 25 | Temp 12 | Temperature | 50.00 | C | 'OK' > >>>>> 26 | Temp 13 | Temperature | N/A | C | N/A > >>>>> 27 | Temp 14 | Temperature | N/A | C | N/A > >>>>> 28 | Temp 15 | Temperature | N/A | C | N/A > >>>>> 29 | Temp 16 | Temperature | N/A | C | N/A > >>>>> 30 | Temp 17 | Temperature | N/A | C | N/A > >>>>> 31 | Temp 18 | Temperature | N/A | C | N/A > >>>>> 32 | Temp 19 | Temperature | 28.00 | C | 'OK' > >>>>> 33 | Temp 20 | Temperature | 35.00 | C | 'OK' > >>>>> 34 | Temp 21 | Temperature | 38.00 | C | 'OK' > >>>>> 35 | Temp 22 | Temperature | 34.00 | C | 'OK' > >>>>> 36 | Temp 23 | Temperature | 44.00 | C | 'OK' > >>>>> 37 | Temp 24 | Temperature | 38.00 | C | 'OK' > >>>>> 38 | Temp 25 | Temperature | 34.00 | C | 'OK' > >>>>> 39 | Temp 26 | Temperature | 34.00 | C | 'OK' > >>>>> 40 | Temp 27 | Temperature | N/A | C | N/A > >>>>> 41 | Temp 28 | Temperature | N/A | C | N/A > >>>>> 42 | Temp 29 | Temperature | 35.00 | C | 'OK' > >>>>> 43 | Temp 30 | Temperature | 77.00 | C | 'OK' > >>>>> 44 | Memory | Memory | N/A | N/A | 'Presence > >>>>> detected' > >>>>> 45 | Power Meter | Current | N/A | N/A | 'Device > >>>>> Enabled' > >>>>> > >>>>> > >>>>> > >>>>> If useful, I'll provide --debug output. > >>>>> > >>>>> > >>>>> > >>>>> Thanks for any help, > >>>>> bye nIc > >>>>> > >>>>> _______________________________________________ > >>>>> Freeipmi-users mailing list > >>>>> [email protected] > >>>>> http://lists.gnu.org/mailman/listinfo/freeipmi-users > >>> > >>> > >>> -- > >>> > >>> > >>> Cordiali saluti, > >>> Nicola Pedrozzi > >>> -- > >>> IT Manager > >>> ImmoGalaxy Sagl > >>> Via Corte 19c > >>> CH-6963 Pregassona > >>> > >>> [email protected] > >>> Tel: +41 91 941.08.01 > >>> Fax: +41 91 941.08.02 > >>> > >>> http://www.immogalaxy.ch > >> -- > >> Albert Chu > >> [email protected] > >> Computer Scientist > >> High Performance Systems Division > >> Lawrence Livermore National Laboratory > >> > >> > >> _______________________________________________ > >> Freeipmi-users mailing list > >> [email protected] > >> http://lists.gnu.org/mailman/listinfo/freeipmi-users > -- Albert Chu [email protected] Computer Scientist High Performance Systems Division Lawrence Livermore National Laboratory _______________________________________________ Freeipmi-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/freeipmi-users
