Hey George, Sorry. Backported that patch incorrectly. Attached is the real one.
PLMK if it works. Al On Mon, 2008-06-02 at 14:23 -0700, Al Chu wrote: > Hey George, > > Here's the patch. > > cd freeipmi-0-6-3 > patch -p0 < sensors-ignore.patch > make > > PLMK if it works for you. For sensors that it receives "sensor data not > present" errors, it will output "NA" or "Unknown" or whatever is > appropriate for that particular sensor. > > Al > > On Mon, 2008-06-02 at 13:20 -0700, Al Chu wrote: > > Hey George, > > > > Well, it seems the motherboard is not responding to a sensor read > > request for a sensor it advertises exists. Not sure what to make of > > that. It probably is a issue w/ the firmware on the motherboard. I'll > > write a patch to work around it so ipmi-sensors does not quit on you. > > (I'll e-mail again later today when it's ready.) > > > > Al > > > > On Mon, 2008-06-02 at 10:42 -0700, Hartlieb, George wrote: > > > Hi, > > > > > > I am getting an error when I run ipmi-senors. > > > > > > System Info: > > > Dell 2950 > > > RHEL4 > > > Freeipmi 0.6.3 > > > > > > First is the no-debug output, followed by the end of the debug output. > > > > > > Thanks, > > > > > > George > > > > > > ------------------------------------------------ > > > > > > ./ipmi-sensors > > > 1: Temp (Temperature): -50.00 C (NA/90.00): [OK] > > > 2: Temp (Temperature): -45.00 C (NA/90.00): [OK] > > > 3: Temp (Temperature): 40.00 C (NA/NA): [OK] > > > 4: Temp (Temperature): 40.00 C (NA/NA): [OK] > > > 5: Ambient Temp (Temperature): 27.00 C (3.00/47.00): [OK] > > > 6: CMOS Battery (Battery): [OK] > > > 7: ROMB Battery (Battery): [OK] > > > 8: VCORE (Voltage): [State Deasserted] > > > 9: VCORE (Voltage): [State Deasserted] > > > 10: CPU VTT (Voltage): [State Deasserted] > > > 11: 1.5V PG (Voltage): [State Deasserted] > > > 12: 1.8V PG (Voltage): [State Deasserted] > > > 13: 3.3V PG (Voltage): [State Deasserted] > > > 14: 5V PG (Voltage): [State Deasserted] > > > 15: 1.5V PXH PG (Voltage): [State Deasserted] > > > 16: 5V Riser PG (Voltage): [State Deasserted] > > > 17: Backplane PG (Voltage): [State Deasserted] > > > 18: Linear PG (Voltage): [State Deasserted] > > > 19: 0.9V PG (Voltage): [State Deasserted] > > > 20: 0.9V Over Volt (Voltage): [State Deasserted] > > > 21: CPU Power Fault (Voltage): [State Deasserted] > > > 22: FAN 1 RPM (Fan): 6225.00 RPM (3450.00/NA): [OK] > > > 23: FAN 2 RPM (Fan): 6300.00 RPM (3450.00/NA): [OK] > > > 24: FAN 3 RPM (Fan): 5850.00 RPM (3450.00/NA): [OK] > > > 25: FAN 4 RPM (Fan): 5850.00 RPM (3450.00/NA): [OK] > > > 26: FAN 5 RPM (Fan): 4200.00 RPM (NA/NA): [OK] > > > 27: FAN 6 RPM (Fan): 4200.00 RPM (NA/NA): [OK] > > > 28: Presence (Entity Presence): [Entity Present] > > > 29: Presence (Entity Presence): [Entity Present] > > > 30: Presence (Entity Presence): [Entity Present] > > > 31: Presence (Entity Presence): [Entity Present] > > > 32: Presence (Entity Presence): [Entity Present] > > > 33: Presence (Entity Presence): [Entity Present] > > > 34: DRAC5 Conn 2 Cbl (Cable Interconnect): [Cable/Interconnect is > > > connected] > > > ipmi_cmd_get_sensor_reading_discrete: bad completion code: request > > > data/parameter invalid > > > > > > ------------------------------------------------------------------------ > > > > > > Get Sensor Reading Request > > > ===================================================== > > > [ 2Dh] = cmd[ 8b] > > > [ 57h] = sensor_number[ 8b] > > > ===================================================== > > > Get Sensor Reading Response > > > ===================================================== > > > [ 2Dh] = cmd[ 8b] > > > [ 0h] = comp_code[ 8b] > > > [ 0h] = sensor_reading[ 8b] > > > [ 0h] = reserved1[ 5b] > > > [ 0h] = reading_state[ 1b] > > > [ 1h] = sensor_scanning[ 1b] > > > [ 1h] = all_event_messages[ 1b] > > > [ 1h] = state_0_asserted[ 1b] > > > [ 0h] = state_1_asserted[ 1b] > > > [ 0h] = state_2_asserted[ 1b] > > > [ 0h] = state_3_asserted[ 1b] > > > [ 0h] = state_4_asserted[ 1b] > > > [ 0h] = state_5_asserted[ 1b] > > > [ 0h] = state_6_asserted[ 1b] > > > [ 0h] = state_7_asserted[ 1b] > > > [ 0h] = state_8_asserted[ 1b] > > > [ 0h] = state_9_asserted[ 1b] > > > [ 0h] = state_10_asserted[ 1b] > > > [ 0h] = state_11_asserted[ 1b] > > > [ 0h] = state_12_asserted[ 1b] > > > [ 0h] = state_13_asserted[ 1b] > > > [ 0h] = state_14_asserted[ 1b] > > > [ 1h] = reserved2[ 1b] > > > 33: Presence (Entity Presence): [Entity Present] > > > ===================================================== > > > SDR Compact Sensor Record > > > ===================================================== > > > [ 22h] = record_id[16b] > > > [ 1h] = sdr_version_major[ 4b] > > > [ 5h] = sdr_version_minor[ 4b] > > > [ 2h] = record_type[ 8b] > > > [ 2Bh] = record_length[ 8b] > > > [ 0h] = sensor_owner_id.type[ 1b] > > > [ 10h] = sensor_owner_id[ 7b] > > > [ 0h] = sensor_owner_lun[ 2b] > > > [ 0h] = sensor_owner_lun.reserved[ 2b] > > > [ 0h] = channel_number[ 4b] > > > [ 59h] = sensor_number[ 8b] > > > [ 7h] = entity_id[ 8b] > > > [ 1h] = instance_number_for_entity[ 7b] > > > [ 0h] = treat_entity[ 1b] > > > [ 1h] = sensor_initialization.sensor_scanning[ 1b] > > > [ 1h] = sensor_initialization.event_generation[ 1b] > > > [ 1h] = sensor_initialization.init_sensor_type[ 1b] > > > [ 1h] = sensor_initialization.init_hysteresis[ 1b] > > > [ 0h] = sensor_initialization.init_thresholds[ 1b] > > > [ 1h] = sensor_initialization.init_events[ 1b] > > > [ 1h] = sensor_initialization.init_scanning[ 1b] > > > [ 0h] = sensor_initialization.reserved[ 1b] > > > [ 0h] = sensor_capabilities.event_message_control_support[ > > > 2b] > > > [ 0h] = sensor_capabilities.threshold_access_support[ 2b] > > > [ 0h] = sensor_capabilities.hysteresis_support[ 2b] > > > [ 1h] = sensor_capabilities.auto_re_arm_support[ 1b] > > > [ 1h] = sensor_capabilities.entity_ignore_support[ 1b] > > > [ 1Bh] = sensor_type[ 8b] > > > [ 6Fh] = event_reading_type_code[ 8b] > > > [ 2h] = assertion_event_lower_threshold_reading_mask[16b] > > > [ 2h] = deassertion_event_upper_threshold_reading_mask[16b] > > > [ 3h] = > > > discrete_reading_settable_threshold_readable_threshold_mask[16b] > > > [ 0h] = sensor_unit1.percentage[ 1b] > > > [ 0h] = sensor_unit1.modifier_unit[ 2b] > > > [ 0h] = sensor_unit1.rate_unit[ 3b] > > > [ 0h] = sensor_unit1.analog_data_format[ 2b] > > > [ 0h] = sensor_unit2.base_unit[ 8b] > > > [ 0h] = sensor_unit3.modifier_unit[ 8b] > > > [ 1h] = share_count[ 4b] > > > [ 0h] = id_string_instance_modifier_type[ 2b] > > > [ 0h] = sensor_direction[ 2b] > > > [ 0h] = id_string_instance_modifier_offset[ 7b] > > > [ 0h] = entity_instance_sharing[ 1b] > > > [ 0h] = positive_going_threshold_hysteresis[ 8b] > > > [ 0h] = negative_going_threshold_hysteresis[ 8b] > > > [ 0h] = reserved[24b] > > > [ 0h] = oem[ 8b] > > > [ D0h] = id_string_type_length_code[ 8b] > > > [ BYTE ARRAY ... ] = id_string[16B] > > > [ 44h 52h 41h 43h 35h 20h 43h 6Fh ] > > > [ 6Eh 6Eh 20h 32h 20h 43h 62h 6Ch ] > > > ===================================================== > > > Get Sensor Reading Request > > > ===================================================== > > > [ 2Dh] = cmd[ 8b] > > > [ 59h] = sensor_number[ 8b] > > > ===================================================== > > > Get Sensor Reading Response > > > ===================================================== > > > [ 2Dh] = cmd[ 8b] > > > [ 0h] = comp_code[ 8b] > > > [ 0h] = sensor_reading[ 8b] > > > [ 0h] = reserved1[ 5b] > > > [ 0h] = reading_state[ 1b] > > > [ 1h] = sensor_scanning[ 1b] > > > [ 1h] = all_event_messages[ 1b] > > > [ 1h] = state_0_asserted[ 1b] > > > [ 0h] = state_1_asserted[ 1b] > > > [ 0h] = state_2_asserted[ 1b] > > > [ 0h] = state_3_asserted[ 1b] > > > [ 0h] = state_4_asserted[ 1b] > > > [ 0h] = state_5_asserted[ 1b] > > > [ 0h] = state_6_asserted[ 1b] > > > [ 0h] = state_7_asserted[ 1b] > > > [ 0h] = state_8_asserted[ 1b] > > > [ 0h] = state_9_asserted[ 1b] > > > [ 0h] = state_10_asserted[ 1b] > > > [ 0h] = state_11_asserted[ 1b] > > > [ 0h] = state_12_asserted[ 1b] > > > [ 0h] = state_13_asserted[ 1b] > > > [ 0h] = state_14_asserted[ 1b] > > > [ 1h] = reserved2[ 1b] > > > 34: DRAC5 Conn 2 Cbl (Cable Interconnect): [Cable/Interconnect is > > > connected] > > > ===================================================== > > > SDR Compact Sensor Record > > > ===================================================== > > > [ 23h] = record_id[16b] > > > [ 1h] = sdr_version_major[ 4b] > > > [ 5h] = sdr_version_minor[ 4b] > > > [ 2h] = record_type[ 8b] > > > [ 2Bh] = record_length[ 8b] > > > [ 0h] = sensor_owner_id.type[ 1b] > > > [ 10h] = sensor_owner_id[ 7b] > > > [ 0h] = sensor_owner_lun[ 2b] > > > [ 0h] = sensor_owner_lun.reserved[ 2b] > > > [ 0h] = channel_number[ 4b] > > > [ 5Fh] = sensor_number[ 8b] > > > [ 7h] = entity_id[ 8b] > > > [ 1h] = instance_number_for_entity[ 7b] > > > [ 0h] = treat_entity[ 1b] > > > [ 1h] = sensor_initialization.sensor_scanning[ 1b] > > > [ 1h] = sensor_initialization.event_generation[ 1b] > > > [ 1h] = sensor_initialization.init_sensor_type[ 1b] > > > [ 1h] = sensor_initialization.init_hysteresis[ 1b] > > > [ 0h] = sensor_initialization.init_thresholds[ 1b] > > > [ 1h] = sensor_initialization.init_events[ 1b] > > > [ 1h] = sensor_initialization.init_scanning[ 1b] > > > [ 0h] = sensor_initialization.reserved[ 1b] > > > [ 0h] = sensor_capabilities.event_message_control_support[ > > > 2b] > > > [ 0h] = sensor_capabilities.threshold_access_support[ 2b] > > > [ 0h] = sensor_capabilities.hysteresis_support[ 2b] > > > [ 1h] = sensor_capabilities.auto_re_arm_support[ 1b] > > > [ 1h] = sensor_capabilities.entity_ignore_support[ 1b] > > > [ 2h] = sensor_type[ 8b] > > > [ 3h] = event_reading_type_code[ 8b] > > > [ 3h] = assertion_event_lower_threshold_reading_mask[16b] > > > [ 3h] = deassertion_event_upper_threshold_reading_mask[16b] > > > [ 3h] = > > > discrete_reading_settable_threshold_readable_threshold_mask[16b] > > > [ 0h] = sensor_unit1.percentage[ 1b] > > > [ 0h] = sensor_unit1.modifier_unit[ 2b] > > > [ 0h] = sensor_unit1.rate_unit[ 3b] > > > [ 0h] = sensor_unit1.analog_data_format[ 2b] > > > [ 0h] = sensor_unit2.base_unit[ 8b] > > > [ 0h] = sensor_unit3.modifier_unit[ 8b] > > > [ 1h] = share_count[ 4b] > > > [ 0h] = id_string_instance_modifier_type[ 2b] > > > [ 0h] = sensor_direction[ 2b] > > > [ 0h] = id_string_instance_modifier_offset[ 7b] > > > [ 1h] = entity_instance_sharing[ 1b] > > > [ 0h] = positive_going_threshold_hysteresis[ 8b] > > > [ 0h] = negative_going_threshold_hysteresis[ 8b] > > > [ 0h] = reserved[24b] > > > [ 0h] = oem[ 8b] > > > [ D0h] = id_string_type_length_code[ 8b] > > > [ BYTE ARRAY ... ] = id_string[16B] > > > [ 50h 46h 61h 75h 6Ch 74h 20h 46h ] > > > [ 61h 69h 6Ch 20h 53h 61h 66h 65h ] > > > ===================================================== > > > Get Sensor Reading Request > > > ===================================================== > > > [ 2Dh] = cmd[ 8b] > > > [ 5Fh] = sensor_number[ 8b] > > > ===================================================== > > > Get Sensor Reading Response > > > ===================================================== > > > [ 2Dh] = cmd[ 8b] > > > [ CBh] = comp_code[ 8b] > > > ipmi_cmd_get_sensor_reading_discrete: bad completion code: request > > > data/parameter invalid > > > > > > --------------------------------------------------------------------- > > > > > > George Hartlieb System Administrator/Engineer > > > Phone: 650-604-5690 [EMAIL PROTECTED] > > > > > > ELORET Corporation > > > NASA/Ames Research Center > > > MS 234-1 > > > Moffett Field, CA 94035-1000 > > > > > > > > > > > > _______________________________________________ > > > Freeipmi-users mailing list > > > [email protected] > > > http://lists.gnu.org/mailman/listinfo/freeipmi-users > _______________________________________________ > Freeipmi-users mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/freeipmi-users -- Albert Chu [EMAIL PROTECTED] 925-422-5311 Computer Scientist High Performance Systems Division Lawrence Livermore National Laboratory
_______________________________________________ Freeipmi-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/freeipmi-users
