We are running ipmitool, version 1.8.9. We have a BMC at address 0x20 on
the IPMB. Along with the BMC on the IPMB is another MC at address 0x82. From
a Remote Console running ipmitool, we are connecting into the BMC via its
LAN interface.
We were attempting to read various sensors on the MC at address 0x82. We
were getting readings when using the command "sensor list", but we did not
get readings using the command "sdr elist all" or "sdr list all".
We noticed that in file ipmi_sensor.c, function
ipmi_sensor_print_full_analog, it calls ipmi_sdr_get_sensor_reading_ipmb.
But in file ipmi_sdr.c, the functions ipmi_sdr_print_sensor_full and
ipmi_sdr_print_sensor_compact call ipmi_sdr_get_sensor_reading instead. We
made the following changes:
Function ipmi_sdr_print_sensor_full, file ipmi_sdr.c, line 1100, was:
rsp = ipmi_sdr_get_sensor_reading(intf, sensor->keys.sensor_num);
we changed it to:
rsp = ipmi_sdr_get_sensor_reading_ipmb(intf,
sensor->keys.sensor_num,
sensor->keys.owner_id,
sensor->keys.lun);
Function ipmi_sdr_print_sensor_compact, file Ipmi_sdr.c, line 1651, was:
rsp = ipmi_sdr_get_sensor_reading(intf, sensor->keys.sensor_num);
we changed it to:
rsp = ipmi_sdr_get_sensor_reading_ipmb(intf,
sensor->keys.sensor_num,
sensor->keys.owner_id,
sensor->keys.lun);
With these changes, we now get the readings we expect.
Is this a valid change?
Thanks.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Ipmitool-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel