2013-05-21 18:53:56 +00:00
|
|
|
Name: rasdaemon
|
2023-02-18 09:12:15 +00:00
|
|
|
Version: 0.8.0
|
2023-07-21 16:32:38 +00:00
|
|
|
Release: 2%{?dist}
|
2013-05-21 18:53:56 +00:00
|
|
|
Summary: Utility to receive RAS error tracings
|
2022-04-01 10:55:20 +00:00
|
|
|
Group: Applications/System
|
2013-05-21 18:53:56 +00:00
|
|
|
License: GPLv2
|
2017-03-14 12:23:12 +00:00
|
|
|
URL: http://git.infradead.org/users/mchehab/rasdaemon.git
|
2023-01-21 07:06:03 +00:00
|
|
|
Source0: http://www.infradead.org/~mchehab/rasdaemon/%{name}-%{version}.tar.bz2
|
2013-06-02 18:06:26 +00:00
|
|
|
|
2014-09-16 12:33:15 +00:00
|
|
|
ExcludeArch: s390 s390x
|
2022-04-01 10:55:20 +00:00
|
|
|
BuildRequires: make
|
2019-08-23 11:45:29 +00:00
|
|
|
BuildRequires: gcc
|
2022-04-01 10:55:20 +00:00
|
|
|
BuildRequires: autoconf automake libtool
|
2014-09-16 12:33:15 +00:00
|
|
|
BuildRequires: gettext-devel
|
2016-06-24 08:24:51 +00:00
|
|
|
BuildRequires: perl-generators
|
2014-09-16 12:33:15 +00:00
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
BuildRequires: systemd
|
2023-02-18 09:12:15 +00:00
|
|
|
BuildRequires: libtraceevent-devel
|
2016-04-15 11:12:15 +00:00
|
|
|
Provides: bundled(kernel-event-lib)
|
2014-09-16 12:33:15 +00:00
|
|
|
Requires: hwdata
|
|
|
|
Requires: perl-DBD-SQLite
|
2023-02-18 09:12:15 +00:00
|
|
|
Requires: libtraceevent
|
2014-09-16 12:33:15 +00:00
|
|
|
%ifarch %{ix86} x86_64
|
2013-06-02 18:06:26 +00:00
|
|
|
Requires: dmidecode
|
|
|
|
%endif
|
|
|
|
|
2014-09-16 12:33:15 +00:00
|
|
|
Requires(post): systemd
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(postun): systemd
|
2013-05-21 18:53:56 +00:00
|
|
|
|
|
|
|
%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
|
2022-04-01 10:55:20 +00:00
|
|
|
autoreconf -vfi
|
2013-05-21 18:53:56 +00:00
|
|
|
|
|
|
|
%build
|
2017-10-14 10:38:55 +00:00
|
|
|
%ifarch %{arm} aarch64
|
2023-01-21 07:18:56 +00:00
|
|
|
%configure --enable-sqlite3 --enable-aer --enable-non-standard --enable-arm \
|
|
|
|
--enable-mce --enable-extlog --enable-devlink --enable-diskerror \
|
|
|
|
--enable-memory-failure --enable-abrt-report --enable-hisi-ns-decode \
|
|
|
|
--enable-memory-ce-pfa --enable-amp-ns-decode --enable-cpu-fault-isolation \
|
|
|
|
--with-sysconfdefdir=%{_sysconfdir}/sysconfig
|
2017-10-14 10:09:33 +00:00
|
|
|
%else
|
2023-01-21 07:18:56 +00:00
|
|
|
%configure --enable-sqlite3 --enable-aer \
|
|
|
|
--enable-mce --enable-extlog --enable-devlink --enable-diskerror \
|
|
|
|
--enable-memory-failure --enable-abrt-report --enable-cpu-fault-isolation \
|
|
|
|
--with-sysconfdefdir=%{_sysconfdir}/sysconfig
|
2017-10-14 10:09:33 +00:00
|
|
|
%endif
|
2013-05-21 18:53:56 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=%{buildroot}
|
2022-04-01 10:55:20 +00:00
|
|
|
install -D -p -m 0644 misc/rasdaemon.service %{buildroot}%{_unitdir}/rasdaemon.service
|
2013-05-21 18:53:56 +00:00
|
|
|
install -D -p -m 0644 misc/ras-mc-ctl.service %{buildroot}%{_unitdir}/ras-mc-ctl.service
|
2022-04-01 10:55:20 +00:00
|
|
|
install -D -p -m 0655 misc/rasdaemon.env %{buildroot}%{_sysconfdir}/sysconfig/%{name}
|
2013-05-21 18:53:56 +00:00
|
|
|
rm INSTALL %{buildroot}/usr/include/*.h
|
|
|
|
|
|
|
|
%files
|
2023-02-18 09:12:15 +00:00
|
|
|
%doc AUTHORS ChangeLog COPYING README.md TODO
|
2013-05-21 18:53:56 +00:00
|
|
|
%{_sbindir}/rasdaemon
|
|
|
|
%{_sbindir}/ras-mc-ctl
|
|
|
|
%{_mandir}/*/*
|
|
|
|
%{_unitdir}/*.service
|
2013-05-29 14:16:46 +00:00
|
|
|
%{_sysconfdir}/ras/dimm_labels.d
|
2022-04-01 10:55:20 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
2013-05-21 18:53:56 +00:00
|
|
|
|
|
|
|
%changelog
|
2023-07-21 16:32:38 +00:00
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-02-18 09:12:15 +00:00
|
|
|
|
|
|
|
* Sat Feb 18 2023 Mauro Carvalho Chehab <mchehab@kernel.org> 0.8.0
|
|
|
|
- Bump to version 0.8.0 using libtraceevent.
|
|
|
|
|
2023-01-21 07:06:03 +00:00
|
|
|
* Sat Jan 21 2023 Mauro Carvalho Chehab <mchehab@kernel.org> 0.7.0
|
|
|
|
- Bump to version 0.7.0 with several fixes and additions
|
|
|
|
|
2023-01-20 19:28:14 +00:00
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.8-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-23 00:30:32 +00:00
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2023-01-21 07:06:03 +00:00
|
|
|
* Fri Apr 01 2022 Mauro Carvalho Chehab <mchehab@kernel.org> 0.6.8-1
|
2022-04-01 10:55:20 +00:00
|
|
|
- Fix sysconfdir issues and upgrade to version 0.6.8
|
|
|
|
|
2022-01-21 17:31:56 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-23 11:10:52 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-05-26 08:40:23 +00:00
|
|
|
* Wed May 26 2021 Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 0.6.7-1
|
|
|
|
- Bump to version 0.6.7 with several fixes and additions
|
|
|
|
|
2021-01-27 15:03:41 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-29 05:30:19 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-30 17:19:40 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-10-10 17:54:55 +00:00
|
|
|
* Thu Oct 10 2019 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 0.6.4-1
|
|
|
|
- Bump to version 0.6.4 with some DB changes for hip08 and some fixes
|
|
|
|
|
2019-08-23 11:45:29 +00:00
|
|
|
* Fri Aug 23 2019 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 0.6.3-1
|
|
|
|
- Bump to version 0.6.3 with new ARM events, plus disk I/O and netlink support
|
|
|
|
|
2019-07-26 18:14:12 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-02 11:05:46 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-08-14 17:36:24 +00:00
|
|
|
* Tue Aug 14 2018 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 0.6.2-1
|
|
|
|
- Bump to version 0.6.2 with improvements for PCIe AER parsing and at ras-mc-ctl tool
|
|
|
|
|
2018-07-14 03:22:51 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-04-25 10:43:53 +00:00
|
|
|
* Wed Apr 25 2018 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 0.6.1-1
|
|
|
|
- Bump to version 0.6.1 adding support for Skylake Xeon MSCOD, a bug fix and some new DELL labels
|
|
|
|
|
2018-02-09 12:46:11 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-10-14 10:09:33 +00:00
|
|
|
* Sat Oct 14 2017 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.6.0-1
|
|
|
|
- Bump to version 0.6.0 adding support for Arm and Hisilicon events and update Dell Skylate labels
|
|
|
|
|
2017-08-03 07:32:59 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.8-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 12:56:47 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.8-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 11:32:40 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.8-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-04-15 11:31:52 +00:00
|
|
|
* Fri Apr 15 2016 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.5.8-3
|
2016-04-15 11:12:15 +00:00
|
|
|
- Add a virtual provide, per BZ#104132
|
|
|
|
|
2016-04-15 11:31:52 +00:00
|
|
|
* Fri Apr 15 2016 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.5.8-2
|
2016-04-15 10:24:40 +00:00
|
|
|
- Bump to version 0.5.8 with support for Broadwell EP/EX MSCOD/DE MSCOD
|
|
|
|
|
2016-02-04 21:58:11 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-07-03 10:43:05 +00:00
|
|
|
* Fri Jul 03 2015 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.5.6-1
|
|
|
|
- Bump to version 0.5.6 with support for LMCE and some fixes
|
|
|
|
|
2015-06-18 22:05:47 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-03 14:13:11 +00:00
|
|
|
* Wed Jun 03 2015 Mauro Carvalho Chehab <mchehab@osg.samsung.com> 0.5.5-1
|
|
|
|
- Bump to version 0.5.5 with support for newer Intel platforms & some fixes
|
|
|
|
|
2014-09-16 12:33:15 +00:00
|
|
|
* Tue Sep 16 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.5.4-3
|
|
|
|
- aarch64/ppc64 have edac capabilities
|
|
|
|
- spec cleanups
|
|
|
|
- No need to run autoreconf
|
|
|
|
|
2014-08-17 23:27:32 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-08-15 22:28:44 +00:00
|
|
|
* Fri Aug 15 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.4-1
|
|
|
|
- Bump to version 0.5.4 with some fixes, mainly for amd64
|
|
|
|
|
2014-08-10 16:13:57 +00:00
|
|
|
* Sun Aug 10 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.3-1
|
|
|
|
- Bump to version 0.5.3 and enable ABRT and ExtLog
|
|
|
|
|
2014-06-08 01:54:18 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-08-10 16:13:57 +00:00
|
|
|
* Thu Apr 03 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.2-1
|
2014-04-03 14:47:17 +00:00
|
|
|
- fix and enable ABRT report support
|
|
|
|
|
2014-03-28 22:17:23 +00:00
|
|
|
* Fri Mar 28 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.1-1
|
|
|
|
- Do some fixes at the service files and add some documentation for --record
|
|
|
|
|
2014-02-16 11:11:01 +00:00
|
|
|
* Sun Feb 16 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.5.0-1
|
2014-02-16 11:08:31 +00:00
|
|
|
- Add experimental ABRT support
|
|
|
|
|
2013-09-10 16:37:40 +00:00
|
|
|
* Tue Sep 10 2013 Mauro Carvalho Chehab <m.chehab@samsung.com> 0.4.2-1
|
|
|
|
- Fix ras-mc-ctl layout filling
|
2019-08-23 11:45:29 +00:00
|
|
|
|
2013-08-04 12:06:48 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-17 09:07:52 +00:00
|
|
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.4.1-4
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-06-02 18:06:26 +00:00
|
|
|
* Sun Jun 2 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.4.1-3
|
|
|
|
- ARM has EDMA drivers (currently supported in Calxeda highbank)
|
|
|
|
|
2013-09-10 16:37:40 +00:00
|
|
|
* Wed May 29 2013 Mauro Carvalho Chehab <mchehab@redhat.com> 0.4.1-2
|
2013-05-29 18:42:16 +00:00
|
|
|
- Fix the name of perl-DBD-SQLite package
|
2019-08-23 11:45:29 +00:00
|
|
|
|
2013-09-10 16:37:40 +00:00
|
|
|
* Wed May 29 2013 Mauro Carvalho Chehab <mchehab@redhat.com> 0.4.1-1
|
2013-05-29 14:16:46 +00:00
|
|
|
- Updated to version 0.4.1 with contains some bug fixes
|
|
|
|
|
2013-09-10 16:37:40 +00:00
|
|
|
* Tue May 28 2013 Mauro Carvalho Chehab <mchehab@redhat.com> 0.4.0-1
|
2013-05-28 18:35:23 +00:00
|
|
|
- Updated to version 0.4.0 and added support for mce, aer and sqlite3 storage
|
|
|
|
|
2013-05-21 18:53:56 +00:00
|
|
|
* Mon May 20 2013 Mauro Carvalho Chehab <mchehab@redhat.com> 0.3.0-1
|
|
|
|
- Package created
|