2026-07-07 19:06:32 +00:00
committed by Git OBS Bridge
4 changed files with 67 additions and 1 deletions
+11
View File
@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Jul 7 14:11:39 UTC 2026 - Thomas Renninger <trenn@suse.de>
- - Create debugfs dependency in unit section of rasdaemon.service
bsc#1270438
A debugfs_service_dependency.patch
- On systems where no DIMMs are installed and the systems only have HBM memory,
the ras-mc-ctl --register-labels and --print-labels return an error instead
of an info message (bsc#1240542)
A rasdaemon_ras-mc-ctl_change_no_dimm_label_message_to_info_from_error.patch
-------------------------------------------------------------------
Fri Jul 03 07:57:12 UTC 2026 - Thomas Renninger <trenn@suse.com>
+5 -1
View File
@@ -24,6 +24,10 @@ License: GPL-2.0-only
Group: Hardware/Other
URL: http://git.infradead.org/users/mchehab/rasdaemon.git
Source: %{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM -- based on https://github.com/mchehab/rasdaemon/pull/213
Patch0: rasdaemon_ras-mc-ctl_change_no_dimm_label_message_to_info_from_error.patch
# PATCH-FIX-UPSTREAM -- based on https://github.com/mchehab/rasdaemon/pull/253
Patch1: debugfs_service_dependency.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gettext-devel
@@ -51,7 +55,7 @@ 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
%autosetup -p1
%build
# Fixes:
+15
View File
@@ -0,0 +1,15 @@
---
misc/rasdaemon.service.in | 2 ++
1 file changed, 2 insertions(+)
--- a/misc/rasdaemon.service.in
+++ b/misc/rasdaemon.service.in
@@ -4,6 +4,8 @@
Description=RAS daemon to log the RAS events
# only needed when not running in foreground (--foreground | -f)
#After=syslog.target
+After=sys-kernel-debug.mount
+Wants=sys-kernel-debug.mount
[Service]
EnvironmentFile=@SYSCONFDEFDIR@/rasdaemon
@@ -0,0 +1,36 @@
From 676ad1abaacae548cf07734756a0db7846598e5b Mon Sep 17 00:00:00 2001
From: Thomas Abraham <tabraham@suse.com>
Date: Thu, 24 Apr 2025 10:06:15 -0400
Subject: [PATCH] rasdaemon: ras-mc-ctl: change no dimm label message to info
from error
The lack of DIMM labels is not necessarily an error, such as on
systems with of HBM memory. So, these messages should not be errors.
---
util/ras-mc-ctl.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- a/util/ras-mc-ctl.in
+++ b/util/ras-mc-ctl.in
@@ -776,8 +776,8 @@
my $format = "%-35s %-20s %-20s\n";
if (!exists $$lref{$vendor}{$model} && !exists $$lref_prod{$pvendor}{$pname}) {
- log_error ("No dimm labels for $conf{mainboard}{vendor} " .
- "model $conf{mainboard}{model}\n");
+ print "No dimm labels for $conf{mainboard}{vendor} " .
+ "model $conf{mainboard}{model}\n" unless $conf{opt}{quiet};
return;
}
@@ -833,8 +833,8 @@
my $sysfs = "/sys/devices/system/edac/mc";
if (!exists $$lref{$vendor}{$model} && !exists $$lref_prod{$pvendor}{$pname}) {
- log_error ("No dimm labels for $conf{mainboard}{vendor} " .
- "model $conf{mainboard}{model}\n");
+ print "No dimm labels for $conf{mainboard}{vendor} " .
+ "model $conf{mainboard}{model}\n" unless $conf{opt}{quiet};
return 0;
}
my $sysfs_dir = "/sys/devices/system/edac/mc";