From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 797CDC433EF for ; Wed, 13 Oct 2021 09:06:54 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2DF5F610CE for ; Wed, 13 Oct 2021 09:06:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2DF5F610CE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4HTmqv4Qtnz2ynk for ; Wed, 13 Oct 2021 20:06:51 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=KcrDcV+Z; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::535; helo=mail-pg1-x535.google.com; envelope-from=wh800805@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=KcrDcV+Z; dkim-atps=neutral Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4HTmq16Rzmz2yHJ for ; Wed, 13 Oct 2021 20:06:05 +1100 (AEDT) Received: by mail-pg1-x535.google.com with SMTP id f5so1672730pgc.12 for ; Wed, 13 Oct 2021 02:06:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=zk52p6Rw6nFkV0bpvb/jVf0R5FkNRmlkAVZcEsL4Xns=; b=KcrDcV+ZQ2rqHO8RNdDUaD/TnllrgzcT2eEqXbL325A+0L/OVRCcLjl0jYn4t1Qtjt ovs74mdmQ1ZJdRiWJN8uQ23FJ8NZox8JU8j16N/1mWmIbCdzAxJkCF88u0IqWfHpsB14 5v3R4YYbc5A6g0BX+bLL6tDQxf7wK8OZiXeBeTuf2M/emClr/ktmvZN+izgttNMUzFxg lKbGYLj/C6Nxe0GNImA3yfFNakyMJjlsKTB5LWI3ikwpdOYpYIUs4+cIOTf6IsU7n63S FtOo23L+RP7Ye643eX1AXXW9/xWQq4b5MRX3As2Tt6qVULq1RvHfItR5oGtkALm3v/QW B3MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=zk52p6Rw6nFkV0bpvb/jVf0R5FkNRmlkAVZcEsL4Xns=; b=zuGkfPg6UGfEnIHVbJWDAtsPC+VPjkEa4YYGuLcCprrxPH462sFYhamwSZ65YD2WWL KeRmqextZjj4gzrCZ/i+JG+0c9SXXVt00xNuJb6RjdD8z7Anr+37uqSdetLBNvRu8Gg6 G7drik6F8in/nlMqkNcwFuu2cJkXR7bYrydhbJMyIk6GxNcaH+W3yA1rMa88bc27rCi6 x6LdXeJ8xCAo9+iKYD0eQK7r1yfJdcUvZ35WMFACslqY3Nj6utm6SoBt8U/1jSQHo1Yj nZY0iQCbTgcRutxLHTNEGJkJRl68nOV9hbUIBojdh7MeGXWsBPXLVmCMzh97kp4v7XxQ tIyg== X-Gm-Message-State: AOAM532YPtkYZrHd9pCIrKtGws3ykKU2hk2FMz/AtLh6IaeHR4tSNFKV UPX2WULAgf35vibNzmIODw== X-Google-Smtp-Source: ABdhPJwQko4cyTftCoOPMZEGVPCXLqPK7Sb8ESnF7kXCeeosMItyq/me3OtKSiavsfDRlW8TGiIIdw== X-Received: by 2002:a63:3c5c:: with SMTP id i28mr24160085pgn.442.1634115961738; Wed, 13 Oct 2021 02:06:01 -0700 (PDT) Received: from smtpclient.apple (220-128-110-82.hinet-ip.hinet.net. [220.128.110.82]) by smtp.gmail.com with ESMTPSA id t3sm13568391pfb.100.2021.10.13.02.06.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Oct 2021 02:06:01 -0700 (PDT) From: =?utf-8?B?5ZCz56eJ5piM?= Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_76BD4B77-CF72-4B53-8A11-0699EF8A01A7" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Ipmitool command & entity-manager question Date: Wed, 13 Oct 2021 17:05:58 +0800 In-Reply-To: <99511633084704@mail.yandex-team.ru> To: Konstantin Klubnichkin References: <42F9352C-E5A9-4A02-B877-95E8419EB3BE@gmail.com> <27ffb02323b8be39e1e92b37fc3cdc35857312b8.camel@yadro.com> <2BD99E33-F582-46C5-855F-942532F79FCC@gmail.com> <5072b23d-8165-19a4-f0e8-946a31e22285@intel.com> <030C0FA0-812D-4D8D-8C41-5DBD64629523@gmail.com> <99511633084704@mail.yandex-team.ru> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "openbmc@lists.ozlabs.org" , Andrei Kartashev , Johnathan Mantey Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" --Apple-Mail=_76BD4B77-CF72-4B53-8A11-0699EF8A01A7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Konstantin I already fixed. I install module rsyslog and the SEL log will show when = I run ipmitool. Thanks for your help! BR Paul > Konstantin Klubnichkin =E6=96=BC = 2021=E5=B9=B410=E6=9C=881=E6=97=A5 =E4=B8=8B=E5=8D=886:41 =E5=AF=AB=E9=81=93= =EF=BC=9A >=20 > Hello Paul > =20 > We don't have this in our config files. > =20 > Instead we use phosphor-sel-logger (included using = IMAGE_INSTALL_append variable in machine config). > =20 > In my bbappend file for phosphor-sel-logger there are following = features enabled: > #Enable threshold monitoring > EXTRA_OECMAKE +=3D "-DSEL_LOGGER_MONITOR_THRESHOLD_EVENTS=3DON" > EXTRA_OECMAKE +=3D "-DREDFISH_LOG_MONITOR_PULSE_EVENTS=3DON" > =20 > =20 > 01.10.2021, 10:52, "=E5=90=B3=E7=A7=89=E6=98=8C" : > Hi Johnathan & Konstantin > =20 > Thanks for your explanation. It is very helpful to me. > I adjust the json file to fix this issue. > =20 > And I have one more question need help. > I try to enable the SEL, I add below setting=20 > PACKAGECONFIG:append =3D " log-threshold log-pulse send-to-logger=E2=80=9D= > =20 > When event occurred, but SEL still empty. > =20 > event occurred log:=20 > Jan 01 00:04:25 fws7830bmc adcsensor[283]: Sensor MB_P3V3 high = threshold 3.531 assert: value 3.588 raw data 1794 > Jan 01 00:06:08 fws7830bmc adcsensor[283]: Sensor MB_P3V3 high = threshold 3.531 assert: value 3.54 raw data 1770 > =20 > Ipmitoo sel log: > SEL Information > Version : 1.5 (v1.5, v2 compliant) > Entries : 0 > Free Space : 65535 bytes or more > Percent Used : unknown > Last Add Time : Not Available > Last Del Time : Not Available > Overflow : false > Supported Cmds : 'Reserve=E2=80=99=20 > =20 > Please give me some advice. Thanks > =20 > BR > Paul > =20 > =20 > Johnathan Mantey > =E6=96=BC 2021=E5=B9=B49=E6=9C=8830=E6= =97=A5 =E4=B8=8B=E5=8D=8811:00 =E5=AF=AB=E9=81=93=EF=BC=9A > =20 >=20 >=20 > On 9/30/21 3:13 AM, =E5=90=B3=E7=A7=89=E6=98=8C wrote: > Hi Andrei > My question is that I set MB_P12V "upper critical" is 13.23, "upper = non critical" is 12.6, etc . > When I login web page, I can see the setting what I want. > But when I use =E2=80=9CIpmitool sensor=E2=80=9D command, the response = is wrong. Like below > MB P12V | 7.215 | Volts | ok | na |6.386 = | 6.723 | 7.429 | 7.829 | na > I am not sure am I miss something. > Thanks > Paul >=20 > ipmitool uses SDR records to calculate how to translate the 8-bit = sensor reading into a value in range. >=20 > For intel-ipmi-oem the SDRs are generated on the fly, with most being = Type 1. The Type 1 has a M, M(B), R, and R(B) value that is calculated = from the values in the JSON. The code inside this section uses several = of the entries in the JSON to generate the M and R values. >=20 > We were recently bit by this calculation, because the calculation used = the "worst case" values of reading(min), reading(max), UC, and UNC, and = combined them for the M and R. >=20 > Somehow the UNC and UC values were outside the reading range, and the = M and R values were calculated in a way that made the sensor output = incorrect as displayed by ipmitool. >=20 > You may want to investigate if the SDRs are correct. Use 'impitool sdr = dump sdrs.bin' and find the SDR for the sensors of interest and see if = the M and R values are sensible. >=20 > If they aren't find the code generating those values and identify how = the values are created. Adjust your JSON as necessary. > =20 > Andrei Kartashev > =E6=96=BC 2021=E5=B9=B49=E6=9C=8830=E6=97=A5= =E4=B8=8B=E5=8D=886:03 =E5=AF=AB=E9=81=93=EF=BC=9A >=20 > Hello, >=20 > What is your question exactly? > If it is about precision, then you should take in account that IPMI = use > 8-bit variables to represent values and some coefficients which > calculated based on MinValue/MaxValue parameters of corresponding > Sensor interface. > You will never get exact values in IPMI, unless you values can fit to > 8-bit integer. >=20 > On Thu, 2021-09-30 at 17:07 +0800, =E5=90=B3=E7=A7=89=E6=98=8C wrote: > Hi all >=20 > I add the sensor in entity-manager config like below > { > "Index": 2, > "Name": "MB_VMEM", > "PowerState": "On", > "ScaleFactor": 1, > "Thresholds": [ > { > "Direction": "greater than", > "Name": "upper critical", > "Severity": 1, > "Value": 1.32 > }, > { > "Direction": "greater than", > "Name": "upper non critical", > "Severity": 0, > "Value": 1.26 > }, > { > "Direction": "less than", > "Name": "lower non critical", > "Severity": 0, > "Value": 1.14 > }, > { > "Direction": "less than", > "Name": "lower critical", > "Severity": 1, > "Value": 1.08 > } > ], > "Type": "ADC" > }, > { > "Index": 3, > "Name": "MB_P12V", > "PowerState": "On", > "ScaleFactor": 0.23, > "Thresholds": [ > { > "Direction": "greater than", > "Name": "upper critical", > "Severity": 1, > "Value": 13.23 > }, > { > "Direction": "greater than", > "Name": "upper non critical", > "Severity": 0, > "Value": 12.6 > }, > { > "Direction": "less than", > "Name": "lower non critical", > "Severity": 0, > "Value": 11.4 > }, > { > "Direction": "less than", > "Name": "lower critical", > "Severity": 1, > "Value": 10.77 > } > ], > "Type": "ADC" > }, > { > "Index": 4, > "Name": "MB_P5V", > "PowerState": "On", > "ScaleFactor": 0.55, > "Thresholds": [ > { > "Direction": "greater than", > "Name": "upper critical", > "Severity": 1, > "Value": 5.48 > }, > { > "Direction": "greater than", > "Name": "upper non critical", > "Severity": 0, > "Value": 5.24 > }, > { > "Direction": "less than", > "Name": "lower non critical", > "Severity": 0, > "Value": 4.76 > }, > { > "Direction": "less than", > "Name": "lower critical", > "Severity": 1, > "Value": 4.48 > } > ], > "Type": "ADC" > }, > { > "Index": 5, > "Name": "MB_P5V_SB", > "PowerState": "On", > "ScaleFactor": 0.25, > "Thresholds": [ > { > "Direction": "greater than", > "Name": "upper critical", > "Severity": 1, > "Value": 5.48 > }, > { > "Direction": "greater than", > "Name": "upper non critical", > "Severity": 0, > "Value": 5.24 > }, > { > "Direction": "less than", > "Name": "lower non critical", > "Severity": 0, > "Value": 4.76 > }, > { > "Direction": "less than", > "Name": "lower critical", > "Severity": 1, > "Value": 4.48 > } > ], > "Type": "ADC" > }, >=20 >=20 > I use the busctrl command to see MB_P5V_SB information, it is normal. > root@fws7830bmc :~# busctl introspect = --no-pager > xyz.openbmc_project.EntityManager > /xyz/openbmc_project/inventory/system/board/FWS7830_ > Baseboard/MB_P5V > NAME TYPE SIGNATURE > RESULT/VALUE FLAGS > org.freedesktop.DBus.Introspectable interface - > - - > .Introspect method - > s - > org.freedesktop.DBus.Peer interface - > - - > .GetMachineId method - > s - > .Ping method - > - - > org.freedesktop.DBus.Properties interface - > - - > .Get method ss > v - > .GetAll method s > a{sv} - > .Set method ssv > - - > .PropertiesChanged signal > sa{sv}as - - > xyz.openbmc_project.Configuration.ADC interface - > - - > .Index property t > 4 emits-change > .Name property s > "MB_P5V" emits-change > .PowerState property s > "On" emits-change > .ScaleFactor property d > 0.55 emits-change > .Type property s > "ADC" emits-change > xyz.openbmc_project.Configuration.ADC.Thresholds0 interface - > - - > .Delete method - > - - > .Direction property s > "greater than" emits-change writable > .Name property s > "upper critical" emits-change writable > .Severity property d > 1 emits-change writable > .Value property d > 5.48 emits-change writable > xyz.openbmc_project.Configuration.ADC.Thresholds1 interface - > - - > .Delete method - > - - > .Direction property s > "greater than" emits-change writable > .Name property s > "upper non critical" emits-change writable > .Severity property d > 0 emits-change writable > .Value property d > 5.24 emits-change writable > xyz.openbmc_project.Configuration.ADC.Thresholds2 interface - > - - > .Delete method - > - - > .Direction property s > "less than" emits-change writable > .Name property s > "lower non critical" emits-change writable > .Severity property d > 0 emits-change writable > .Value property d > 4.76 emits-change writable > xyz.openbmc_project.Configuration.ADC.Thresholds3 interface - > - - > .Delete method - > - - > .Direction property s > "less than" emits-change writable > .Name property s > "lower critical" emits-change writable > .Severity property d > 1 emits-change writable > .Value property d > 4.48 emits-change writable >=20 > But I use "ipmitoo sensor=E2=80=9D command, it return the error = information > below as > MB P3V3 | 3.271 | Volts | ok | na | > 2.947 | 3.046 | 3.511 | 3.596 | na > MB P5V | 2.982 | Volts | ok | na | > 2.662 | 2.829 | 3.123 | 3.264 | na > MB P5V SB | 5.048 | Volts | ok | na | > 4.484 | 4.766 | 5.245 | 5.471 | na > MB P12V | 7.215 | Volts | ok | na | > 6.386 | 6.723 | 7.429 | 7.829 | na >=20 > Please give me some advise. >=20 > Many thanks > Paul >=20 >=20 > --=20 > Best regards, > Andrei Kartashev >=20 > =20 >=20 > --=20 > Johnathan Mantey > Senior Software Engineer > *azad te**chnology partners* > Contributing to Technology Innovation since 1992 > Phone: (503) 712-6764 > Email: johnathanx.mantey@intel.com = > > =20 > =20 > --=20 > Best regards, > Konstantin Klubnichkin, > lead firmware engineer, > server hardware R&D group, > Yandex Moscow office. > tel: +7-903-510-33-33 > =20 --Apple-Mail=_76BD4B77-CF72-4B53-8A11-0699EF8A01A7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi Konstantin

