All of lore.kernel.org
 help / color / mirror / Atom feed
* Phosphor pid control
@ 2019-04-30 18:29 Vijay Khemka
  2019-04-30 18:31 ` Patrick Venture
  0 siblings, 1 reply; 9+ messages in thread
From: Vijay Khemka @ 2019-04-30 18:29 UTC (permalink / raw)
  To: OpenBMC Maillist

[-- Attachment #1: Type: text/plain, Size: 2072 bytes --]

I have enabled phosphor-pid-control in my image and I see following log


Apr 12 23:22:43 tiogapass systemd[1]: Started Phosphor-Pid-Control Margin-based Fan Control Daemon.

Apr 12 23:22:46 tiogapass swampd[1072]: terminate called after throwing an instance of 'std::runtime_error'

Apr 12 23:22:46 tiogapass swampd[1072]:   what():  ObjectMapper Call Failure

Apr 12 23:23:04 tiogapass systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mphosphor-pid-control.service: Main process exited, code=killed, status=6/ABRT[[0m

Apr 12 23:23:04 tiogapass systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mphosphor-pid-control.service: Failed with result 'signal'.[[0m

Apr 12 23:23:13 tiogapass systemd[1]: phosphor-pid-control.service: Service RestartSec=5s expired, scheduling restart.

Apr 12 23:23:13 tiogapass systemd[1]: phosphor-pid-control.service: Scheduled restart job, restart counter is at 1.

Apr 12 23:23:16 tiogapass systemd[1]: Stopped Phosphor-Pid-Control Margin-based Fan Control Daemon.

Apr 12 23:23:16 tiogapass systemd[1]: Started Phosphor-Pid-Control Margin-based Fan Control Daemon.

Apr 12 23:23:17 tiogapass swampd[1145]: No fan zones, application pausing until reboot

Apr 12 23:23:27 tiogapass swampd[1145]: New configuration detected, restarting

Apr 12 23:23:27 tiogapass swampd[1145]: .

Apr 12 23:23:27 tiogapass systemd[1]: phosphor-pid-control.service: Succeeded.

Apr 12 23:23:32 tiogapass systemd[1]: phosphor-pid-control.service: Service RestartSec=5s expired, scheduling restart.

Apr 12 23:23:32 tiogapass systemd[1]: phosphor-pid-control.service: Scheduled restart job, restart counter is at 2.

Apr 12 23:23:33 tiogapass systemd[1]: Stopped Phosphor-Pid-Control Margin-based Fan Control Daemon.

Apr 12 23:23:33 tiogapass systemd[1]: Started Phosphor-Pid-Control Margin-based Fan Control Daemon.

Apr 12 23:23:34 tiogapass swampd[1183]: No fan zones, application pausing until reboot


I have configuration defined through entity manager. What is the best way to debug this and modify configurations.

Regards
-Vijay

[-- Attachment #2: Type: text/html, Size: 5833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Phosphor pid control
  2019-04-30 18:29 Phosphor pid control Vijay Khemka
@ 2019-04-30 18:31 ` Patrick Venture
  2019-04-30 18:41   ` Vijay Khemka
  0 siblings, 1 reply; 9+ messages in thread
From: Patrick Venture @ 2019-04-30 18:31 UTC (permalink / raw)
  To: Vijay Khemka, James Feist; +Cc: OpenBMC Maillist

+James Feist to provide assistance.

On Tue, Apr 30, 2019 at 11:30 AM Vijay Khemka <vijaykhemka@fb.com> wrote:
>
> I have enabled phosphor-pid-control in my image and I see following log
>
>
>
> Apr 12 23:22:43 tiogapass systemd[1]: Started Phosphor-Pid-Control Margin-based Fan Control Daemon.
>
> Apr 12 23:22:46 tiogapass swampd[1072]: terminate called after throwing an instance of 'std::runtime_error'
>
> Apr 12 23:22:46 tiogapass swampd[1072]:   what():  ObjectMapper Call Failure
>
> Apr 12 23:23:04 tiogapass systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mphosphor-pid-control.service: Main process exited, code=killed, status=6/ABRT[[0m
>
> Apr 12 23:23:04 tiogapass systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mphosphor-pid-control.service: Failed with result 'signal'.[[0m
>
> Apr 12 23:23:13 tiogapass systemd[1]: phosphor-pid-control.service: Service RestartSec=5s expired, scheduling restart.
>
> Apr 12 23:23:13 tiogapass systemd[1]: phosphor-pid-control.service: Scheduled restart job, restart counter is at 1.
>
> Apr 12 23:23:16 tiogapass systemd[1]: Stopped Phosphor-Pid-Control Margin-based Fan Control Daemon.
>
> Apr 12 23:23:16 tiogapass systemd[1]: Started Phosphor-Pid-Control Margin-based Fan Control Daemon.
>
> Apr 12 23:23:17 tiogapass swampd[1145]: No fan zones, application pausing until reboot
>
> Apr 12 23:23:27 tiogapass swampd[1145]: New configuration detected, restarting
>
> Apr 12 23:23:27 tiogapass swampd[1145]: .
>
> Apr 12 23:23:27 tiogapass systemd[1]: phosphor-pid-control.service: Succeeded.
>
> Apr 12 23:23:32 tiogapass systemd[1]: phosphor-pid-control.service: Service RestartSec=5s expired, scheduling restart.
>
> Apr 12 23:23:32 tiogapass systemd[1]: phosphor-pid-control.service: Scheduled restart job, restart counter is at 2.
>
> Apr 12 23:23:33 tiogapass systemd[1]: Stopped Phosphor-Pid-Control Margin-based Fan Control Daemon.
>
> Apr 12 23:23:33 tiogapass systemd[1]: Started Phosphor-Pid-Control Margin-based Fan Control Daemon.
>
> Apr 12 23:23:34 tiogapass swampd[1183]: No fan zones, application pausing until reboot
>
>
>
>
>
> I have configuration defined through entity manager. What is the best way to debug this and modify configurations.
>
>
>
> Regards
>
> -Vijay

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Phosphor pid control
  2019-04-30 18:31 ` Patrick Venture
