问题描述
偶现门限传感器Status变为disabled状态,关联entity的PowerState、Presence为固定值1。
ThresholdSensor和Entity状态读取
~ ~ # mdbctl lsprop ThresholdSensor_CpuDDRVDDVolt_01010209
bmc.kepler.Object.Properties
ClassName="ThresholdSensor"
ObjectIdentifier=[1,"1","","01010209"]
ObjectName="ThresholdSensor_CpuDDRVDDVolt_01010209"
TraceSamplingRate=0
bmc.kepler.Systems.ThresholdSensor
Capabilities=232
EntityId=3
EntityInstance=98
LowerCritical=37
LowerNoncritical=0
LowerNonrecoverable=0
NegativeHysteresis=2
OriginalReading=0
OwnerLun=0
PositiveHysteresis=2
Reading=41
ReadingMask=4626
ReadingStatus=0
SensorIdentifier=""
SensorName="CPU2 DDRVDD"
SensorNumber=39
SensorType=2
UpperCritical=45
UpperNoncritical=0
UpperNonrecoverable=0
bmc.kepler.Systems.ThresholdSensorDisplay
AssertStatus=0
Health="OK"
LowerCriticalDisplay="0.722"
LowerNoncriticalDisplay="0.000"
LowerNonrecoverableDisplay="0.000"
NegativeHysteresisDisplay="0.039"
PositiveHysteresisDisplay="0.039"
ReadingDisplay="0.000"
Status="Disabled"
UnitDisplay="Volts"
UpperCriticalDisplay="0.878"
UpperNoncriticalDisplay="0.000"
UpperNonrecoverableDisplay="0.000"
Private
Accuracy=0
Analog=1
AssertMask=0
B=0
BA=0
BaseUnit=4
BelongsToSystem=false
DeassertMask=0
Initialization=127
IsValid=true
Linearization=0
M=195
MT=0
MaximumReading=128
MinimumReading=0
ModifierUnit=0
NominalReading=80
NormalMaximum=0
NormalMinimum=0
OwnerId=32
RBExp=192
ReadingType=1
Unit=0
~ ~ # mdbctl lsprop Entity_CPU1_01010209
bmc.kepler.Object.Properties
ClassName="Entity"
ObjectIdentifier=[1,"1","","01010209"]
ObjectName="Entity_CPU1_01010209"
TraceSamplingRate=0
bmc.kepler.Systems.Entity
Health=0
Id=3
Instance=98
Name="CPU1"
PowerState=1
Presence=1
Slot=255
Private
BelongsToSystem=false
~ ~ #
CSR配置
"Entity_CPU1": {
"Id": 3,
"Instance": 96,
"Name": "CPU1",
"PowerState": 1,
"Presence": 1
},
"ThresholdSensor_CpuNAVSVolt" :{
"OwnerId": 32,
"OwnerLun": 0,
"EntityId": "<=/Entity_CPU1.Id",
"EntityInstance": "<=/Entity_CPU1.Instance",
"Initialization": 127,
"Capabilities": 232,
"SensorType": 2,
"ReadingType": 1,
"SensorName": "CPU${Slot} N-AVS",
……
"Reading": "<=/Scanner_CpuNAvs_Volt.Value |> expr(($1 / 10))",
"ReadingStatus": 0,
"SensorNumber": 255
}
环境信息
- 软件版本:OpenUBMC2512SP1