I already fixed. I install module rsyslog and the SEL log = will show when I run ipmitool.

Thanks for your help!

BR
Paul

Konstantin Klubnichkin <kitsok@yandex-team.ru> =E6=96=BC 2021=E5=B9=B410=E6=9C=88= 1=E6=97=A5 =E4=B8=8B=E5=8D=886:41 =E5=AF=AB=E9=81=93=EF=BC=9A

Hello = Paul
 
We don't have this = in our config files.
 
Instead we use phosphor-sel-logger  (included using = IMAGE_INSTALL_append variable in machine config).
 
In my bbappend file for = phosphor-sel-logger there are following features enabled:
#Enable threshold monitoring
EXTRA_OECMAKE +=3D = "-DSEL_LOGGER_MONITOR_THRESHOLD_EVENTS=3DON"
EXTRA_OECMAKE +=3D = "-DREDFISH_LOG_MONITOR_PULSE_EVENTS=3DON"
 
 
01.10.2021, 10:52, "=E5=90=B3=E7=A7=89=E6=98=8C" <wh800805@gmail.com>:
Hi Johnathan = & Konstantin
 
Thanks = for your explanation. It is very helpful to me.
I = adjust the json file to fix this issue.
 
And I have one more question need = help.
I try to enable the SEL, I add below = setting 
PACKAGECONFIG:append =3D " log-threshold log-pulse = send-to-logger=E2=80=9D
 