@ 2019-04-30 18:41   ` Vijay Khemka
  2019-04-30 19:00     ` Patrick Venture
  0 siblings, 1 reply; 9+ messages in thread
From: Vijay Khemka @ 2019-04-30 18:41 UTC (permalink / raw)
  To: Patrick Venture, James Feist; +Cc: OpenBMC Maillist

I checked in code and looks like /usr/share/swampd/config.json file is missing. Where do we get this file from or where is example config.json file?

On 4/30/19, 11:31 AM, "Patrick Venture" <venture@google.com> wrote:

    +James Feist to provide assistance.
    
    On Tue, Apr 30, 2019 at 11:30 AM Vijay Khemka <vijaykhemka@fb.com> wrote:
    >
    > I have enabled phosphor-pid-control in my image and I see following log
    >
    >
    >
    > Apr 12 23:22:43 tiogapass systemd[1]: Started Phosphor-Pid-Control Margin-based Fan Control Daemon.
    >
    > Apr 12 23:22:46 tiogapass swampd[1072]: terminate called after throwing an instance of 'std::runtime_error'
    >
    > Apr 12 23:22:46 tiogapass swampd[1072]:   what():  ObjectMapper Call Failure
    >
    > Apr 12 23:23:04 tiogapass systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mphosphor-pid-control.service: Main process exited, code=killed, status=6/ABRT[[0m
    >
    > Apr 12 23:23:04 tiogapass systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mphosphor-pid-control.service: Failed with result 'signal'.[[0m
    >
    > Apr 12 23:23:13 tiogapass systemd[1]: phosphor-pid-control.service: Service RestartSec=5s expired, scheduling restart.
    >
    > Apr 12 23:23:13 tiogapass systemd[1]: phosphor-pid-control.service: Scheduled restart job, restart counter is at 1.
    >
    > Apr 12 23:23:16 tiogapass systemd[1]: Stopped Phosphor-Pid-Control Margin-based Fan Control Daemon.
    >
    > Apr 12 23:23:16 tiogapass systemd[1]: Started Phosphor-Pid-Control Margin-based Fan Control Daemon.
    >
    > Apr 12 23:23:17 tiogapass swampd[1145]: No fan zones, application pausing until reboot
    >
    > Apr 12 23:23:27 tiogapass swampd[1145]: New configuration detected, restarting
    >
    > Apr 12 23:23:27 tiogapass swampd[1145]: .
    >
    > Apr 12 23:23:27 tiogapass systemd[1]: phosphor-pid-control.service: Succeeded.
    >
    > Apr 12 23:23:32 tiogapass systemd[1]: phosphor-pid-control.service: Service RestartSec=5s expired, scheduling restart.
    >
    > Apr 12 23:23:32 tiogapass systemd[1]: phosphor-pid-control.service: Scheduled restart job, restart counter is at 2.
    >
    > Apr 12 23:23:33 tiogapass systemd[1]: Stopped Phosphor-Pid-Control Margin-based Fan Control Daemon.
    >
    > Apr 12 23:23:33 tiogapass systemd[1]: Started Phosphor-Pid-Control Margin-based Fan Control Daemon.
    >
    > Apr 12 23:23:34 tiogapass swampd[1183]: No fan zones, application pausing until reboot
    >
    >
    >
    >
    >
    > I have configuration defined through entity manager. What is the best way to debug this and modify configurations.
    >
    >
    >
    > Regards
    >
    > -Vijay
    


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Phosphor pid control
  2019-04-30 18:41   ` Vijay Khemka
@ 2019-04-30 19:00     ` Patrick Venture
  2019-04-30 19:20       ` Vijay Khemka
  0 siblings, 1 reply; 9+ messages in thread
From: Patrick Venture @ 2019-04-30 19:00 UTC (permalink / raw)
  To: Vijay Khemka; +Cc: James Feist, OpenBMC Maillist

On Tue, Apr 30, 2019 at 11:41 AM Vijay Khemka <vijaykhemka@fb.com> wrote:
>
> I checked in code and looks like /usr/share/swampd/config.json file is missing. Where do we get this file from or where is example config.json file?

If you're using the entity-manager to configure it, you wont' need
that file, but you will need to tell swampd that it's in that mode
during configuration.

You can add this to your swampd_%.bbappend:

EXTRA_OECONF_append = " --enable-configure-dbus"

>
> On 4/30/19, 11:31 AM, "Patrick Venture" <venture@google.com> wrote:
>
>     +James Feist to provide assistance.
>
>     On Tue, Apr 30, 2019 at 11:30 AM Vijay Khemka <vijaykhemka@fb.com> wrote:
>     >
>     > I have enabled phosphor-pid-control in my image and I see following log
>     >
>     >
>     >
>     > Apr 12 23:22:43 tiogapass systemd[1]: Started Phosphor-Pid-Control Margin-based Fan Control Daemon.
>     >
>     > Apr 12 23:22:46 tiogapass swampd[1072]: terminate called after throwing an instance of 'std::runtime_error'
>     >
>     > Apr 12 23:22:46 tiogapass swampd[1072]:   what():  ObjectMapper Call Failure
>     >
>     > Apr 12 23:23:04 tiogapass systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mphosphor-pid-control.service: Main process exited, code=killed, status=6/ABRT[[0m
>     >
>     > Apr 12 23:23:04 tiogapass systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mphosphor-pid-control.service: Failed with result 'signal'.[[0m
>     >
>     > Apr 12 23:23:13 tiogapass systemd[1]: phosphor-pid-control.service: Service RestartSec=5s expired, scheduling restart.
>     >
>     > Apr 12 23:23:13 tiogapass systemd[1]: phosphor-pid-control.service: Scheduled restart job, restart counter is at 1.
>     >
>     > Apr 12 23:23:16 tiogapass systemd[1]: Stopped Phosphor-Pid-Control Margin-based Fan Control Daemon.
>     >
>     > Apr 12 23:23:16 tiogapass systemd[1]: Started Phosphor-Pid-Control Margin-based Fan Control Daemon.
>     >
>     > Apr 12 23:23:17 tiogapass swampd[1145]: No fan zones, application pausing until reboot
>     >
>     > Apr 12 23:23:27 tiogapass swampd[1145]: New configuration detected, restarting
>     >
>     > Apr 12 23:23:27 tiogapass swampd[1145]: .
>     >
>     > Apr 12 23:23:27 tiogapass systemd[1]: phosphor-pid-control.service: Succeeded.
>     >
>     > Apr 12 23:23:32 tiogapass systemd[1]: phosphor-pid-control.service: Service RestartSec=5s expired, scheduling restart.
>     >
>     > Apr 12 23:23:32 tiogapass systemd[1]: phosphor-pid-control.service: Scheduled restart job, restart counter is at 2.
>     >
>     > Apr 12 23:23:33 tiogapass systemd[1]: Stopped Phosphor-Pid-Control Margin-based Fan Control Daemon.
>     >
>     > Apr 12 23:23:33 tiogapass systemd[1]: Started Phosphor-Pid-Control Margin-based Fan Control Daemon.
>     >
>     > Apr 12 23:23:34 tiogapass swampd[1183]: No fan zones, application pausing until reboot
>     >
>     >
>     >
>     >
>     >
>     > I have configuration defined through entity manager. What is the best way to debug this and modify configurations.
>     >
>     >
>     >
>     > Regards
>     >
>     > -Vijay
>
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Phosphor pid control
  2019-04-30 19:00     ` Patrick Venture
@ 2019-04-30 19:20       ` Vijay Khemka
  2019-04-30 20:32         ` Vijay Khemka
  0 siblings, 1 reply; 9+ messages in thread
From: Vijay Khemka @ 2019-04-30 19:20 UTC (permalink / raw)
  To: Patrick Venture; +Cc: James Feist, OpenBMC Maillist



On 4/30/19, 12:01 PM, "Patrick Venture" <venture@google.com> wrote:

    On Tue, Apr 30, 2019 at 11:41 AM Vijay Khemka <vijaykhemka@fb.com> wrote:
    >
    > I checked in code and looks like /usr/share/swampd/config.json file is missing. Where do we get this file from or where is example config.json file?
    
    If you're using the entity-manager to configure it, you wont' need
    that file, but you will need to tell swampd that it's in that mode
    during configuration.
    
    You can add this to your swampd_%.bbappend:
    
    EXTRA_OECONF_append = " --enable-configure-dbus"
Yes it is enabled in recipes-phosphor/fans/phosphor-pid-control_%.bbappend file.
    
    >
    > On 4/30/19, 11:31 AM, "Patrick Venture" <venture@google.com> wrote:
    >
    >     +James Feist to provide assistance.
    >
    >     On Tue, Apr 30, 2019 at 11:30 AM Vijay Khemka <vijaykhemka@fb.com> wrote:
    >     >
    >     > I have enabled phosphor-pid-control in my image and I see following log
    >     >
    >     >
    >     >
    >     > Apr 12 23:22:43 tiogapass systemd[1]: Started Phosphor-Pid-Control Margin-based Fan Control Daemon.
    >     >
    >     > Apr 12 23:22:46 tiogapass swampd[1072]: terminate called after throwing an instance of 'std::runtime_error'
    >     >
    >     > Apr 12 23:22:46 tiogapass swampd[1072]:   what():  ObjectMapper Call Failure
    >     >
    >     > Apr 12 23:23:04 tiogapass systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mphosphor-pid-control.service: Main process exited, code=killed, status=6/ABRT[[0m
    >     >
    >     > Apr 12 23:23:04 tiogapass systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mphosphor-pid-control.service: Failed with result 'signal'.[[0m
    >     >
    >     > Apr 12 23:23:13 tiogapass systemd[1]: phosphor-pid-control.service: Service RestartSec=5s expired, scheduling restart.
    >     >
    >     > Apr 12 23:23:13 tiogapass systemd[1]: phosphor-pid-control.service: Scheduled restart job, restart counter is at 1.
    >     >
    >     > Apr 12 23:23:16 tiogapass systemd[1]: Stopped Phosphor-Pid-Control Margin-based Fan Control Daemon.
    >     >
    >     > Apr 12 23:23:16 tiogapass systemd[1]: Started Phosphor-Pid-Control Margin-based Fan Control Daemon.
    >     >
    >     > Apr 12 23:23:17 tiogapass swampd[1145]: No fan zones, application pausing until reboot
    >     >
    >     > Apr 12 23:23:27 tiogapass swampd[1145]: New configuration detected, restarting
    >     >
    >     > Apr 12 23:23:27 tiogapass swampd[1145]: .
    >     >
    >     > Apr 12 23:23:27 tiogapass systemd[1]: phosphor-pid-control.service: Succeeded.
    >     >
    >     > Apr 12 23:23:32 tiogapass systemd[1]: phosphor-pid-control.service: Service RestartSec=5s expired, scheduling restart.
    >     >
    >     > Apr 12 23:23:32 tiogapass systemd[1]: phosphor-pid-control.service: Scheduled restart job, restart counter is at 2.
    >     >
    >     > Apr 12 23:23:33 tiogapass systemd[1]: Stopped Phosphor-Pid-Control Margin-based Fan Control Daemon.
    >     >
    >     > Apr 12 23:23:33 tiogapass systemd[1]: Started Phosphor-Pid-Control Margin-based Fan Control Daemon.
    >     >
    >     > Apr 12 23:23:34 tiogapass swampd[1183]: No fan zones, application pausing until reboot
    >     >
    >     >
    >     >
    >     >
    >     >
    >     > I have configuration defined through entity manager. What is the best way to debug this and modify configurations.
    >     >
    >     >
    >     >
    >     > Regards
    >     >
    >     > -Vijay
    >
    >
    


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Phosphor pid control
  2019-04-30 19:20       ` Vijay Khemka
@ 2019-04-30 20:32         ` Vijay Khemka
  2019-04-30 21:55           ` Ed Tanous
  0 siblings, 1 reply; 9+ messages in thread
From: Vijay Khemka @ 2019-04-30 20:32 UTC (permalink / raw)
  To: Patrick Venture; +Cc: OpenBMC Maillist, James Feist

I fixed this config file issue, now I am seeing below issue. I will continue to debug but if anyone saw similar issue and have any suggestions, please advise.
root@tiogapass:~# ./swampd 
Sensor: Core_0_CPU1 temp /xyz/openbmc_project/sensors/temperature/Core_0_CPU1 
temp readPath: /xyz/openbmc_project/sensors/temperature/Core_0_CPU1
Sensor: MB_FAN0_TACH fan /xyz/openbmc_project/sensors/fan_tach/MB_FAN0_TACH /xyz/openbmc_project/control/fanpwm/Pwm_1
Sensor: MB_FAN1_TACH fan /xyz/openbmc_project/sensors/fan_tach/MB_FAN1_TACH /xyz/openbmc_project/control/fanpwm/Pwm_2
Sensor: MB_INLET_TEMP temp /xyz/openbmc_project/sensors/temperature/MB_INLET_TEMP 
temp readPath: /xyz/openbmc_project/sensors/temperature/MB_INLET_TEMP
Sensor: MEZZ_SENSOR_REMOTE_TEMP temp /xyz/openbmc_project/sensors/temperature/MEZZ_SENSOR_REMOTE_TEMP 
temp readPath: /xyz/openbmc_project/sensors/temperature/MEZZ_SENSOR_REMOTE_TEMP
Zone Id: 0
PID name: Core 0 CPU1
inputs: Core_0_CPU1, 
PID name: MB_FAN0_TACH
inputs: MB_FAN0_TACH, 
PID name: MB_FAN1_TACH
inputs: MB_FAN1_TACH, 
Bailing during load, missing Zone Configuration
terminate called after throwing an instance of 'std::runtime_error'
  what():  Bailing during load, missing Zone Configuration
Aborted
root@tiogapass:~#

Regards
-Vijay

On 4/30/19, 12:21 PM, "openbmc on behalf of Vijay Khemka" <openbmc-bounces+vijaykhemka=fb.com@lists.ozlabs.org on behalf of vijaykhemka@fb.com> wrote:

    
    
    On 4/30/19, 12:01 PM, "Patrick Venture" <venture@google.com> wrote:
    
        On Tue, Apr 30, 2019 at 11:41 AM Vijay Khemka <vijaykhemka@fb.com> wrote:
        >
        > I checked in code and looks like /usr/share/swampd/config.json file is missing. Where do we get this file from or where is example config.json file?
        
        If you're using the entity-manager to configure it, you wont' need
        that file, but you will need to tell swampd that it's in that mode
        during configuration.
        
        You can add this to your swampd_%.bbappend:
        
        EXTRA_OECONF_append = " --enable-configure-dbus"
    Yes it is enabled in recipes-phosphor/fans/phosphor-pid-control_%.bbappend file.
        
        >
        > On 4/30/19, 11:31 AM, "Patrick Venture" <venture@google.com> wrote:
        >
        >     +James Feist to provide assistance.
        >
        >     On Tue, Apr 30, 2019 at 11:30 AM Vijay Khemka <vijaykhemka@fb.com> wrote:
        >     >
        >     > I have enabled phosphor-pid-control in my image and I see following log
        >     >
        >     >
        >     >
        >     > Apr 12 23:22:43 tiogapass systemd[1]: Started Phosphor-Pid-Control Margin-based Fan Control Daemon.
        >     >
        >     > Apr 12 23:22:46 tiogapass swampd[1072]: terminate called after throwing an instance of 'std::runtime_error'
        >     >
        >     > Apr 12 23:22:46 tiogapass swampd[1072]:   what():  ObjectMapper Call Failure
        >     >
        >     > Apr 12 23:23:04 tiogapass systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mphosphor-pid-control.service: Main process exited, code=killed, status=6/ABRT[[0m
        >     >
        >     > Apr 12 23:23:04 tiogapass systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mphosphor-pid-control.service: Failed with result 'signal'.[[0m
        >     >
        >     > Apr 12 23:23:13 tiogapass systemd[1]: phosphor-pid-control.service: Service RestartSec=5s expired, scheduling restart.
        >     >
        >     > Apr 12 23:23:13 tiogapass systemd[1]: phosphor-pid-control.service: Scheduled restart job, restart counter is at 1.
        >     >
        >     > Apr 12 23:23:16 tiogapass systemd[1]: Stopped Phosphor-Pid-Control Margin-based Fan Control Daemon.
        >     >
        >     > Apr 12 23:23:16 tiogapass systemd[1]: Started Phosphor-Pid-Control Margin-based Fan Control Daemon.
        >     >
        >     > Apr 12 23:23:17 tiogapass swampd[1145]: No fan zones, application pausing until reboot
        >     >
        >     > Apr 12 23:23:27 tiogapass swampd[1145]: New configuration detected, restarting
        >     >
        >     > Apr 12 23:23:27 tiogapass swampd[1145]: .
        >     >
        >     > Apr 12 23:23:27 tiogapass systemd[1]: phosphor-pid-control.service: Succeeded.
        >     >
        >     > Apr 12 23:23:32 tiogapass systemd[1]: phosphor-pid-control.service: Service RestartSec=5s expired, scheduling restart.
        >     >
        >     > Apr 12 23:23:32 tiogapass systemd[1]: phosphor-pid-control.service: Scheduled restart job, restart counter is at 2.
        >     >
        >     > Apr 12 23:23:33 tiogapass systemd[1]: Stopped Phosphor-Pid-Control Margin-based Fan Control Daemon.
        >     >
        >     > Apr 12 23:23:33 tiogapass systemd[1]: Started Phosphor-Pid-Control Margin-based Fan Control Daemon.
        >     >
        >     > Apr 12 23:23:34 tiogapass swampd[1183]: No fan zones, application pausing until reboot
        >     >
        >     >
        >     >
        >     >
        >     >
        >     > I have configuration defined through entity manager. What is the best way to debug this and modify configurations.
        >     >
        >     >
        >     >
        >     > Regards
        >     >
        >     > -Vijay
        >
        >
        
    
    


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Phosphor pid control
  2019-04-30 20:32         ` Vijay Khemka
@ 2019-04-30 21:55           ` Ed Tanous
  2019-04-30 22:00             ` Vijay Khemka
  0 siblings, 1 reply; 9+ messages in thread
From: Ed Tanous @ 2019-04-30 21:55 UTC (permalink / raw)
  To: openbmc

On 4/30/19 1:32 PM, Vijay Khemka wrote:
> terminate called after throwing an instance of 'std::runtime_error'
>   what():  Bailing during load, missing Zone Configuration

Did you configure at least one fan zone, and does the name of the zone
match what you have in your PID configuration?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Phosphor pid control
  2019-04-30 21:55           ` Ed Tanous
@ 2019-04-30 22:00             ` Vijay Khemka
  2019-04-30 22:03               ` Ed Tanous
  0 siblings, 1 reply; 9+ messages in thread
From: Vijay Khemka @ 2019-04-30 22:00 UTC (permalink / raw)
  To: Ed Tanous, openbmc

On 4/30/19, 2:56 PM, "Ed Tanous" <ed.tanous@intel.com> wrote:

    On 4/30/19 1:32 PM, Vijay Khemka wrote:
    > terminate called after throwing an instance of 'std::runtime_error'
    >   what():  Bailing during load, missing Zone Configuration
    
    Did you configure at least one fan zone, and does the name of the zone
    match what you have in your PID configuration?
Yes I did configure it, that's how I could get rid of previous error. I have changed Zone names to Left from Pid 1 as per intel entity manager configuration. I am still debugging, I guess I am missing some trivial configurations.

Also once this is fixed, how do I test this if fan controller is kicking based on temperature change.

Regards
-Vijay    


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Phosphor pid control
  2019-04-30 22:00             ` Vijay Khemka
@ 2019-04-30 22:03               ` Ed Tanous
  0 siblings, 0 replies; 9+ messages in thread
From: Ed Tanous @ 2019-04-30 22:03 UTC (permalink / raw)
  To: Vijay Khemka, openbmc

On 4/30/19 3:00 PM, Vijay Khemka wrote:
> Also once this is fixed, how do I test this if fan controller is kicking based on temperature change.


All of the dbus-sensors daemons support the SetProperty method on their
value interface, so you can simulate raising and lowering temperatures
(or any sensor for that matter) to make sure fan control reacts.

-Ed

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-04-30 22:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-30 18:29 Phosphor pid control Vijay Khemka
2019-04-30 18:31 ` Patrick Venture
2019-04-30 18:41   ` Vijay Khemka
2019-04-30 19:00     ` Patrick Venture
2019-04-30 19:20       ` Vijay Khemka
2019-04-30 20:32         ` Vijay Khemka
2019-04-30 21:55           ` Ed Tanous
2019-04-30 22:00             ` Vijay Khemka
2019-04-30 22:03               ` Ed Tanous

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.