|
David Johansen |
cc1666 |
Name: rasdaemon
|
|
David Johansen |
cc1666 |
Version: 0.6.6
|
|
David Johansen |
97bbe1 |
Release: 2%{?dist}
|
|
David Johansen |
cc1666 |
Summary: Utility to receive RAS error tracings
|
|
David Johansen |
cc1666 |
License: GPLv2
|
|
David Johansen |
cc1666 |
URL: http://git.infradead.org/users/mchehab/rasdaemon.git
|
|
David Johansen |
cc1666 |
Source0: http://www.infradead.org/~mchehab/rasdaemon/%{name}-%{version}.tar.bz2
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
ExcludeArch: s390 s390x
|
|
David Johansen |
cc1666 |
BuildRequires: make
|
|
David Johansen |
cc1666 |
BuildRequires: gcc
|
|
David Johansen |
cc1666 |
BuildRequires: gettext-devel
|
|
David Johansen |
cc1666 |
BuildRequires: perl-generators
|
|
David Johansen |
cc1666 |
BuildRequires: sqlite-devel
|
|
David Johansen |
cc1666 |
BuildRequires: systemd
|
|
David Johansen |
cc1666 |
Provides: bundled(kernel-event-lib)
|
|
David Johansen |
cc1666 |
Requires: hwdata
|
|
David Johansen |
cc1666 |
Requires: perl-DBD-SQLite
|
|
David Johansen |
cc1666 |
%ifarch %{ix86} x86_64
|
|
David Johansen |
cc1666 |
Requires: dmidecode
|
|
David Johansen |
cc1666 |
%endif
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
Requires(post): systemd
|
|
David Johansen |
cc1666 |
Requires(preun): systemd
|
|
David Johansen |
cc1666 |
Requires(postun): systemd
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
447ac5 |
# twitter patches
|
|
David Johansen |
447ac5 |
Patch1: d98326e8b6b2ac65ca64b1c7a71ba019232d3a7b.patch
|
|
David Johansen |
447ac5 |
Patch2: 5d00690583860313916825ce891a7b0d8005a0f9.patch
|
|
David Johansen |
447ac5 |
# PCIe display fix
|
|
David Johansen |
447ac5 |
Patch3: 0862a096c3a1d0f993703ab3299f1ddfadf53d7f.patch
|
|
David Johansen |
447ac5 |
Patch4: 059a901e97f4091e31c50ce55027daf707638f8d.patch
|
|
David Johansen |
447ac5 |
# Page offlining patches
|
|
David Johansen |
447ac5 |
Patch5: e4d27840e173491ab29c2d97017da9344e2c2526.patch
|
|
David Johansen |
447ac5 |
Patch6: c329012ce4b44af08217f2a8f2b3b9b1b4b1c0d3.patch
|
|
David Johansen |
447ac5 |
# Ras-mc-ctl fixes
|
|
David Johansen |
447ac5 |
Patch7: 546cf713f667437fb6e283cc3dc090679eb47d08.patch
|
|
David Johansen |
45192c |
|
|
David Johansen |
cc1666 |
%description
|
|
David Johansen |
cc1666 |
%{name} is a RAS (Reliability, Availability and Serviceability) logging tool.
|
|
David Johansen |
cc1666 |
It currently records memory errors, using the EDAC tracing events.
|
|
David Johansen |
cc1666 |
EDAC is drivers in the Linux kernel that handle detection of ECC errors
|
|
David Johansen |
cc1666 |
from memory controllers for most chipsets on i386 and x86_64 architectures.
|
|
David Johansen |
cc1666 |
EDAC drivers for other architectures like arm also exists.
|
|
David Johansen |
cc1666 |
This userspace component consists of an init script which makes sure
|
|
David Johansen |
cc1666 |
EDAC drivers and DIMM labels are loaded at system startup, as well as
|
|
David Johansen |
cc1666 |
an utility for reporting current error counts from the EDAC sysfs files.
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
%prep
|
|
David Johansen |
cc1666 |
%setup -q
|
|
David Johansen |
45192c |
%patch1 -p1
|
|
David Johansen |
45192c |
%patch2 -p1
|
|
David Johansen |
45192c |
%patch3 -p1
|
|
David Johansen |
45192c |
%patch4 -p1
|
|
David Johansen |
45192c |
%patch5 -p1
|
|
David Johansen |
140294 |
%patch6 -p1
|
|
David Johansen |
140294 |
%patch7 -p1
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
%build
|
|
David Johansen |
cc1666 |
%ifarch %{arm} aarch64
|
|
David Johansen |
cc1666 |
%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
|
|
David Johansen |
cc1666 |
%else
|
|
David Johansen |
447ac5 |
%configure --enable-sqlite3 --enable-aer --enable-mce --enable-extlog --enable-devlink --enable-diskerror --enable-abrt-report --enable-memory-ce-pfa
|
|
David Johansen |
cc1666 |
%endif
|
|
David Johansen |
cc1666 |
make %{?_smp_mflags}
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
%install
|
|
David Johansen |
cc1666 |
make install DESTDIR=%{buildroot}
|
|
David Johansen |
cc1666 |
install -D -p -m 0644 misc/rasdaemon.service %{buildroot}/%{_unitdir}/rasdaemon.service
|
|
David Johansen |
cc1666 |
install -D -p -m 0644 misc/ras-mc-ctl.service %{buildroot}%{_unitdir}/ras-mc-ctl.service
|
|
David Johansen |
cc1666 |
rm INSTALL %{buildroot}/usr/include/*.h
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
%files
|
|
David Johansen |
cc1666 |
%doc AUTHORS ChangeLog COPYING README TODO
|
|
David Johansen |
cc1666 |
%{_sbindir}/rasdaemon
|
|
David Johansen |
cc1666 |
%{_sbindir}/ras-mc-ctl
|
|
David Johansen |
cc1666 |
%{_mandir}/*/*
|
|
David Johansen |
cc1666 |
%{_unitdir}/*.service
|
|
David Johansen |
cc1666 |
%{_sharedstatedir}/rasdaemon
|
|
David Johansen |
cc1666 |
%{_sysconfdir}/ras/dimm_labels.d
|
|
David Johansen |
0073e8 |
%ifnarch %{arm} aarch64
|
|
David Johansen |
447ac5 |
%{_sysconfdir}/sysconfig/rasdaemon
|
|
David Johansen |
0073e8 |
%endif
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
%changelog
|
|
David Johansen |
97bbe1 |
* Thu Apr 01 2021 David Johansen <david@makewhat.is> - 0.6.6-2
|
|
David Johansen |
97bbe1 |
- Include later patches for ras-mc-ctl fixes
|
|
David Johansen |
97bbe1 |
|
|
David Johansen |
447ac5 |
* Fri Feb 26 2021 David Johansen <david@makewhat.is> - 0.6.6-1
|
|
David Johansen |
45192c |
- Bump to version 0.6.6 and include patches for ras-mc-ctl fixes
|
|
David Johansen |
447ac5 |
- Include patches for page-offlining fixes
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-4
|
|
David Johansen |
cc1666 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-3
|
|
David Johansen |
cc1666 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-2
|
|
David Johansen |
cc1666 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Thu Oct 10 2019 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 0.6.4-1
|
|
David Johansen |
cc1666 |
- Bump to version 0.6.4 with some DB changes for hip08 and some fixes
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Fri Aug 23 2019 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 0.6.3-1
|
|
David Johansen |
cc1666 |
- Bump to version 0.6.3 with new ARM events, plus disk I/O and netlink support
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-3
|
|
David Johansen |
cc1666 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-2
|
|
David Johansen |
cc1666 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Tue Aug 14 2018 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 0.6.2-1
|
|
David Johansen |
cc1666 |
- Bump to version 0.6.2 with improvements for PCIe AER parsing and at ras-mc-ctl tool
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
|
|
David Johansen |
cc1666 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Wed Apr 25 2018 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 0.6.1-1
|
|
David Johansen |
cc1666 |
- Bump to version 0.6.1 adding support for Skylake Xeon MSCOD, a bug fix and some new DELL labels
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
|
|
David Johansen |
cc1666 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Sat Oct 14 2017 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.6.0-1
|
|
David Johansen |
cc1666 |
- Bump to version 0.6.0 adding support for Arm and Hisilicon events and update Dell Skylate labels
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.8-6
|
|
David Johansen |
cc1666 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.8-5
|
|
David Johansen |
cc1666 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.8-4
|
|
David Johansen |
cc1666 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Fri Apr 15 2016 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.5.8-3
|
|
David Johansen |
cc1666 |
- Add a virtual provide, per BZ#104132
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Fri Apr 15 2016 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.5.8-2
|
|
David Johansen |
cc1666 |
- Bump to version 0.5.8 with support for Broadwell EP/EX MSCOD/DE MSCOD
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-2
|
|
David Johansen |
cc1666 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Fri Jul 03 2015 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.5.6-1
|
|
David Johansen |
cc1666 |
- Bump to version 0.5.6 with support for LMCE and some fixes
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.5-2
|
|
David Johansen |
cc1666 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Wed Jun 03 2015 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.5.5-1
|
|
David Johansen |
cc1666 |
- Bump to version 0.5.5 with support for newer Intel platforms & some fixes
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Tue Sep 16 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.5.4-3
|
|
David Johansen |
cc1666 |
- aarch64/ppc64 have edac capabilities
|
|
David Johansen |
cc1666 |
- spec cleanups
|
|
David Johansen |
cc1666 |
- No need to run autoreconf
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-2
|
|
David Johansen |
cc1666 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Fri Aug 15 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.4-1
|
|
David Johansen |
cc1666 |
- Bump to version 0.5.4 with some fixes, mainly for amd64
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Sun Aug 10 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.3-1
|
|
David Johansen |
cc1666 |
- Bump to version 0.5.3 and enable ABRT and ExtLog
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
|
|
David Johansen |
cc1666 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Thu Apr 03 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.2-1
|
|
David Johansen |
cc1666 |
- fix and enable ABRT report support
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Fri Mar 28 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.1-1
|
|
David Johansen |
cc1666 |
- Do some fixes at the service files and add some documentation for --record
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Sun Feb 16 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.0-1
|
|
David Johansen |
cc1666 |
- Add experimental ABRT support
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Tue Sep 10 2013 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.4.2-1
|
|
David Johansen |
cc1666 |
- Fix ras-mc-ctl layout filling
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-5
|
|
David Johansen |
cc1666 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.4.1-4
|
|
David Johansen |
cc1666 |
- Perl 5.18 rebuild
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Sun Jun 2 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.4.1-3
|
|
David Johansen |
cc1666 |
- ARM has EDMA drivers (currently supported in Calxeda highbank)
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Wed May 29 2013 Mauro Carvalho Chehab <mchehab@redhat.com> 0.4.1-2
|
|
David Johansen |
cc1666 |
- Fix the name of perl-DBD-SQLite package
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Wed May 29 2013 Mauro Carvalho Chehab <mchehab@redhat.com> 0.4.1-1
|
|
David Johansen |
cc1666 |
- Updated to version 0.4.1 with contains some bug fixes
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Tue May 28 2013 Mauro Carvalho Chehab <mchehab@redhat.com> 0.4.0-1
|
|
David Johansen |
cc1666 |
- Updated to version 0.4.0 and added support for mce, aer and sqlite3 storage
|
|
David Johansen |
cc1666 |
|
|
David Johansen |
cc1666 |
* Mon May 20 2013 Mauro Carvalho Chehab <mchehab@redhat.com> 0.3.0-1
|
|
David Johansen |
cc1666 |
- Package created
|
|
David Johansen |
cc1666 |
|