#
4682d54c |
| 15-Aug-2024 |
Allen.Wang <Allen_Wang@quantatw.com> |
meta-facebook: yosemite4: Fix yosemite4-sys-init fail to start
yosemite4-sys-init fails while mknod which already exist, check if node exist to avoid fail exit.
Tested:
-before: root@bmc:~# system
meta-facebook: yosemite4: Fix yosemite4-sys-init fail to start
yosemite4-sys-init fails while mknod which already exist, check if node exist to avoid fail exit.
Tested:
-before: root@bmc:~# systemctl status yosemite4-sys-init.service × yosemite4-sys-init.service - Yosemite4 Early System Init Loaded: loaded (/usr/lib/systemd/system/yosemite4-sys-init.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Wed 2024-08-14 20:18:23 PDT; 38s ago Process: 644 ExecStart=/usr/libexec/yosemite4-early-sys-init (code=exited, status=1/FAILURE) Main PID: 644 (code=exited, status=1/FAILURE) CPU: 642ms
Aug 14 20:18:23 bmc Yosemite4 Early Init[644]: set_gpio: set EN_P3V_BAT_SCALED_R = 0 success Aug 14 20:18:23 bmc Yosemite4 Early Init[644]: set_gpio: set FM_BMC_SLED_CYCLE_R = 0 success Aug 14 20:18:23 bmc Yosemite4 Early Init[644]: set_gpio: set NIC0_MAIN_PWR_EN = 1 success Aug 14 20:18:23 bmc Yosemite4 Early Init[644]: set_gpio: set NIC1_MAIN_PWR_EN = 1 success Aug 14 20:18:23 bmc Yosemite4 Early Init[644]: set_gpio: set NIC2_MAIN_PWR_EN = 1 success Aug 14 20:18:23 bmc Yosemite4 Early Init[644]: set_gpio: set NIC3_MAIN_PWR_EN = 1 success Aug 14 20:18:23 bmc Yosemite4 Early Init[735]: mknod: /dev/mem: File exists Aug 14 20:18:23 bmc systemd[1]: yosemite4-sys-init.service: Main process exited, code=exited, status=1/FAILURE Aug 14 20:18:23 bmc systemd[1]: yosemite4-sys-init.service: Failed with result 'exit-code'. Aug 14 20:18:23 bmc systemd[1]: Failed to start Yosemite4 Early System Init.
-after: root@bmc:~# systemctl status yosemite4-sys-init.service ○ yosemite4-sys-init.service - Yosemite4 Early System Init Loaded: loaded (/usr/lib/systemd/system/yosemite4-sys-init.service; enabled; preset: enabled) Active: inactive (dead) since Thu 2024-08-15 00:23:02 PDT; 1h 1min ago Process: 646 ExecStart=/usr/libexec/yosemite4-early-sys-init (code=exited, status=0/SUCCESS) Main PID: 646 (code=exited, status=0/SUCCESS) CPU: 658ms
Signed-off-by: Allen.Wang <Allen_Wang@quantatw.com> Change-Id: I3e4ec67f8eeb4389b970d60c7cbca05d9474db7a
show more ...
|
#
1fd57fe1 |
| 03-Apr-2024 |
Allen.Wang <Allen_Wang@quantatw.com> |
meta-facebook: yosemite4: Enable all fan input initially
Summary:
Fan controller need a time interval to count fan speed,to read fan speed immediately after enable fan input will get a fake zero re
meta-facebook: yosemite4: Enable all fan input initially
Summary:
Fan controller need a time interval to count fan speed,to read fan speed immediately after enable fan input will get a fake zero reading.
Enable all fan input to prevent bmc log fan sensor read 0 value and logging critical low threshold assert during SLED cycle.
Tested: Tested pass on yosemite4 system.
Before change:
Log a fake low threshold assert and it deaaset 1 sec later due to fan controller success to read an actual reading
{ "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/13", "@odata.type": "#LogEntry.v1_9_0.LogEntry", "AdditionalDataURI": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/13/attachment", "Created": "2023-12-15T20:25:29.312+00:00", "EntryType": "Event", "Id": "13", "Message": "FANBOARD0_FAN0_TACH_IL critical low threshold assert. Reading=0.000000 Threshold=1000.000000.", "Modified": "2023-12-15T20:25:29.312+00:00", "Name": "System Event Log Entry", "Resolved": false, "Severity": "Critical" }, { "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/15", "@odata.type": "#LogEntry.v1_9_0.LogEntry", "AdditionalDataURI": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/15/attachment", "Created": "2023-12-15T20:25:30.226+00:00", "EntryType": "Event", "Id": "15", "Message": "FANBOARD0_FAN0_TACH_IL critical low threshold deassert. Reading=15603.000000 Threshold=1000.000000.", "Modified": "2023-12-15T20:25:30.226+00:00", "Name": "System Event Log Entry", "Resolved": false, "Severity": "OK" }, { "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/14", "@odata.type": "#LogEntry.v1_9_0.LogEntry", "AdditionalDataURI": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/14/attachment", "Created": "2023-12-15T20:25:30.187+00:00", "EntryType": "Event", "Id": "14", "Message": "FANBOARD0_FAN0_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13915.000000.", "Modified": "2023-12-15T20:25:30.187+00:00", "Name": "System Event Log Entry", "Resolved": false, "Severity": "Warning" },
After change: No fake low threshold assert/deassert occurs during sled cycle
cat sledcycle.log|grep FANBOARD [2024-04-03 12:07:15.363] "Message": "FANBOARD0_FAN1_TACH_OL warning high threshold assert. Reading=13466.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.392] "Message": "FANBOARD0_FAN1_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.413] "Message": "FANBOARD0_FAN0_TACH_OL warning high threshold assert. Reading=13284.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.413] "Message": "FANBOARD0_FAN2_TACH_OL warning high threshold assert. Reading=13284.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.424] "Message": "FANBOARD0_FAN2_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.441] "Message": "FANBOARD0_FAN0_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.441] "Message": "FANBOARD1_FAN1_TACH_OL warning high threshold assert. Reading=13284.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.455] "Message": "FANBOARD1_FAN1_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.455] "Message": "FANBOARD1_FAN0_TACH_OL warning high threshold assert. Reading=13466.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.471] "Message": "FANBOARD1_FAN2_TACH_OL warning high threshold assert. Reading=13466.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.488] "Message": "FANBOARD1_FAN2_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.488] "Message": "FANBOARD1_FAN0_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.503] "Message": "FANBOARD0_FAN4_TACH_OL warning high threshold assert. Reading=13107.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.503] "Message": "FANBOARD0_FAN4_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.515] "Message": "FANBOARD0_FAN3_TACH_OL warning high threshold assert. Reading=13284.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.531] "Message": "FANBOARD0_FAN5_TACH_OL warning high threshold assert. Reading=13284.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.531] "Message": "FANBOARD0_FAN5_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.548] "Message": "FANBOARD0_FAN3_TACH_IL warning high threshold assert. Reading=15855.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.565] "Message": "FANBOARD1_FAN4_TACH_OL warning high threshold assert. Reading=13284.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.565] "Message": "FANBOARD1_FAN4_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.581] "Message": "FANBOARD1_FAN3_TACH_OL warning high threshold assert. Reading=14672.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.581] "Message": "FANBOARD1_FAN5_TACH_OL warning high threshold assert. Reading=13284.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.595] "Message": "FANBOARD1_FAN5_TACH_IL warning high threshold assert. Reading=15855.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.601] "Message": "FANBOARD1_FAN3_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.",
Signed-off-by: Allen.Wang <Allen_Wang@quantatw.com> Change-Id: I803dc113624c3693fde8f12e5c0aadd339d6dd0b
show more ...
|