When event occurred, but SEL still empty.
 
event occurred = log: 
Jan 01 00:04:25 = fws7830bmc adcsensor[283]: Sensor MB_P3V3 high threshold 3.531 assert: = value 3.588 raw data 1794
Jan 01 00:06:08 = fws7830bmc adcsensor[283]: Sensor MB_P3V3 high threshold 3.531 assert: = value 3.54 raw data 1770
 
Ipmitoo sel log:
SEL = Information
Version         =  : 1.5 (v1.5, v2 compliant)
Entries   =        : 0
Free Space   =     : 65535 bytes or more
Percent Used =     : unknown
Last Add Time   =  : Not Available
Last Del Time    : = Not Available
Overflow         = : false
Supported Cmds   : = 'Reserve=E2=80=99 
 
Please give me some advice. Thanks
 
BR
Paul
 
 
Johnathan Mantey = <johnathanx.mantey@intel.com> =E6=96=BC = 2021=E5=B9=B49=E6=9C=8830=E6=97=A5 =E4=B8=8B=E5=8D=8811:00 = =E5=AF=AB=E9=81=93=EF=BC=9A
 


On 9/30/21 3:13 AM, = =E5=90=B3=E7=A7=89=E6=98=8C wrote:
Hi Andrei
My = question is that I set MB_P12V "upper critical" is 13.23, "upper non = critical" is 12.6, etc .
When I login web page, I can see = the setting what I want.
But when I use =E2=80=9CIpmitool = sensor=E2=80=9D command, the response is wrong. Like below
MB P12V =          | 7.215 =      | Volts      | ok =    | na        |6.386 =     | 6.723     | 7.429 =     | 7.829     | na
I am not sure am I miss something.
Thanks
Paul

