[Skiboot] [PATCH v2 1/3] errinjct: Initial contribution of errinjct tool
stewart at linux.vnet.ibm.com
Wed Sep 30 11:01:22 AEST 2015
Nathan Fontenot <nfont at linux.vnet.ibm.com> writes:
> On 09/29/2015 02:08 AM, Stewart Smith wrote:
>> John Allen <jallen at linux.vnet.ibm.com> writes:
>>> This patch contributes the previously IBM internal errinjct tool. The errinjct
>>> tool is used to inject artificial hardware errors into a system. This version
>>> of the code is functionally identical to the old internal version, but I have
>>> made some superficial changes to remove IBM confidential information and
>>> improve coding style.
>>> Changes in v2: Now checks for platform. If a user is not on a PowerVM system,
>>> the tool exits and prints a descriptive error message. Updated the man page to
>>> document lack of support for non-PowerVM systems.
>> I gather that under the hood what goes on is that phyp does some SCOMs
>> magic to achieve this?
> Honestly I have no idea what phyp is doing under the covers to inject the artificial
> hardware errors on the system.
>> It's probably worthwhile us making this somewhat more platform agnostic
>> and being able to achieve the same end goals on OPAL or PowerVM?
> Agreed. If anyone implements this we can update the tool.
CCing in the skiboot list so people are aware of this tool existing at
least (and that we should perhaps look at having a single error
injection tool across OPAL and pseries)
More information about the Skiboot