Discussion:
[Bug 1741978] [NEW] [Artful/Zesty/Xenial] Add support for ARM events
Manoj Iyer
2018-01-08 20:02:43 UTC
Permalink
Public bug reported:

The following patches add support for ARM events to rasdaemon:

rasdaemon: add support for non standard CPER section events
rasdaemon: add support for ARM events

ARM support was added to rasdaemon in version 0.6.0 release.

** Affects: rasdaemon (Ubuntu)
Importance: High
Status: New


** Tags: qdf2400

** Patch added: "rasdaemon-0.5.8 debdiff"
https://bugs.launchpad.net/bugs/1741978/+attachment/5032985/+files/rasdaemon-0.5.8.debdiff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
[Artful/Zesty/Xenial] Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listi
Manoj Iyer
2018-01-08 20:05:52 UTC
Permalink
These patches were test on Artful on ARM64 system and found to work as
expected. The built in test from the package was used to test rasdaemon
after the patches were applied.

** Attachment added: "Output from rasdaemon using built in testcase."
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+attachment/5032987/+files/output-rasdaemon-0.5.8.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
[Artful/Zesty/Xenial] Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/
Ubuntu Foundations Team Bug Bot
2018-01-08 20:20:21 UTC
Permalink
The attachment "rasdaemon-0.5.8 debdiff" seems to be a debdiff. The
ubuntu-sponsors team has been subscribed to the bug report so that they
can review and hopefully sponsor the debdiff. If the attachment isn't a
patch, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe
the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
[Artful/Zesty/Xenial] Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https:/
dann frazier
2018-01-08 20:30:57 UTC
Permalink
** Bug watch added: Debian Bug tracker #879632
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879632

** Also affects: rasdaemon (Debian) via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879632
Importance: Unknown
Status: Unknown

** Changed in: rasdaemon (Ubuntu)
Status: New => Fix Released

** Also affects: rasdaemon (Ubuntu Artful)
Importance: Undecided
Status: New

** Also affects: rasdaemon (Ubuntu Xenial)
Importance: Undecided
Status: New

** Also affects: rasdaemon (Ubuntu Zesty)
Importance: Undecided
Status: New

** Summary changed:

- [Artful/Zesty/Xenial] Add support for ARM events
+ Add support for ARM events
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubunt
Manoj Iyer
2018-01-08 20:52:06 UTC
Permalink
debdiff for Xenial rasdaemon-0.5.6

** Patch added: "rasdaemon-0.5.6 debdiff"
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+attachment/5033013/+files/rasdaemon-0.5.6.debdiff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.co
Manoj Iyer
2018-01-08 20:53:25 UTC
Permalink
These patches were test on Xenial on ARM64 system and found to work as
expected. The built in test from the package was used to test
rasdaemon-0.5.6 after the patches were applied.

** Attachment added: "Output from rasdaemon using built in testcase."
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+attachment/5033014/+files/output-rasdaemon-0.5.6.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-
Bug Watch Updater
2018-01-09 02:56:23 UTC
Permalink
** Changed in: rasdaemon (Debian)
Status: Unknown => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://
Manoj Iyer
2018-01-10 15:17:46 UTC
Permalink
Al,

I am reaching out to you to see if you could please review+apply the
debdiff for rasdaemon package, cherry-picked from upstream, and available
in debian and bionic (0.6).
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978 (Add
support for ARM events ). The diffs apply to 0.5.8 (Artful/Zesty) and
0.5.6 (Xenial) versions of rasdaemon.

Thanks
--
============================
Manoj Iyer
Ubuntu/Canonical
ARM Servers - Cloud
============================
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https
Manoj Iyer
2018-01-19 19:16:53 UTC
Permalink
** Description changed:

+ [IMPACT]
+ The UEFI 2.6 spec added support for ARM processor errors and errors
+ that have unrecognized CPER section types. rasdaemon needs to support ARM kernel trace events.
+
+ [FIX]
The following patches add support for ARM events to rasdaemon:

rasdaemon: add support for non standard CPER section events
rasdaemon: add support for ARM events

ARM support was added to rasdaemon in version 0.6.0 release.
+
+ [TESTING]
+ The patches were applied to rasdaemon 0.5.8 and 0.5.6 versions and tested on Artful and Xenial. Test results are attached to comments below.
+
+ [REGRESSION POTENTIAL]
+ None.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https:/
Manoj Iyer
2018-01-19 19:37:55 UTC
Permalink
debdiff for Artful (0.5.8).

** Patch added: "rasdaemon-0.5.8 debdiff"
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+attachment/5039749/+files/rasdaemon-0.5.8.debdiff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https
Manoj Iyer
2018-01-19 19:38:36 UTC
Permalink
debdiff for Xenial (0.5.6)

** Patch added: "rasdaemon-0.5.6 debdiff"
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+attachment/5039750/+files/rasdaemon-0.5.6.debdiff

** Changed in: rasdaemon (Ubuntu Zesty)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubunt
dann frazier
2018-01-19 22:29:50 UTC
Permalink
@Manoj: For the xenial one, note that you need to run 'updatemaintainer'
on the package when you add the initial ubuntu1 to the version.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
h
Manoj Iyer
2018-01-22 19:01:35 UTC
Permalink
Please review the attached patch for rasdaemon 0.5.6 with changes
requested by dannf.

** Patch added: "rasdaemon-0.5.6 debdiff"
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+attachment/5041180/+files/rasdaemon-0.5.6.debdiff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
http
dann frazier
2018-01-23 23:15:46 UTC
Permalink
** Changed in: rasdaemon (Ubuntu Xenial)
Status: New => In Progress

** Changed in: rasdaemon (Ubuntu Artful)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ub
Chris J Arges
2018-01-24 12:50:46 UTC
Permalink
Hello Manoj, or anyone else affected,

Accepted rasdaemon into xenial-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/rasdaemon/0.5.6-2ubuntu1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, details of your
testing will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!

