group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #10876
[Bug 1597365] Re: errinjct tool error while running EEH tests (powerpc-utils)
This bug was fixed in the package powerpc-utils - 1.3.1-2ubuntu0.2
---------------
powerpc-utils (1.3.1-2ubuntu0.2) xenial; urgency=medium
* d/p/0001-errinjct-Correct-config_addr-parsing.patch,
d/p/0002-errinjct-Recognize-5-return-from-rtas.patch,
d/p/0003-errinjct-Correct-read_file-error-checking.patch:
Cherry-pick fixes from upstream to fix failures with errinjct on
Shiner-T & Grand Canyon systems. LP: #1597365.
-- Steve Langasek <steve.langasek@xxxxxxxxxx> Sat, 14 Jan 2017
18:57:24 -0800
** Changed in: powerpc-utils (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1597365
Title:
errinjct tool error while running EEH tests (powerpc-utils)
Status in powerpc-utils package in Ubuntu:
Fix Released
Status in powerpc-utils source package in Xenial:
Fix Released
Bug description:
[SRU Justification]
The errinjct tool cannot run EEH tests on certain systems. This is a relatively low priority hardware enablement SRU (low priority because the tool in question is a test tool only).
[Test case]
1. On a Shiner-T or Grand Canyon system, run the command: sudo errinjct eeh -v -f 6 -s net/enp1s0d0 -a 0x82100000 -m 0x0000FFFFFF800000
2. Verify that this returns an error.
3. Enable xenial-proposed, and upgrade powerpc-utils.
4. Rerun the errinjct command. Verify that it now succeeds.
[Regression potential]
Minimal; this is a test tool only so any regressions will be low impact, and the upstream changes that have been cherry-picked are reasonably limited in scope.
== Comment: #0 - Manvanthara B. Puttashankar - 2016-06-29 01:40:42 ==
---Problem Description---
errinjct tool error while running EEH tests (powerpc-utils)
---uname output---
Linux ltciofvtr-s822l2-lp3 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:25:36 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = s822l
---Steps to Reproduce---
errinjct tool needs to pick two patch to address the below error
errinjct eeh -v -f 6 -s net/eth1 -a 0xde000000 -m 0x0000FFFFFF800000
Injecting an ioa-bus-error with the following data:
BUS ADDR: de000000
ADDR MASK: ffffff800000
CONFIG ADDR: 900000
PHB UNIT_ID: 800000020000135
FUNCTION: 6
Store to PCI Memory Address Space - inject an Adress Parity Error
errinjct: Could not open RTAS error injection facility
errinjct: librtas returned an unknown error code (-50331649) for function ioa-bus-error
Parent bug: Bug 121866 : EEH via errinjct tool fails with librtas
error in Ubuntu 16.04 (Shiner-T & Grand Canyon)
errinjct issues will be solved with multiple patches 1 librtas + 2
errijnct.
Based on suggestion from developer in Bug 121866 reporting this
specific issue to powerpc-utils package , two patch needs to be picked
by canonical.
Note: have verified the powerpc-utils for 16.04.01 , the patch hasn't
gone into yet.
upstream patch fix link: https://github.com/nfont/powerpc-
utils/tree/next/src/errinjct
Userspace tool common name: errinjct
The userspace tool has the following bit modes: ppc64le
Userspace rpm: powerpc-utils
== Comment: #1 - Manvanthara B. Puttashankar <mputtash@xxxxxxxxxx> - 2016-06-29 01:48:02 ==
commits to be picked up
commit 386a07c4dc6c09d35116dc6064f7a83d76f4415b
Author: Nathan Fontenot <nfont@xxxxxxxxxxxxxxxxxx>
Date: Tue May 24 16:32:39 2016 -0400
errinjct: Correct read_file() error checking
When reading files from syfs the file length returned from a stat()
call does not always match the actual length of the file. The read_file()
routine should be checking for an error return from the read() call
instead of checking that the amount read matches the file length returned
from a stat() call.
Signed-off-by: Nathan Fontenot <nfont@xxxxxxxxxxxxxxxxxx>
commit 42b83884bfb51c0c8b23bf2949157430f8468caa
Author: Nathan Fontenot <nfont@xxxxxxxxxxxxxxxxxx>
Date: Tue May 24 16:31:37 2016 -0400
errinjct: Recognize -5 return from rtas
Update the errinjct command to recognize the rturn code of -5 from
rtas indicating that PCI error injection is not enabled.
Signed-off-by: Nathan Fontenot <nfont@xxxxxxxxxxxxxxxxxx>
commit ab848a8d5cc4c4b9f5faef1b31be3982fb7d4bf2
Author: Nathan Fontenot <nfont@xxxxxxxxxxxxxxxxxx>
Date: Tue May 24 16:30:33 2016 -0400
errinjct: Correct config_addr parsing
A recent patch (commit id: ccc9c72cec2a4) to move the errinjct function to
using a common read_file() routine did not correctly update the
get_config_addr_from_reg() function. This patch corrects this to return the
proper config address.
Signed-off-by: Nathan Fontenot <nfont@xxxxxxxxxxxxxxxxxx>
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powerpc-utils/+bug/1597365/+subscriptions