ipmitool uses SDR = records to calculate how to translate the 8-bit sensor reading into a = value in range.

For intel-ipmi-oem = the SDRs are generated on the fly, with most being Type 1. The Type 1 = has a M, M(B), R, and R(B) value that is calculated from the values in = the JSON. The code inside this section uses several of the entries in = the JSON to generate the M and R values.

We were recently = bit by this calculation, because the calculation used the "worst case" = values of reading(min), reading(max), UC, and UNC, and combined them for = the M and R.

Somehow the UNC and = UC values were outside the reading range, and the M and R values were = calculated in a way that made the sensor output incorrect as displayed = by ipmitool.

You may want to = investigate if the SDRs are correct. Use 'impitool sdr dump sdrs.bin' = and find the SDR for the sensors of interest and see if the M and R = values are sensible.

If they aren't find = the code generating those values and identify how the values are = created. Adjust your JSON as necessary.
 
Andrei = Kartashev <a.kartashev@yadro.com> =E6=96=BC = 2021=E5=B9=B49=E6=9C=8830=E6=97=A5 =E4=B8=8B=E5=8D=886:03 =E5=AF=AB=E9=81=93= =EF=BC=9A

Hello,

What is your question exactly?
If it is about = precision, then you should take in account that IPMI use
8-bit variables to represent values and some coefficients = which
calculated based on MinValue/MaxValue parameters of = corresponding
Sensor interface.
You will = never get exact values in IPMI, unless you values can fit to
8-bit integer.

