Re: [Freeipmi-devel] FreeIPMI 0.6.6 Released

2008-08-29 Thread David Sparks

Al Chu wrote:

This release contains a potentially important change to ipmi-sensors
and ipmimonitoring that may affect some users outputs if they script
against ipmi-sensors or ipmimonitoring.

I was somewhat reluctant to change this in the 0.6.X line, wanting to
wait till 0.7.1 to have a more complete and correct solution in place,
but I think it's necessary at this point since a few motherboards have
popped up where this is a problem.

0.6.6 - 08/26/08

o Output NA/Unknown for non-BMC owned sensors in ipmi-sensors.
o Do not output readings for non-BMC owned sensors in ipmimonitoring.
o libfreeipmi/ipmi-chassis fix invalid console redirection input check.


A comparison of 0.6.5 vs 0.6.6 output below.

0.6.5 output:

Record_ID | Sensor Name | Sensor Group | Monitoring Status| Sensor Units | 
Sensor Reading

1 | Temp | Temperature | Nominal | C | 49.00
2 | Temp | Temperature | Nominal | C | 49.00
3 | Ambient Temp | Temperature | Nominal | C | 17.00
4 | Planar Temp | Temperature | Nominal | C | 37.00
5 | Riser Temp | Temperature | Nominal | C | 39.00
6 | Temp | Temperature | Nominal | C | 40.00
7 | Temp | Temperature | Nominal | C | 40.00
8 | CMOS Battery | Voltage | Nominal | V | 3.147600
19 | Presence  | Entity Presence | Nominal | N/A | 'Entity Present'
20 | Presence  | Entity Presence | Nominal | N/A | 'Entity Present'
21 | Presence  | Entity Presence | Nominal | N/A | 'Entity Present'
22 | Presence  | Entity Presence | Nominal | N/A | 'Entity Present'
23 | ROMB Presence | Entity Presence | Nominal | N/A | 'Entity Present'
24 | FAN 1A RPM | Fan | Nominal | RPM | 7575.00
25 | FAN 1B RPM | Fan | Nominal | RPM | 5775.00
26 | FAN 2A RPM | Fan | Nominal | RPM | 7875.00
27 | FAN 2B RPM | Fan | Nominal | RPM | 5325.00
28 | FAN 3A RPM | Fan | Nominal | RPM | 7725.00
29 | FAN 3B RPM | Fan | Nominal | RPM | 5400.00
30 | FAN 4A RPM | Fan | Nominal | RPM | 8100.00
31 | FAN 4B RPM | Fan | Nominal | RPM | 5550.00
32 | Status  | Group Processor | Nominal | N/A | 'Processor Presence detected'
33 | Status  | Group Processor | Nominal | N/A | 'Processor Presence detected'
34 | Status  | Power Supply | Nominal | N/A | 'Presence detected'
35 | Status  | Power Supply | Nominal | N/A | 'Presence detected'
36 | VRM  | Power Supply | Nominal | N/A | 'Presence detected'
37 | VRM  | Power Supply | Nominal | N/A | 'Presence detected'
38 | OS Watchdog | Watchdog2 | Nominal | N/A | ''
40 | Intrusion | Physical Security | Nominal | N/A | ''
56 | Drive | Slot Connector | Warning | N/A | 'Slot/Connector Device Removal 
Request'

57 | ECC Corr Err | Memory | Critical | N/A | 'Presence detected'
58 | ECC Uncorr Err | Memory | Critical | N/A | 'Presence detected'
59 | I/O Channel Chk | Critical Interrupt | Critical | N/A | 'EISA Fail Safe 
Timeout'
60 | PCI Parity Err | Critical Interrupt | Critical | N/A | 'EISA Fail Safe 
Timeout'
61 | PCI System Err | Critical Interrupt | Critical | N/A | 'EISA Fail Safe 
Timeout'

62 | SBE Log Disabled | Event Logging Disabled | Nominal | N/A | ''
63 | Logging Disabled | Event Logging Disabled | Nominal | N/A | ''
72 | Memory Added | Memory | Warning | N/A | 'Correctable ECC/other 
correctable memory error'
73 | Memory Removed | Memory | Warning | N/A | 'Correctable ECC/other 
correctable memory error'
74 | PCIE Fatal Err | Critical Interrupt | Critical | N/A | 'Front Panel 
NMI/Diagnostic Interrupt'
75 | Chipset Err | Critical Interrupt | Critical | N/A | 'Front Panel 
NMI/Diagnostic Interrupt'



0.6.6 output:

Record_ID | Sensor Name | Sensor Group | Monitoring Status| Sensor Units | 
Sensor Reading