** Changed in: rasdaemon (Ubuntu Xenial)
Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-xenial

** Changed in: rasdaemon (Ubuntu Artful)
Status: In Progress => Fix Committed

** Tags added: verification-needed-artful
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/lis
Chris J Arges
2018-01-24 12:51:39 UTC
Permalink
Hello Manoj, or anyone else affected,

Accepted rasdaemon into artful-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/rasdaemon/0.5.8-1ubuntu2 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-artful to verification-done-artful. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-artful. In either case, details of your
testing will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mail
Manoj Iyer
2018-02-05 19:46:16 UTC
Permalink
Test results for -proposed testing for Xenial.

** Attachment added: "Xenial testing from -proposed"
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+attachment/5049374/+files/rasdaemon-xenial-verify.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mai
Manoj Iyer
2018-02-05 19:47:39 UTC
Permalink
Test results for -proposed testing for Artful.

** Attachment added: "Artful testing from -proposed"
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+attachment/5049375/+files/rasdaemon-artful-verify.txt

** Tags removed: verification-needed verification-needed-artful verification-needed-xenial
** Tags added: verification-done verification-done-artful verification-done-xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com
Brian Murray
2018-02-07 20:55:14 UTC
Permalink
I don't see a test case in the bug report so I'm not really certain what
behavior this was adding or fixing, subsequently I'm not certain how to
evaluate the testing attachments. Could some additional details be
provided so I can feel confident about releasing this?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/
Robie Basak
2018-02-21 11:24:28 UTC
Permalink
This is blocked on a reply to Brian's comment. Please reset the tags
again when done.

** Tags removed: verification-done verification-done-artful verification-done-xenial
** Tags added: verification-needed verification-needed-artful verification-needed-xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu
Manoj Iyer
2018-02-27 18:29:08 UTC
Permalink
The testcase used was a built in testcase (edac-fake-inject) in the
package (zesty version also works on bionic and artful). Without these
patches the default behavior is not to log anything, you would not see
the output I posted in syslogs.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://li
Jeffrey Hugo
2018-02-27 19:45:52 UTC
Permalink
Verification of the package in -proposed failed. Run with Linux ubuntu
4.14.14 #11 SMP Mon Feb 26 17:06:57 EST 2018 aarch64 aarch64 aarch64
GNU/Linux
From our tester -
I did the testing you asked and it appears that Canonical is not
enabling the ARM event support in rasdaemon when they are building it.
Without it enabled I can’t verify that it works.

***@ubuntu:/home/ubuntu# dpkg -l | grep rasdaemon
ii rasdaemon 0.5.6-2ubuntu1 arm64 utility to receive RAS error tracings
***@ubuntu:/home/ubuntu# rasdaemon -f
overriding event (830) ras:mc_event with new print handler
rasdaemon: ras:mc_event event enabled
rasdaemon: Enabled event ras:mc_event
overriding event (827) ras:aer_event with new print handler
rasdaemon: ras:aer_event event enabled
rasdaemon: Enabled event ras:aer_event
rasdaemon: Can't parse /proc/cpuinfo: missing [vendor_id] [cpu family] [model] [cpu MHz] [flags]
rasdaemon: Can't register mce handler
rasdaemon: Can't get ras:extlog_mem_event traces. Perhaps this feature is not supported on your system.
rasdaemon: Can't get traces from ras:aer_event
rasdaemon: Listening to events for cpus 0 to 45

It appears I have the correct rasdaemon executable as the package is
tagged with version 0.5.6-2ubuntu1. When running rasdaemon, mc_event and
aer_event are enabled properly but arm_event is missing. I’ve also
verified that mc_event and aer_event reporting works, but arm_event
reporting is missing when triggering errors (see below).

They will need to compile the rasdaemon executable with the
configuration “--enable-arm” similar to how they must be configuring for
AER with “--enable-aer”.


------

Feb 27 10:12:43 ubuntu kernel: [72120.868869] {4}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 1
Feb 27 10:12:43 ubuntu kernel: [72120.876193] {4}[Hardware Error]: event severity: recoverable
Feb 27 10:12:43 ubuntu kernel: [72120.881818] {4}[Hardware Error]: precise tstamp: 2018-02-27 18:12:41
Feb 27 10:12:43 ubuntu kernel: [72120.888258] {4}[Hardware Error]: Error 0, type: recoverable
Feb 27 10:12:43 ubuntu kernel: [72120.893897] {4}[Hardware Error]: section_type: memory error
Feb 27 10:12:43 ubuntu kernel: [72120.899612] {4}[Hardware Error]: error_status: 0x00000000000c0400
Feb 27 10:12:43 ubuntu kernel: [72120.905874] {4}[Hardware Error]: physical_address: 0x0000000010097570
Feb 27 10:12:43 ubuntu kernel: [72120.912458] {4}[Hardware Error]: physical_address_mask: 0x00000fffffffffff
Feb 27 10:12:43 ubuntu kernel: [72120.919505] {4}[Hardware Error]: node: 0 card: 5 module: 0 rank: 0 bank: 0 device: 0 row: 342 column: 1006
Feb 27 10:12:43 ubuntu kernel: [72120.929397] {4}[Hardware Error]: error_type: 3, multi-bit ECC
Feb 27 10:12:43 ubuntu kernel: [72120.935330] EDAC MC0: 1 UE Multi-bit ECC on unknown label (node:0 card:5 module:0 rank:0 bank:0 row:342 col:1006 page:0x10097 offset:0x570 grain:-4096 - status(0x00000000000c0400): Storage error in DRAM memory)
Feb 27 10:12:43 ubuntu rasdaemon[24088]: overriding event (830) ras:mc_event with new print handler
Feb 27 10:12:43 ubuntu rasdaemon[24088]: overriding event (827) ras:aer_event with new print handler
Feb 27 10:12:43 ubuntu rasdaemon[24088]: Calling ras_mc_event_opendb()
Feb 27 10:12:43 ubuntu rasdaemon[24088]: cpu 00:rasdaemon: mc_event store: 0x26207ed8
Feb 27 10:12:43 ubuntu rasdaemon[24088]: rasdaemon: register inserted at db