On Thu, = 2021-09-30 at 17:07 +0800, =E5=90=B3=E7=A7=89=E6=98=8C wrote:
Hi all

I add the sensor in = entity-manager config like below
{
          &nb= sp; "Index": 2,
          &nb= sp; "Name": "MB_VMEM",
          &nb= sp; "PowerState": "On",
          &nb= sp; "ScaleFactor": 1,
          &nb= sp; "Thresholds": [
          &nb= sp;     {
          &nb= sp;         "Direction": = "greater than",
          &nb= sp;         "Name": "upper = critical",
          &nb= sp;         "Severity": = 1,
          &nb= sp;         "Value": = 1.32
          &nb= sp;     },
          &nb= sp;     {
          &nb= sp;         "Direction": = "greater than",
          &nb= sp;         "Name": "upper = non critical",
          &nb= sp;         "Severity": = 0,
          &nb= sp;         "Value": = 1.26
          &nb= sp;     },
          &nb= sp;     {
          &nb= sp;         "Direction": = "less than",
          &nb= sp;         "Name": "lower = non critical",
          &nb= sp;         "Severity": = 0,
          &nb= sp;         "Value": = 1.14
          &nb= sp;     },
          &nb= sp;     {
          &nb= sp;         "Direction": = "less than",
          &nb= sp;         "Name": "lower = critical",
          &nb= sp;         "Severity": = 1,
          &nb= sp;         "Value": = 1.08
          &nb= sp;     }
          &nb= sp; ],
          &nb= sp; "Type": "ADC"
        },
        {
          &nb= sp; "Index": 3,
          &nb= sp; "Name": "MB_P12V",
          &nb= sp; "PowerState": "On",
          &nb= sp; "ScaleFactor": 0.23,
          &nb= sp; "Thresholds": [
          &nb= sp;     {
          &nb= sp;         "Direction": = "greater than",
          &nb= sp;         "Name": "upper = critical",
          &nb= sp;         "Severity": = 1,
          &nb= sp;         "Value": = 13.23
          &nb= sp;     },
          &nb= sp;     {
          &nb= sp;         "Direction": = "greater than",
          &nb= sp;         "Name": "upper = non critical",
          &nb= sp;         "Severity": = 0,
          &nb= sp;         "Value": = 12.6
          &nb= sp;     },
          &nb= sp;     {
          &nb= sp;         "Direction": = "less than",
          &nb= sp;         "Name": "lower = non critical",
          &nb= sp;         "Severity": = 0,
          &nb= sp;         "Value": = 11.4
          &nb= sp;     },
          &nb= sp;     {
          &nb= sp;         "Direction": = "less than",
          &nb= sp;         "Name": "lower = critical",
          &nb= sp;         "Severity": = 1,
          &nb= sp;         "Value": = 10.77
          &nb= sp;     }
          &nb= sp; ],
          &nb= sp; "Type": "ADC"
        },
        {
          &nb= sp; "Index": 4,
          &nb= sp; "Name": "MB_P5V",
          &nb= sp; "PowerState": "On",
          &nb= sp; "ScaleFactor": 0.55,
          &nb= sp; "Thresholds": [
          &nb= sp;     {
          &nb= sp;         "Direction": = "greater than",
          &nb= sp;         "Name": "upper = critical",
          &nb= sp;         "Severity": = 1,
          &nb= sp;         "Value": = 5.48
          &nb= sp;     },
          &nb= sp;     {
          &nb= sp;         "Direction": = "greater than",
          &nb= sp;         "Name": "upper = non critical",
          &nb= sp;         "Severity": = 0,
          &nb= sp;         "Value": = 5.24
          &nb= sp;     },
          &nb= sp;     {
          &nb= sp;         "Direction": = "less than",
          &nb= sp;         "Name": "lower = non critical",
          &nb= sp;         "Severity": = 0,
          &nb= sp;         "Value": = 4.76
          &nb= sp;     },
          &nb= sp;     {
          &nb= sp;         "Direction": = "less than",
          &nb= sp;         "Name": "lower = critical",
          &nb= sp;         "Severity": = 1,
          &nb= sp;         "Value": = 4.48
          &nb= sp;     }
          &nb= sp; ],
          &nb= sp; "Type": "ADC"
        },
        {
          &nb= sp; "Index": 5,
          &nb= sp; "Name": "MB_P5V_SB",
          &nb= sp; "PowerState": "On",
          &nb= sp; "ScaleFactor": 0.25,
          &nb= sp; "Thresholds": [
          &nb= sp;     {
          &nb= sp;         "Direction": = "greater than",
          &nb= sp;         "Name": "upper = critical",
          &nb= sp;         "Severity": = 1,
          &nb= sp;         "Value": = 5.48
          &nb= sp;     },
          &nb= sp;     {
          &nb= sp;         "Direction": = "greater than",
          &nb= sp;         "Name": "upper = non critical",
          &nb= sp;         "Severity": = 0,
          &nb= sp;         "Value": = 5.24
          &nb= sp;     },
          &nb= sp;     {
          &nb= sp;         "Direction": = "less than",
          &nb= sp;         "Name": "lower = non critical",
          &nb= sp;         "Severity": = 0,
          &nb= sp;         "Value": = 4.76
          &nb= sp;     },
          &nb= sp;     {
          &nb= sp;         "Direction": = "less than",
          &nb= sp;         "Name": "lower = critical",
          &nb= sp;         "Severity": = 1,
          &nb= sp;         "Value": = 4.48
          &nb= sp;     }
          &nb= sp; ],
          &nb= sp; "Type": "ADC"
        },


