[Bug 272741] ipmi: loss of sensor data after a while

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 26 Jul 2023 21:34:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272741

            Bug ID: 272741
           Summary: ipmi: loss of sensor data after a while
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: yannk@apple.com

On many HP proliants (among which "ProLiant DL360 Gen10")

The PSU values are ok after an ILO restart.
```
% ipmitool sensor get "PS 1 Output"
Locating sensor record...
Sensor ID              : PS 1 Output (0xd0)
 Entity ID             : 10.1
 Sensor Type (Threshold)  : Power Supply
 Sensor Reading        : 90 (+/- 0) Watts
 Status                : ok
 Sensor Threshold Settings not available
```


but then they disappear:

```
% ipmitool -v sensor get "PS 1 Output"
Running Get PICMG Properties my_addr 0x20, transit 0, target 0
Error response 0xc1 from Get PICMG Properities
Running Get VSO Capabilities my_addr 0x20, transit 0, target 0
Invalid completion code received: Invalid command
Discovered IPMB address 0x0
Locating sensor record...
Sensor ID              : PS 1 Output (0xd0)
 Entity ID             : 10.1
 Sensor Type (Threshold)  : Power Supply
 Sensor Reading        :  Unable to read sensor: Device Not Present
```

The values are still available in lanplus which makes me think it's something
that changed in 13.2

```
% ipmitool -I lanplus sensor get "PS\ 1\ Output"
Locating sensor record...
Sensor ID              : PS 1 Output (0xd0)
 Entity ID             : 10.1
 Sensor Type (Threshold)  : Power Supply
 Sensor Reading        : 80 (+/- 0) Watts
 Status                : ok
 Sensor Threshold Settings not available
```

Since in 13.1 the problem wasn't there, maybe this change has something to do
with it?
- https://reviews.freebsd.org/D35605
-
https://forums.freebsd.org/threads/freebsd-cannot-get-dimm-temperature-sensor-value.85166/

-- 
You are receiving this mail because:
You are the assignee for the bug.