Feb 27 10:14:09 ubuntu kernel: [72207.296768] {5}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 2
Feb 27 10:14:09 ubuntu kernel: [72207.296771] {5}[Hardware Error]: event severity: info
Feb 27 10:14:09 ubuntu kernel: [72207.296777] {5}[Hardware Error]: precise tstamp: 2018-02-27 18:13:51
Feb 27 10:14:09 ubuntu kernel: [72207.296780] {5}[Hardware Error]: Error 0, type: info
Feb 27 10:14:09 ubuntu kernel: [72207.296783] {5}[Hardware Error]: section_type: ARM processor error
Feb 27 10:14:09 ubuntu kernel: [72207.296786] {5}[Hardware Error]: MIDR: 0x00000000510f8000
Feb 27 10:14:09 ubuntu kernel: [72207.296789] {5}[Hardware Error]: Multiprocessor Affinity Register (MPIDR): 0x0000000000000000
Feb 27 10:14:09 ubuntu kernel: [72207.296791] {5}[Hardware Error]: error affinity level: 2
Feb 27 10:14:09 ubuntu kernel: [72207.296793] {5}[Hardware Error]: running state: 0x1
Feb 27 10:14:09 ubuntu kernel: [72207.296796] {5}[Hardware Error]: Power State Coordination Interface state: 0
Feb 27 10:14:09 ubuntu kernel: [72207.296799] {5}[Hardware Error]: Error info structure 0:
Feb 27 10:14:09 ubuntu kernel: [72207.296801] {5}[Hardware Error]: num errors: 1
Feb 27 10:14:09 ubuntu kernel: [72207.296803] {5}[Hardware Error]: first error captured
Feb 27 10:14:09 ubuntu kernel: [72207.296805] {5}[Hardware Error]: last error captured
Feb 27 10:14:09 ubuntu kernel: [72207.296808] {5}[Hardware Error]: error_type: 0, cache error
Feb 27 10:14:09 ubuntu kernel: [72207.296811] {5}[Hardware Error]: error_info: 0x0000000000c2007f
Feb 27 10:14:09 ubuntu kernel: [72207.296814] {5}[Hardware Error]: transaction type: Generic
Feb 27 10:14:09 ubuntu kernel: [72207.296816] {5}[Hardware Error]: operation type: Generic error (type cannot bedetermined)
Feb 27 10:14:09 ubuntu kernel: [72207.296818] {5}[Hardware Error]: cache level: 3
Feb 27 10:14:09 ubuntu kernel: [72207.296820] {5}[Hardware Error]: processor context not corrupted
Feb 27 10:14:09 ubuntu kernel: [72207.296822] {5}[Hardware Error]: the error has not been corrected
Feb 27 10:14:09 ubuntu kernel: [72207.296824] {5}[Hardware Error]: PC is imprecise


Feb 27 10:24:05 ubuntu kernel: [72803.528432] pciehp 0003:00:00.0:pcie004: Slot(4): Link Down
Feb 27 10:24:06 ubuntu kernel: [72803.881709] {6}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 4
Feb 27 10:24:06 ubuntu kernel: [72803.889042] {6}[Hardware Error]: event severity: recoverable
Feb 27 10:24:06 ubuntu kernel: [72803.894658] {6}[Hardware Error]: precise tstamp: 2018-02-27 18:24:04
Feb 27 10:24:06 ubuntu kernel: [72803.901094] {6}[Hardware Error]: Error 0, type: recoverable
Feb 27 10:24:06 ubuntu kernel: [72803.906722] {6}[Hardware Error]: section_type: PCIe error
Feb 27 10:24:06 ubuntu kernel: [72803.912288] {6}[Hardware Error]: port_type: 4, root port
Feb 27 10:24:06 ubuntu kernel: [72803.917745] {6}[Hardware Error]: version: 3.0
Feb 27 10:24:06 ubuntu kernel: [72803.922271] {6}[Hardware Error]: command: 0x0407, status: 0x0010
Feb 27 10:24:06 ubuntu kernel: [72803.928423] {6}[Hardware Error]: device_id: 0003:00:00.0
Feb 27 10:24:06 ubuntu kernel: [72803.933902] {6}[Hardware Error]: slot: 4
Feb 27 10:24:06 ubuntu kernel: [72803.937971] {6}[Hardware Error]: secondary_bus: 0x01
Feb 27 10:24:06 ubuntu kernel: [72803.943104] {6}[Hardware Error]: vendor_id: 0x17cb, device_id: 0x0401
Feb 27 10:24:06 ubuntu kernel: [72803.949701] {6}[Hardware Error]: class_code: 000406
Feb 27 10:24:06 ubuntu kernel: [72803.954725] {6}[Hardware Error]: bridge: secondary_status: 0x0000, control: 0x0000
Feb 27 10:24:06 ubuntu kernel: [72803.962523] pcieport 0003:00:00.0: aer_status: 0x00004000, aer_mask: 0x00500000
Feb 27 10:24:06 ubuntu kernel: [72803.969760] pcieport 0003:00:00.0: Completion Timeout
Feb 27 10:24:06 ubuntu kernel: [72803.974778] pcieport 0003:00:00.0: aer_layer=Transaction Layer, aer_agent=Requester ID
Feb 27 10:24:06 ubuntu kernel: [72803.982688] pcieport 0003:00:00.0: aer_uncor_severity: 0x00462030
Feb 27 10:24:06 ubuntu kernel: [72803.988779] pcieport 0003:00:00.0: broadcast error_detected message
Feb 27 10:24:06 ubuntu rasdaemon[24088]: cpu 00:rasdaemon: aer_event store: 0x261e6e08
Feb 27 10:24:06 ubuntu rasdaemon[24088]: rasdaemon: register inserted at db
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo
Brian Murray
2018-02-28 16:20:07 UTC
Permalink
** Tags removed: verification-needed-xenial
** Tags added: verification-failed-xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bug
Manoj Iyer
2018-04-19 23:15:25 UTC
Permalink
--- bionic ---
debian/rules needs --enable-arm to enable arm events. I have a test build of the rasdaemon package in ppa:centriq-team/lp1741978-rasdaemon. I tested this on an ARM64 system and confirmed QTI that the output is as expected.