I use the busctrl command to = see MB_P5V_SB information, it is normal.
root@fws7830bmc:~# busctl = introspect --no-pager
xyz.openbmc_project.EntityManager
/xyz/openbmc_project/inventory/system/board/FWS7830_
Baseboard/MB_P5V
NAME =             &n= bsp;           &nbs= p;            =         TYPE =      SIGNATURE
RESULT/VALUE =         FLAGS
org.freedesktop.DBus.Introspectable =             &n= bsp; interface -
  - =             &n= bsp;      -
.Introspect =             &n= bsp;           &nbs= p;            =  method    -
  s =             &n= bsp;      -
org.freedesktop.DBus.Peer =             &n= bsp;           inte= rface -
  - =             &n= bsp;      -
.GetMachineId =             &n= bsp;           &nbs= p;           method=    -
  s =             &n= bsp;      -
.Ping =             &n= bsp;           &nbs= p;            =        method    -
  - =             &n= bsp;      -
org.freedesktop.DBus.Properties =             &n= bsp;     interface -
  - =             &n= bsp;      -
.Get =             &n= bsp;           &nbs= p;            =         method =    ss
  v =             &n= bsp;      -
.GetAll =             &n= bsp;           &nbs= p;            =      method    s
  a{sv} =             &n= bsp;  -
