Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Support for Legacy mode added but only for CIFS resources.
DBus "xyz.openbmc_project.VirtualMedia.MountPoint" interface was
extended to support 'ImageUrl'. This property will be used to expose
on DBus HTTPS/CIFS url already mounted in Legacy mode.
Changes does not cover passing credential needed for CIFS
authentication.
Tested:
- CIFS/SMB resource succesfully mounted with DBus call to the
xyz.openbmc_project.VirtualMedia.Legacy:Mount
- CIFS/SMB resource succesfully unmounted with DBus call to the
xyz.openbmc_project.VirtualMedia.Legacy:Unmount
- checked double mount and unmount DBus calls return an error
and put an appropriate trace in logs.
Change-Id: I25b3d11dad6b273e88325beb35580e0baa8568f8
Signed-off-by: Zbigniew Lukwinski <zbigniew.lukwinski@linux.intel.com>
|
|
Tested:
Verified that PECI functions and the peci_cmds application are
available and functional from the standalone library.
Change-Id: I9c0d3ba73db0f7e4bd7495dbeaae9cb60e3cda63
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
|
|
|
|
Fix the problem that after removed or inserted PSU, no related Redfish log is
asserted.
Tested:
Remove one PSU, PowerSupplyRemoved log has been recorded.
Insert the PSU again, PowerSupplyInserted log has been recorded.
Change-Id: I7bd2563e7f7c15a60e506a21ce31ec6f71309735
Signed-off-by: Cheng C Yang <cheng.c.yang@intel.com>
|
|
This adds a monitor for the CPU Memory VRHOT signals.
Tested:
Used the Wilson City jumper to assert CPU Memory ABCD VRHOT on
each CPU and verified that the CPU Memory ABCD VRHOT event was
logged.
Change-Id: I7a8e4418fc2af80b55ea2880a4be4348c85d454d
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
|
|
This adds a monitor for the CPU VRHOT signals.
Tested:
Heated each CPU VR with a heat gun and verfied that the CPU VRHOT
event was logged.
Change-Id: Id9ed34a4fabf1e81461d267a74110efd6d4c817d
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
|
|
This adds a monitor for the CPU Thermtrip signals.
Tested:
Heated each CPU with a heat gun until the system shut down and
verfied that the CPU Thermal Trip event was logged.
Change-Id: I6a13c22f1cce917130c2716934b474ea8f5e51f8
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
|
|
This adds ERR1 timeout monitoring to the host error monitor. When
the ERR1 signal is asserted for more than 90 seconds, the BMC will
log which CPU asserted the ERR1 signal.
Tested:
Manually triggered an ERR1 timeout and confirmed that the event is
logged correctly.
Change-Id: Ibed1faea7c80fc5ce0b1d5449ec4158d63ee3e0d
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
|
|
This adds ERR0 timeout monitoring to the host error monitor. When
the ERR0 signal is asserted for more than 90 seconds, the BMC will
log which CPU asserted the ERR0 signal.
Tested:
Manually triggered an ERR0 timeout and confirmed that the event is
logged correctly.
Change-Id: I1d2811b5d020a554870e687b0926c3f9211147d0
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
|
|
In preparation to support ERR0 and ERR1 timeout similar to ERR2,
make the ERR2 handler, detection, and logging generic.
Tested:
In combination with the ERR0 and ERR1 handlers, confirmed that when
the ERR0, ERR1, and ERR2 pins are asserted through the timeout, each
of them is detected, logged, and handled correctly.
Change-Id: Icff1e708e982a0a159277a0f58ce6c2405475f90
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
|
|
Add support for SSBThermTrip to the error initialization so it
will be logged if the signal is asserted when the monitor starts.
Tested:
Verified that SSBThermtrip behaves the same as previously.
Change-Id: I713641b48659c82c21ba5d20050d7d8c27f6c120
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
|
|
When an IERR is detected on a CPU, increment the CPU Error Count
setting.
Tested:
Manually triggered an IERR and confirmed that the CPU Error Count
for the correct CPU was incremented.
Change-Id: I5d1e9de506bbcbf04446b173a649f88e8e5303bb
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
|
|
This adds SMI timeout monitoring to the host error monitor. When
the SMI signal is asserted for more than 90 seconds, the BMC will
log it, trigger a Crashdump, and reset the system if enabled.
Tested:
Manually triggered an SMI timeout and confirmed that the event is
handled and logged correctly.
Change-Id: I0579c96211d8e6abcdc190c154f3671151d5e60d
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
|
|
This change attempts to determine which CPU asserted the CATERR
signal and the type of CATERR to include in the log.
Tested:
Manually triggered an IERR and confirmed that the correct data
was logged.
Change-Id: I8e9ad26889c093392254ae1d70af3dde2c62a519
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
|
|
|
|
|
|
Redfish's log entry is required to name as "SsbThermalTrip", so it's
needed to update the corresponding log name in calling function.
it's depended on the following change:
https://gerrit.openbmc-project.xyz/#/c/openbmc/bmcweb/+/24154/4/
redfish-core/include/registries/openbmc_message_registry.hpp
Tested:
Log shows the signal is triggered while hoting PCH.
Change-Id: If5d58189cde4bbb8732461c95cfd7399ca6dd323
Signed-off-by: Chen Yugang <yugang.chen@linux.intel.com>
|
|
|
|
Fix the issues found during code static scan
Tested:
test in board, BMC can get SMBIOS data.
Change-Id: Ib4cd8e86251d5c2c10ce8a4968fb49db20e1bf1e
Signed-off-by: Chen,Yugang <yugang.chen@linux.intel.com>
|
|
This adds ERR2 timeout monitoring to the host error monitor. When
the ERR2 signal is asserted for more than 90 seconds, the BMC will
log which CPU asserted the ERR2 signal, trigger a Crashdump, and
reset the system if enabled.
Tested:
Manually triggered an ERR2 timeout and confirmed that the event is
handled and logged correctly.
Change-Id: I779cd02c649603f41fba6a93c1187b5be008af4f
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
|
|
This is initial version of virtual media support
this covers:
* udev monitoring
* configuration reading
* exposing appropriate interfaces on dbus
* allows mount/umount images from existing unix socket
Does not cover:
* configuration of usb gadget
Integration with bmcweb will be delivered to bmcweb
Change-Id: I358ab80fe32a7ed933007143bfa00da847a95316
Signed-off-by: Rapkiewicz, Pawel <pawel.rapkiewicz@intel.com>
Signed-off-by: Kowalski, Kamil <kamil.kowalski@intel.com>
|
|
Since the error monitor is looking at GPIO edge events, an error
won't be detected if it is already asserted when the monintor
starts. This change detects if the host is already on when it
starts monitoring and will check if an error is already asserted.
Tested:
Injected an IERR while the error monitor was stopped. After
checking that the IERR pin was asserted, started the error monitor
and confirmed that the error was detected, logged, and handled
correctly.
Change-Id: Ie1e0238c914e6b2cda4b121f579776b813b191c1
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
|
|
The old repo is being deprecated, so move host-error-monitor from
the old at-scale-debug repo at commit 6ed87657 to here.
Change-Id: Ife30c3996675ebf2559aa4ed8fa7ada6af1b7f34
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
|
|
|
|
|
|
Tested:
Combined with the IPMI command, confirmed that when I enable
and disable reset on SMI, the value is correctly stored in
the setting.
Change-Id: I83be31b9edb4758639ab1e242752ae38ef180085
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
|
|
|
|
Add keep alive function to monitor the FRU of PSU. If FRU cannot be
accessed, it means one PSU have been removed, need to rescan FRU.
Tested:
Only insert one PSU and start system. Check entity-manager, only one
PSU will be found. Insert another PSU then, wait for a while and check
entity-manager again, two PSU should be found now, add redfish log show
{
"@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry",
"@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/
1563892418",
"@odata.type": "#LogEntry.v1_4_0.LogEntry",
"Created": "2019-07-23T14:33:38+00:00",
"EntryType": "Event",
"Id": "1563892418",
"Message": "Power supply PSU1 inserted.",
"MessageArgs": [
"PSU0"
],
"MessageId": "OpenBMC.0.1.PowerSupplyInserted",
"Name": "System Event Log Entry",
"Severity": "OK"
},
Then remove one PSU again, now only one PSU should be showed in entity-manager.
And redfish log show:
{
"@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry",
"@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/
1563892532",
"@odata.type": "#LogEntry.v1_4_0.LogEntry",
"Created": "2019-07-23T14:35:32+00:00",
"EntryType": "Event",
"Id": "1563892532",
"Message": "Power supply PSU1 removed.",
"MessageArgs": [
"PSU0"
],
"MessageId": "OpenBMC.0.1.PowerSupplyRemoved",
"Name": "System Event Log Entry",
"Severity": "Warning"
},
Change-Id: Icbd70407892a334a52208e5fa6da1c4bbd75bcab
Signed-off-by: Cheng C Yang <cheng.c.yang@intel.com>
|
|
|
|
|
|
This enables rest api logs
Tested:
https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/22699
Change-Id: Idbdf460ab1655f0d9c3d7a1eded99b3f30f133b4
Signed-off-by: James Feist <james.feist@linux.intel.com>
|
|
|
|
|
|
Fix the problem that object-mapper cannot get subtree from SMBIOS MDRv2.
Object-mapper unable to query the SMBIOS objects and unable to get
InterfacesAdded / Removed signal as ObjectManager interface was not
present. Adding SMBIOS path to sdbusplus object manager.
Tested:
First time BMC start, there is no smbios table stored in BMC. Power on
host, after BIOS post, without any BMC reset, redfish can show CPU, DIMM
and UUID information.
Change-Id: I938dbda77efd05b17d1a513f438419dc5f5518fd
Signed-off-by: Cheng C Yang <cheng.c.yang@intel.com>
|
|
Support ipmi command or redfish to change Cold Redundancy related
config parameters.
Tested:
With Cold Redundancy ipmi command code change, run ipmi command to
change config paramters - RotationEnable, RotationAlgorithm,
RotationRankOrder, periodOfRotation and PowerSupplyRedundancyEnabled,
the parameters in Cold Redundancy service will also be changed.
Change-Id: I254553c7c9f1a2e33ef07a17433bd1ecd8a992f1
Signed-off-by: Cheng C Yang <cheng.c.yang@intel.com>
|
|
Special mode mgr was using lowerCamelCase for it's path
which is not used as per our standard, hence converted
the same with '_' usage. special_mode is the new suffixed
path now.
Tested:
1. Verified by executing manufacturing mode comamnd
by entering to manufacturing mode.
Change-Id: I837296b20f93ee76440bf31d29d0391557cf956f
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
|
|
NMISourse should be disabled as default, and enabled by NMISource signal
tested
test by NMI Button and NMISources by OEM command.
Change-Id: I920f4610a02f29818e75d43cd042c3ce1aa0b0a5
Signed-off-by: Chen Yugang <yugang.chen@linux.intel.com>
|
|
Checking PSU event to see if PSUs are normal status or not.
Tested:
Remove one PSU, check the PSU status is in ACLost.
Change-Id: I1d83e1544d77adeed0b8961be5ae470330b5e9ab
Signed-off-by: Cheng C Yang <cheng.c.yang@intel.com>
|
|
|
|
|
|
|
|
As per the manufacturing EAS document 0.7, updated timeout
for manufacturing mode from 12 hours to 15 minutes. Added
support for ResetTimer method, which will be used by all
manufacturing commands to extend the timer for next 15 minutes.
Tested:
1. Entered manufacturing mode, and verified that mode
expires after 15 minutes of power on
2. Entered manufacturing mode, executed ResetTimer()
method and verified timer got expired and BMC was in
manufacturing mode itself.
Change-Id: Ieb785b4a59d914548909d422415584ccd94c6ccc
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
|
|
|
|
Implement basic function of Cold Redundancy include rotation, config,
check and reRanking.
Tested:
Change rotationPeriod to a smaller value such as 60 seconds. Insert
two PSU on system, and check PSU rank order register 0xd0. After 60s
The value of rank order in PSU1 will change to 2, and the value of
rank order in PSU2 will change to 1.
If removed AC Cable on one PSU. The rank order in this PSU will be
always 0, and the rank order in the other PSU will be always 1.
Change-Id: Idc14f783ec83db005ecf9fc53332431ba6a6daee
Signed-off-by: Cheng C Yang <cheng.c.yang@intel.com>
|
|
1) Added support to update the PFR D-Bus properties cache
data when Host/Chassis State changes.
2) Optimized code to use list for creating Software
versions object.
3) Added missing "ufm_locked" state property to Attributes.
Tested:
Did chassis power on/off/soft/reset using ipmitool and
validated the d-bus properties updated or not. Also checked
for proper object creation with right data.
Change-Id: I706e53d47c2bcca5f3374e632b300622429f6f1b
Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
|
|
There are some changes in CPLD HAS document and
CPLD mailbox register addresses are changed. So
corrected it as per new documentation.
Tested:
Cross validated addresses with specification and
loaded new CPLD firmware and checked versions info.
Change-Id: Ib05c03052dca3986c137103067ac42add8c62d46
Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
|
|
|
|
Adding support to monitor the StartupFinished systemd
signal and setting the "bmc boot finished" checkpoint
to cpld.
Tested:
Did BMC reset and cross verified bmc boot finished
check-point properly set or not.
Change-Id: I14e6aa8b364b28da6cd6b2473cde8502d1ebd77c
Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
|
|
|