***@boomer:~$ sudo service rasdaemon status
● rasdaemon.service - RAS daemon to log the RAS events
Loaded: loaded (/lib/systemd/system/rasdaemon.service; enabled; vendor preset
Active: active (running) since Thu 2018-04-19 19:21:55 UTC; 26s ago
Main PID: 4899 (rasdaemon)
Tasks: 1 (limit: 34406)
CGroup: /system.slice/rasdaemon.service
└─4899 /usr/sbin/rasdaemon -f -r

Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Can't get ras:extlog_mem_even
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Can't get traces from ras:aer
Apr 19 19:21:55 boomer rasdaemon[4899]: Can't register mce handler
Apr 19 19:21:55 boomer rasdaemon[4899]: Can't get traces from ras:aer_event
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Listening to events for cpus
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Recording mc_event events
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Recording aer_event events
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Recording extlog_event events
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Recording mce_record events
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Recording arm_event events

-- syslog --
Apr 19 19:21:47 boomer systemd[1]: Starting RAS daemon to log the RAS events...
Apr 19 19:21:55 boomer rasdaemon: ras:mc_event event enabled
Apr 19 19:21:55 boomer rasdaemon: ras:mc_event event enabled
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: ras:mc_event event enabled
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Enabled event ras:mc_event
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: ras:aer_event event enabled
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Enabled event ras:aer_event
Apr 19 19:21:55 boomer rasdaemon[4900]: rasdaemon: ras:mc_event event enabled
Apr 19 19:21:55 boomer rasdaemon[4900]: rasdaemon: ras:aer_event event enabled
Apr 19 19:21:55 boomer rasdaemon[4900]: rasdaemon: Can't write to set_event
Apr 19 19:21:55 boomer rasdaemon[4900]: rasdaemon: Can't write to set_event
Apr 19 19:21:55 boomer rasdaemon[4900]: rasdaemon: ras:arm_event event enabled
Apr 19 19:21:55 boomer rasdaemon: Enabled event ras:mc_event
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: ras:arm_event event enabled
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Enabled event ras:arm_event
Apr 19 19:21:55 boomer systemd[1]: Started RAS daemon to log the RAS events.
Apr 19 19:21:55 boomer rasdaemon: ras:aer_event event enabled
Apr 19 19:21:55 boomer rasdaemon: Can't write to set_event
Apr 19 19:21:55 boomer rasdaemon: ras:aer_event event enabled
Apr 19 19:21:55 boomer rasdaemon: Enabled event ras:aer_event
Apr 19 19:21:55 boomer rasdaemon: Can't write to set_event
Apr 19 19:21:55 boomer rasdaemon: ras:arm_event event enabled
Apr 19 19:21:55 boomer rasdaemon: ras:arm_event event enabled
Apr 19 19:21:55 boomer rasdaemon: Enabled event ras:arm_event
Apr 19 19:21:55 boomer rasdaemon: Can't parse /proc/cpuinfo: missing [vendor_id] [cpu family] [model] [cpu MHz] [flags]
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Can't parse /proc/cpuinfo: missing [vendor_id] [cpu family] [model] [cpu MHz] [flags]
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Can't register mce handler
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Can't get ras:extlog_mem_event traces. Perhaps this feature is not supported on your system.
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Can't get traces from ras:aer_event
Apr 19 19:21:55 boomer rasdaemon: Can't register mce handler
Apr 19 19:21:55 boomer rasdaemon: Can't get traces from ras:aer_event
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Listening to events for cpus 0 to 223
Apr 19 19:21:55 boomer systemd[1]: Reloading.
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Recording mc_event events
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Recording aer_event events
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Recording extlog_event events
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Recording mce_record events
Apr 19 19:21:55 boomer rasdaemon[4899]: rasdaemon: Recording arm_event events
Apr 19 19:21:55 boomer systemd[1]: Starting Initialize EDAC v3.0.0 Drivers For Machine Hardware...
Apr 19 19:21:55 boomer ras-mc-ctl[4943]: ras-mc-ctl: Error: No dimm labels for To be filled by O.E.M. model To be filled by O.E.M.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
ht
Manoj Iyer
2018-04-19 23:37:36 UTC
Permalink
--- artful ---
debian/rules needs --enable-arm to enable arm events. I have a test build of the rasdaemon package in ppa:centriq-team/lp1741978-rasdaemon. I tested this on an ARM64 system and confirmed with QTI that the output is as expected.

***@boomer:~$ sudo service rasdaemon status
● rasdaemon.service - RAS daemon to log the RAS events
Loaded: loaded (/lib/systemd/system/rasdaemon.service; enabled; vendor preset
Active: active (running) since Thu 2018-04-19 23:35:08 UTC; 25s ago
Main PID: 5002 (rasdaemon)
Tasks: 1 (limit: 34406)
Memory: 9.3M
CPU: 65ms
CGroup: /system.slice/rasdaemon.service
└─5002 /usr/sbin/rasdaemon -f -r

Apr 19 23:35:08 boomer rasdaemon[5002]: ras:arm_event event enabled
Apr 19 23:35:08 boomer rasdaemon[5002]: Enabled event ras:arm_event
Apr 19 23:35:08 boomer rasdaemon[5002]: Can't parse /proc/cpuinfo: missing [vend
Apr 19 23:35:08 boomer rasdaemon[5002]: Can't register mce handler
Apr 19 23:35:08 boomer rasdaemon[5002]: Can't get traces from ras:aer_event
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: Recording mc_event events
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: Recording aer_event events
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: Recording extlog_event events
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: Recording mce_record events
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: Recording arm_event events

***@boomer:~$ grep rasdaemon /var/log/syslog
Apr 19 23:35:08 boomer rasdaemon: ras:mc_event event enabled
Apr 19 23:35:08 boomer rasdaemon: ras:aer_event event enabled
Apr 19 23:35:08 boomer rasdaemon[5003]: rasdaemon: ras:mc_event event enabled
Apr 19 23:35:08 boomer rasdaemon[5003]: rasdaemon: ras:aer_event event enabled
Apr 19 23:35:08 boomer rasdaemon[5003]: rasdaemon: Can't write to set_event
Apr 19 23:35:08 boomer rasdaemon[5003]: rasdaemon: Can't write to set_event
Apr 19 23:35:08 boomer rasdaemon[5003]: rasdaemon: ras:arm_event event enabled
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: ras:mc_event event enabled
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: Enabled event ras:mc_event
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: ras:aer_event event enabled
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: Enabled event ras:aer_event
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: ras:arm_event event enabled
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: Enabled event ras:arm_event
Apr 19 23:35:08 boomer rasdaemon: Can't write to set_event
Apr 19 23:35:08 boomer rasdaemon: Can't write to set_event
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: Can't parse /proc/cpuinfo: missing [vendor_id] [cpu family] [model] [cpu MHz] [flags]
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: Can't register mce handler
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: Can't get ras:extlog_mem_event traces. Perhaps this feature is not supported on your system.
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: Can't get traces from ras:aer_event
Apr 19 23:35:08 boomer rasdaemon: ras:mc_event event enabled
Apr 19 23:35:08 boomer rasdaemon: Enabled event ras:mc_event
Apr 19 23:35:08 boomer rasdaemon: ras:arm_event event enabled
Apr 19 23:35:08 boomer rasdaemon: ras:aer_event event enabled
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: Listening to events for cpus 0 to 223
Apr 19 23:35:08 boomer rasdaemon: Enabled event ras:aer_event
Apr 19 23:35:08 boomer rasdaemon: ras:arm_event event enabled
Apr 19 23:35:08 boomer rasdaemon: Enabled event ras:arm_event
Apr 19 23:35:08 boomer rasdaemon: Can't parse /proc/cpuinfo: missing [vendor_id] [cpu family] [model] [cpu MHz] [flags]
Apr 19 23:35:08 boomer rasdaemon: Can't register mce handler
Apr 19 23:35:08 boomer rasdaemon: Can't get traces from ras:aer_event
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: Recording mc_event events
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: Recording aer_event events
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: Recording extlog_event events
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: Recording mce_record events
Apr 19 23:35:08 boomer rasdaemon[5002]: rasdaemon: Recording arm_event events
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubunt
Manoj Iyer
2018-04-20 01:59:00 UTC
Permalink
--- xenial ---
debian/rules needs --enable-arm to enable arm events. I have a test build of the rasdaemon package in ppa:centriq-team/lp1741978-rasdaemon. I tested this on an ARM64 system and confirmed with QTI that the output is as expected. The patches tracked in this bug are already fix-committed for xenial.

***@boomer:~$ sudo service rasdaemon status
sudo: unable to resolve host boomer
● rasdaemon.service - RAS daemon to log the RAS events
Loaded: loaded (/lib/systemd/system/rasdaemon.service; enabled; vendor preset
Active: active (running) since Fri 2018-04-20 01:57:04 UTC; 7s ago
Main PID: 6391 (rasdaemon)
Tasks: 1
Memory: 9.3M
CPU: 62ms
CGroup: /system.slice/rasdaemon.service
└─6391 /usr/sbin/rasdaemon -f -r

Apr 20 01:57:04 boomer rasdaemon[6391]: Enabled event ras:arm_event
Apr 20 01:57:04 boomer rasdaemon[6391]: Can't parse /proc/cpuinfo: missing [vend
Apr 20 01:57:04 boomer rasdaemon[6391]: Can't register mce handler
Apr 20 01:57:04 boomer rasdaemon[6391]: Can't get traces from ras:aer_event
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Listening to events for cpus
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Recording mc_event events
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Recording aer_event events
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Recording extlog_event events
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Recording mce_record events
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Recording arm_event events

***@boomer:~$ grep rasdaemon /var/log/syslog
Apr 20 01:57:04 boomer rasdaemon: ras:mc_event event enabled
Apr 20 01:57:04 boomer rasdaemon: ras:mc_event event enabled
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: ras:mc_event event enabled
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Enabled event ras:mc_event
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: ras:aer_event event enabled
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Enabled event ras:aer_event
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: ras:arm_event event enabled
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Enabled event ras:arm_event
Apr 20 01:57:04 boomer rasdaemon[6392]: rasdaemon: ras:mc_event event enabled
Apr 20 01:57:04 boomer rasdaemon[6392]: rasdaemon: ras:aer_event event enabled
Apr 20 01:57:04 boomer rasdaemon[6392]: rasdaemon: Can't write to set_event
Apr 20 01:57:04 boomer rasdaemon[6392]: rasdaemon: Can't write to set_event
Apr 20 01:57:04 boomer rasdaemon[6392]: rasdaemon: ras:arm_event event enabled
Apr 20 01:57:04 boomer rasdaemon: Enabled event ras:mc_event
Apr 20 01:57:04 boomer rasdaemon: ras:aer_event event enabled
Apr 20 01:57:04 boomer rasdaemon: Can't write to set_event
Apr 20 01:57:04 boomer rasdaemon: Can't write to set_event
Apr 20 01:57:04 boomer rasdaemon: ras:aer_event event enabled
Apr 20 01:57:04 boomer rasdaemon: Enabled event ras:aer_event
Apr 20 01:57:04 boomer rasdaemon: ras:arm_event event enabled
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Can't parse /proc/cpuinfo: missing [vendor_id] [cpu family] [model] [cpu MHz] [flags]
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Can't register mce handler
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Can't get ras:extlog_mem_event traces. Perhaps this feature is not supported on your system.
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Can't get traces from ras:aer_event
Apr 20 01:57:04 boomer rasdaemon: ras:arm_event event enabled
Apr 20 01:57:04 boomer rasdaemon: Enabled event ras:arm_event
Apr 20 01:57:04 boomer rasdaemon: Can't parse /proc/cpuinfo: missing [vendor_id] [cpu family] [model] [cpu MHz] [flags]
Apr 20 01:57:04 boomer rasdaemon: Can't register mce handler
Apr 20 01:57:04 boomer rasdaemon: Can't get traces from ras:aer_event
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Listening to events for cpus 0 to 223
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Recording mc_event events
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Recording aer_event events
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Recording extlog_event events
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Recording mce_record events
Apr 20 01:57:04 boomer rasdaemon[6391]: rasdaemon: Recording arm_event events
***@boomer:~$
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinf
Manoj Iyer
2018-04-20 02:03:35 UTC
Permalink
The patches tracked in this bug are already fix-committed for xenial and
artful, we need those packages rebuilt with --enable-arm in
debian/rules. Bionic already has these patches and the package for
bionic needs to be rebuilt with --enable-arm in debian/rules.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubunt
dann frazier
2018-04-20 20:21:13 UTC
Permalink
** Also affects: rasdaemon (Ubuntu Bionic)
Importance: High
Status: Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubunt
Manoj Iyer
2018-04-23 16:06:12 UTC
Permalink
debian/rules needs --enable-arm to enable arm events. I have a test
build of the rasdaemon package in ppa:centriq-team/lp1741978-rasdaemon.
I tested this on an a QDF2400 system. Here are the results for bionic,
artful and xenial.

--- bionic ---
***@awrep3:~$ sudo service rasdaemon status
● rasdaemon.service - RAS daemon to log the RAS events
Loaded: loaded (/lib/systemd/system/rasdaemon.service; enabled; vendor preset
Active: active (running) since Mon 2018-04-23 15:25:18 UTC; 17s ago
Main PID: 3369 (rasdaemon)
Tasks: 1 (limit: 7065)
CGroup: /system.slice/rasdaemon.service
└─3369 /usr/sbin/rasdaemon -f -r

Apr 23 15:25:18 awrep3 rasdaemon[3369]: ras:arm_event event enabled
Apr 23 15:25:18 awrep3 rasdaemon[3369]: Enabled event ras:arm_event
Apr 23 15:25:18 awrep3 rasdaemon[3369]: Can't parse /proc/cpuinfo: missing [vend
Apr 23 15:25:18 awrep3 rasdaemon[3369]: Can't register mce handler
Apr 23 15:25:18 awrep3 rasdaemon[3369]: Can't get traces from ras:aer_event
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: Recording mc_event events
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: Recording aer_event events
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: Recording extlog_event events
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: Recording mce_record events
Apr 23 15:25:19 awrep3 rasdaemon[3369]: rasdaemon: Recording arm_event events

***@awrep3:~$ grep rasdaemon /var/log/syslog
Apr 23 15:25:18 awrep3 rasdaemon: ras:mc_event event enabled
Apr 23 15:25:18 awrep3 rasdaemon: ras:mc_event event enabled
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: ras:mc_event event enabled
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: Enabled event ras:mc_event
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: ras:aer_event event enabled
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: Enabled event ras:aer_event
Apr 23 15:25:18 awrep3 rasdaemon[3370]: rasdaemon: ras:mc_event event enabled
Apr 23 15:25:18 awrep3 rasdaemon[3370]: rasdaemon: ras:aer_event event enabled
Apr 23 15:25:18 awrep3 rasdaemon[3370]: rasdaemon: Can't write to set_event
Apr 23 15:25:18 awrep3 rasdaemon[3370]: rasdaemon: Can't write to set_event
Apr 23 15:25:18 awrep3 rasdaemon[3370]: rasdaemon: ras:arm_event event enabled
Apr 23 15:25:18 awrep3 rasdaemon: Enabled event ras:mc_event
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: ras:arm_event event enabled
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: Enabled event ras:arm_event
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: Can't parse /proc/cpuinfo: missing [vendor_id] [cpu family] [model] [cpu MHz] [flags]
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: Can't register mce handler
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: Can't get ras:extlog_mem_event traces. Perhaps this feature is not supported on your system.
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: Can't get traces from ras:aer_event
Apr 23 15:25:18 awrep3 rasdaemon: ras:aer_event event enabled
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: Listening to events for cpus 0 to 45
Apr 23 15:25:18 awrep3 rasdaemon: Can't write to set_event
Apr 23 15:25:18 awrep3 rasdaemon: ras:aer_event event enabled
Apr 23 15:25:18 awrep3 rasdaemon: Enabled event ras:aer_event
Apr 23 15:25:18 awrep3 rasdaemon: Can't write to set_event
Apr 23 15:25:18 awrep3 rasdaemon: ras:arm_event event enabled
Apr 23 15:25:18 awrep3 rasdaemon: ras:arm_event event enabled
Apr 23 15:25:18 awrep3 rasdaemon: Enabled event ras:arm_event
Apr 23 15:25:18 awrep3 rasdaemon: Can't parse /proc/cpuinfo: missing [vendor_id] [cpu family] [model] [cpu MHz] [flags]
Apr 23 15:25:18 awrep3 rasdaemon: Can't register mce handler
Apr 23 15:25:18 awrep3 rasdaemon: Can't get traces from ras:aer_event
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: Recording mc_event events
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: Recording aer_event events
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: Recording extlog_event events
Apr 23 15:25:18 awrep3 rasdaemon[3369]: rasdaemon: Recording mce_record events
Apr 23 15:25:19 awrep3 rasdaemon[3369]: rasdaemon: Recording arm_event events

-- artful --
***@awrep3:~$ sudo service rasdaemon status
● rasdaemon.service - RAS daemon to log the RAS events
Loaded: loaded (/lib/systemd/system/rasdaemon.service; enabled; vendor preset
Active: active (running) since Mon 2018-04-23 15:51:55 UTC; 13s ago
Main PID: 3683 (rasdaemon)
Tasks: 1 (limit: 7065)
Memory: 7.9M
CPU: 48ms
CGroup: /system.slice/rasdaemon.service
└─3683 /usr/sbin/rasdaemon -f -r

Apr 23 15:51:55 awrep3 rasdaemon[3683]: ras:arm_event event enabled
Apr 23 15:51:55 awrep3 rasdaemon[3683]: Enabled event ras:arm_event
Apr 23 15:51:55 awrep3 rasdaemon[3683]: Can't parse /proc/cpuinfo: missing [vend
Apr 23 15:51:55 awrep3 rasdaemon[3683]: Can't register mce handler
Apr 23 15:51:55 awrep3 rasdaemon[3683]: Can't get traces from ras:aer_event
Apr 23 15:51:55 awrep3 rasdaemon[3683]: rasdaemon: Recording mc_event events
Apr 23 15:51:55 awrep3 rasdaemon[3683]: rasdaemon: Recording aer_event events
Apr 23 15:51:56 awrep3 rasdaemon[3683]: rasdaemon: Recording extlog_event events
Apr 23 15:51:56 awrep3 rasdaemon[3683]: rasdaemon: Recording mce_record events
Apr 23 15:51:56 awrep3 rasdaemon[3683]: rasdaemon: Recording arm_event events

***@awrep3:~$ grep rasdaemon /var/log/syslog
Apr 23 15:51:55 awrep3 rasdaemon: ras:mc_event event enabled
Apr 23 15:51:55 awrep3 rasdaemon: Enabled event ras:mc_event
Apr 23 15:51:55 awrep3 rasdaemon[3683]: rasdaemon: ras:mc_event event enabled
Apr 23 15:51:55 awrep3 rasdaemon[3683]: rasdaemon: Enabled event ras:mc_event
Apr 23 15:51:55 awrep3 rasdaemon[3683]: rasdaemon: ras:aer_event event enabled
Apr 23 15:51:55 awrep3 rasdaemon[3683]: rasdaemon: Enabled event ras:aer_event
Apr 23 15:51:55 awrep3 rasdaemon: ras:aer_event event enabled
Apr 23 15:51:55 awrep3 rasdaemon[3684]: rasdaemon: ras:mc_event event enabled
Apr 23 15:51:55 awrep3 rasdaemon[3684]: rasdaemon: ras:aer_event event enabled
Apr 23 15:51:55 awrep3 rasdaemon[3684]: rasdaemon: Can't write to set_event
Apr 23 15:51:55 awrep3 rasdaemon[3684]: rasdaemon: Can't write to set_event
Apr 23 15:51:55 awrep3 rasdaemon[3684]: rasdaemon: ras:arm_event event enabled
Apr 23 15:51:55 awrep3 rasdaemon[3683]: rasdaemon: ras:arm_event event enabled
Apr 23 15:51:55 awrep3 rasdaemon[3683]: rasdaemon: Enabled event ras:arm_event
Apr 23 15:51:55 awrep3 rasdaemon[3683]: rasdaemon: Can't parse /proc/cpuinfo: missing [vendor_id] [cpu family] [model] [cpu MHz] [flags]
Apr 23 15:51:55 awrep3 rasdaemon[3683]: rasdaemon: Can't register mce handler
Apr 23 15:51:55 awrep3 rasdaemon[3683]: rasdaemon: Can't get ras:extlog_mem_event traces. Perhaps this feature is not supported on your system.
Apr 23 15:51:55 awrep3 rasdaemon[3683]: rasdaemon: Can't get traces from ras:aer_event
Apr 23 15:51:55 awrep3 rasdaemon[3683]: rasdaemon: Listening to events for cpus 0 to 45
Apr 23 15:51:55 awrep3 rasdaemon: Enabled event ras:aer_event
Apr 23 15:51:55 awrep3 rasdaemon: ras:arm_event event enabled
Apr 23 15:51:55 awrep3 rasdaemon: Enabled event ras:arm_event
Apr 23 15:51:55 awrep3 rasdaemon: ras:mc_event event enabled
Apr 23 15:51:55 awrep3 rasdaemon: ras:aer_event event enabled
Apr 23 15:51:55 awrep3 rasdaemon: Can't write to set_event
Apr 23 15:51:55 awrep3 rasdaemon: Can't write to set_event
Apr 23 15:51:55 awrep3 rasdaemon: Can't parse /proc/cpuinfo: missing [vendor_id] [cpu family] [model] [cpu MHz] [flags]
Apr 23 15:51:55 awrep3 rasdaemon: Can't register mce handler
Apr 23 15:51:55 awrep3 rasdaemon: Can't get traces from ras:aer_event
Apr 23 15:51:55 awrep3 rasdaemon: ras:arm_event event enabled
Apr 23 15:51:55 awrep3 rasdaemon[3683]: rasdaemon: Recording mc_event events
Apr 23 15:51:55 awrep3 rasdaemon[3683]: rasdaemon: Recording aer_event events
Apr 23 15:51:56 awrep3 rasdaemon[3683]: rasdaemon: Recording extlog_event events
Apr 23 15:51:56 awrep3 rasdaemon[3683]: rasdaemon: Recording mce_record events
Apr 23 15:51:56 awrep3 rasdaemon[3683]: rasdaemon: Recording arm_event events

-- xenial --
***@awrep3:~$ sudo service rasdaemon status
sudo: unable to resolve host awrep3
● rasdaemon.service - RAS daemon to log the RAS events
Loaded: loaded (/lib/systemd/system/rasdaemon.service; enabled; vendor preset
Active: active (running) since Mon 2018-04-23 16:05:09 UTC; 13s ago
Main PID: 4624 (rasdaemon)
Tasks: 1
Memory: 8.0M
CPU: 49ms
CGroup: /system.slice/rasdaemon.service
└─4624 /usr/sbin/rasdaemon -f -r

Apr 23 16:05:09 awrep3 rasdaemon[4624]: ras:arm_event event enabled
Apr 23 16:05:09 awrep3 rasdaemon[4624]: Enabled event ras:arm_event
Apr 23 16:05:09 awrep3 rasdaemon[4624]: Can't parse /proc/cpuinfo: missing [vend
Apr 23 16:05:09 awrep3 rasdaemon[4624]: Can't register mce handler
Apr 23 16:05:09 awrep3 rasdaemon[4624]: Can't get traces from ras:aer_event
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: Recording mc_event events
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: Recording aer_event events
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: Recording extlog_event events
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: Recording mce_record events
Apr 23 16:05:10 awrep3 rasdaemon[4624]: rasdaemon: Recording arm_event events

***@awrep3:~$ grep rasdaemon /var/log/syslog
Apr 23 16:05:09 awrep3 rasdaemon: ras:mc_event event enabled
Apr 23 16:05:09 awrep3 rasdaemon: ras:mc_event event enabled
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: ras:mc_event event enabled
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: Enabled event ras:mc_event
Apr 23 16:05:09 awrep3 rasdaemon[4625]: rasdaemon: ras:mc_event event enabled
Apr 23 16:05:09 awrep3 rasdaemon[4625]: rasdaemon: ras:aer_event event enabled
Apr 23 16:05:09 awrep3 rasdaemon[4625]: rasdaemon: Can't write to set_event
Apr 23 16:05:09 awrep3 rasdaemon[4625]: rasdaemon: Can't write to set_event
Apr 23 16:05:09 awrep3 rasdaemon[4625]: rasdaemon: ras:arm_event event enabled
Apr 23 16:05:09 awrep3 rasdaemon: Enabled event ras:mc_event
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: ras:aer_event event enabled
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: Enabled event ras:aer_event
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: ras:arm_event event enabled
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: Enabled event ras:arm_event
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: Can't parse /proc/cpuinfo: missing [vendor_id] [cpu family] [model] [cpu MHz] [flags]
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: Can't register mce handler
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: Can't get ras:extlog_mem_event traces. Perhaps this feature is not supported on your system.
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: Can't get traces from ras:aer_event
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: Listening to events for cpus 0 to 45
Apr 23 16:05:09 awrep3 rasdaemon: ras:aer_event event enabled
Apr 23 16:05:09 awrep3 rasdaemon: Can't write to set_event
Apr 23 16:05:09 awrep3 rasdaemon: Can't write to set_event
Apr 23 16:05:09 awrep3 rasdaemon: ras:aer_event event enabled
Apr 23 16:05:09 awrep3 rasdaemon: Enabled event ras:aer_event
Apr 23 16:05:09 awrep3 rasdaemon: ras:arm_event event enabled
Apr 23 16:05:09 awrep3 rasdaemon: ras:arm_event event enabled
Apr 23 16:05:09 awrep3 rasdaemon: Enabled event ras:arm_event
Apr 23 16:05:09 awrep3 rasdaemon: Can't parse /proc/cpuinfo: missing [vendor_id] [cpu family] [model] [cpu MHz] [flags]
Apr 23 16:05:09 awrep3 rasdaemon: Can't register mce handler
Apr 23 16:05:09 awrep3 rasdaemon: Can't get traces from ras:aer_event
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: Recording mc_event events
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: Recording aer_event events
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: Recording extlog_event events
Apr 23 16:05:09 awrep3 rasdaemon[4624]: rasdaemon: Recording mce_record events
Apr 23 16:05:10 awrep3 rasdaemon[4624]: rasdaemon: Recording arm_event events
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.c
Manoj Iyer
2018-04-24 19:08:12 UTC
Permalink
Based on the results, rasdaemon needs to reuploaded to -proposed with
--enable-arm in debian/rules.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listi
Manoj Iyer
2018-05-02 20:08:33 UTC
Permalink
Patch to enable arm events for aarch64 in xenial

** Patch added: "Patch to enable arm events for aarch64 in xenial"
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+attachment/5132439/+files/xenial-enable-arm.debdiff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.
Manoj Iyer
2018-05-02 20:09:31 UTC
Permalink
Patch to enable arm events for aarch64 in artful

** Patch added: "Patch to enable arm events for aarch64 in artful"
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+attachment/5132441/+files/artful-enable-arm.debdiff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.
Manoj Iyer
2018-05-02 20:10:05 UTC
Permalink
Patch to enable arm events for aarch64 in bionic

** Patch added: "Patch to enable arm events for aarch64 in bionic"
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+attachment/5132452/+files/bionic-enable-arm.debdiff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.
Brian Murray
2018-05-17 20:29:43 UTC
Permalink
Hello Manoj, or anyone else affected,

Accepted rasdaemon into xenial-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/rasdaemon/0.5.6-2ubuntu1.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com
Brian Murray
2018-05-17 20:26:34 UTC
Permalink
Hello Manoj, or anyone else affected,

Accepted rasdaemon into artful-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/rasdaemon/0.5.8-1ubuntu2.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-artful to verification-done-artful. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-artful. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!

** Tags removed: verification-failed-xenial
** Tags added: verification-needed-xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741978

Title:
Add support for ARM events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1741978/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bu
Loading...