.Set =             &n= bsp;           &nbs= p;            =         method =    ssv
  - =             &n= bsp;      -
.PropertiesChanged= =             &n= bsp;           &nbs= p;      signal
  sa{sv}as  - =             &n= bsp;      -
xyz.openbmc_project.Configuration.ADC =             in= terface -
  - =             &n= bsp;      -
.Index =             &n= bsp;           &nbs= p;            =       property  t
  4 =             &n= bsp;      emits-change
.Name =             &n= bsp;           &nbs= p;            =        property  s
  "MB_P5V" =             em= its-change
.PowerState =             &n= bsp;           &nbs= p;            =  property  s
  "On" =             &n= bsp;   emits-change
.ScaleFactor =             &n= bsp;           &nbs= p;            = property  d
  0.55 =             &n= bsp;   emits-change
.Type =             &n= bsp;           &nbs= p;            =        property  s
  "ADC" =             &n= bsp;  emits-change
xyz.openbmc_project.Configuration.ADC.Thresholds0 interface = -
  - =             &n= bsp;      -
.Delete =             &n= bsp;           &nbs= p;            =      method    -
  - =             &n= bsp;      -
.Direction =             &n= bsp;           &nbs= p;            =   property  s
  "greater than" =       emits-change writable
.Name =             &n= bsp;           &nbs= p;            =        property  s
  "upper critical" =     emits-change writable