1 | Temp | Temperature | Nominal | C | 49.00
2 | Temp | Temperature | Nominal | C | 49.00
3 | Ambient Temp | Temperature | Nominal | C | 17.00
4 | Planar Temp | Temperature | Nominal | C | 37.00
5 | Riser Temp | Temperature | Nominal | C | 39.00
6 | Temp | Temperature | Nominal | C | 40.00
7 | Temp | Temperature | Nominal | C | 40.00
8 | CMOS Battery | Voltage | Nominal | V | 3.134700
19 | Presence  | Entity Presence | Nominal | N/A | 'Entity Present'
20 | Presence  | Entity Presence | Nominal | N/A | 'Entity Present'
21 | Presence  | Entity Presence | Nominal | N/A | 'Entity Present'
22 | Presence  | Entity Presence | Nominal | N/A | 'Entity Present'
23 | ROMB Presence | Entity Presence | Nominal | N/A | 'Entity Present'
24 | FAN 1A RPM | Fan | Nominal | RPM | 7575.00
25 | FAN 1B RPM | Fan | Nominal | RPM | 5775.00
26 | FAN 2A RPM | Fan | Nominal | RPM | 7875.00
27 | FAN 2B RPM | Fan | Nominal | RPM | 5325.00
28 | FAN 3A RPM | Fan | Nominal | RPM | 7725.00
29 | FAN 3B RPM | Fan | Nominal | RPM | 5400.00
30 | FAN 4A RPM | Fan | Nominal | RPM | 8100.00
31 | FAN 4B RPM | Fan | Nominal | RPM | 5550.00
32 | Status  | Group Processor | Nominal | N/A | 'Processor Presence detected'
33 | Status  | Group Processor | Nominal | N/A | 'Processor Presence detected'
34 | Status  

Re: [Freeipmi-devel]ipmi_monitoring_sensor_readings_by_record_id:internal IPMI error

2008-08-26 Thread David Sparks

Al Chu wrote:

Hey David,

Are you using the newest FreeIPMI available?  0.6.5 from the FreeIPMI
homepage?  The debug dump data you've given me seems pretty out of date.
I've changed the formatting + the amount of information that gets
dumped.


[ VALUE   TAG NAME:LENGTH  ]

[  2Dh] = cmd[ 8b]
[  CBh] = comp_code[ 8b]

(ipmi_monitoring_sensor_reading.c, _get_sensor_reading, 404): bad
completion code: 0x51
ipmi_monitoring_sensor_readings_by_record_id: internal IPMI error

Another user w/ a Dell machine hit sensors that returned 0xCB ==
Requested Sensor, data, or record not present.  This fix seems to be
in the FreeIPMI 0.6.5 release.

On another note, there are several sensors on your motherboard that
ipmimonitoring currently does not interpret.  I will add those into
ipmimonitoring.


I've updated to 0.6.5 from 0.5.6.  What is strange is the debug output changes 
from run to run:


# ipmimonitoring --debug
Caching SDR repository information: 
/root/.freeipmi/sdr-cache/sdr-cache-scanner2.localhost

=
Get SDR Repository Info Request
=
[  20h] = cmd[ 8b]
=
Get SDR Repository Info Response
=
ipmi_sdr_cache_create: internal IPMI error

# ipmimonitoring --debug
Caching SDR repository information: 
/root/.freeipmi/sdr-cache/sdr-cache-scanner2.localhost

=
Get SDR Repository Info Request
=
[  20h] = cmd[ 8b]
=
Get SDR Repository Info Response
=
[  20h] = cmd[ 8b]
[   0h] = comp_code[ 8b]
[   1h] = sdr_version_major[ 4b]
[   5h] = sdr_version_minor[ 4b]
[  4Ch] = record_count[16b]
[ EE4h] = free_space[16b]
[h] = most_recent_addition_timestamp[32b]
[h] = most_recent_erase_timestamp[32b]
[   0h] = get_sdr_repository_allocation_info_command_supported[ 1b]
[   1h] = reserve_sdr_repository_command_supported[ 1b]
[   0h] = partial_add_sdr_command_supported[ 1b]
[   0h] = delete_sdr_command_supported[ 1b]
[   0h] = reserved[ 1b]
[   2h] = 
modal_non_modal_sdr_repository_update_operation_supported[ 2b]

[   0h] = overflow_flag[ 1b]
=
Reserve SDR Repository Request
=
[  22h] = cmd[ 8b]
=
Reserve SDR Repository Response
=
ipmi_sdr_cache_create: internal IPMI error

# ipmimonitoring --debug
Caching SDR repository information: 
/root/.freeipmi/sdr-cache/sdr-cache-scanner2.localhost

=
Get SDR Repository Info Request
=
[  20h] = cmd[ 8b]
=
Get SDR Repository Info Response
=
[  20h] = cmd[ 8b]
[   0h] = comp_code[ 8b]
[   1h] = sdr_version_major[ 4b]
[   5h] = sdr_version_minor[ 4b]
[  4Ch] = record_count[16b]
[ EE4h] = free_space[16b]
[h] = most_recent_addition_timestamp[32b]
[h] = most_recent_erase_timestamp[32b]
[   0h] = get_sdr_repository_allocation_info_command_supported[ 1b]
[   1h] = reserve_sdr_repository_command_supported[ 1b]
[   0h] = partial_add_sdr_command_supported[ 1b]
[   0h] = delete_sdr_command_supported[ 1b]
[   0h] = reserved[ 1b]
[   2h] = 
modal_non_modal_sdr_repository_update_operation_supported[ 2b]

[   0h] = overflow_flag[ 1b]
=
Reserve SDR Repository Request
=
[  22h] = cmd[ 8b]
=
Reserve SDR Repository Response
=
[  22h] = cmd[ 8b]
[   0h] = comp_code[ 8b]
[ 383h] = reservation_id[16b]
=
Get SDR Request
=
[  23h] = cmd[ 8b]
[ 383h] =