Menu

#275 ipmievd not logging correctly for shared sensors

version-1.8.14
open
nobody
None
5
2013-09-15
2009-10-14
Anonymous
No

I've noticed on our systems that ipmievd does not print the correct logging message for drive bay sensors. The drive bays are Compact Sensor (type 2) in the SDR, and indicate that this is a shared record (Share Count = 8).

The SDR has a single entry for drive slots, sensor #80 with share count = 8. The next sensor number in the SDR is #90. When a drive is pulled/inserted, the SEL will contain entries for sensor numbers #8x.

ipmievd will only print correctly for sensor #80 (Slot 0). I've traced this down to ipmi_sdr_find_sdr_by_numtype in lib/ipmi_sdr.c. This function only searches for an exact sensor number to SDR match.

I'm proposing to change ipmi_sdr.c to support reverse lookup of sensor range for shared compact sensors in ipmi_sdr_find_sdr_by_numtype().

Signed-off-by: Jordan Hargrave <Jordan_hargrave@dell.com>

Discussion

  • Nobody/Anonymous

     
  • Zdenek Styblik

    Zdenek Styblik - 2013-09-15

    Ticket moved from /p/ipmitool/patches/33/

     
  • Zdenek Styblik

    Zdenek Styblik - 2013-09-15
    • Group: --> version-1.8.14
     

Log in to post a comment.