SHA256
1
0
forked from pool/rasdaemon

8 Commits

Author SHA256 Message Date
0cd427ab60 Accepting request 1327377 from hardware
OBS-URL: https://build.opensuse.org/request/show/1327377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rasdaemon?expand=0&rev=27
2026-01-15 15:48:44 +00:00
9026e4cf57 - do not use enable-all. it enables signal mode which causes errors
as the needed columns are not created in the table.

- Update to version 0.8.4+git11.485d0a6:

OBS-URL: https://build.opensuse.org/package/show/hardware/rasdaemon?expand=0&rev=58
2026-01-15 12:18:22 +00:00
2327b5f2c7 Accepting request 1273990 from hardware
OBS-URL: https://build.opensuse.org/request/show/1273990
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rasdaemon?expand=0&rev=26
2025-05-02 13:01:28 +00:00
090178cdd8 - Avoid daemon start-up delays by checking whether events are accessible
in sysfs before adding event handlers (bsc#1241567)
A rasdaemon-skip-doesn-t-exist-event.patch

OBS-URL: https://build.opensuse.org/package/show/hardware/rasdaemon?expand=0&rev=56
2025-05-02 10:11:49 +00:00
012a75d86d Accepting request 1273064 from hardware
OBS-URL: https://build.opensuse.org/request/show/1273064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rasdaemon?expand=0&rev=25
2025-04-28 14:17:58 +00:00
716f6c6a6e - Fix early bufferoverflow in event initialization (bsc#1241567)
A Fix-buffer-overflow-in-add_event_handler-read.patch

OBS-URL: https://build.opensuse.org/package/show/hardware/rasdaemon?expand=0&rev=54
2025-04-28 09:56:30 +00:00
59958475d2 Accepting request 1269985 from hardware
OBS-URL: https://build.opensuse.org/request/show/1269985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rasdaemon?expand=0&rev=24
2025-04-16 18:42:36 +00:00
62aac30cec - CXL device support (bsc#1241023, jsc#PED-12657)
- Update to version 0.8.3.0.git+db0870e:
  * ras-diskerror-handler.h: fix checkpatch warnings
  * Use the right dev_t decoding for diskerror handler
  * rasdaemon: Add new modules supported by HiSilicon common section
  * rasdaemon: ras-mc-ctl: Update logging of CXL memory module data to align with CXL spec rev 3.1
  * rasdaemon: ras-mc-ctl: Update logging of CXL DRAM event data to align with CXL spec rev 3.1
  * rasdaemon: ras-mc-ctl: Update logging of CXL general media event data to align with CXL spec rev 3.1
  * rasdaemon: ras-mc-ctl: Update logging of common event data to align with CXL spec rev 3.1
  * rasdaemon: ras-mc-ctl: Fix logging of memory event type in CXL DRAM error table
  * rasdaemon: cxl: Update memory module event to CXL spec rev 3.1
  * rasdaemon: cxl: Update CXL DRAM event to CXL spec rev 3.1
  * rasdaemon: cxl: Update CXL general media event to CXL spec rev 3.1
  * rasdaemon: cxl: Add Component Identifier formatting for CXL spec rev 3.1
  * rasdaemon: cxl: Update common event to CXL spec rev 3.1
  * rasdaemon: cxl: Add automatic indexing for storing CXL fields in SQLite database
  * rasdaemon: cxl: Fix mismatch in region field's name with kernel DRAM trace event
  * rasdaemon: cxl: Fix logging of memory event type of DRAM trace event
  * rasdaemon: Fix for parsing error when trace event's format file is larger than PAGE_SIZE
  * rasdaemon: Add page offline support for cxl memory
  * Add labels for ASRock X370 Taichi
  * Add labels for ASRock X570 Creator
  * Add labels for ASRock X570S PG Riptide
  * rasdaemon: mce: decode io port for bus error
  * rasdaemon: arm: do not print error msg if field not found
  * rasdaemon: add DE error type for AMD
  * rasdaemon: Fix the display format of JaguarMicro vendor no standard errors
  * rasdaemon: bump to version 0.8.2
  * ras-page-isolation.h: remove extra parenthesis
  * rasdaemon: check if sscanf() processed all arguments on dev_name

OBS-URL: https://build.opensuse.org/package/show/hardware/rasdaemon?expand=0&rev=52
2025-04-16 11:29:01 +00:00
7 changed files with 248 additions and 14 deletions

View File

@@ -1,14 +1,14 @@
<services>
<service name="obs_scm" mode="localonly">
<service name="obs_scm" mode="manual">
<param name="url">git://git.infradead.org/users/mchehab/rasdaemon.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="filename">rasdaemon</param>
<param name="revision">master</param>
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.git+%h</param>
<param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.%h</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service name="set_version" mode="localonly"/>
<service name="set_version" mode="manual"/>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://git.infradead.org/users/mchehab/rasdaemon.git</param>
<param name="changesrevision">f9cb13b8643d375454df152269c3a974b6b91983</param></service></servicedata>
<param name="changesrevision">485d0a6f81c9e80a40bea5d0745fb65c209a0a1c</param></service></servicedata>

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:76f95888c2a907fef93063d430df4b7a2332f47466e70a9910141bbaada75c0f
size 1147916

View File

@@ -1,3 +1,206 @@
-------------------------------------------------------------------
Thu Jan 8 23:53:40 UTC 2026 - Marcus Rueckert <mrueckert@suse.de>
- do not use enable-all. it enables signal mode which causes errors
as the needed columns are not created in the table.
-------------------------------------------------------------------
Thu Jan 8 23:10:35 UTC 2026 - Marcus Rueckert <mrueckert@suse.de>
- Update to version 0.8.4+git11.485d0a6:
* rasdaemon: Add support for the CXL memory sparing events
* Revert "rasdaemon: Add support for the CXL memory sparing events"
* Add labels for ASRock X570 Pro4
* rasdaemon: ras-aer-handlder: Add support for AER triggers
* rasdaemon: ras-events: Fix event's file endianness
* rasdaemon: ras-events: Don't hardcode long size
* ci.yml: add a second config to Ubuntu variations
* ci.yml: add a Fedora target
* cy.yml: ignore false-positives
* types.c: add a missing new line at the end of the file
* .github/workflows/ci.yml: add libpci-dev
* rasdaemon: bump to version 0.8.4
* misc/rasdaemon.spec.in: add install rules for completions file
* Makefile.am: package completions at the source tarball
* ras-events.c: do some coding style fixes
* unified-sel.c: use tabs instead of spaces for indent
* Makefile.am: sort if groups
* Makefile.am: use one file per line, in alphabetic order
* INSTALL: update it with the autogenerated one from new autotools
* rasdaemon: Fix CPU isolate errors with limited CPUs at startup
* rasdaemon: Update the supported modules in the HiSilicon common section
* rasdaemon: Add support for the CXL memory sparing events
* rasdaemon: cxl: Add validity check for parsing and logging the corrected memory error threshold event flags and error count
* rasdaemon: cxl: Update handling of Common Event Record to CXL spec rev3.2
* rasdaemon: fix post-processing options
* rasdaemon: cxl: Add validity check for parse and log hdr_maint_op_sub_class field
* rasdaemon: cxl: Update ras-report.c with missing maintenance operation subclass information
* rasdaemon: cxl: Add parse and log linear cache address alias emission for cxl events
* Makefile.am: install completions files
* add completions files for zsh and bash
* ras-events: Revert page_size to 4096 in get_pagesize()
* ras-events: fix for return error code in add_event_handler()
* ras-events: fix buffer overflow in add_event_handler read
* unified-sel: added AER Uncorrectable Error reporting to SEL on OpenBMC
* Fix spelling and grammar errors in README.md
* Fix a couple of coding style issues
* rasdaemon: add event level for event record
* aer: print pci device name and vendor/device id
* rasdaemon: erst: decode panic mce through erst
* rasdaemon: introduce poison page statistics
* rasdaemon: support memory corrected error statistics
* add dmidecode Requires on riscv64 Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
* rasdaemon: skip doesn't exist event
* config: add rsyslog config
* config: add syslog-ng and logrotate config
* rasdaemon: trace SIGBUS event for hardware error
- drop patches:
- Fix-buffer-overflow-in-add_event_handler-read.patch
- rasdaemon-skip-doesn-t-exist-event.patch
- switch to a more common format for the version string
- switch service to more common manual mode. use osc service mr
-------------------------------------------------------------------
Wed Apr 30 09:17:13 UTC 2025 - Thomas Renninger <trenn@suse.de>
- Avoid daemon start-up delays by checking whether events are accessible
in sysfs before adding event handlers (bsc#1241567)
A rasdaemon-skip-doesn-t-exist-event.patch
-------------------------------------------------------------------
Thu Apr 24 10:50:48 UTC 2025 - Thomas Renninger <trenn@suse.de>
- Fix early bufferoverflow in event initialization (bsc#1241567)
A Fix-buffer-overflow-in-add_event_handler-read.patch
-------------------------------------------------------------------
Fri Apr 11 12:51:25 UTC 2025 - trenn@suse.de
- CXL device support (bsc#1241023, jsc#PED-12657)
- Update to version 0.8.3.0.git+db0870e:
* ras-diskerror-handler.h: fix checkpatch warnings
* Use the right dev_t decoding for diskerror handler
* rasdaemon: Add new modules supported by HiSilicon common section
* rasdaemon: ras-mc-ctl: Update logging of CXL memory module data to align with CXL spec rev 3.1
* rasdaemon: ras-mc-ctl: Update logging of CXL DRAM event data to align with CXL spec rev 3.1
* rasdaemon: ras-mc-ctl: Update logging of CXL general media event data to align with CXL spec rev 3.1
* rasdaemon: ras-mc-ctl: Update logging of common event data to align with CXL spec rev 3.1
* rasdaemon: ras-mc-ctl: Fix logging of memory event type in CXL DRAM error table
* rasdaemon: cxl: Update memory module event to CXL spec rev 3.1
* rasdaemon: cxl: Update CXL DRAM event to CXL spec rev 3.1
* rasdaemon: cxl: Update CXL general media event to CXL spec rev 3.1
* rasdaemon: cxl: Add Component Identifier formatting for CXL spec rev 3.1
* rasdaemon: cxl: Update common event to CXL spec rev 3.1
* rasdaemon: cxl: Add automatic indexing for storing CXL fields in SQLite database
* rasdaemon: cxl: Fix mismatch in region field's name with kernel DRAM trace event
* rasdaemon: cxl: Fix logging of memory event type of DRAM trace event
* rasdaemon: Fix for parsing error when trace event's format file is larger than PAGE_SIZE
* rasdaemon: Add page offline support for cxl memory
* Add labels for ASRock X370 Taichi
* Add labels for ASRock X570 Creator
* Add labels for ASRock X570S PG Riptide
* rasdaemon: mce: decode io port for bus error
* rasdaemon: arm: do not print error msg if field not found
* rasdaemon: add DE error type for AMD
* rasdaemon: Fix the display format of JaguarMicro vendor no standard errors
* rasdaemon: bump to version 0.8.2
* ras-page-isolation.h: remove extra parenthesis
* rasdaemon: check if sscanf() processed all arguments on dev_name
* ras-page-isolation.h: fix most coding style issues
* ras-page-isolation: fix location_fields size
* ras-page-isolation: fix additional coding style issues
* ras-page-isolation: make memory_location_field static
* ras-page-isolation: use snprintf() instead of sprintf()
* mce-intel-ivb/mce-intel-sb: remove code commented with #if 0
* rasdaemon: use __func__ instead of the name of the function
* ipmitool SEL logging of AER CEs on OpenBMC platforms
* The rasdaemon service may fail to be started for the first time.
* New feature: support memory row CE threshold policy
* ras-page-isolation: drop an unused variable
* Fix the bug that `config->env` is greater than `ulong_max` when units->val=1
* rasdaemon: Modify support for vendor-specific machine check error information
* rasdaemon: ras-mc-ctl: Log hpa and region info from cxl_general_media and cxl_dram tables
* rasdaemon: CXL: Extract, log and record region info from cxl_general_media and cxl_dram events
* rasdaemon: CXL: Fix uncorrectable macro spelling
* rasdaemon: ras-non-standard-handler: Fix checkpatch warning
* rasdaemon: ras-events: Fix warning filter_ras_mc_event defined but not used
* rasdaemon: ras-arm-handler: Fix checkpatch warning length exceeds 120 columns
* rasdaemon: ras-events: removed obselete code under #if 0
* rasdaemon: ras-mce-handler: Fix checkpatch errors
* rasdaemon: rbtree: removed unused definition for RB_ROOT
* rasdaemon: Fix for compilation warning in ras-memory-failure-handler.c
* rasdaemon: Fix mem_fail_event build breakage
* ras-events: fix -d option to work again
* ci.yml: Change the name of the second job
* ci.yml: place checkpatch check in separate
* ci.yml: run checkpatch when doing tests
* Makefile.am: add types.h to the list of headers
* scripts/checkpatch.pl: add support for checking SPDX
* rasdaemon: enforce SPDX license tags
* ras-events: demote log information about trace being enabled/disabled
* rasdaemon: cleanup coding style
* ras-events: make returned error code consistent
* rasdaemon: add .editorconfig file to follow our coding style
* ras-report.h: avoid long lines
* types.h: remove whitespaces
* types.h: don't depend on linux/bits.h
* ras-events: don't use extern inside a C file
* rasdaemon: don't use unsafe strcpy, strcat and sprintf
* types.h: add an implementation for strscpy() and strscat()
* ras-events: drop a dead code to check number of CPUs
* ras-report: fix coding style and string fill issues
* non-standard-jaguarmicro: avoid CamelCase
* checkpatch.pl: warn also about strcat and sprintf usages
* rasdaemon: alphabetically sort includes
* ras-arm-handler: use GENMASK() macro
* rasdaemon: move type macros to a separate header (types.h)
* ras-arm-handler: Parse and log ARM Processor Error Info table
* rasdaemon: fix some typos and correct spelling
* scripts/checkpatch.pl: set default mode to strict
* ras-arm-handler: cope with latest upstream changes
* scripts/checkpatch.pl: some improvements to reduce false positives
* scripts/checkpatch.pl: do some additional cleanups
* rasdaemon: adjust install targets for the spec to be build
* ras-aer-handler: handle errors when running ipmitool
* rbtree.h: Fix an issue introduced by checkpatch logic
* rasdaemon: mce-amd-smca: Optimizing decoding of MCA_CTL_SMU bits
* Cleanup MCE error log on non-x86 args
* contrib/qemu_einj.py: make it more generic to allow other einj types
* rasdaemon: add mem_fail_event trigger
* trigger: parse only once TRIGGER_DIR env variable
* ras-mc-handler: cleanup trigger logic
* rasdaemon: add mc_event trigger
* util/arm_einj.py: fix a typo at virt-addr
* util/arm_einj.py: remove a debug print
* util/arm_einj.py: add an utility for ARM error injection via QEMU
* ras-arm-handler: be compatible with upstream Kernel
* Do a coding style cleanup with regards to tabs and white spaces
* rasdaemon: Add Corrected Internal Error for aer_cor_errors
* rasdaemon: Update SMCA bank error descriptions
* Add Lenovo P920 DIMM labels
* rasdaemon: Fix for vendor errors are not recorded in the SQLite database if some cpus are offline
* mce-amd-smca: update smca_hwid to use smca_bank_types
* labels/asrock: Add DIMM labels for ASRock Rack X570D4U
* rasdaemon: Add support to parse microcode field of mce tracepoint
* rasdaemon: Add support to parse the PPIN field of mce tracepoint
* rasdaemon: ras-mc-ctl: Add support to display mcastatus_msg string
* rasdaemon: ras-mc-ctl: Add support for CXL memory module trace events
* rasdaemon: ras-mc-ctl: Add support for CXL DRAM trace events
* rasdaemon: ras-mc-ctl: Add support for CXL general media trace events
* rasdaemon: ras-mc-ctl: Add support for CXL generic trace events
* rasdaemon: ras-mc-ctl: Add support for CXL poison trace events
* rasdaemon: ras-mc-ctl: Add support for CXL overflow trace events
* rasdaemon: ras-mc-ctl: Add support for CXL AER correctable trace events
* rasdaemon: ras-mc-ctl: Add support for CXL AER uncorrectable trace events
* rasdaemon: ras-memory-failure-handler: update memory failure action page types
* rasdaemon: Fix build warnings unused variable if AMP RAS errors is not enabled
* labels/asus: Add DIMM labels for Asus PRIME X570-P
* Use block_rq_error if RHEL >= 9.1
* rasdaemon: Add error decoding for MCA_CTL_SMU extended bits
* rasdaemon: labels/apple add MacPro 1,1 and 2,1 models
* rasdaemon: labels/intel add DQ57TM vendor and model
-------------------------------------------------------------------
Mon Mar 11 11:51:38 UTC 2024 - msuchanek@suse.com

View File

@@ -1,4 +1,4 @@
name: rasdaemon
version: 0.8.0.49.git+f9cb13b
mtime: 1707101156
commit: f9cb13b8643d375454df152269c3a974b6b91983
version: 0.8.4+git11.485d0a6
mtime: 1765199728
commit: 485d0a6f81c9e80a40bea5d0745fb65c209a0a1c

View File

@@ -1,7 +1,7 @@
#
# spec file for package rasdaemon
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: rasdaemon
Version: 0.8.0.49.git+f9cb13b
Version: 0.8.4+git11.485d0a6
Release: 0
Summary: Utility to receive RAS error tracings
License: GPL-2.0-only
@@ -30,6 +30,7 @@ BuildRequires: gettext-devel
BuildRequires: libtool
BuildRequires: libtraceevent-devel
BuildRequires: sqlite3-devel
BuildRequires: pkgconfig(libpci)
Requires: perl-DBD-SQLite
Requires(pre): %fillup_prereq
%{?systemd_ordering}
@@ -58,8 +59,30 @@ an utility for reporting current error counts from the EDAC sysfs files.
# on old autoconf versions
ln -s README.md README
autoreconf -fvi
%configure --enable-all --with-sysconfdefdir=%{_sysconfdir}/sysconfig
CFLAGS="%{optflags}" make %{?_smp_mflags} V=1
%configure \
--enable-sqlite3 \
--enable-aer \
--enable-non-standard \
--enable-arm \
--enable-mce \
--enable-extlog \
--enable-devlink \
--enable-diskerror \
--enable-memory-failure \
--enable-cxl \
--enable-abrt-report \
--enable-hisi-ns-decode \
--enable-memory-ce-pfa \
--enable-memory-row-ce-pfa \
--enable-amp-ns-decode \
--enable-openbmc-unified-sel \
--enable-jaguar-ns-decode \
--enable-cpu-fault-isolation \
--enable-yitian-ns-decode \
--disable-signal \
--enable-erst \
--with-sysconfdefdir=%{_sysconfdir}/sysconfig
make %{?_smp_mflags} V=1
%install
%make_install
@@ -96,8 +119,16 @@ mv %{buildroot}%{_sysconfdir}/sysconfig/rasdaemon %{buildroot}/%{_fillupdir}/sys
%{_mandir}/*/*
%{_unitdir}/*.service
%dir %{_sysconfdir}/ras
%dir %{_sysconfdir}/ras/dimm_labels.d
%dir %{_sysconfdir}/ras/triggers
%{_sysconfdir}/ras/triggers/mc_event_trigger
%{_sysconfdir}/ras/triggers/mem_fail_trigger
%dir %{_localstatedir}/lib/rasdaemon
%ghost %{_localstatedir}/lib/rasdaemon/ras-mc_event.db
%attr (644,root,root) %{_fillupdir}/sysconfig.rasdaemon
%{_datadir}/bash-completion/completions/ras-mc-ctl
%dir %{_datadir}/zsh/
%dir %{_datadir}/zsh/site-functions/
%{_datadir}/zsh/site-functions/_ras-mc-ctl
%changelog