openBMC pwm-fan control policy
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello everyone, I would like to ask what is supported by openBMC pwm-fan control policy?
Can it be linked with temperature and current? Whether the pwm-fan output can be controlled by the corresponding temperature and current? Are there any instructions or references?
Thanks!
Hello,
Quoted 3 lines · Landon
Can it be linked with temperature and current? Whether the pwm-fan output can be controlled by the corresponding temperature and current?
Are there any instructions or references?
https://github.com/openbmc/phosphor-pid-control should be flexible enough for the purpose. Is it missing something you need?
Signature · 2 lines
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:[email protected]
hello, paul
Thank you for your reply!
I've read the "phosphor-pid-control ".
But I didn't read about the linked between temperature and current.
could you give me an example?
Thanks!
On 11/25/2021 16:46,Paul Fertser<[email protected]> wrote: Hello,
On Thu, Nov 25, 2021 at 04:29:23PM +0800, Landon wrote:
Can it be linked with temperature and current? Whether the pwm-fan output can be controlled by the corresponding temperature and current?
Are there any instructions or references?
https://github.com/openbmc/phosphor-pid-control should be flexible enough for the purpose. Is it missing something you need?
--
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:[email protected]
add: I just want to know in OpenBMC by reading different temperature values or current values to control the fan output, so as to cool down, how does this strategy work? An example of this.
Thanks!
On 11/26/2021 13:26,Landon<[email protected]> wrote:
hello, paul
Thank you for your reply!
I've read the "phosphor-pid-control ".
But I didn't read about the linked between temperature and current.
could you give me an example?
Thanks!
On 11/25/2021 16:46,Paul Fertser<[email protected]> wrote: Hello,
On Thu, Nov 25, 2021 at 04:29:23PM +0800, Landon wrote:
Can it be linked with temperature and current? Whether the pwm-fan output can be controlled by the corresponding temperature and current?
Are there any instructions or references?
https://github.com/openbmc/phosphor-pid-control should be flexible enough for the purpose. Is it missing something you need?
--
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:[email protected]
Quoted 3 lines · Landon
add: I just want to know in OpenBMC by reading different temperature values or current values to control the fan output, so as to cool down, how does this strategy work? An example of this.
This is using temperature values to control the fans so as to cool down, it works by configuring phosphor-pid-control appropriately, I hope it's enough of an example:
https://github.com/openbmc/entity-manager/blob/master/configurations/R1000%20Chassis.json
If you think phosphor-pid-control is missing some documentation please read its source code and send documentation patches for review.
Signature · 2 lines
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:[email protected]
Thank you!
I have read it : https://github.com/openbmc/entity-manager/blob/master/configurations/R1000%20Chassis.json
But I don't understand,
Is there an explanation for this part?
Are there general instructions on how to control fan output by temperature?
and how to use phosphor-pid-control to set this ?
Is there“ phosphor-pid-control ”the instructions for this part? Thank you very much !
On 11/27/2021 05:57,Paul Fertser<[email protected]> wrote:
On Fri, Nov 26, 2021 at 01:55:31PM +0800, Landon wrote:
add: I just want to know in OpenBMC by reading different temperature values or current values to control the fan output, so as to cool down, how does this strategy work? An example of this.
This is using temperature values to control the fans so as to cool down, it works by configuring phosphor-pid-control appropriately, I hope it's enough of an example:
https://github.com/openbmc/entity-manager/blob/master/configurations/R1000%20Chassis.json
If you think phosphor-pid-control is missing some documentation please read its source code and send documentation patches for review.
--
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:[email protected]
Hello,
Please read phosphor-pid-control documentation:
https://github.com/openbmc/phosphor-pid-control
https://github.com/openbmc/phosphor-pid-control/blob/master/configure.md
https://github.com/openbmc/phosphor-pid-control/blob/master/tuning.md
https://github.com/openbmc/phosphor-pid-control/tree/master/examples
Keep in mind that there are two different ways to configure phosphor-
pid-control: statically with JSON config files and dynamically with DBUS (generally, using EntityManager JSON configuration) and same parameters with this two ways mostly have different names. The way you want to use is generally depend on either you use EM for your platform or not.
Quoted 32 lines · Landon
Thank you!
I have read it
: https://github.com/openbmc/entity-manager/blob/master/configurations/R1000%20Chassis.json
But I don't understand,
Is there an explanation for this part?
Are there general instructions on how to control fan output by
temperature?and how to use phosphor-pid-control to set this ?
Is there“ phosphor-pid-control ”the instructions for this part? Thank you very much !
On 11/27/2021 05:57,Paul Fertser<[email protected]> wrote:Quoted 19 lines · Landon
Quoted 5 lines
add: I just want to know in OpenBMC by reading different temperature values or
current values to control the fan output, so as to cool down, how does this
strategy work? An example of this.This is using temperature values to control the fans so as to cool down, it works by configuring phosphor-pid-control appropriately, I hope it's enough of an example:
https://github.com/openbmc/entity-
manager/blob/master/configurations/R1000%20Chassis.jsonIf you think phosphor-pid-control is missing some documentation please
read its source code and send documentation patches for review.
Signature · 2 lines
Best regards, Andrei Kartashev
Hello,
I read the "https://github.com/openbmc/phosphor-pid-control/blob/master/configure.md":
How to Configure Phosphor-pid-control
type == "temp"
Exactly the same as margin but all the inputs are supposed to be absolute temperatures and so the maximal value is used to feed the PID loop.
type == "stepwise"
"name": "temp1",
"type": "stepwise",
"inputs": ["temp1"],
"setpoint": 30.0,
"pid": {
"samplePeriod": 0.1,
"positiveHysteresis": 1.0,
"negativeHysteresis": 1.0,
"isCeiling": false,
"reading": {
"0": 45,
"1": 46,
"2": 47,
},
"output": {
"0": 5000,
"1": 2400,
"2": 2600,
}
}
and in "https://github.com/openbmc/entity-manager/blob/master/configurations/R1000%20Chassis.json"
| { |
|
| | "Class": "temp", |
| | "FFGainCoefficient": 0.0, |
| | "FFOffCoefficient": 0.0, |
| | "ICoefficient": -4.64, |
| | "ILimitMax": 100, |
| | "ILimitMin": 30, |
| | "Inputs": [ |
| | "Exit Air Temp" |
| | ], |
| | "Name": "Exit Air Temp", |
| | "NegativeHysteresis": 5.0, |
| | "OutLimitMax": 100, |
| | "OutLimitMin": 30, |
| | "Outputs": [], |
| | "PCoefficient": -0.15, |
| | "PositiveHysteresis": 0.0, |
| | "SetPoint": 75.0, |
| | "SlewNeg": -1, |
| | "SlewPos": 0.0, |
| | "Type": "Pid", |
| | "Zones": [ |
| | "Zone 1", |
| | "Zone 2", |
| | "Zone 3", |
| | "Zone 4", |
| | "Zone 5", |
| | "Zone 6" |
| | ] |
| | }, |
but I don't understand how to control the fan by temperature ?I was wondering if you could help me explain ?
Thank you very much !
On 11/29/2021 18:22,Andrei Kartashev<[email protected]> wrote: Hello,
Please read phosphor-pid-control documentation:
https://github.com/openbmc/phosphor-pid-control
https://github.com/openbmc/phosphor-pid-control/blob/master/configure.md
https://github.com/openbmc/phosphor-pid-control/blob/master/tuning.md
https://github.com/openbmc/phosphor-pid-control/tree/master/examples
Keep in mind that there are two different ways to configure phosphor-
pid-control: statically with JSON config files and dynamically with DBUS (generally, using EntityManager JSON configuration) and same parameters with this two ways mostly have different names. The way you want to use is generally depend on either you use EM for your platform or not.
On Mon, 2021-11-29 at 17:43 +0800, Landon wrote:
Thank you!
I have read it
: https://github.com/openbmc/entity-manager/blob/master/configurations/R1000%20Chassis.json
But I don't understand,
Is there an explanation for this part?
Are there general instructions on how to control fan output by
temperature?
and how to use phosphor-pid-control to set this ?
Is there“ phosphor-pid-control ”the instructions for this part? Thank you very much !
On 11/27/2021 05:57,Paul Fertser<[email protected]> wrote: On Fri, Nov 26, 2021 at 01:55:31PM +0800, Landon wrote:
add: I just want to know in OpenBMC by reading different temperature values or
current values to control the fan output, so as to cool down, how does this
strategy work? An example of this.
This is using temperature values to control the fans so as to cool down, it works by configuring phosphor-pid-control appropriately, I hope it's enough of an example:
https://github.com/openbmc/entity-
manager/blob/master/configurations/R1000%20Chassis.json
If you think phosphor-pid-control is missing some documentation please
read its source code and send documentation patches for review.
--
Best regards,
Andrei Kartashev
Hello,
Can you take a look at it, please?
Thanks!
On 12/2/2021 17:11,Landon<[email protected]> wrote:
Hello,
I read the "https://github.com/openbmc/phosphor-pid-control/blob/master/configure.md":
How to Configure Phosphor-pid-control
type == "temp"
Exactly the same as margin but all the inputs are supposed to be absolute temperatures and so the maximal value is used to feed the PID loop.
type == "stepwise"
"name": "temp1",
"type": "stepwise",
"inputs": ["temp1"],
"setpoint": 30.0,
"pid": {
"samplePeriod": 0.1,
"positiveHysteresis": 1.0,
"negativeHysteresis": 1.0,
"isCeiling": false,
"reading": {
"0": 45,
"1": 46,
"2": 47,
},
"output": {
"0": 5000,
"1": 2400,
"2": 2600,
}
}
and in "https://github.com/openbmc/entity-manager/blob/master/configurations/R1000%20Chassis.json"
| { |
|
| | "Class": "temp", |
| | "FFGainCoefficient": 0.0, |
| | "FFOffCoefficient": 0.0, |
| | "ICoefficient": -4.64, |
| | "ILimitMax": 100, |
| | "ILimitMin": 30, |
| | "Inputs": [ |
| | "Exit Air Temp" |
| | ], |
| | "Name": "Exit Air Temp", |
| | "NegativeHysteresis": 5.0, |
| | "OutLimitMax": 100, |
| | "OutLimitMin": 30, |
| | "Outputs": [], |
| | "PCoefficient": -0.15, |
| | "PositiveHysteresis": 0.0, |
| | "SetPoint": 75.0, |
| | "SlewNeg": -1, |
| | "SlewPos": 0.0, |
| | "Type": "Pid", |
| | "Zones": [ |
| | "Zone 1", |
| | "Zone 2", |
| | "Zone 3", |
| | "Zone 4", |
| | "Zone 5", |
| | "Zone 6" |
| | ] |
| | }, |
but I don't understand how to control the fan by temperature ?I was wondering if you could help me explain ?
Thank you very much !
On 11/29/2021 18:22,Andrei Kartashev<[email protected]> wrote: Hello,
Please read phosphor-pid-control documentation:
https://github.com/openbmc/phosphor-pid-control
https://github.com/openbmc/phosphor-pid-control/blob/master/configure.md
https://github.com/openbmc/phosphor-pid-control/blob/master/tuning.md
https://github.com/openbmc/phosphor-pid-control/tree/master/examples
Keep in mind that there are two different ways to configure phosphor-
pid-control: statically with JSON config files and dynamically with DBUS (generally, using EntityManager JSON configuration) and same parameters with this two ways mostly have different names. The way you want to use is generally depend on either you use EM for your platform or not.
On Mon, 2021-11-29 at 17:43 +0800, Landon wrote:
Thank you!
I have read it
: https://github.com/openbmc/entity-manager/blob/master/configurations/R1000%20Chassis.json
But I don't understand,
Is there an explanation for this part?
Are there general instructions on how to control fan output by
temperature?
and how to use phosphor-pid-control to set this ?
Is there“ phosphor-pid-control ”the instructions for this part? Thank you very much !
On 11/27/2021 05:57,Paul Fertser<[email protected]> wrote: On Fri, Nov 26, 2021 at 01:55:31PM +0800, Landon wrote:
add: I just want to know in OpenBMC by reading different temperature values or
current values to control the fan output, so as to cool down, how does this
strategy work? An example of this.
This is using temperature values to control the fans so as to cool down, it works by configuring phosphor-pid-control appropriately, I hope it's enough of an example:
https://github.com/openbmc/entity-
manager/blob/master/configurations/R1000%20Chassis.json
If you think phosphor-pid-control is missing some documentation please
read its source code and send documentation patches for review.
--
Best regards,
Andrei Kartashev
On 12/7/2021 09:45,Landon<[email protected]> wrote:
Hello,
Can you take a look at it, please?
Thanks!
On 12/2/2021 17:11,Landon<[email protected]> wrote:
Hello,
I read the "https://github.com/openbmc/phosphor-pid-control/blob/master/configure.md":
How to Configure Phosphor-pid-control
type == "temp"
Exactly the same as margin but all the inputs are supposed to be absolute temperatures and so the maximal value is used to feed the PID loop.
type == "stepwise"
"name": "temp1",
"type": "stepwise",
"inputs": ["temp1"],
"setpoint": 30.0,
"pid": {
"samplePeriod": 0.1,
"positiveHysteresis": 1.0,
"negativeHysteresis": 1.0,
"isCeiling": false,
"reading": {
"0": 45,
"1": 46,
"2": 47,
},
"output": {
"0": 5000,
"1": 2400,
"2": 2600,
}
}
and in "https://github.com/openbmc/entity-manager/blob/master/configurations/R1000%20Chassis.json"
| { |
|
| | "Class": "temp", |
| | "FFGainCoefficient": 0.0, |
| | "FFOffCoefficient": 0.0, |
| | "ICoefficient": -4.64, |
| | "ILimitMax": 100, |
| | "ILimitMin": 30, |
| | "Inputs": [ |
| | "Exit Air Temp" |
| | ], |
| | "Name": "Exit Air Temp", |
| | "NegativeHysteresis": 5.0, |
| | "OutLimitMax": 100, |
| | "OutLimitMin": 30, |
| | "Outputs": [], |
| | "PCoefficient": -0.15, |
| | "PositiveHysteresis": 0.0, |
| | "SetPoint": 75.0, |
| | "SlewNeg": -1, |
| | "SlewPos": 0.0, |
| | "Type": "Pid", |
| | "Zones": [ |
| | "Zone 1", |
| | "Zone 2", |
| | "Zone 3", |
| | "Zone 4", |
| | "Zone 5", |
| | "Zone 6" |
| | ] |
| | }, |
but I don't understand how to control the fan by temperature ?I was wondering if you could help me explain ?
Thank you very much !
On 11/29/2021 18:22,Andrei Kartashev<[email protected]> wrote: Hello,
Please read phosphor-pid-control documentation:
https://github.com/openbmc/phosphor-pid-control
https://github.com/openbmc/phosphor-pid-control/blob/master/configure.md
https://github.com/openbmc/phosphor-pid-control/blob/master/tuning.md
https://github.com/openbmc/phosphor-pid-control/tree/master/examples
Keep in mind that there are two different ways to configure phosphor-
pid-control: statically with JSON config files and dynamically with DBUS (generally, using EntityManager JSON configuration) and same parameters with this two ways mostly have different names. The way you want to use is generally depend on either you use EM for your platform or not.
On Mon, 2021-11-29 at 17:43 +0800, Landon wrote:
Thank you!
I have read it
: https://github.com/openbmc/entity-manager/blob/master/configurations/R1000%20Chassis.json
But I don't understand,
Is there an explanation for this part?
Are there general instructions on how to control fan output by
temperature?
and how to use phosphor-pid-control to set this ?
Is there“ phosphor-pid-control ”the instructions for this part? Thank you very much !
On 11/27/2021 05:57,Paul Fertser<[email protected]> wrote: On Fri, Nov 26, 2021 at 01:55:31PM +0800, Landon wrote:
add: I just want to know in OpenBMC by reading different temperature values or
current values to control the fan output, so as to cool down, how does this
strategy work? An example of this.
This is using temperature values to control the fans so as to cool down, it works by configuring phosphor-pid-control appropriately, I hope it's enough of an example:
https://github.com/openbmc/entity-
manager/blob/master/configurations/R1000%20Chassis.json
If you think phosphor-pid-control is missing some documentation please
read its source code and send documentation patches for review.
--
Best regards,
Andrei Kartashev
Sorry, I probably miss your question.
I still don't understand, what kind of help do you need, but I will try to explain the idea:
PID-control daemon use concept of the PID systems, where you have inputs (sensors) and outputs (FANs). To configure PIDs in pid-control the zone concept is used: thermal zone can have several fans and several sensors.
Then you should select PID-loop type and set parameters for each sensor and FAN. For normal temperature sensor you generally will use normal PID-loop, were you setup PID coefficients and setpoint (target temperature). When the value of one (or more) sensor exceed setpoint PID-control will increase the speed of the fans in the zone trying to keep temperatures below the setpoints.
For current sensors you probably should use stepwise mode, but I'm not familiar here.
Quoted 132 lines · Landon
On 12/7/2021 09:45,Landon<[email protected]> wrote:Quoted 129 lines
Hello,
Can you take a look at it, please?
Thanks!
On 12/2/2021 17:11,Landon<[email protected]> wrote:Quoted 123 lines
Hello,
I read the "https://github.com/openbmc/phosphor-pid-control/blob/master/configure.md":
How to Configure Phosphor-pid-control
type == "temp"
Exactly the same as margin but all the inputs are supposed to be absolute temperatures and so the maximal value is used to feed the PID loop.
type == "stepwise""name": "temp1",
"type": "stepwise",
"inputs": ["temp1"],
"setpoint": 30.0,
"pid": {
"samplePeriod": 0.1,
"positiveHysteresis": 1.0,
"negativeHysteresis": 1.0,
"isCeiling": false,
"reading": {
"0": 45,
"1": 46,
"2": 47,
},
"output": {
"0": 5000,
"1": 2400,
"2": 2600,
}
}
and
in "https://github.com/openbmc/entity-manager/blob/master/configurations/R1000%20Chassis.json "
{
"Class": "temp", "FFGainCoefficient": 0.0,
"FFOffCoefficient": 0.0, "ICoefficient": -4.64,
"ILimitMax": 100, "ILimitMin": 30,
"Inputs": [ "Exit Air Temp" ],
"Name": "Exit Air Temp", "NegativeHysteresis": 5.0,
"OutLimitMax": 100, "OutLimitMin": 30,
"Outputs": [], "PCoefficient": -0.15,
"PositiveHysteresis": 0.0, "SetPoint": 75.0,
"SlewNeg": -1, "SlewPos": 0.0, "Type":
"Pid", "Zones": [ "Zone 1",
"Zone 2", "Zone 3", "Zone 4",
"Zone 5", "Zone 6" ] },
but I don't understand how to control the fan by temperature ?
I was wondering if you could help me explain ?
Thank you very much !
On 11/29/2021 18:22,Andrei Kartashev<[email protected]>
wrote:Quoted 68 lines
Hello,
Please read phosphor-pid-control documentation:
https://github.com/openbmc/phosphor-pid-control
https://github.com/openbmc/phosphor-pid-control/blob/master/configure.md
https://github.com/openbmc/phosphor-pid-control/blob/master/tuning.md
https://github.com/openbmc/phosphor-pid-
control/tree/master/examplesKeep in mind that there are two different ways to configure phosphor-
pid-control: statically with JSON config files and dynamically with
DBUS (generally, using EntityManager JSON configuration) and same
parameters with this two ways mostly have different names. The way you want to use is generally depend on either you use EM
for
your platform or not.On Mon, 2021-11-29 at 17:43 +0800, Landon wrote:
Quoted 42 lines
Thank you!
I have read it
: https://github.com/openbmc/entity-
manager/blob/master/configurations/R1000%20Chassis.json But I don't understand,
Is there an explanation for this part?
Are there general instructions on how to control fan output by
temperature?
and how to use phosphor-pid-control to set this ?
Is there“ phosphor-pid-control ”the instructions for this part?
Thank you very much !
On 11/27/2021 05:57,Paul Fertser<[email protected]> wrote:Quoted 25 lines · Landon
Quoted 6 lines
add: I just want to know in OpenBMC by reading different temperature values or
current values to control the fan output, so as to cool down,
how does this
strategy work? An example of this.This is using temperature values to control the fans so as to cool
down, it works by configuring phosphor-pid-control appropriately, I
hope it's enough of an example:
https://github.com/openbmc/entity-
manager/blob/master/configurations/R1000%20Chassis.json
If you think phosphor-pid-control is missing some documentation
please
read its source code and send documentation patches for review.
Signature · 2 lines
Best regards, Andrei Kartashev
Thanks !
On 12/7/2021 16:05,Andrei Kartashev<[email protected]> wrote: Sorry, I probably miss your question.
I still don't understand, what kind of help do you need, but I will try to explain the idea:
PID-control daemon use concept of the PID systems, where you have inputs (sensors) and outputs (FANs). To configure PIDs in pid-control the zone concept is used: thermal zone can have several fans and several sensors.
Then you should select PID-loop type and set parameters for each sensor and FAN. For normal temperature sensor you generally will use normal PID-loop, were you setup PID coefficients and setpoint (target temperature). When the value of one (or more) sensor exceed setpoint PID-control will increase the speed of the fans in the zone trying to keep temperatures below the setpoints.
For current sensors you probably should use stepwise mode, but I'm not familiar here.
On Tue, 2021-12-07 at 15:37 +0800, Landon wrote:
On 12/7/2021 09:45,Landon<[email protected]> wrote:
Hello,
Can you take a look at it, please?
Thanks!
On 12/2/2021 17:11,Landon<[email protected]> wrote:
Hello,
I read the
"https://github.com/openbmc/phosphor-pid-control/blob/master/configure.md":
How to Configure Phosphor-pid-control
type == "temp"
Exactly the same as margin but all the inputs are supposed to be absolute temperatures and so the maximal value is used to feed the PID loop.
type == "stepwise"
"name": "temp1",
"type": "stepwise",
"inputs": ["temp1"],
"setpoint": 30.0,
"pid": {
"samplePeriod": 0.1,
"positiveHysteresis": 1.0,
"negativeHysteresis": 1.0,
"isCeiling": false,
"reading": {
"0": 45,
"1": 46,
"2": 47,
},
"output": {
"0": 5000,
"1": 2400,
"2": 2600, }
}
and
in "https://github.com/openbmc/entity-manager/blob/master/configurations/R1000%20Chassis.json
"
{
"Class": "temp", "FFGainCoefficient": 0.0,
"FFOffCoefficient": 0.0, "ICoefficient": -4.64,
"ILimitMax": 100, "ILimitMin": 30,
"Inputs": [ "Exit Air Temp" ],
"Name": "Exit Air Temp", "NegativeHysteresis": 5.0,
"OutLimitMax": 100, "OutLimitMin": 30,
"Outputs": [], "PCoefficient": -0.15,
"PositiveHysteresis": 0.0, "SetPoint": 75.0,
"SlewNeg": -1, "SlewPos": 0.0, "Type":
"Pid", "Zones": [ "Zone 1",
"Zone 2", "Zone 3", "Zone 4",
"Zone 5", "Zone 6" ] },
but I don't understand how to control the fan by temperature ?
I was wondering if you could help me explain ?
Thank you very much !
On 11/29/2021 18:22,Andrei Kartashev<[email protected]>
wrote:
Hello,
Please read phosphor-pid-control documentation:
https://github.com/openbmc/phosphor-pid-control
https://github.com/openbmc/phosphor-pid-control/blob/master/configure.md
https://github.com/openbmc/phosphor-pid-control/blob/master/tuning.md
https://github.com/openbmc/phosphor-pid-
control/tree/master/examples
Keep in mind that there are two different ways to configure phosphor-
pid-control: statically with JSON config files and dynamically with
DBUS (generally, using EntityManager JSON configuration) and same
parameters with this two ways mostly have different names. The way you want to use is generally depend on either you use EM
for
your platform or not.
On Mon, 2021-11-29 at 17:43 +0800, Landon wrote:
Thank you!
I have read it
: https://github.com/openbmc/entity-
manager/blob/master/configurations/R1000%20Chassis.json
But I don't understand,
Is there an explanation for this part?
Are there general instructions on how to control fan output
by
temperature?
and how to use phosphor-pid-control to set this ?
Is there“ phosphor-pid-control ”the instructions for this
part?
Thank you very much !
On 11/27/2021 05:57,Paul Fertser<[email protected]> wrote:
On Fri, Nov 26, 2021 at 01:55:31PM +0800, Landon wrote:
add: I just want to know in OpenBMC by reading different
temperature values or
current values to control the fan output, so as to
cool down,
how does this
strategy work? An example of this.
This is using temperature values to control the fans so as
to cool
down, it works by configuring phosphor-pid-control
appropriately, I
hope it's enough of an example:
https://github.com/openbmc/entity-
manager/blob/master/configurations/R1000%20Chassis.json
If you think phosphor-pid-control is missing some
documentation
please
read its source code and send documentation patches for
review.
--
Best regards,
Andrei Kartashev
OpenBMC web sometimes jump back to the login screen problem
In reply to Andrei Kartashevhello,
I use https://github.com/AspeedTech-BMC/openbmc sdk v7.02 now,
the Aspeed openbmc is forked from https://github.com/openbmc/openbmc
and I found a problem is :
I input the user password in the login screen, and enter the web,then I Operate some menus ,All of a sudden,the screen will jumps back to the login screen, and input the user password in the login screen, enter the web again, And will jumps back to the login screen Once again, the problem sometimes more than once.
And I found Operate the "sensors" menus View the Sensor List Trigger it Higher frequency.
I try update the webui-vue “webui-vue_git.bb” of the SRCREV, but There is no effect, the problem is still existence. sorry to have troubled you so much!
Thanks !
OpenBMC appear SQUASHFS error problem
hello,
The error appear sometimes, It doesn't always come up. Do you know what the problem is ?
[ 28.829750] proc: Bad value for 'hidepid' [ 29.253033] SQUASHFS error: xz decompression failed, data probably corrupt [ 29.260761] SQUASHFS error: squashfs_read_data failed to read block 0x1b3f8cc [ 29.268752] SQUASHFS error: Unable to read data cache entry [1b3f8cc] [ 29.275952] SQUASHFS error: Unable to read page, block 1b3f8cc, size cb60 [ 29.283584] SQUASHFS error: Unable to read data cache entry [1b3f8cc] [ 29.290795] SQUASHFS error: Unable to read page, block 1b3f8cc, size cb60 [ 29.298384] SQUASHFS error: Unable to read data cache entry [1b3f8cc] [ 29.305594] SQUASHFS error: Unable to read page, block 1b3f8cc, size cb60 [ 29.313213] SQUASHFS error: Unable to read data cache entry [1b3f8cc] [ 29.320430] SQUASHFS error: Unable to read page, block 1b3f8cc, size cb60 [ 29.328033] SQUASHFS error: Unable to read data cache entry [1b3f8cc]
Thanks !
OpenBMC appear SQUASHFS error problem
hello,
The error appear sometimes, It doesn't always come up. Do you know what the problem is ?
SQUASHFS error: Unable to read data cache entry [78bd0]
[ 62.010694] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 62.100491] Pid 2886(uptime) over core_pipe_limit [ 62.105790] Skipping core dump [ 62.289937] SQUASHFS error: Unable to read data cache entry [78bd0] [ 62.296993] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 62.304567] SQUASHFS error: Unable to read data cache entry [78bd0] [ 62.311634] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 62.341383] Pid 2917(uptime) over core_pipe_limit [ 62.346694] Skipping core dump [ 63.112244] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.119344] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.126864] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.133984] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.165121] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.172254] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.179762] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.186776] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.194787] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.201901] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.209400] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.216420] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.241311] Pid 3001(uptime) over core_pipe_limit [ 63.246613] Skipping core dump [ 63.260481] Pid 3002(uptime) over core_pipe_limit [ 63.265790] Skipping core dump [ 63.301857] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.308975] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.316409] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.321494] Pid 2994(top) over core_pipe_limit [ 63.323485] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.328408] Skipping core dump [ 63.473529] Pid 3006(uptime) over core_pipe_limit [ 63.478862] Skipping core dump [ 64.113244] SQUASHFS error: Unable to read data cache entry [78bd0] [ 64.120352] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 64.127801] SQUASHFS error: Unable to read data cache entry [78bd0] [ 64.134906] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 64.146664] SQUASHFS error: Unable to read fragment cache entry [86fe10] [ 64.154343] SQUASHFS error: Unable to read page, block 86fe10, size 9980 [ 64.282607] Pid 3076(uptime) over core_pipe_limit [ 64.287895] Skipping core dump [ 65.023690] SQUASHFS error: Unable to read data cache entry [78bd0]
Thanks !
OpenBMC appear SQUASHFS error problem
In reply to Landonhello,
The error appear sometimes, It doesn't always come up. Do you know what the problem is ?
SQUASHFS error: Unable to read data cache entry [78bd0]
[ 62.010694] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 62.100491] Pid 2886(uptime) over core_pipe_limit [ 62.105790] Skipping core dump [ 62.289937] SQUASHFS error: Unable to read data cache entry [78bd0] [ 62.296993] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 62.304567] SQUASHFS error: Unable to read data cache entry [78bd0] [ 62.311634] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 62.341383] Pid 2917(uptime) over core_pipe_limit [ 62.346694] Skipping core dump [ 63.112244] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.119344] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.126864] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.133984] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.165121] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.172254] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.179762] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.186776] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.194787] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.201901] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.209400] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.216420] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.241311] Pid 3001(uptime) over core_pipe_limit [ 63.246613] Skipping core dump [ 63.260481] Pid 3002(uptime) over core_pipe_limit [ 63.265790] Skipping core dump [ 63.301857] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.308975] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.316409] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.321494] Pid 2994(top) over core_pipe_limit [ 63.323485] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.328408] Skipping core dump [ 63.473529] Pid 3006(uptime) over core_pipe_limit [ 63.478862] Skipping core dump [ 64.113244] SQUASHFS error: Unable to read data cache entry [78bd0] [ 64.120352] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 64.127801] SQUASHFS error: Unable to read data cache entry [78bd0] [ 64.134906] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 64.146664] SQUASHFS error: Unable to read fragment cache entry [86fe10] [ 64.154343] SQUASHFS error: Unable to read page, block 86fe10, size 9980 [ 64.282607] Pid 3076(uptime) over core_pipe_limit [ 64.287895] Skipping core dump [ 65.023690] SQUASHFS error: Unable to read data cache entry [78bd0]
Thanks !
OpenBMC appear SQUASHFS error problem
In reply to Landonhello,
can you help me ?
hello,
The error appear sometimes, It doesn't always come up. Do you know what the problem is ?
SQUASHFS error: Unable to read data cache entry [78bd0]
[ 62.010694] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 62.100491] Pid 2886(uptime) over core_pipe_limit [ 62.105790] Skipping core dump [ 62.289937] SQUASHFS error: Unable to read data cache entry [78bd0] [ 62.296993] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 62.304567] SQUASHFS error: Unable to read data cache entry [78bd0] [ 62.311634] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 62.341383] Pid 2917(uptime) over core_pipe_limit [ 62.346694] Skipping core dump [ 63.112244] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.119344] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.126864] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.133984] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.165121] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.172254] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.179762] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.186776] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.194787] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.201901] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.209400] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.216420] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.241311] Pid 3001(uptime) over core_pipe_limit [ 63.246613] Skipping core dump [ 63.260481] Pid 3002(uptime) over core_pipe_limit [ 63.265790] Skipping core dump [ 63.301857] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.308975] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.316409] SQUASHFS error: Unable to read data cache entry [78bd0] [ 63.321494] Pid 2994(top) over core_pipe_limit [ 63.323485] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 63.328408] Skipping core dump [ 63.473529] Pid 3006(uptime) over core_pipe_limit [ 63.478862] Skipping core dump [ 64.113244] SQUASHFS error: Unable to read data cache entry [78bd0] [ 64.120352] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 64.127801] SQUASHFS error: Unable to read data cache entry [78bd0] [ 64.134906] SQUASHFS error: Unable to read page, block 78bd0, size ea3c [ 64.146664] SQUASHFS error: Unable to read fragment cache entry [86fe10] [ 64.154343] SQUASHFS error: Unable to read page, block 86fe10, size 9980 [ 64.282607] Pid 3076(uptime) over core_pipe_limit [ 64.287895] Skipping core dump [ 65.023690] SQUASHFS error: Unable to read data cache entry [78bd0]
Thanks !
Re: OpenBMC appear SQUASHFS error problem
In reply to LandonQuoted 6 lines · Landon
The error appear sometimes, It doesn't always come up. Do you know what the problem is ?
[ 28.829750] proc: Bad value for 'hidepid' [ 29.253033] SQUASHFS error: xz decompression failed, data probably corrupt [ 29.260761] SQUASHFS error: squashfs_read_data failed to read block 0x1b3f8cc
The data in the SquashFS volume is corrupted. By "the error appears sometimes" do you mean that:
1. Sometimes you build an image and it is garbage but other times you build an image and it works fine?
2. Some machines can be flashed with an image and they work, but other machines can be flashed with an image and they fail?
3. The same machine can be flashed with an image and sometimes it works and sometimes it doesn't?
4. A machine can be flashed once and then some reboots work fine and some reboots do not?
#1 would likely be a problem with your flash layout where the squashfs is getting corrupted by an earlier part of the image being too big.
#2-4 would likely be some hardware and/or SPI configuration issue.
I would likely try slowing down the SPI bus speeds and/or turning of QSPI if you have that enabled to get something stable and then work from there. If this is a new board it is possible you have some SI issues on the SPI line (reflections, bad capacitance, incorrect level shifter IC for SPI speeds, etc.).
Signature · 1 line
Patrick Williams
Re: OpenBMC web sometimes jump back to the login screen problem
In reply to LandonQuoted 10 lines · Landon
hello,
I use https://github.com/AspeedTech-BMC/openbmc <https://github.com/AspeedTech-BMC/openbmc> sdk v7.02 now,
the Aspeed <https://github.com/AspeedTech-BMC/openbmc> openbmc is forked from https://github.com/openbmc/openbmc <https://github.com/openbmc/openbmc>
and I found a problem is :
I input the user password in the login screen, and enter the web,then I Operate some menus ,All of a sudden,the screen will jumps back to the login screen, and input the user password in the login screen, enter the web again, And will jumps back to the login screen Once again, the problem sometimes more than once.
And I found Operate the "sensors" menus View the Sensor List Trigger it Higher frequency.
Quoted 3 lines
I try update the webui-vue “webui-vue_git.bb” of the SRCREV, but There is no effect, the problem is still existence. sorry to have troubled you so much!
Thanks !
Hi,
I have a similar issue that is fixed by this change: https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/49318.
Please check if this change helps with your issue. I think all we're missing is test data to merge that, so if you have any data, it may help with merging that change.
Thanks!
-Jason
OpenBMC web sometimes jump back to the login screen problem
In reply to Andrei Kartashevhello,
I use https://github.com/AspeedTech-BMC/openbmc sdk v7.02 now,
the Aspeed openbmc is forked from https://github.com/openbmc/openbmc
and I found a problem is :
I input the user password in the login screen, and enter the web,then I Operate some menus ,All of a sudden,the screen will jumps back to the login screen, and input the user password in the login screen, enter the web again, And will jumps back to the login screen Once again, the problem sometimes more than once.
And I found Operate the "sensors" menus View the Sensor List Trigger it Higher frequency.
I try update the webui-vue “webui-vue_git.bb” of the SRCREV, but There is no effect, the problem is still existence. sorry to have troubled you so much!
Thanks !
Re: OpenBMC web sometimes jump back to the login screen problem
Quoted 2 lines · Landon
I try update the webui-vue “webui-vue_git.bb” of the SRCREV, but There is no effect, the problem is still existence. sorry to have troubled you so much!
This seems just as likely to be caused by a bmcweb change as a webui-vue change. If you're using a fork (Aspeed's tree) you're far less likely to be able to update bmcweb without there being lots of other compatibility issues with internal BMC services.
Signature · 1 line
Patrick Williams
OpenBMC Switching function of web
hello~
I would like to ask openBMC how to realize the switch on and off function of Web, and what is the guidance ? This is "Reboot" and "shut down" for my web interface, and I want to "power on" and "shut down".
I transplant the “\meta-quanta\meta-q71l\recipes-phosphor\quanta-powerctrl”,generate "poweron.sh" and "poweroff.sh" in “/usr/bin”, but Click on the web "shut down", it is no response.
so, how do I realize the switch function of web.
Thank you very much !
OpenBMC Switching function of web
In reply to Patrick Williamshello~
I would like to ask openBMC how to realize the switch on and off function of Web, and what is the guidance ? This is "Reboot" and "shut down" for my web interface, and I want to "power on" and "shut down".
I transplant the “\meta-quanta\meta-q71l\recipes-phosphor\quanta-powerctrl”,generate "poweron.sh" and "poweroff.sh" in “/usr/bin”, but Click on the web "shut down", it is no response.
so, how do I realize the switch function of web.
Thank you very much !
Re: OpenBMC Switching function of web
On 1/21/2022 12:24,Landon<[email protected]> wrote:
hello~
I would like to ask openBMC how to realize the switch on and off function of Web, and what is the guidance ? This is "Reboot" and "shut down" for my web interface, and I want to "power on" and "shut down".
I transplant the “\meta-quanta\meta-q71l\recipes-phosphor\quanta-powerctrl”,generate "poweron.sh" and "poweroff.sh" in “/usr/bin”, but Click on the web "shut down", it is no response.
so, how do I realize the switch function of web.
Thank you very much !
OpenBMC state manager problem
hello~
now I use aspeed ast2600 openbmc.
At first, I set pwer state command: but failed!
root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Off" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Running" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable so I modify the "\meta-aspeed-sdk\meta-ast2600-sdk\conf\machine\ast2600-emmc.conf", remove the "x86-power-control"... : PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-aspeed-obmc" PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-kcs" # I remove the 2 lines : #VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control" #VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control" EXTRA_IMAGEDEPENDS:append = "\ aspeed-image-recoveryuart \ aspeed-image-emmcboot \
After, I set pwer state command OK :
root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Off" root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Running" but, after I update openbmc for the lastest the version, it can't enter the system : [ 8.025630] systemd[1]: Hostname set to . [ 8.034897] systemd[1]: Initializing machine ID from random generator. [ 8.182435] systemd-sysv-generator[179]: SysV service '/etc/init.d/bmc-watchdog' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust. [ 8.210534] systemd-sysv-generator[179]: SysV service '/etc/init.d/ipmidetectd' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust. [ 8.238552] systemd-sysv-generator[179]: SysV service '/etc/init.d/ipmiseld' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust. [ 8.783127] systemd[1]: Failed to put bus name to hashmap: File exists [ 8.790587] systemd[1]: [email protected]: Two services allocated for the same bus name xyz.openbmc_project.State.Host0, refusing operation. [ 9.136389] systemd[1]: /lib/systemd/system/host-poweron.service:3: Failed to add dependency on [email protected], ignoring: Invalid argument [ 9.155891] systemd[1]: /lib/systemd/system/host-reset.service:3: Failed to add dependency on [email protected], ignoring: Invalid argument [ 9.689673] systemd[1]: /lib/systemd/system/[email protected]:3: Invalid interface name, ignoring: sys-subsystem-net-devices-%i.device [ 9.711232] systemd[1]: /lib/systemd/system/[email protected]:3: Invalid interface name, ignoring: sys-subsystem-net-devices-%i.device [ 9.770316] systemd[1]: Failed to isolate default target: Unit [email protected] failed to load properly, please adjust/correct and reload service manager: File exists [!!!!!!] Failed to isolate default target. [ 9.954507] systemd[1]: Freezing execution. [ 35.674323] SDHCI0 Vcc: disabling [ 35.678049] SDHCI1 Vcc: disabling [ 35.681750] SDHCI1 VccQ: disabling
and I open the 2 lines :
VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control" VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control" the system is OK.
but, the "x86-power-control" is disable, I set pwer state command is failed !
root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Off"
Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable
root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Running" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable so how to solve the problem for the set pwer state command ? Thank you very much !
OpenBMC state manager problem
hello~
now I use aspeed ast2600 openbmc.
At first, I set pwer state command: but failed!
root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Off" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Running" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable so I modify the "\meta-aspeed-sdk\meta-ast2600-sdk\conf\machine\ast2600-emmc.conf", remove the "x86-power-control"... : PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-aspeed-obmc" PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-kcs" # I remove the 2 lines : #VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control" #VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control" EXTRA_IMAGEDEPENDS:append = "\ aspeed-image-recoveryuart \ aspeed-image-emmcboot \
After, I set pwer state command OK :
root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Off" root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Running" but, after I update openbmc for the lastest the version, it can't enter the system : [ 8.025630] systemd[1]: Hostname set to . [ 8.034897] systemd[1]: Initializing machine ID from random generator. [ 8.182435] systemd-sysv-generator[179]: SysV service '/etc/init.d/bmc-watchdog' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust. [ 8.210534] systemd-sysv-generator[179]: SysV service '/etc/init.d/ipmidetectd' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust. [ 8.238552] systemd-sysv-generator[179]: SysV service '/etc/init.d/ipmiseld' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust. [ 8.783127] systemd[1]: Failed to put bus name to hashmap: File exists [ 8.790587] systemd[1]: [email protected]: Two services allocated for the same bus name xyz.openbmc_project.State.Host0, refusing operation. [ 9.136389] systemd[1]: /lib/systemd/system/host-poweron.service:3: Failed to add dependency on [email protected], ignoring: Invalid argument [ 9.155891] systemd[1]: /lib/systemd/system/host-reset.service:3: Failed to add dependency on [email protected], ignoring: Invalid argument [ 9.689673] systemd[1]: /lib/systemd/system/[email protected]:3: Invalid interface name, ignoring: sys-subsystem-net-devices-%i.device [ 9.711232] systemd[1]: /lib/systemd/system/[email protected]:3: Invalid interface name, ignoring: sys-subsystem-net-devices-%i.device [ 9.770316] systemd[1]: Failed to isolate default target: Unit [email protected] failed to load properly, please adjust/correct and reload service manager: File exists [!!!!!!] Failed to isolate default target. [ 9.954507] systemd[1]: Freezing execution. [ 35.674323] SDHCI0 Vcc: disabling [ 35.678049] SDHCI1 Vcc: disabling [ 35.681750] SDHCI1 VccQ: disabling
and I open the 2 lines :
VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control" VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control" the system is OK.
but, the "x86-power-control" is disable, I set pwer state command is failed !
root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Off"
Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable
root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Running" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable so how to solve the problem for the set pwer state command ? Thank you very much !
OpenBMC state manager problem
---- Replied Message ----
| From | Landon<[email protected]> | | Date | 6/14/2022 09:58 | | To | [email protected]<[email protected]> ,
[email protected]<[email protected]> , [email protected]<[email protected]> | | Subject | OpenBMC state manager problem |
hello~
now I use aspeed ast2600 openbmc.
At first, I set pwer state command: but failed!
root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Off" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Running" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable so I modify the "\meta-aspeed-sdk\meta-ast2600-sdk\conf\machine\ast2600-emmc.conf", remove the "x86-power-control"... : PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-aspeed-obmc" PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-kcs" # I remove the 2 lines : #VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control" #VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control" EXTRA_IMAGEDEPENDS:append = "\ aspeed-image-recoveryuart \ aspeed-image-emmcboot \
After, I set pwer state command OK :
root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Off" root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Running" but, after I update openbmc for the lastest the version, it can't enter the system : [ 8.025630] systemd[1]: Hostname set to . [ 8.034897] systemd[1]: Initializing machine ID from random generator. [ 8.182435] systemd-sysv-generator[179]: SysV service '/etc/init.d/bmc-watchdog' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust. [ 8.210534] systemd-sysv-generator[179]: SysV service '/etc/init.d/ipmidetectd' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust. [ 8.238552] systemd-sysv-generator[179]: SysV service '/etc/init.d/ipmiseld' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust. [ 8.783127] systemd[1]: Failed to put bus name to hashmap: File exists [ 8.790587] systemd[1]: [email protected]: Two services allocated for the same bus name xyz.openbmc_project.State.Host0, refusing operation. [ 9.136389] systemd[1]: /lib/systemd/system/host-poweron.service:3: Failed to add dependency on [email protected], ignoring: Invalid argument [ 9.155891] systemd[1]: /lib/systemd/system/host-reset.service:3: Failed to add dependency on [email protected], ignoring: Invalid argument [ 9.689673] systemd[1]: /lib/systemd/system/[email protected]:3: Invalid interface name, ignoring: sys-subsystem-net-devices-%i.device [ 9.711232] systemd[1]: /lib/systemd/system/[email protected]:3: Invalid interface name, ignoring: sys-subsystem-net-devices-%i.device [ 9.770316] systemd[1]: Failed to isolate default target: Unit [email protected] failed to load properly, please adjust/correct and reload service manager: File exists [!!!!!!] Failed to isolate default target. [ 9.954507] systemd[1]: Freezing execution. [ 35.674323] SDHCI0 Vcc: disabling [ 35.678049] SDHCI1 Vcc: disabling [ 35.681750] SDHCI1 VccQ: disabling
and I open the 2 lines :
VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control" VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control" the system is OK.
but, the "x86-power-control" is disable, I set pwer state command is failed !
root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Off"
Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable
root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Running" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable so how to solve the problem for the set pwer state command ? Thank you very much !
OpenBMC state manager problem
In reply to Landonhello~
now I use aspeed ast2600 openbmc.
At first, I set pwer state command: but failed!
root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Off" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Running" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable
so I modify the "\meta-aspeed-sdk\meta-ast2600-sdk\conf\machine\ast2600-emmc.conf", remove the "x86-power-control"... :
PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-aspeed-obmc" PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-kcs"
# I remove the 2 lines :
#VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control" #VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control"
EXTRA_IMAGEDEPENDS:append = "\
aspeed-image-recoveryuart \
aspeed-image-emmcboot \
After, I set pwer state command OK :
root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Off" root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Running" but, after I update openbmc for the lastest the version, it can't enter the system.
and I open the 2 lines :
VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control" VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control" the system is OK.
but, the "x86-power-control" is disable, I set pwer state command is failed !
root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Off"
Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Running" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable so how to solve the problem for the set pwer state command ?
Thank you very much !
RE: OpenBMC state manager problem
Hi Landon,
According your question, provide some suggestions for you refer it.
You can check journal log first for keyword “power-control” to debug why your x86-power-control cannot be activated. BTW, x86-power-control uses default json file (power-config-host0.json) for GPIO configuration. You also need to check this json file according your hardware.
For busctl set command debugging, you can use dbus-monitor to get more information why the name of property/interface is not activatable.
Best regards,
Tim
From: openbmc <[email protected]> On Behalf Of Landon
Sent: Monday, June 13, 2022 3:50 PM
To: [email protected]; [email protected]; [email protected]
Subject: OpenBMC state manager problem
hello~
now I use aspeed ast2600 openbmc.
At first, I set pwer state command: but failed!
root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Off" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Running" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable [cid:[email protected]]
so I modify the "\meta-aspeed-sdk\meta-ast2600-sdk\conf\machine\ast2600-emmc.conf", remove the "x86-power-control"... :
PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-aspeed-obmc" PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-kcs"
# I remove the 2 lines :
#VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control" #VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control"
EXTRA_IMAGEDEPENDS:append = "\
aspeed-image-recoveryuart \
aspeed-image-emmcboot \
After, I set pwer state command OK :
root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Off" root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Running" but, after I update openbmc for the lastest the version, it can't enter the system. [cid:[email protected]] and I open the 2 lines : VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control" VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control" the system is OK. but, the "x86-power-control" is disable, I set pwer state command is failed ! root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Off" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable root@ast2600-emmc:~# busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbmc_project.State.Host.HostState.Running" Failed to set property CurrentHostState on interface xyz.openbmc_project.State.Host: The name is not activatable so how to solve the problem for the set pwer state command ? Thank you very much !
________________________________
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.