.Severity =             &n= bsp;           &nbs= p;            =    property  d
  1 =             &n= bsp;      emits-change writable
.Value =             &n= bsp;           &nbs= p;            =       property  d
  5.48 =             &n= bsp;   emits-change writable
xyz.openbmc_project.Configuration.ADC.Thresholds1 interface = -
  - =             &n= bsp;      -
.Delete =             &n= bsp;           &nbs= p;            =      method    -
  - =             &n= bsp;      -
.Direction =             &n= bsp;           &nbs= p;            =   property  s
  "greater than" =       emits-change writable
.Name =             &n= bsp;           &nbs= p;            =        property  s
  "upper non critical" emits-change writable
.Severity =             &n= bsp;           &nbs= p;            =    property  d
  0 =             &n= bsp;      emits-change writable
.Value =             &n= bsp;           &nbs= p;            =       property  d
  5.24 =             &n= bsp;   emits-change writable
xyz.openbmc_project.Configuration.ADC.Thresholds2 interface = -
  - =             &n= bsp;      -
.Delete =             &n= bsp;           &nbs= p;            =      method    -
  - =             &n= bsp;      -
.Direction =             &n= bsp;           &nbs= p;            =   property  s
  "less than" =          emits-change = writable
.Name =             &n= bsp;           &nbs= p;            =        property  s
  "lower non critical" emits-change writable
.Severity =             &n= bsp;           &nbs= p;            =    property  d
  0 =             &n= bsp;      emits-change writable
.Value =             &n= bsp;           &nbs= p;            =       property  d
  4.76 =             &n= bsp;   emits-change writable
xyz.openbmc_project.Configuration.ADC.Thresholds3 interface = -
  - =             &n= bsp;      -
.Delete =             &n= bsp;           &nbs= p;            =      method    -
  - =             &n= bsp;      -
.Direction =             &n= bsp;           &nbs= p;            =   property  s
  "less than" =          emits-change = writable
.Name =             &n= bsp;           &nbs= p;            =        property  s
  "lower critical" =     emits-change writable
.Severity =             &n= bsp;           &nbs= p;            =    property  d
  1 =             &n= bsp;      emits-change writable
.Value =             &n= bsp;           &nbs= p;            =       property  d
  4.48 =             &n= bsp;   emits-change writable

But I use "ipmitoo sensor=E2=80=9D command, it return the = error information
below as
MB P3V3 =          | 3.271 =      | Volts      | ok =    | na        |
2.947     | 3.046 =     | 3.511     | 3.596 =     | na
MB P5V =           | 2.982 =      | Volts      | ok =    | na        |
2.662     | 2.829 =     | 3.123     | 3.264 =     | na
MB P5V SB =        | 5.048 =      | Volts      | ok =    | na        |
4.484     | 4.766 =     | 5.245     | 5.471 =     | na
MB P12V =          | 7.215 =      | Volts      | ok =    | na        |
6.386     | 6.723 =     | 7.429     | 7.829 =     | na

Please give me = some advise.

Many thanks
Paul


-- 
Best regards,
Andrei = Kartashev

 
-- 
Johnathan = Mantey
Senior Software = Engineer
*azad te**chnology = partners*
Contributing to = Technology Innovation since 1992
Phone: (503) = 712-6764
Email: johnathanx.mantey@intel.com <mailto:johnathanx.mantey@intel.com>
 
 
-- 
Best regards,
Konstantin Klubnichkin,
lead firmware = engineer,
server hardware R&D group,
Yandex Moscow office.
tel: = +7-903-510-33-33
 

= --Apple-Mail=_76BD4B77-CF72-4B53-8A11-0699EF8A01A7--