forked from tiantianlv/openbmc
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Common: fan-util: display the current fan mode and fan boost cause (#…
…730) Summary: 1. As title, display the current fan mode and fan boost cause (e.g. failed sensors , or failed fans) e.g. Show current fan mode and sensors or fans which caused boost mode when using "fan-util --get" command 2. Show fan mode as manual when there's no fscd running Pull Request resolved: facebookexternal/openbmc.wiwynn#730 Test Plan: Build and test pass on Y2/BC/TP/LTN system. On YV2 system: I. Sensor fail occurred: root@bmc-oob:/tmp/cache_store# fan-util --get Fan 0 Speed: 9408 RPM (100%) Fan 1 Speed: 9359 RPM (100%) Fan Mode: Boost Sensor Fail: slot2:soc_therm_margin nic:mezz_sensor_temp spb:sp_inlet_temp slot4:nvme2_ctemp slot4:nvme1_ctemp slot2:nvme2_ctemp slot2:nvme1_ctemp slot3:nvme2_ctemp slot3:nvme1_ctemp slot1:nvme2_ctemp slot1:nvme1_ctemp Fan Fail: None Sled Fan Latch Open: False II. Fan fail occurred: root@bmc-oob:/tmp/cache_store# fan-util --get Fan 0 Speed: 9416 RPM (100%) Fan 1 Speed: 9359 RPM (100%) Fan Mode: Boost Sensor Fail: None Fan Fail: Fan 1 Sled Fan Latch Open: False III. Trigger transitional mode: root@bmc-oob:/tmp/cache_store# fan-util --get Fan 0 Speed: 6835 RPM (70%) Fan 1 Speed: 6749 RPM (70%) Fan Mode: Transitional Sensor Fail: None Fan Fail: None Sled Fan Latch Open: False IV. Stop fscd to enter manual mode: root@bmc-oob:~# sv stop fscd ok: down: fscd: 0s, normally up root@bmc-oob:~# fan-util --get Fan 0 Speed: 6807 RPM (70%) Fan 1 Speed: 6763 RPM (70%) Fan Mode: Manual(No fscd running) Sensor Fail: Not support in manual mode(No fscd running) Fan Fail: Not support in manual mode(No fscd running) Sled Fan Latch Open: False Reviewed By: benwei13 fbshipit-source-id: 1b83eee5d
- Loading branch information
1 parent
6cc8067
commit 6346f9b
Showing
5 changed files
with
282 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.