From 09c31d41d00fcda383f752faba9b7f33fd5a34f4 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Jun 27 2023 19:52:37 +0000 Subject: Enable unified SEL logging for OpenBMC - Convert to flat layout Signed-off-by: Michel Alexandre Salim --- diff --git a/.gitignore b/.gitignore index 948896a..284d300 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/rasdaemon-0.6.6.tar.bz2 +/rasdaemon-0.6.7.tar.bz2 diff --git a/.rasdaemon.metadata b/.rasdaemon.metadata deleted file mode 100644 index cfbe66d..0000000 --- a/.rasdaemon.metadata +++ /dev/null @@ -1 +0,0 @@ -8ae34f40b676a0843be6647854b950f45161e7d4 SOURCES/rasdaemon-0.6.7.tar.bz2 diff --git a/SPECS/rasdaemon.spec b/SPECS/rasdaemon.spec deleted file mode 100644 index e8447ae..0000000 --- a/SPECS/rasdaemon.spec +++ /dev/null @@ -1,196 +0,0 @@ -Name: rasdaemon -Version: 0.6.7 -Release: 2%{?dist}.1 -Summary: Utility to receive RAS error tracings -License: GPLv2 -URL: http://git.infradead.org/users/mchehab/rasdaemon.git -Source0: http://www.infradead.org/~mchehab/rasdaemon/%{name}-%{version}.tar.bz2 - -ExcludeArch: s390 s390x -BuildRequires: make -BuildRequires: gcc -BuildRequires: gettext-devel -BuildRequires: perl-generators -BuildRequires: sqlite-devel -BuildRequires: systemd -Provides: bundled(kernel-event-lib) -Requires: hwdata -Requires: perl-DBD-SQLite -%ifarch %{ix86} x86_64 -Requires: dmidecode -%endif - -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd - -%description -%{name} is a RAS (Reliability, Availability and Serviceability) logging tool. -It currently records memory errors, using the EDAC tracing events. -EDAC is drivers in the Linux kernel that handle detection of ECC errors -from memory controllers for most chipsets on i386 and x86_64 architectures. -EDAC drivers for other architectures like arm also exists. -This userspace component consists of an init script which makes sure -EDAC drivers and DIMM labels are loaded at system startup, as well as -an utility for reporting current error counts from the EDAC sysfs files. - -%prep -%setup -q - -%build -%ifarch %{arm} aarch64 -%configure --enable-sqlite3 --enable-aer --enable-mce --enable-extlog --enable-devlink --enable-diskerror --enable-abrt-report --enable-non-standard --enable-arm --enable-hisi-ns-decode --with-sysconfdefdir="%{_sysconfdir}/sysconfig" -%else -%configure --enable-sqlite3 --enable-aer --enable-mce --enable-extlog --enable-devlink --enable-diskerror --enable-abrt-report --enable-memory-ce-pfa --with-sysconfdefdir="%{_sysconfdir}/sysconfig" -%endif -make %{?_smp_mflags} - -%install -make install DESTDIR=%{buildroot} -install -D -p -m 0644 misc/rasdaemon.service %{buildroot}/%{_unitdir}/rasdaemon.service -install -D -p -m 0644 misc/ras-mc-ctl.service %{buildroot}%{_unitdir}/ras-mc-ctl.service -rm INSTALL %{buildroot}/usr/include/*.h - -%files -%doc AUTHORS ChangeLog COPYING README TODO -%{_sbindir}/rasdaemon -%{_sbindir}/ras-mc-ctl -%{_mandir}/*/* -%{_unitdir}/*.service -%{_sysconfdir}/ras/dimm_labels.d -%ifnarch %{arm} aarch64 -%{_sysconfdir}/sysconfig/rasdaemon -%endif - -%changelog -* Wed Mar 01 2023 Michel Alexandre Salim - 0.6.7-2.1 -- Rebuild to fix vendor tag - -* Thu Sep 30 2021 Justin Vreeland - 0.6.7-2 -- Bump release for aarch64 - -* Thu Jun 18 2021 David Johansen - 0.6.7-1 -- Build release 0.6.7 and remove backport patches -- shardstatdir/rasdaemon is now created at runtime. - -* Thu Apr 01 2021 David Johansen - 0.6.6-2 -- Include later patches for ras-mc-ctl fixes - -* Fri Feb 26 2021 David Johansen - 0.6.6-1 -- Bump to version 0.6.6 and include patches for ras-mc-ctl fixes -- Include patches for page-offlining fixes - -* Wed Jan 27 2021 Fedora Release Engineering - 0.6.4-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 0.6.4-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Thu Jan 30 2020 Fedora Release Engineering - 0.6.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - - -* Thu Oct 10 2019 Mauro Carvalho Chehab 0.6.4-1 -- Bump to version 0.6.4 with some DB changes for hip08 and some fixes - -* Fri Aug 23 2019 Mauro Carvalho Chehab 0.6.3-1 -- Bump to version 0.6.3 with new ARM events, plus disk I/O and netlink support - -* Fri Jul 26 2019 Fedora Release Engineering - 0.6.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sat Feb 02 2019 Fedora Release Engineering - 0.6.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Tue Aug 14 2018 Mauro Carvalho Chehab 0.6.2-1 -- Bump to version 0.6.2 with improvements for PCIe AER parsing and at ras-mc-ctl tool - -* Sat Jul 14 2018 Fedora Release Engineering - 0.6.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Apr 25 2018 Mauro Carvalho Chehab 0.6.1-1 -- Bump to version 0.6.1 adding support for Skylake Xeon MSCOD, a bug fix and some new DELL labels - -* Fri Feb 09 2018 Fedora Release Engineering - 0.6.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sat Oct 14 2017 Mauro Carvalho Chehab 0.6.0-1 -- Bump to version 0.6.0 adding support for Arm and Hisilicon events and update Dell Skylate labels - -* Thu Aug 03 2017 Fedora Release Engineering - 0.5.8-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.5.8-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 0.5.8-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Fri Apr 15 2016 Mauro Carvalho Chehab 0.5.8-3 -- Add a virtual provide, per BZ#104132 - -* Fri Apr 15 2016 Mauro Carvalho Chehab 0.5.8-2 -- Bump to version 0.5.8 with support for Broadwell EP/EX MSCOD/DE MSCOD - -* Thu Feb 04 2016 Fedora Release Engineering - 0.5.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Fri Jul 03 2015 Mauro Carvalho Chehab 0.5.6-1 -- Bump to version 0.5.6 with support for LMCE and some fixes - -* Thu Jun 18 2015 Fedora Release Engineering - 0.5.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Wed Jun 03 2015 Mauro Carvalho Chehab 0.5.5-1 -- Bump to version 0.5.5 with support for newer Intel platforms & some fixes - -* Tue Sep 16 2014 Peter Robinson 0.5.4-3 -- aarch64/ppc64 have edac capabilities -- spec cleanups -- No need to run autoreconf - -* Sun Aug 17 2014 Fedora Release Engineering - 0.5.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Fri Aug 15 2014 Mauro Carvalho Chehab 0.5.4-1 -- Bump to version 0.5.4 with some fixes, mainly for amd64 - -* Sun Aug 10 2014 Mauro Carvalho Chehab 0.5.3-1 -- Bump to version 0.5.3 and enable ABRT and ExtLog - -* Sun Jun 08 2014 Fedora Release Engineering - 0.5.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Thu Apr 03 2014 Mauro Carvalho Chehab 0.5.2-1 -- fix and enable ABRT report support - -* Fri Mar 28 2014 Mauro Carvalho Chehab 0.5.1-1 -- Do some fixes at the service files and add some documentation for --record - -* Sun Feb 16 2014 Mauro Carvalho Chehab 0.5.0-1 -- Add experimental ABRT support - -* Tue Sep 10 2013 Mauro Carvalho Chehab 0.4.2-1 -- Fix ras-mc-ctl layout filling - -* Sun Aug 04 2013 Fedora Release Engineering - 0.4.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Wed Jul 17 2013 Petr Pisar - 0.4.1-4 -- Perl 5.18 rebuild - -* Sun Jun 2 2013 Peter Robinson 0.4.1-3 -- ARM has EDMA drivers (currently supported in Calxeda highbank) - -* Wed May 29 2013 Mauro Carvalho Chehab 0.4.1-2 -- Fix the name of perl-DBD-SQLite package - -* Wed May 29 2013 Mauro Carvalho Chehab 0.4.1-1 -- Updated to version 0.4.1 with contains some bug fixes - -* Tue May 28 2013 Mauro Carvalho Chehab 0.4.0-1 -- Updated to version 0.4.0 and added support for mce, aer and sqlite3 storage - -* Mon May 20 2013 Mauro Carvalho Chehab 0.3.0-1 -- Package created - diff --git a/rasdaemon-openbmc-unified-sel.diff b/rasdaemon-openbmc-unified-sel.diff new file mode 100644 index 0000000..dad7e87 --- /dev/null +++ b/rasdaemon-openbmc-unified-sel.diff @@ -0,0 +1,251 @@ +commit 2a194a220d4a377f2b25e308a01ffe9675b93c31 +Author: Krishna Dhulipala +Date: Tue Jun 27 12:09:45 2023 -0700 + + Unified SEL logging of AER events + +diff --git a/Makefile.am b/Makefile.am +index fabca78..1ea3356 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -63,13 +63,17 @@ endif + if WITH_AMP_NS_DECODE + rasdaemon_SOURCES += non-standard-ampere.c + endif ++if WITH_OPENBMC_UNIFIED_SEL ++ rasdaemon_SOURCES += unified-sel.c ++endif + rasdaemon_LDADD = -lpthread $(SQLITE3_LIBS) libtrace/libtrace.a + + include_HEADERS = config.h ras-events.h ras-logger.h ras-mc-handler.h \ + ras-aer-handler.h ras-mce-handler.h ras-record.h bitfield.h ras-report.h \ + ras-extlog-handler.h ras-arm-handler.h ras-non-standard-handler.h \ + ras-devlink-handler.h ras-diskerror-handler.h rbtree.h ras-page-isolation.h \ +- non-standard-hisilicon.h non-standard-ampere.h ras-memory-failure-handler.h ++ non-standard-hisilicon.h non-standard-ampere.h ras-memory-failure-handler.h \ ++ unified-sel.h + + # This rule can't be called with more than one Makefile job (like make -j8) + # I can't figure out a way to fix that +diff --git a/configure.ac b/configure.ac +index f7d1947..4a534b7 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -161,6 +161,16 @@ AS_IF([test "x$enable_amp_ns_decode" = "xyes" || test "x$enable_all" == "xyes"], + AM_CONDITIONAL([WITH_AMP_NS_DECODE], [test x$enable_amp_ns_decode = xyes || test x$enable_all == xyes]) + AM_COND_IF([WITH_AMP_NS_DECODE], [USE_AMP_NS_DECODE="yes"], [USE_AMP_NS_DECODE="no"]) + ++AC_ARG_ENABLE([openbmc_unified_sel], ++ AS_HELP_STRING([--enable-openbmc-unified-sel], [enable OPENBMC_UNIFIED_SEL events (currently exprimental)])) ++ ++AS_IF([test "x$enable_openbmc_unified_sel" = "xyes" || test "x$enable_all" = "xyes"], [ ++ AC_DEFINE(HAVE_OPENBMC_UNIFIED_SEL,1,"have OpenBMC unified SEL") ++ AC_SUBST([WITH_OPENBMC_UNIFIED_SEL]) ++]) ++AM_CONDITIONAL([WITH_OPENBMC_UNIFIED_SEL], [test x$enable_openbmc_unified_sel = xyes || test x$enabl_all = xyes]) ++AM_COND_IF([WITH_OPENBMC_UNIFIED_SEL], [USE_OPENBMC_UNIFIED_SEL="yes"], [USE_OPENBMC_UNIFIED_SEL="no"]) ++ + test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc + + CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes" +@@ -201,4 +211,5 @@ compile time options summary + Memory Failure : $USE_MEMORY_FAILURE + Memory CE PFA : $USE_MEMORY_CE_PFA + AMP RAS errors : $USE_AMP_NS_DECODE ++ OpenBMC unified : $USE_OPENBMC_UNIFIED_SEL + EOF +diff --git a/ras-aer-handler.c b/ras-aer-handler.c +index 8ddd439..c03f6ec 100644 +--- a/ras-aer-handler.c ++++ b/ras-aer-handler.c +@@ -25,6 +25,7 @@ + #include "ras-logger.h" + #include "bitfield.h" + #include "ras-report.h" ++#include "unified-sel.h" + + /* bit field meaning for correctable error */ + static const char *aer_cor_errors[32] = { +@@ -35,12 +36,15 @@ static const char *aer_cor_errors[32] = { + [8] = "RELAY_NUM Rollover", + [12] = "Replay Timer Timeout", + [13] = "Advisory Non-Fatal", ++ [14] = "Corrected Internal", ++ [15] = "Header Log Overflow", + }; + + /* bit field meaning for uncorrectable error */ + static const char *aer_uncor_errors[32] = { + /* Uncorrectable errors */ + [4] = "Data Link Protocol", ++ [5] = "Surprise Link Down", + [12] = "Poisoned TLP", + [13] = "Flow Control Protocol", + [14] = "Completion Timeout", +@@ -50,6 +54,12 @@ static const char *aer_uncor_errors[32] = { + [18] = "Malformed TLP", + [19] = "ECRC", + [20] = "Unsupported Request", ++ [21] = "ACS Violation", ++ [22] = "Uncorrected Internal", ++ [23] = "MC Blocked TLP", ++ [24] = "AtomicOp Egress Blocked", ++ [25] = "TLP Prefix Blocked", ++ [26] = "Poisoned TLP Egrees Blocked", + }; + + #define BUF_LEN 1024 +@@ -151,5 +161,10 @@ int ras_aer_event_handler(struct trace_seq *s, + ras_report_aer_event(ras, &ev); + #endif + ++#ifdef HAVE_OPENBMC_UNIFIED_SEL ++ if (openbmc_unified_sel_log(severity_val, ev.dev_name, status_val) < 0) ++ return -1; ++#endif ++ + return 0; + } +diff --git a/unified-sel.c b/unified-sel.c +new file mode 100644 +index 0000000..287bb4f +--- /dev/null ++++ b/unified-sel.c +@@ -0,0 +1,114 @@ ++/* ++ * Copyright (c) 2023, Meta Platforms Inc. ++ * ++ * This program is free software; you can redistribute it and/or modify ++ * it under the terms of the GNU General Public License as published by ++ * the Free Software Foundation; either version 2 of the License, or ++ * (at your option) any later version. ++ * ++ */ ++ ++#include ++#include ++#include ++#include ++#include "ras-record.h" ++#include "ras-logger.h" ++#include "ras-report.h" ++#include "unified-sel.h" ++ ++/* CPU Root Port Error ID corresponding to each status bit set */ ++static const char *cor_error_ids[32] = { ++ /* Correctable errors */ ++ [0] = "0x00", /* Receiver Error */ ++ [6] = "0x01", /* Bad TLP */ ++ [7] = "0x02", /* Bad DLLP */ ++ [8] = "0x04", /* RELAY_NUM Rollover */ ++ [12] = "0x03", /* Replay Timer Timeout */ ++ [13] = "0x05", /* Advisory Non-Fatal */ ++ [14] = "0x06", /* Corrected Internal */ ++ [15] = "0x07", /* Header Log Overflow */ ++}; ++ ++static const char *uncor_error_ids[32] = { ++ /* Uncorrectable errors */ ++ [4] = "0x20", /* Data Link Protocol */ ++ [5] = "0x21", /* Surprise Link Down */ ++ [12] = "0x22", /* Poisoned TLP */ ++ [13] = "0x23", /* Flow Control Protocol */ ++ [14] = "0x24", /* Completion Timeout */ ++ [15] = "0x25", /* Completer Abort */ ++ [16] = "0x26", /* Unexpected Completion */ ++ [17] = "0x27", /* Receiver Overflow */ ++ [18] = "0x29", /* Malformed TLP */ ++ [19] = "0x29", /* ECRC */ ++ [20] = "0x2A", /* Unsupported Request */ ++ [21] = "0x2B", /* ACS Violation */ ++ [22] = "0x2C", /* Uncorrected Internal */ ++ [23] = "0x2D", /* MC Blocked TLP */ ++ [24] = "0x2E", /* AtomicOp Egress Blocked */ ++ [25] = "0x2F", /* TLP Prefix Blocked */ ++ [26] = "0x30", /* Poisoned TLP Egrees Blocked */ ++}; ++ ++static int verify_id_log_sel(uint64_t status, ++ const char **idarray, ++ unsigned bus, ++ unsigned dev_fn) ++{ ++ int i; ++ char openbmc_ipmi_add_sel[105]; ++ ++ /* ++ * Get PCIe AER error source bus/dev/fn and save it to the BMC SEL ++ * as a OpenBMC unified SEL record type. ++ * The IPMI command and record fields are defined in IPMI Specification v2.0 (IPMI Spec) ++ * ipmitool raw 0x0a 0x44 is "Add SEL Entry Command" defined in IPMI spec chapter 31.6 ++ * The 16 byte that follow form the SEL Record ++ * defined in IPMI spec chapter 32.1 "SEL Event Records" ++ * Byte 1~2 are Record ID = 0x00 0x00, unused ++ * Byte 3 is Record Type = 0xFB, OEM non-timestamped record type for OpenBMC unified SEL ++ * Byte 4~16 are OEM defined ++ * Byte 11: ++ * Byte11[7:3] Device# ++ * Byte11[2:0] Function# ++ * Byte 12: Bus number ++ * Byte 13-15: Reserved ++ * Byte 16: ID of the error detected on the PCle device that triggered this SEL record ++ */ ++ ++ /* Potentially all error status bits could be set for a given PCIe device. ++ * Therefore, iterate over all 32 bits each of cor and uncor errors ++ */ ++ for (i = 0; i < 32; i++) { ++ if ((status & (1 << i)) && idarray[i]) { ++ sprintf(openbmc_ipmi_add_sel, ++ "ipmitool raw 0x0a 0x44 0x00 0x00 0xFB 0x20 0x00 0x00 0x00 0x00 0x01 0x00 0x%02x 0x%02x 0x01 0x00 0xff %s", ++ dev_fn, bus, idarray[i]); ++ if (system(openbmc_ipmi_add_sel) != 0) ++ return -1; ++ } ++ } ++ return 0; ++} ++ ++int openbmc_unified_sel_log(uint64_t severity, const char *dev_name, uint64_t status) ++{ ++ int bus, dev, dev_fn, fn; ++ ++ sscanf(dev_name, "%*x:%x:%x.%x", &bus, &dev, &fn); ++ dev_fn = (((dev & 0x1f) << 3) | (fn & 0x7)); ++ ++ /* Use the appropriate correctable or uncorrectable error status ID ++ * for a gien severity level ++ */ ++ if (severity == HW_EVENT_AER_CORRECTED) { ++ if (verify_id_log_sel(status, cor_error_ids, bus, dev_fn) < 0) ++ return -1; ++ } ++ else { ++ if (verify_id_log_sel(status, uncor_error_ids, bus, dev_fn) < 0) ++ return -1; ++ } ++ return 0; ++} +diff --git a/unified-sel.h b/unified-sel.h +new file mode 100644 +index 0000000..17458a5 +--- /dev/null ++++ b/unified-sel.h +@@ -0,0 +1,17 @@ ++/* ++ * Copyright (c) 2023, Meta Platforms Inc. ++ * ++ * This program is free software; you can redistribute it and/or modify ++ * it under the terms of the GNU General Public License as published by ++ * the Free Software Foundation; either version 2 of the License, or ++ * (at your option) any later version. ++ * ++ */ ++ ++ ++#ifndef _UNIFIED_SEL_H ++#define _UNIFIED_SEL_H ++ ++int openbmc_unified_sel_log(uint64_t severity, const char *dev_name, uint64_t status); ++ ++#endif diff --git a/rasdaemon.spec b/rasdaemon.spec new file mode 100644 index 0000000..eb1e6ba --- /dev/null +++ b/rasdaemon.spec @@ -0,0 +1,206 @@ +Name: rasdaemon +Version: 0.6.7 +Release: 3%{?dist} +Summary: Utility to receive RAS error tracings +License: GPLv2 +URL: http://git.infradead.org/users/mchehab/rasdaemon.git +Source0: http://www.infradead.org/~mchehab/rasdaemon/%{name}-%{version}.tar.bz2 +# add unified SEL logging for OpenBMC +# https://github.com/mchehab/rasdaemon/pull/97 +Patch0: https://github.com/mchehab/rasdaemon/pull/97.patch#/%{name}-openbmc-unified-sel.diff + +ExcludeArch: s390 s390x +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: gcc +BuildRequires: gettext-devel +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: sqlite-devel +BuildRequires: systemd +Provides: bundled(kernel-event-lib) +Requires: hwdata +Requires: perl-DBD-SQLite +%ifarch %{ix86} x86_64 +Requires: dmidecode +%endif + +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd + +%description +%{name} is a RAS (Reliability, Availability and Serviceability) logging tool. +It currently records memory errors, using the EDAC tracing events. +EDAC is drivers in the Linux kernel that handle detection of ECC errors +from memory controllers for most chipsets on i386 and x86_64 architectures. +EDAC drivers for other architectures like arm also exists. +This userspace component consists of an init script which makes sure +EDAC drivers and DIMM labels are loaded at system startup, as well as +an utility for reporting current error counts from the EDAC sysfs files. + +%prep +%autosetup -p1 +autoreconf -fiv + +%build +%ifarch %{arm} aarch64 +%configure --enable-sqlite3 --enable-aer --enable-mce --enable-extlog --enable-devlink --enable-diskerror --enable-abrt-report --enable-non-standard --enable-arm --enable-hisi-ns-decode --enable-openbmc-unified-sel --with-sysconfdefdir="%{_sysconfdir}/sysconfig" +%else +%configure --enable-sqlite3 --enable-aer --enable-mce --enable-extlog --enable-devlink --enable-diskerror --enable-abrt-report --enable-memory-ce-pfa --enable-openbmc-unified-sel --with-sysconfdefdir="%{_sysconfdir}/sysconfig" +%endif +make %{?_smp_mflags} + +%install +make install DESTDIR=%{buildroot} +install -D -p -m 0644 misc/rasdaemon.service %{buildroot}/%{_unitdir}/rasdaemon.service +install -D -p -m 0644 misc/ras-mc-ctl.service %{buildroot}%{_unitdir}/ras-mc-ctl.service +rm INSTALL %{buildroot}/usr/include/*.h + +%files +%doc AUTHORS ChangeLog COPYING README TODO +%{_sbindir}/rasdaemon +%{_sbindir}/ras-mc-ctl +%{_mandir}/*/* +%{_unitdir}/*.service +%{_sysconfdir}/ras/dimm_labels.d +%ifnarch %{arm} aarch64 +%{_sysconfdir}/sysconfig/rasdaemon +%endif + +%changelog +* Tue Jun 27 2023 Michel Alexandre Salim - 0.6.7-3 +- Enable unified SEL logging for OpenBMC + +* Wed Mar 01 2023 Michel Alexandre Salim - 0.6.7-2.1 +- Rebuild to fix vendor tag + +* Thu Sep 30 2021 Justin Vreeland - 0.6.7-2 +- Bump release for aarch64 + +* Fri Jun 18 2021 David Johansen - 0.6.7-1 +- Build release 0.6.7 and remove backport patches +- shardstatdir/rasdaemon is now created at runtime. + +* Thu Apr 01 2021 David Johansen - 0.6.6-2 +- Include later patches for ras-mc-ctl fixes + +* Fri Feb 26 2021 David Johansen - 0.6.6-1 +- Bump to version 0.6.6 and include patches for ras-mc-ctl fixes +- Include patches for page-offlining fixes + +* Wed Jan 27 2021 Fedora Release Engineering - 0.6.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.6.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.6.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + + +* Thu Oct 10 2019 Mauro Carvalho Chehab 0.6.4-1 +- Bump to version 0.6.4 with some DB changes for hip08 and some fixes + +* Fri Aug 23 2019 Mauro Carvalho Chehab 0.6.3-1 +- Bump to version 0.6.3 with new ARM events, plus disk I/O and netlink support + +* Fri Jul 26 2019 Fedora Release Engineering - 0.6.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.6.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Aug 14 2018 Mauro Carvalho Chehab 0.6.2-1 +- Bump to version 0.6.2 with improvements for PCIe AER parsing and at ras-mc-ctl tool + +* Sat Jul 14 2018 Fedora Release Engineering - 0.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Apr 25 2018 Mauro Carvalho Chehab 0.6.1-1 +- Bump to version 0.6.1 adding support for Skylake Xeon MSCOD, a bug fix and some new DELL labels + +* Fri Feb 09 2018 Fedora Release Engineering - 0.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Oct 14 2017 Mauro Carvalho Chehab 0.6.0-1 +- Bump to version 0.6.0 adding support for Arm and Hisilicon events and update Dell Skylate labels + +* Thu Aug 03 2017 Fedora Release Engineering - 0.5.8-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.5.8-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.5.8-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Apr 15 2016 Mauro Carvalho Chehab 0.5.8-3 +- Add a virtual provide, per BZ#104132 + +* Fri Apr 15 2016 Mauro Carvalho Chehab 0.5.8-2 +- Bump to version 0.5.8 with support for Broadwell EP/EX MSCOD/DE MSCOD + +* Thu Feb 04 2016 Fedora Release Engineering - 0.5.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jul 03 2015 Mauro Carvalho Chehab 0.5.6-1 +- Bump to version 0.5.6 with support for LMCE and some fixes + +* Thu Jun 18 2015 Fedora Release Engineering - 0.5.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 03 2015 Mauro Carvalho Chehab 0.5.5-1 +- Bump to version 0.5.5 with support for newer Intel platforms & some fixes + +* Tue Sep 16 2014 Peter Robinson 0.5.4-3 +- aarch64/ppc64 have edac capabilities +- spec cleanups +- No need to run autoreconf + +* Sun Aug 17 2014 Fedora Release Engineering - 0.5.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Aug 15 2014 Mauro Carvalho Chehab 0.5.4-1 +- Bump to version 0.5.4 with some fixes, mainly for amd64 + +* Sun Aug 10 2014 Mauro Carvalho Chehab 0.5.3-1 +- Bump to version 0.5.3 and enable ABRT and ExtLog + +* Sun Jun 08 2014 Fedora Release Engineering - 0.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Apr 03 2014 Mauro Carvalho Chehab 0.5.2-1 +- fix and enable ABRT report support + +* Fri Mar 28 2014 Mauro Carvalho Chehab 0.5.1-1 +- Do some fixes at the service files and add some documentation for --record + +* Sun Feb 16 2014 Mauro Carvalho Chehab 0.5.0-1 +- Add experimental ABRT support + +* Tue Sep 10 2013 Mauro Carvalho Chehab 0.4.2-1 +- Fix ras-mc-ctl layout filling + +* Sun Aug 04 2013 Fedora Release Engineering - 0.4.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 17 2013 Petr Pisar - 0.4.1-4 +- Perl 5.18 rebuild + +* Sun Jun 2 2013 Peter Robinson 0.4.1-3 +- ARM has EDMA drivers (currently supported in Calxeda highbank) + +* Wed May 29 2013 Mauro Carvalho Chehab 0.4.1-2 +- Fix the name of perl-DBD-SQLite package + +* Wed May 29 2013 Mauro Carvalho Chehab 0.4.1-1 +- Updated to version 0.4.1 with contains some bug fixes + +* Tue May 28 2013 Mauro Carvalho Chehab 0.4.0-1 +- Updated to version 0.4.0 and added support for mce, aer and sqlite3 storage + +* Mon May 20 2013 Mauro Carvalho Chehab 0.3.0-1 +- Package created + diff --git a/sources b/sources new file mode 100644 index 0000000..45e925f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (rasdaemon-0.6.7.tar.bz2) = 15beae5d4964c49b7b7f9e731948b5def9622fba5d7d17ce52a282d7834d256366cdf3cf427b82b2a6a8fd0c99f202f545000bdb06064fbae7ae0296aef0946c