|
|
88bed8 |
Name: rasdaemon
|
|
|
88bed8 |
Version: 0.6.1
|
|
|
394513 |
Release: 12%{?dist}
|
|
|
88bed8 |
Summary: Utility to receive RAS error tracings
|
|
|
88bed8 |
Group: Applications/System
|
|
|
88bed8 |
License: GPLv2
|
|
|
88bed8 |
URL: http://git.infradead.org/users/mchehab/rasdaemon.git
|
|
|
88bed8 |
Source0: http://www.infradead.org/~mchehab/rasdaemon/%{name}-%{version}.tar.bz2
|
|
|
88bed8 |
|
|
|
88bed8 |
ExcludeArch: s390 s390x
|
|
|
88bed8 |
BuildRequires: gettext-devel
|
|
|
88bed8 |
BuildRequires: perl-generators
|
|
|
88bed8 |
BuildRequires: sqlite-devel
|
|
|
88bed8 |
BuildRequires: systemd
|
|
|
394513 |
BuildRequires: libtool
|
|
|
88bed8 |
Provides: bundled(kernel-event-lib)
|
|
|
88bed8 |
Requires: hwdata
|
|
|
88bed8 |
Requires: perl-DBD-SQLite
|
|
|
88bed8 |
%ifarch %{ix86} x86_64
|
|
|
88bed8 |
Requires: dmidecode
|
|
|
88bed8 |
%endif
|
|
|
88bed8 |
|
|
|
88bed8 |
Requires(post): systemd
|
|
|
88bed8 |
Requires(preun): systemd
|
|
|
88bed8 |
Requires(postun): systemd
|
|
|
88bed8 |
|
|
|
88bed8 |
Patch1: 60a91e4da4f2daf2b10143fc148a8043312b61e5.patch
|
|
|
7ea41b |
Patch2: a16ca0711001957ee98f2c124abce0fa1f801529.patch
|
|
|
8b31a8 |
Patch3: add_upstream_labels.patch
|
|
|
8b31a8 |
Patch4: b22be68453b2497e86cbd273b9cd56fadc5859e3.patch
|
|
|
1587ab |
Patch5: 2a1d217660351c08eb2f8bccebf939abba2f7e69.patch
|
|
|
1587ab |
Patch6: 8704a85d8dc3483423ec2934fee8132f85f8fdb6.patch
|
|
|
1587ab |
Patch7: cc2ce5c65ed5a42eaa97aa3659854add6d808da5.patch
|
|
|
1587ab |
Patch8: 854364ba44aee9bc5646f6537fc744b0b54aff37.patch
|
|
|
df8b6a |
Patch9: 9acef39f13833f7d53ef96abc5a72e79384260f4.patch
|
|
|
df8b6a |
Patch10: 28ea956acc2dab7c18b4701f9657afb9ab3ddc79.patch
|
|
|
df8b6a |
Patch11: aecf33aa70331670c06db6b652712b476e24051c.patch
|
|
|
df8b6a |
Patch12: 7937f0d6c2aaaed096f3a3d306416743c0dcb7a4.patch
|
|
|
df8b6a |
Patch13: rasdaemon-ras-mc-ctl-Fix-script-to-parse-dimm-sizes.patch
|
|
|
394513 |
Patch14: 0862a096c3a1d0f993703ab3299f1ddfadf53d7f.patch
|
|
|
394513 |
Patch15: 546cf713f667437fb6e283cc3dc090679eb47d08.patch
|
|
|
394513 |
Patch16: 2290d65b97311dd5736838f1e285355f7f357046.patch
|
|
|
394513 |
Patch17: 16d929b024c31d54a7f8a72eab094376c7be27f5.patch
|
|
|
394513 |
Patch18: b497a3d6a39d402c41065e9284d49114b97e3bfe.patch
|
|
|
394513 |
Patch19: ce6e7864f11f709c4f803828fbc8e507d115d03b.patch
|
|
|
394513 |
Patch20: a8c776ed94f68ae31d7b5f74e19545698898c13c.patch
|
|
|
88bed8 |
|
|
|
88bed8 |
%description
|
|
|
88bed8 |
%{name} is a RAS (Reliability, Availability and Serviceability) logging tool.
|
|
|
88bed8 |
It currently records memory errors, using the EDAC tracing events.
|
|
|
88bed8 |
EDAC is drivers in the Linux kernel that handle detection of ECC errors
|
|
|
88bed8 |
from memory controllers for most chipsets on i386 and x86_64 architectures.
|
|
|
88bed8 |
EDAC drivers for other architectures like arm also exists.
|
|
|
88bed8 |
This userspace component consists of an init script which makes sure
|
|
|
88bed8 |
EDAC drivers and DIMM labels are loaded at system startup, as well as
|
|
|
88bed8 |
an utility for reporting current error counts from the EDAC sysfs files.
|
|
|
88bed8 |
|
|
|
88bed8 |
%prep
|
|
|
88bed8 |
%setup -q
|
|
|
7ea41b |
%patch1 -p1
|
|
|
7ea41b |
%patch2 -p1
|
|
|
8b31a8 |
%patch3 -p1
|
|
|
8b31a8 |
%patch4 -p1
|
|
|
1587ab |
%patch5 -p1
|
|
|
1587ab |
%patch6 -p1
|
|
|
1587ab |
%patch7 -p1
|
|
|
1587ab |
%patch8 -p1
|
|
|
df8b6a |
%patch9 -p1
|
|
|
df8b6a |
%patch10 -p1
|
|
|
df8b6a |
%patch11 -p1
|
|
|
df8b6a |
%patch12 -p1
|
|
|
df8b6a |
%patch13 -p1
|
|
|
394513 |
%patch14 -p1
|
|
|
394513 |
%patch15 -p1
|
|
|
394513 |
%patch16 -p1
|
|
|
394513 |
%patch17 -p1
|
|
|
394513 |
%patch18 -p1
|
|
|
394513 |
%patch19 -p1
|
|
|
394513 |
%patch20 -p1
|
|
|
394513 |
|
|
|
394513 |
# The tarball is locked in time the first time aclocal was ran and will keep
|
|
|
394513 |
# requiring an older version of automake
|
|
|
394513 |
autoreconf -vfi
|
|
|
88bed8 |
|
|
|
88bed8 |
%build
|
|
|
88bed8 |
%ifarch %{arm} aarch64
|
|
|
7d21a4 |
%configure --enable-aer --enable-sqlite3 --enable-abrt-report --enable-non-standard --enable-hisi-ns-decode --enable-arm
|
|
|
88bed8 |
%else
|
|
|
394513 |
%configure --enable-mce --enable-aer --enable-sqlite3 --enable-extlog --enable-abrt-report --enable-memory-failure
|
|
|
88bed8 |
%endif
|
|
|
88bed8 |
make %{?_smp_mflags}
|
|
|
88bed8 |
|
|
|
88bed8 |
%install
|
|
|
88bed8 |
make install DESTDIR=%{buildroot}
|
|
|
88bed8 |
install -D -p -m 0644 misc/rasdaemon.service %{buildroot}/%{_unitdir}/rasdaemon.service
|
|
|
88bed8 |
install -D -p -m 0644 misc/ras-mc-ctl.service %{buildroot}%{_unitdir}/ras-mc-ctl.service
|
|
|
8b31a8 |
install -D -p -m 0655 labels/* %{buildroot}%{_sysconfdir}/ras/dimm_labels.d
|
|
|
88bed8 |
rm INSTALL %{buildroot}/usr/include/*.h
|
|
|
88bed8 |
|
|
|
88bed8 |
%files
|
|
|
88bed8 |
%doc AUTHORS ChangeLog COPYING README TODO
|
|
|
88bed8 |
%{_sbindir}/rasdaemon
|
|
|
88bed8 |
%{_sbindir}/ras-mc-ctl
|
|
|
88bed8 |
%{_mandir}/*/*
|
|
|
88bed8 |
%{_unitdir}/*.service
|
|
|
88bed8 |
%{_sharedstatedir}/rasdaemon
|
|
|
88bed8 |
%{_sysconfdir}/ras/dimm_labels.d
|
|
|
88bed8 |
|
|
|
88bed8 |
%changelog
|
|
|
394513 |
* Tue Oct 12 2021 Aristeu Rozanski <aris@redhat.com> 0.6.1-12
|
|
|
394513 |
- Adding missing bits from b497a3d6a39d402c41065e9284d49114b97e3bfe [1923254]
|
|
|
394513 |
|
|
|
394513 |
* Tue Oct 12 2021 Aristeu Rozanski <aris@redhat.com> 0.6.1-11
|
|
|
394513 |
- Removed bits from devlink and diskerrors that aren't used yet [1923254]
|
|
|
394513 |
|
|
|
394513 |
* Tue Oct 12 2021 Aristeu Rozanski <aris@redhat.com> 0.6.1-10
|
|
|
394513 |
- Add miscellaneous patches required by customer [1923254]
|
|
|
394513 |
|
|
|
394513 |
* Wed Oct 06 2021 Aristeu Rozanski <aris@redhat.com> 0.6.1-9
|
|
|
394513 |
- Prevent ras-mc-ctl trying to access extlog and mce tables if rasdaemon was built without support for them [2011404]
|
|
|
394513 |
|
|
|
7d21a4 |
* Thu Aug 26 2021 Aristeu Rozanski <aris@redhat.com> 0.6.1-8
|
|
|
7d21a4 |
- Disable MCE and extlog in arm packages [2009499]
|
|
|
7d21a4 |
|
|
|
df8b6a |
* Thu Aug 26 2021 Aristeu Rozanski <aris@redhat.com> 0.6.1-7
|
|
|
df8b6a |
- Add support for AMD SMCA banks for family 19 [1991955]
|
|
|
df8b6a |
|
|
|
df8b6a |
* Wed May 26 2021 Aristeu Rozanski <aris@redhat.com> 0.6.1-6
|
|
|
df8b6a |
- Add support for AMD SMCA [1965011]
|
|
|
1587ab |
|
|
|
8b31a8 |
* Wed Apr 08 2020 Aristeu Rozanski <aris@redhat.com> 0.6.1-5
|
|
|
8b31a8 |
- Fix high CPU usage when CPUs are offline [1683420]
|
|
|
8b31a8 |
|
|
|
8b31a8 |
* Wed Apr 08 2020 Aristeu Rozanski <aris@redhat.com> 0.6.1-4
|
|
|
8b31a8 |
- Include upstream labels [1665418]
|
|
|
8b31a8 |
|
|
|
7ea41b |
* Thu Jul 11 2019 Aristeu Rozanski <aris@redhat.com> 0.6.1-3
|
|
|
7ea41b |
- Add support for AMD scalable MCA [1725488]
|
|
|
7ea41b |
|
|
|
88bed8 |
* Mon Aug 20 2018 Aristeu Rozanski <aris@redhat.com> 0.6.1-2
|
|
|
88bed8 |
- Add support for error count display [1573685]
|
|
|
88bed8 |
|
|
|
88bed8 |
* Wed Apr 25 2018 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 0.6.1-1
|
|
|
88bed8 |
- Bump to version 0.6.1 adding support for Skylake Xeon MSCOD, a bug fix and some new DELL labels
|
|
|
88bed8 |
|
|
|
88bed8 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
|
|
|
88bed8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
88bed8 |
|
|
|
88bed8 |
* Sat Oct 14 2017 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.6.0-1
|
|
|
88bed8 |
- Bump to version 0.6.0 adding support for Arm and Hisilicon events and update Dell Skylate labels
|
|
|
88bed8 |
|
|
|
88bed8 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.8-6
|
|
|
88bed8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
88bed8 |
|
|
|
88bed8 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.8-5
|
|
|
88bed8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
88bed8 |
|
|
|
88bed8 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.8-4
|
|
|
88bed8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
88bed8 |
|
|
|
88bed8 |
* Fri Apr 15 2016 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.5.8-3
|
|
|
88bed8 |
- Add a virtual provide, per BZ#104132
|
|
|
88bed8 |
|
|
|
88bed8 |
* Fri Apr 15 2016 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.5.8-2
|
|
|
88bed8 |
- Bump to version 0.5.8 with support for Broadwell EP/EX MSCOD/DE MSCOD
|
|
|
88bed8 |
|
|
|
88bed8 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-2
|
|
|
88bed8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
88bed8 |
|
|
|
88bed8 |
* Fri Jul 03 2015 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.5.6-1
|
|
|
88bed8 |
- Bump to version 0.5.6 with support for LMCE and some fixes
|
|
|
88bed8 |
|
|
|
88bed8 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.5-2
|
|
|
88bed8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
88bed8 |
|
|
|
88bed8 |
* Wed Jun 03 2015 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.5.5-1
|
|
|
88bed8 |
- Bump to version 0.5.5 with support for newer Intel platforms & some fixes
|
|
|
88bed8 |
|
|
|
88bed8 |
* Tue Sep 16 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.5.4-3
|
|
|
88bed8 |
- aarch64/ppc64 have edac capabilities
|
|
|
88bed8 |
- spec cleanups
|
|
|
88bed8 |
- No need to run autoreconf
|
|
|
88bed8 |
|
|
|
88bed8 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-2
|
|
|
88bed8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
88bed8 |
|
|
|
88bed8 |
* Fri Aug 15 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.4-1
|
|
|
88bed8 |
- Bump to version 0.5.4 with some fixes, mainly for amd64
|
|
|
88bed8 |
|
|
|
88bed8 |
* Sun Aug 10 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.3-1
|
|
|
88bed8 |
- Bump to version 0.5.3 and enable ABRT and ExtLog
|
|
|
88bed8 |
|
|
|
88bed8 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
|
|
|
88bed8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
88bed8 |
|
|
|
88bed8 |
* Thu Apr 03 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.2-1
|
|
|
88bed8 |
- fix and enable ABRT report support
|
|
|
88bed8 |
|
|
|
88bed8 |
* Fri Mar 28 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.1-1
|
|
|
88bed8 |
- Do some fixes at the service files and add some documentation for --record
|
|
|
88bed8 |
|
|
|
88bed8 |
* Sun Feb 16 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.0-1
|
|
|
88bed8 |
- Add experimental ABRT support
|
|
|
88bed8 |
|
|
|
88bed8 |
* Tue Sep 10 2013 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.4.2-1
|
|
|
88bed8 |
- Fix ras-mc-ctl layout filling
|
|
|
88bed8 |
|
|
|
88bed8 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-5
|
|
|
88bed8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
88bed8 |
|
|
|
88bed8 |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.4.1-4
|
|
|
88bed8 |
- Perl 5.18 rebuild
|
|
|
88bed8 |
|
|
|
88bed8 |
* Sun Jun 2 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.4.1-3
|
|
|
88bed8 |
- ARM has EDMA drivers (currently supported in Calxeda highbank)
|
|
|
88bed8 |
|
|
|
88bed8 |
* Wed May 29 2013 Mauro Carvalho Chehab <mchehab@redhat.com> 0.4.1-2
|
|
|
88bed8 |
- Fix the name of perl-DBD-SQLite package
|
|
|
88bed8 |
|
|
|
88bed8 |
* Wed May 29 2013 Mauro Carvalho Chehab <mchehab@redhat.com> 0.4.1-1
|
|
|
88bed8 |
- Updated to version 0.4.1 with contains some bug fixes
|
|
|
88bed8 |
|
|
|
88bed8 |
* Tue May 28 2013 Mauro Carvalho Chehab <mchehab@redhat.com> 0.4.0-1
|
|
|
88bed8 |
- Updated to version 0.4.0 and added support for mce, aer and sqlite3 storage
|
|
|
88bed8 |
|
|
|
88bed8 |
* Mon May 20 2013 Mauro Carvalho Chehab <mchehab@redhat.com> 0.3.0-1
|
|
|
88bed8 |
- Package created
|