Accepting request 1173682 from home:trenn:branches:Base:System
- Update to version 198: * Remove obsolete on disk dimm database code * page.c: Disable gcc warnings * page.c: Remove obsolete comment * mcelog: Fix clang warnings * mcelog: mempage_replace missing initialization of mempage fields * mcelog: Add third model number for Arrowlake - Refresh patches according to mainline: M add-f10h-support.patch M email.patch M fix_setgroups_missing_call.patch M mcelog_invert_prefill_db_warning.patch OBS-URL: https://build.opensuse.org/request/show/1173682 OBS-URL: https://build.opensuse.org/package/show/Base:System/mcelog?expand=0&rev=111
This commit is contained in:
parent
615121aee0
commit
e7441a5615
4
_service
4
_service
@ -1,12 +1,12 @@
|
|||||||
<services>
|
<services>
|
||||||
<service name="obs_scm" mode="localonly">
|
<service name="obs_scm" mode="manual">
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="url">https://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git</param>
|
<param name="url">https://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git</param>
|
||||||
<param name="changesgenerate">enable</param>
|
<param name="changesgenerate">enable</param>
|
||||||
<param name="versionrewrite-pattern">v(.*)</param>
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
<param name="versionformat">@PARENT_TAG@</param>
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="set_version" mode="localonly"/>
|
<service name="set_version" mode="manual"/>
|
||||||
<service name="tar" mode="buildtime"/>
|
<service name="tar" mode="buildtime"/>
|
||||||
<service name="recompress" mode="buildtime">
|
<service name="recompress" mode="buildtime">
|
||||||
<param name="file">*.tar</param>
|
<param name="file">*.tar</param>
|
||||||
|
@ -7,4 +7,4 @@
|
|||||||
<param name="url">https://github.com/andikleen/mcelog.git</param>
|
<param name="url">https://github.com/andikleen/mcelog.git</param>
|
||||||
<param name="changesrevision">1f3a769c8fb736815a56ea104b7b751c5565cb88</param></service><service name="tar_scm">
|
<param name="changesrevision">1f3a769c8fb736815a56ea104b7b751c5565cb88</param></service><service name="tar_scm">
|
||||||
<param name="url">https://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git</param>
|
<param name="url">https://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git</param>
|
||||||
<param name="changesrevision">f5615e9a2f840ad1238e8a7edc25f2f9fc4c3ba3</param></service></servicedata>
|
<param name="changesrevision">23c24878c2e004f360575d564b825753212a09e5</param></service></servicedata>
|
@ -8,10 +8,10 @@ Signed-off-by: Borislav Petkov <bp@suse.de>
|
|||||||
mcelog.h | 1
|
mcelog.h | 1
|
||||||
4 files changed, 506 insertions(+), 51 deletions(-)
|
4 files changed, 506 insertions(+), 51 deletions(-)
|
||||||
|
|
||||||
Index: mcelog-189/amd.c
|
Index: mcelog-198/amd.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- mcelog-189.orig/amd.c
|
--- mcelog-198.orig/amd.c
|
||||||
+++ mcelog-189/amd.c
|
+++ mcelog-198/amd.c
|
||||||
@@ -14,7 +14,7 @@
|
@@ -14,7 +14,7 @@
|
||||||
#include "mcelog.h"
|
#include "mcelog.h"
|
||||||
#include "amd.h"
|
#include "amd.h"
|
||||||
@ -561,10 +561,10 @@ Index: mcelog-189/amd.c
|
|||||||
+ }
|
+ }
|
||||||
+ return 1;
|
+ return 1;
|
||||||
}
|
}
|
||||||
Index: mcelog-189/amd.h
|
Index: mcelog-198/amd.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- mcelog-189.orig/amd.h
|
--- mcelog-198.orig/amd.h
|
||||||
+++ mcelog-189/amd.h
|
+++ mcelog-198/amd.h
|
||||||
@@ -1,6 +1,25 @@
|
@@ -1,6 +1,25 @@
|
||||||
+#include <stdbool.h>
|
+#include <stdbool.h>
|
||||||
+
|
+
|
||||||
@ -628,11 +628,11 @@ Index: mcelog-189/amd.h
|
|||||||
|
|
||||||
enum tt_ids {
|
enum tt_ids {
|
||||||
TT_INSTR = 0,
|
TT_INSTR = 0,
|
||||||
Index: mcelog-189/mcelog.c
|
Index: mcelog-198/mcelog.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- mcelog-189.orig/mcelog.c
|
--- mcelog-198.orig/mcelog.c
|
||||||
+++ mcelog-189/mcelog.c
|
+++ mcelog-198/mcelog.c
|
||||||
@@ -152,8 +152,8 @@ static int mce_filter(struct mce *m, uns
|
@@ -151,8 +151,8 @@ static int mce_filter(struct mce *m, uns
|
||||||
/* Filter out known broken MCEs */
|
/* Filter out known broken MCEs */
|
||||||
if (cputype >= CPU_INTEL)
|
if (cputype >= CPU_INTEL)
|
||||||
return mce_filter_intel(m, recordlen);
|
return mce_filter_intel(m, recordlen);
|
||||||
|
50
email.patch
50
email.patch
@ -7,10 +7,10 @@
|
|||||||
msg.c | 8 ++
|
msg.c | 8 ++
|
||||||
6 files changed, 346 insertions(+), 3 deletions(-)
|
6 files changed, 346 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
Index: mcelog-195/Makefile
|
Index: mcelog-198/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- mcelog-195.orig/Makefile
|
--- mcelog-198.orig/Makefile
|
||||||
+++ mcelog-195/Makefile
|
+++ mcelog-198/Makefile
|
||||||
@@ -1,3 +1,4 @@
|
@@ -1,3 +1,4 @@
|
||||||
+CONFIG_EMAIL := 1
|
+CONFIG_EMAIL := 1
|
||||||
CFLAGS := -g -Os
|
CFLAGS := -g -Os
|
||||||
@ -51,10 +51,10 @@ Index: mcelog-195/Makefile
|
|||||||
|
|
||||||
version.tmp: FORCE
|
version.tmp: FORCE
|
||||||
( printf "char version[] = \"" ; \
|
( printf "char version[] = \"" ; \
|
||||||
Index: mcelog-195/email.c
|
Index: mcelog-198/email.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ mcelog-195/email.c
|
+++ mcelog-198/email.c
|
||||||
@@ -0,0 +1,200 @@
|
@@ -0,0 +1,200 @@
|
||||||
+#include <unistd.h>
|
+#include <unistd.h>
|
||||||
+#include <signal.h>
|
+#include <signal.h>
|
||||||
@ -256,10 +256,10 @@ Index: mcelog-195/email.c
|
|||||||
+ smtp_destroy_session (session);
|
+ smtp_destroy_session (session);
|
||||||
+ return 0;
|
+ return 0;
|
||||||
+}
|
+}
|
||||||
Index: mcelog-195/email.h
|
Index: mcelog-198/email.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ mcelog-195/email.h
|
+++ mcelog-198/email.h
|
||||||
@@ -0,0 +1,34 @@
|
@@ -0,0 +1,34 @@
|
||||||
+#ifndef _MCELOG_EMAIL_H_
|
+#ifndef _MCELOG_EMAIL_H_
|
||||||
+#define _MCELOG_EMAIL_H_
|
+#define _MCELOG_EMAIL_H_
|
||||||
@ -295,10 +295,10 @@ Index: mcelog-195/email.h
|
|||||||
+#endif
|
+#endif
|
||||||
+
|
+
|
||||||
+#endif
|
+#endif
|
||||||
Index: mcelog-195/mcelog.c
|
Index: mcelog-198/mcelog.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- mcelog-195.orig/mcelog.c
|
--- mcelog-198.orig/mcelog.c
|
||||||
+++ mcelog-195/mcelog.c
|
+++ mcelog-198/mcelog.c
|
||||||
@@ -37,6 +37,7 @@
|
@@ -37,6 +37,7 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
@ -307,7 +307,7 @@ Index: mcelog-195/mcelog.c
|
|||||||
#include <fnmatch.h>
|
#include <fnmatch.h>
|
||||||
#include "mcelog.h"
|
#include "mcelog.h"
|
||||||
#include "paths.h"
|
#include "paths.h"
|
||||||
@@ -60,6 +61,9 @@
|
@@ -59,6 +60,9 @@
|
||||||
#include "bus.h"
|
#include "bus.h"
|
||||||
#include "unknown.h"
|
#include "unknown.h"
|
||||||
|
|
||||||
@ -317,7 +317,7 @@ Index: mcelog-195/mcelog.c
|
|||||||
enum cputype cputype = CPU_GENERIC;
|
enum cputype cputype = CPU_GENERIC;
|
||||||
|
|
||||||
char *logfn = LOG_DEV_FILENAME;
|
char *logfn = LOG_DEV_FILENAME;
|
||||||
@@ -71,7 +75,7 @@ static double cpumhz;
|
@@ -70,7 +74,7 @@ static double cpumhz;
|
||||||
static int cpumhz_forced;
|
static int cpumhz_forced;
|
||||||
int ascii_mode;
|
int ascii_mode;
|
||||||
int dump_raw_ascii;
|
int dump_raw_ascii;
|
||||||
@ -326,7 +326,7 @@ Index: mcelog-195/mcelog.c
|
|||||||
static char *inputfile;
|
static char *inputfile;
|
||||||
char *processor_flags;
|
char *processor_flags;
|
||||||
static int foreground;
|
static int foreground;
|
||||||
@@ -906,6 +910,7 @@ void usage(void)
|
@@ -912,6 +916,7 @@ void usage(void)
|
||||||
"--max-corr-err-counters Max page correctable error counters\n"
|
"--max-corr-err-counters Max page correctable error counters\n"
|
||||||
"--help Display this message.\n"
|
"--help Display this message.\n"
|
||||||
);
|
);
|
||||||
@ -334,7 +334,7 @@ Index: mcelog-195/mcelog.c
|
|||||||
printf("\n");
|
printf("\n");
|
||||||
print_cputypes();
|
print_cputypes();
|
||||||
}
|
}
|
||||||
@@ -977,6 +982,7 @@ static struct option options[] = {
|
@@ -985,6 +990,7 @@ static struct option options[] = {
|
||||||
{ "max-corr-err-counters", 1, NULL, O_MAX_CORR_ERR_COUNTERS },
|
{ "max-corr-err-counters", 1, NULL, O_MAX_CORR_ERR_COUNTERS },
|
||||||
{ "help", 0, NULL, O_HELP },
|
{ "help", 0, NULL, O_HELP },
|
||||||
{ "is-cpu-supported", 0, NULL, O_IS_CPU_SUPPORTED },
|
{ "is-cpu-supported", 0, NULL, O_IS_CPU_SUPPORTED },
|
||||||
@ -342,7 +342,7 @@ Index: mcelog-195/mcelog.c
|
|||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1171,11 +1177,86 @@ static void drop_cred(void)
|
@@ -1179,11 +1185,86 @@ static void drop_cred(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -429,7 +429,7 @@ Index: mcelog-195/mcelog.c
|
|||||||
|
|
||||||
if (recordlen == 0) {
|
if (recordlen == 0) {
|
||||||
Wprintf("no data in mce record\n");
|
Wprintf("no data in mce record\n");
|
||||||
@@ -1202,12 +1283,16 @@ static void process(int fd, unsigned rec
|
@@ -1210,12 +1291,16 @@ static void process(int fd, unsigned rec
|
||||||
finish = 1;
|
finish = 1;
|
||||||
if (!mce_filter(mce, recordlen))
|
if (!mce_filter(mce, recordlen))
|
||||||
continue;
|
continue;
|
||||||
@ -446,7 +446,7 @@ Index: mcelog-195/mcelog.c
|
|||||||
flushlog();
|
flushlog();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1321,6 +1406,8 @@ int main(int ac, char **av)
|
@@ -1340,6 +1425,8 @@ int main(int ac, char **av)
|
||||||
noargs(ac, av);
|
noargs(ac, av);
|
||||||
fprintf(stderr, "mcelog %s\n", MCELOG_VERSION);
|
fprintf(stderr, "mcelog %s\n", MCELOG_VERSION);
|
||||||
exit(0);
|
exit(0);
|
||||||
@ -455,7 +455,7 @@ Index: mcelog-195/mcelog.c
|
|||||||
} else if (opt == 0)
|
} else if (opt == 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -1355,6 +1442,10 @@ int main(int ac, char **av)
|
@@ -1374,6 +1461,10 @@ int main(int ac, char **av)
|
||||||
usage();
|
usage();
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
@ -466,10 +466,10 @@ Index: mcelog-195/mcelog.c
|
|||||||
checkdmi();
|
checkdmi();
|
||||||
general_setup();
|
general_setup();
|
||||||
|
|
||||||
Index: mcelog-195/mcelog.h
|
Index: mcelog-198/mcelog.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- mcelog-195.orig/mcelog.h
|
--- mcelog-198.orig/mcelog.h
|
||||||
+++ mcelog-195/mcelog.h
|
+++ mcelog-198/mcelog.h
|
||||||
@@ -118,6 +118,7 @@ extern int open_logfile(char *fn);
|
@@ -118,6 +118,7 @@ extern int open_logfile(char *fn);
|
||||||
enum option_ranges {
|
enum option_ranges {
|
||||||
O_COMMON = 500,
|
O_COMMON = 500,
|
||||||
@ -478,10 +478,10 @@ Index: mcelog-195/mcelog.h
|
|||||||
};
|
};
|
||||||
|
|
||||||
enum syslog_opt {
|
enum syslog_opt {
|
||||||
Index: mcelog-195/msg.c
|
Index: mcelog-198/msg.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- mcelog-195.orig/msg.c
|
--- mcelog-198.orig/msg.c
|
||||||
+++ mcelog-195/msg.c
|
+++ mcelog-198/msg.c
|
||||||
@@ -8,10 +8,13 @@
|
@@ -8,10 +8,13 @@
|
||||||
#include "mcelog.h"
|
#include "mcelog.h"
|
||||||
#include "msg.h"
|
#include "msg.h"
|
||||||
@ -496,7 +496,7 @@ Index: mcelog-195/msg.c
|
|||||||
static char *output_fn;
|
static char *output_fn;
|
||||||
|
|
||||||
int need_stdout(void)
|
int need_stdout(void)
|
||||||
@@ -135,6 +138,11 @@ int Wprintf(char *fmt, ...)
|
@@ -137,6 +140,11 @@ int Wprintf(char *fmt, ...)
|
||||||
n = vfprintf(output_fh ? output_fh : stdout, fmt, ap);
|
n = vfprintf(output_fh ? output_fh : stdout, fmt, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
}
|
}
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
mcelog.c | 9 +++++++++
|
mcelog.c | 9 +++++++++
|
||||||
1 file changed, 9 insertions(+)
|
1 file changed, 9 insertions(+)
|
||||||
|
|
||||||
Index: mcelog-189/mcelog.c
|
Index: mcelog-198/mcelog.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- mcelog-189.orig/mcelog.c
|
--- mcelog-198.orig/mcelog.c
|
||||||
+++ mcelog-189/mcelog.c
|
+++ mcelog-198/mcelog.c
|
||||||
@@ -37,6 +37,7 @@
|
@@ -37,6 +37,7 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
@ -14,7 +14,7 @@ Index: mcelog-189/mcelog.c
|
|||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <fnmatch.h>
|
#include <fnmatch.h>
|
||||||
#include "mcelog.h"
|
#include "mcelog.h"
|
||||||
@@ -1155,6 +1156,14 @@ static void general_setup(void)
|
@@ -1163,6 +1164,14 @@ static void general_setup(void)
|
||||||
|
|
||||||
static void drop_cred(void)
|
static void drop_cred(void)
|
||||||
{
|
{
|
||||||
|
BIN
mcelog-197.obscpio
(Stored with Git LFS)
BIN
mcelog-197.obscpio
(Stored with Git LFS)
Binary file not shown.
3
mcelog-198.obscpio
Normal file
3
mcelog-198.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8a0fb636f73e4110a63c5150d5084d7ae8a9593e5d97d48389f80721b677931a
|
||||||
|
size 642572
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 13 12:47:27 UTC 2024 - trenn@suse.de
|
||||||
|
|
||||||
|
- Update to version 198:
|
||||||
|
* Remove obsolete on disk dimm database code
|
||||||
|
* page.c: Disable gcc warnings
|
||||||
|
* page.c: Remove obsolete comment
|
||||||
|
* mcelog: Fix clang warnings
|
||||||
|
* mcelog: mempage_replace missing initialization of mempage fields
|
||||||
|
* mcelog: Add third model number for Arrowlake
|
||||||
|
- Refresh patches according to mainline:
|
||||||
|
M add-f10h-support.patch
|
||||||
|
M email.patch
|
||||||
|
M fix_setgroups_missing_call.patch
|
||||||
|
M mcelog_invert_prefill_db_warning.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 12 06:23:11 UTC 2024 - trenn@suse.de
|
Mon Feb 12 06:23:11 UTC 2024 - trenn@suse.de
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
name: mcelog
|
name: mcelog
|
||||||
version: 197
|
version: 198
|
||||||
mtime: 1705598790
|
mtime: 1711644509
|
||||||
commit: f5615e9a2f840ad1238e8a7edc25f2f9fc4c3ba3
|
commit: 23c24878c2e004f360575d564b825753212a09e5
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||||
%endif
|
%endif
|
||||||
Name: mcelog
|
Name: mcelog
|
||||||
Version: 197
|
Version: 198
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Log Machine Check Events
|
Summary: Log Machine Check Events
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
|
@ -2,9 +2,11 @@
|
|||||||
memdb.c | 10 +++++-----
|
memdb.c | 10 +++++-----
|
||||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
--- a/memdb.c
|
Index: mcelog-198/memdb.c
|
||||||
+++ b/memdb.c
|
===================================================================
|
||||||
@@ -431,11 +431,11 @@
|
--- mcelog-198.orig/memdb.c
|
||||||
|
+++ mcelog-198/memdb.c
|
||||||
|
@@ -440,11 +440,11 @@ void prefill_memdb(int do_dmi)
|
||||||
md->location = xstrdup(bl);
|
md->location = xstrdup(bl);
|
||||||
md->name = xstrdup(dmi_getstring(&d->header, d->device_locator));
|
md->name = xstrdup(dmi_getstring(&d->header, d->device_locator));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user