commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2020-10-03 18:53:00 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new.4249 (New) Package is "mcelog" Sat Oct 3 18:53:00 2020 rev:55 rq:838278 version:173 Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2020-09-21 17:11:42.343368819 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new.4249/mcelog.changes 2020-10-03 18:53:07.633315397 +0200 @@ -1,0 +2,13 @@ +Mon Sep 28 10:16:15 UTC 2020 - tr...@suse.de + +- jsc#SLE-13505, jsc#SLE-13494 +- Update to version 173: + * mcelog: Rebalance the red-black tree after inserting a new node + * mcelog: Add Tigerlake, Rocketlake, Alderlake, Lakefield + * mcelog.service: Check existence of `/dev/mcelog` in systemd + * mcelog.service: Remove DefaultStandardOutput configuration + * mcelog: Add decode for MCi_MISC from 10nm memory controller + * Add reporter tracking to trigger-invoking functions. + * mcelog: Add "kflags" field to "struct mce" + +--- Old: mcelog-170.tar.gz New: mcelog-173.tar.gz Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.xgM1TV/_old 2020-10-03 18:53:08.701316784 +0200 +++ /var/tmp/diff_new_pack.xgM1TV/_new 2020-10-03 18:53:08.701316784 +0200 @@ -21,7 +21,7 @@ %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif Name: mcelog -Version:170 +Version:173 Release:0 Summary:Log Machine Check Events License:GPL-2.0-only ++ _service ++ --- /var/tmp/diff_new_pack.xgM1TV/_old 2020-10-03 18:53:08.745316841 +0200 +++ /var/tmp/diff_new_pack.xgM1TV/_new 2020-10-03 18:53:08.745316841 +0200 @@ -1,19 +1,14 @@ git -https://github.com/andikleen/mcelog - -mcelog +git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git enable -refs/tags/v166 -1.66 - +v173 +173 mcelog*.tar -xz +gz ++ _servicedata ++ --- /var/tmp/diff_new_pack.xgM1TV/_old 2020-10-03 18:53:08.765316867 +0200 +++ /var/tmp/diff_new_pack.xgM1TV/_new 2020-10-03 18:53:08.765316867 +0200 @@ -1,4 +1,6 @@ https://github.com/andikleen/mcelog - ee90ff20ce6a4d5e016aa249ce8b37f359f9fda4 \ No newline at end of file + ee90ff20ce6a4d5e016aa249ce8b37f359f9fda4 +git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git + 2e923ddb0b39726f913ca929219ff5c477646e36 \ No newline at end of file ++ mcelog-170.tar.gz -> mcelog-173.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mcelog-170/intel.c new/mcelog-173/intel.c --- old/mcelog-170/intel.c 2020-05-28 23:52:41.0 +0200 +++ new/mcelog-173/intel.c 2020-09-24 02:39:24.0 +0200 @@ -41,7 +41,9 @@ cpu == CPU_SKYLAKE || cpu == CPU_SKYLAKE_XEON || cpu == CPU_KABYLAKE || cpu == CPU_DENVERTON || cpu == CPU_ICELAKE || cpu == CPU_ICELAKE_XEON || cpu == CPU_ICELAKE_DE || - cpu == CPU_TREMONT_D || cpu == CPU_COMETLAKE) + cpu == CPU_TREMONT_D || cpu == CPU_COMETLAKE || + cpu == CPU_TIGERLAKE || cpu == CPU_ROCKETLAKE || + cpu == CPU_ALDERLAKE || cpu == CPU_LAKEFIELD) memory_error_support = 1; } @@ -112,6 +114,14 @@ return CPU_TREMONT_D; else if (model == 0xa5 || model == 0xa6) return CPU_COMETLAKE; + else if (model == 0x8C || model == 0x8D) + return CPU_TIGERLAKE; + else if (model == 0xA7) + return CPU_ROCKETLAKE; + else if (model == 0x97) + return CPU_ALDERLAKE; + else if (model == 0x8A) + return CPU_LAKEFIELD; if (model > 0x1a) { Eprintf("Family 6 Model %u CPU: only decoding architectural errors\n", model); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mcelog-170/intel.h new/mcelog-173/intel.h --- old/mcelog-170/intel.h 2020-05-28 23:52:41.0 +0200 +++ new/mcelog-173/intel.h 2020-09-24 02:39:24.0 +0200 @@ -33,5 +33,9 @@ case CPU_ICELAKE_XEON: \ case CPU_ICELAKE_DE: \ case CPU_TREMONT_D: \ - case CPU_COMETLAKE + case CPU_COMETLAKE: \ + case CPU_TIGERLAKE: \ + case CPU_ROCKETLAKE: \ + case CPU_ALDERLAKE: \ + case CPU_LAKEFIELD diff -urN
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2020-09-21 17:09:35 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new.4249 (New) Package is "mcelog" Mon Sep 21 17:09:35 2020 rev:54 rq:835386 version:170 Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2020-09-10 22:45:39.835692160 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new.4249/mcelog.changes 2020-09-21 17:11:42.343368819 +0200 @@ -12 +12 @@ - * jsc#SLE-13123 + * jsc#SLE-12689 Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.hQltIB/_old 2020-09-21 17:11:43.839370163 +0200 +++ /var/tmp/diff_new_pack.hQltIB/_new 2020-09-21 17:11:43.843370167 +0200 @@ -1,7 +1,7 @@ # # spec file for package mcelog # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2020-09-10 22:45:37 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new.4249 (New) Package is "mcelog" Thu Sep 10 22:45:37 2020 rev:53 rq:832898 version:170 Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2020-08-20 22:23:02.575818954 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new.4249/mcelog.changes 2020-09-10 22:45:39.835692160 +0200 @@ -10,0 +11,2 @@ +- covers: + * jsc#SLE-13123 Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.KcvTjO/_old 2020-09-10 22:45:41.703693881 +0200 +++ /var/tmp/diff_new_pack.KcvTjO/_new 2020-09-10 22:45:41.707693885 +0200 @@ -1,7 +1,7 @@ # # spec file for package mcelog # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2020-08-20 22:23:01 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new.3399 (New) Package is "mcelog" Thu Aug 20 22:23:01 2020 rev:52 rq:827098 version:170 Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2019-11-25 11:24:18.942105606 +0100 +++ /work/SRC/openSUSE:Factory/.mcelog.new.3399/mcelog.changes 2020-08-20 22:23:02.575818954 +0200 @@ -1,0 +2,11 @@ +Sun Aug 16 19:01:17 UTC 2020 - Dirk Mueller + +- update to 170: + * mcelog: Add Cometlake client model numbers + * mcelog: Do not start mcelog service if edac_mce_amd module is loaded + * mcelog: Decode and print stepping from cpuid + * mcelog: Add "kflags" field to "struct mce" + * Add reporter tracking to trigger-invoking functions. + * mcelog: Add decode for MCi_MISC from 10nm memory controller + +--- Old: mcelog-1.66.tar.xz New: mcelog-170.tar.gz Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.Q37zoc/_old 2020-08-20 22:23:03.623819445 +0200 +++ /var/tmp/diff_new_pack.Q37zoc/_new 2020-08-20 22:23:03.627819447 +0200 @@ -1,7 +1,7 @@ # # spec file for package mcelog # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,17 +18,16 @@ #Compat macro for new _fillupdir macro introduced in Nov 2017 %if ! %{defined _fillupdir} - %define _fillupdir /var/adm/fillup-templates + %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif - Name: mcelog -Version:1.66 +Version:170 Release:0 Summary:Log Machine Check Events License:GPL-2.0-only Group: System/Monitoring -Url:http://www.mcelog.org/ -Source: %{name}-%{version}.tar.xz +URL:https://mcelog.org/ +Source: https://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git/snapshot/mcelog-%{version}.tar.gz Source2:mcelog.sysconfig Source3:mcelog.systemd Source5:mcelog.tmpfiles @@ -46,11 +45,11 @@ Patch11:mcelog-socket-path.patch Patch12:fix_setgroups_missing_call.patch BuildRequires: libesmtp-devel +BuildRequires: pkgconfig BuildRequires: pkgconfig(systemd) Requires: logrotate Requires(pre): %fillup_prereq -BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: %ix86 x86_64 +ExclusiveArch: %{ix86} x86_64 %{?systemd_requires} %description @@ -66,7 +65,8 @@ %autosetup %build -make %{?_smp_mflags} CFLAGS="%{optflags} -fpie -pie" +echo "%{version}" > .os_version +%make_build CFLAGS="%{optflags} -fpie -pie" %install export prefix=%{buildroot}%{_prefix}
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2019-11-25 11:24:17 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new.26869 (New) Package is "mcelog" Mon Nov 25 11:24:17 2019 rev:51 rq:750323 version:1.66 Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2019-09-25 01:20:17.737795470 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new.26869/mcelog.changes 2019-11-25 11:24:18.942105606 +0100 @@ -1,0 +2,14 @@ +Wed Nov 20 14:00:53 UTC 2019 - tr...@suse.de + +- Update to version 1.66 (jira SLE-10087, jira SLE-8853): + * mcelog: Add support for Icelake server, Icelake-D, and Snow Ridge +M email.patch +-> Patched with fuzz, refresh needed + +--- +Tue Oct 29 15:57:54 UTC 2019 - tr...@suse.de + +- Update to version 1.65: + * mcelog: Add Cascade Lake to supported models + +--- Old: mcelog-1.64.tar.xz New: mcelog-1.66.tar.xz Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.40f5nr/_old 2019-11-25 11:24:19.750105462 +0100 +++ /var/tmp/diff_new_pack.40f5nr/_new 2019-11-25 11:24:19.754105460 +0100 @@ -22,7 +22,7 @@ %endif Name: mcelog -Version:1.64 +Version:1.66 Release:0 Summary:Log Machine Check Events License:GPL-2.0-only ++ _service ++ --- /var/tmp/diff_new_pack.40f5nr/_old 2019-11-25 11:24:19.810105450 +0100 +++ /var/tmp/diff_new_pack.40f5nr/_new 2019-11-25 11:24:19.810105450 +0100 @@ -5,8 +5,8 @@ mcelog enable -refs/tags/v164 -1.64 +refs/tags/v166 +1.66 ++ _servicedata ++ --- /var/tmp/diff_new_pack.40f5nr/_old 2019-11-25 11:24:19.826105447 +0100 +++ /var/tmp/diff_new_pack.40f5nr/_new 2019-11-25 11:24:19.826105447 +0100 @@ -1,4 +1,4 @@ https://github.com/andikleen/mcelog - e53631f84a181be371c08e0b961180bff77fd2ab \ No newline at end of file + ee90ff20ce6a4d5e016aa249ce8b37f359f9fda4 \ No newline at end of file ++ email.patch ++ --- /var/tmp/diff_new_pack.40f5nr/_old 2019-11-25 11:24:19.850105443 +0100 +++ /var/tmp/diff_new_pack.40f5nr/_new 2019-11-25 11:24:19.850105443 +0100 @@ -7,16 +7,18 @@ msg.c|8 ++ 6 files changed, 343 insertions(+), 2 deletions(-) mcelog-1.64+git20190805.e53631f.orig/Makefile 2019-09-06 14:06:51.841228190 +0200 -+++ mcelog-1.64+git20190805.e53631f/Makefile 2019-09-06 14:06:56.229228424 +0200 +Index: mcelog-1.66/Makefile +=== +--- mcelog-1.66.orig/Makefile 2019-11-12 20:05:12.0 +0100 mcelog-1.66/Makefile 2019-11-20 15:22:48.408692817 +0100 @@ -1,3 +1,4 @@ +CONFIG_EMAIL := 1 CFLAGS := -g -Os prefix := /usr etcprefix := -@@ -37,15 +38,23 @@ +@@ -37,15 +38,23 @@ OBJ := p4.o k8.o mcelog.o dmi.o tsc.o co broadwell_de.o broadwell_epex.o skylake_xeon.o \ -denverton.o \ +denverton.o i10nm.o \ msr.o bus.o unknown.o +EMAIL_OBJ := email.o CLEAN := mcelog dmi tsc dbquery .depend .depend.X dbquery.o \ @@ -39,7 +41,7 @@ # dbquery intentionally not installed by default install: mcelog mcelog.conf mcelog.conf.5 mcelog.triggers.5 -@@ -80,7 +89,7 @@ +@@ -80,7 +89,7 @@ dbquery: db.o dbquery.o memutil.o depend: .depend %.o: %.c @@ -48,8 +50,10 @@ version.tmp: FORCE ( printf "char version[] = \"" ;\ +Index: mcelog-1.66/email.c +=== --- /dev/null 1970-01-01 00:00:00.0 + -+++ mcelog-1.64+git20190805.e53631f/email.c2019-09-06 14:06:56.229228424 +0200 mcelog-1.66/email.c2019-11-20 15:22:48.408692817 +0100 @@ -0,0 +1,200 @@ +#include +#include @@ -251,8 +255,10 @@ + smtp_destroy_session (session); + return 0; +} +Index: mcelog-1.66/email.h +=== --- /dev/null 1970-01-01 00:00:00.0 + -+++ mcelog-1.64+git20190805.e53631f/email.h2019-09-06 14:06:56.229228424 +0200 mcelog-1.66/email.h2019-11-20 15:22:48.408692817 +0100 @@ -0,0 +1,34 @@ +#ifndef _MCELOG_EMAIL_H_ +#define _MCELOG_EMAIL_H_ @@ -288,8 +294,10 @@ +#endif + +#endif mcelog-1.64+git20190805.e53631f.orig/mcelog.c 2019-09-06 14:06:51.841228190 +0200 -+++ mcelog-1.64+git20190805.e53631f/mcelog.c 2019-09-06 14:06:56.229228424 +0200 +Index:
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2019-09-25 01:20:14 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new.7948 (New) Package is "mcelog" Wed Sep 25 01:20:14 2019 rev:50 rq:731696 version:1.64 Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2019-03-27 16:13:53.519629468 +0100 +++ /work/SRC/openSUSE:Factory/.mcelog.new.7948/mcelog.changes 2019-09-25 01:20:17.737795470 +0200 @@ -1,0 +2,16 @@ +Fri Sep 13 16:04:20 UTC 2019 - Jean Delvare + +- mcelog.systemd: Preload the dmi-sysfs kernel module. + When /dev/mem can't be read (which is the case when booting in + Secure Mode), mcelog can use the dmi-sysfs interface instead, + however for that the kernel module needs to be loaded first + (bsc#1149186). + +--- +Fri Sep 06 11:25:34 UTC 2019 - mmusch...@suse.com + +- Update to version 1.64: + * mcelog: Add Icelake client model numbers. + * add Hygon Dhyana support to not use mcelog, as Hygon Dhyana(0x18h) share similiar arch with AMD Family 17h + +--- Old: mcelog-1.62.tar.xz New: mcelog-1.64.tar.xz Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.lyojTz/_old 2019-09-25 01:20:18.501795343 +0200 +++ /var/tmp/diff_new_pack.lyojTz/_new 2019-09-25 01:20:18.505795342 +0200 @@ -22,7 +22,7 @@ %endif Name: mcelog -Version:1.62 +Version:1.64 Release:0 Summary:Log Machine Check Events License:GPL-2.0-only ++ Start-consolidating-AMD-specific-stuff.patch ++ --- /var/tmp/diff_new_pack.lyojTz/_old 2019-09-25 01:20:18.541795337 +0200 +++ /var/tmp/diff_new_pack.lyojTz/_new 2019-09-25 01:20:18.541795337 +0200 @@ -16,11 +16,9 @@ rename k8.c => amd.c (97%) rename k8.h => amd.h (79%) -Index: mcelog-1.60/Makefile -=== mcelog-1.60.orig/Makefile 2018-09-24 15:14:09.591339926 +0200 -+++ mcelog-1.60/Makefile 2018-09-24 15:14:18.771885991 +0200 -@@ -30,7 +30,7 @@ all: mcelog +--- mcelog-1.64+git20190805.e53631f.orig/Makefile 2019-09-06 14:06:56.229228424 +0200 mcelog-1.64+git20190805.e53631f/Makefile 2019-09-06 14:09:39.241237130 +0200 +@@ -30,7 +30,7 @@ .PHONY: install clean depend FORCE @@ -29,9 +27,7 @@ nehalem.o dunnington.o tulsa.o config.o memutil.o msg.o \ eventloop.o leaky-bucket.o memdb.o server.o trigger.o \ client.o cache.o sysfs.o yellow.o page.o rbtree.o \ -Index: mcelog-1.60/k8.c -=== mcelog-1.60.orig/k8.c 2018-08-09 23:49:49.0 +0200 +--- mcelog-1.64+git20190805.e53631f.orig/k8.c 2019-09-06 14:06:51.681228181 +0200 +++ /dev/null 1970-01-01 00:00:00.0 + @@ -1,281 +0,0 @@ -/* Based on K8 decoding code written for the 2.4 kernel by Andi Kleen and @@ -315,10 +311,8 @@ - } - return 1; -} -Index: mcelog-1.60/amd.c -=== --- /dev/null 1970-01-01 00:00:00.0 + -+++ mcelog-1.60/amd.c 2018-09-24 15:14:18.771885991 +0200 mcelog-1.64+git20190805.e53631f/amd.c 2019-09-06 14:09:39.241237130 +0200 @@ -0,0 +1,282 @@ +/* Based on K8 decoding code written for the 2.4 kernel by Andi Kleen and + * Eric Morton. Hacked and extended for mcelog by AK. @@ -602,9 +596,7 @@ + } + return 1; +} -Index: mcelog-1.60/k8.h -=== mcelog-1.60.orig/k8.h 2018-08-09 23:49:49.0 +0200 +--- mcelog-1.64+git20190805.e53631f.orig/k8.h 2019-09-06 14:06:51.681228181 +0200 +++ /dev/null 1970-01-01 00:00:00.0 + @@ -1,11 +0,0 @@ -char *k8_bank_name(unsigned num); @@ -618,10 +610,8 @@ -#define K8_MCELOG_THRESHOLD_LINK (4 * 9 + 1) -#define K8_MCELOG_THRESHOLD_L3_CACHE (4 * 9 + 2) -#define K8_MCELOG_THRESHOLD_FBDIMM (4 * 9 + 3) -Index: mcelog-1.60/amd.h -=== --- /dev/null 1970-01-01 00:00:00.0 + -+++ mcelog-1.60/amd.h 2018-09-24 15:14:18.775886227 +0200 mcelog-1.64+git20190805.e53631f/amd.h 2019-09-06 14:09:39.245237130 +0200 @@ -0,0 +1,14 @@ +char *k8_bank_name(unsigned num); +void decode_amd_mc(enum cputype, struct mce *mce, int *ismemerr); @@ -637,10 +627,8 @@ + +#define CASE_AMD_CPUS \ + case CPU_K8 -Index: mcelog-1.60/mcelog.c -===
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2019-03-27 16:13:47 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new.25356 (New) Package is "mcelog" Wed Mar 27 16:13:47 2019 rev:49 rq:688262 version:1.62 Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2018-10-01 09:06:45.743823400 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new.25356/mcelog.changes 2019-03-27 16:13:53.519629468 +0100 @@ -1,0 +2,10 @@ +Mon Mar 25 11:31:24 UTC 2019 - christian.vo...@suse.com + +- Update to version 1.62: + * mcelog: Fix memory controller bank channel mappings for Skylake + * mcelog: update tests for new error code + * mcelog: Add decoding for Optane DC persistent memory mode + * mcelog: Deduce channel number for Haswell/Broadwell/Skylake systems +- Change mcelog.spec to use autosetup + +--- Old: mcelog-1.60.tar.xz New: mcelog-1.62.tar.xz Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.ZrEhNN/_old 2019-03-27 16:13:55.831628878 +0100 +++ /var/tmp/diff_new_pack.ZrEhNN/_new 2019-03-27 16:13:55.855628872 +0100 @@ -1,7 +1,7 @@ # # spec file for package mcelog # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,10 +22,10 @@ %endif Name: mcelog -Version:1.60 +Version:1.62 Release:0 Summary:Log Machine Check Events -License:GPL-2.0 +License:GPL-2.0-only Group: System/Monitoring Url:http://www.mcelog.org/ Source: %{name}-%{version}.tar.xz @@ -63,19 +63,7 @@ In addition, it allows decoding machine check kernel panic messages. %prep -%setup -q -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 +%autosetup %build make %{?_smp_mflags} CFLAGS="%{optflags} -fpie -pie" ++ _service ++ --- /var/tmp/diff_new_pack.ZrEhNN/_old 2019-03-27 16:13:56.347628746 +0100 +++ /var/tmp/diff_new_pack.ZrEhNN/_new 2019-03-27 16:13:56.367628742 +0100 @@ -4,9 +4,9 @@ https://github.com/andikleen/mcelog mcelog -1.60 +1.62 enable -refs/tags/v160 +refs/tags/v162 mcelog*.tar ++ _servicedata ++ --- /var/tmp/diff_new_pack.ZrEhNN/_old 2019-03-27 16:13:56.523628702 +0100 +++ /var/tmp/diff_new_pack.ZrEhNN/_new 2019-03-27 16:13:56.539628698 +0100 @@ -1,4 +1,4 @@ https://github.com/andikleen/mcelog - 10b832edec31d48adf414709dec9327354310f52 \ No newline at end of file + 0062f7cb3ff0f94709087ac302d502f5e39f6e60 \ No newline at end of file ++ mcelog-1.60.tar.xz -> mcelog-1.62.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mcelog-1.60/haswell.c new/mcelog-1.62/haswell.c --- old/mcelog-1.60/haswell.c 2018-08-09 23:49:49.0 +0200 +++ new/mcelog-1.62/haswell.c 2019-02-05 20:57:07.0 +0100 @@ -148,3 +148,45 @@ break; } } + +/* + * There isn't enough information to identify the DIMM. But + * we can derive the channel from the bank number. + * There can be two memory controllers. We number the channels + * on the second controller: 4, 5, 6, 7 + */ +void haswell_memerr_misc(struct mce *m, int *channel, int *dimm) +{ + u64 status = m->status; + unsignedchan; + + /* Check this is a memory error */ + if (!test_prefix(7, status & 0xefff)) + return; + + chan = EXTRACT(status, 0, 3); + if (chan == 0xf) + return; + + switch (m->bank) { + case 7: + /* Home agent 0 */ + break; + case 8: + /* Home agent 1 */ + chan += 4; + break; + case 9: case 10: case 11: case 12: + /* Memory controller 0 */ + chan = m->bank - 9; + break; + case 13: case 14: case 15: case 16: + /* Memory controller 1 */ + chan = (m->bank - 13) + 4; + break; +
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2018-10-01 09:06:40 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is "mcelog" Mon Oct 1 09:06:40 2018 rev:48 rq:637681 version:1.60 Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2017-11-29 10:51:12.983792459 +0100 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2018-10-01 09:06:45.743823400 +0200 @@ -1,0 +2,16 @@ +Fri Sep 21 15:52:28 UTC 2018 - opensuse-packag...@opensuse.org + +(by tr...@suse.de) +- Update to version 1.60 (fate#326221): + * Turn back rb_color field into unsigned long + * trigger: add a sync argument for waiting trigger child process exit + * page: trigger: add pre/post sync trigger when doing soft memory offline + * fixed build errors for some lose code when merging code + * transfer the page address to pre/post-sync-trigger scripts + * mcelog: Fix "--ascii" parsing to cope with change in kernel output since v4.10 + * Remove now unused local variable + * Add scripts file to do MCA error code validation for a selected CPU model + * Add license file + * mcelog: Improve decoding for APEI reported errors + +--- Old: mcelog-1.53.tar.xz New: mcelog-1.60.tar.xz Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.ygvq8c/_old 2018-10-01 09:06:46.531822724 +0200 +++ /var/tmp/diff_new_pack.ygvq8c/_new 2018-10-01 09:06:46.531822724 +0200 @@ -1,7 +1,7 @@ # # spec file for package mcelog # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ %endif Name: mcelog -Version:1.53 +Version:1.60 Release:0 Summary:Log Machine Check Events License:GPL-2.0 ++ Start-consolidating-AMD-specific-stuff.patch ++ --- /var/tmp/diff_new_pack.ygvq8c/_old 2018-10-01 09:06:46.571822690 +0200 +++ /var/tmp/diff_new_pack.ygvq8c/_new 2018-10-01 09:06:46.571822690 +0200 @@ -16,11 +16,11 @@ rename k8.c => amd.c (97%) rename k8.h => amd.h (79%) -Index: mcelog-1.36/Makefile +Index: mcelog-1.60/Makefile === mcelog-1.36.orig/Makefile 2016-05-03 17:44:06.934899300 +0200 -+++ mcelog-1.36/Makefile 2016-05-03 17:44:29.032158410 +0200 -@@ -33,7 +33,7 @@ all: mcelog +--- mcelog-1.60.orig/Makefile 2018-09-24 15:14:09.591339926 +0200 mcelog-1.60/Makefile 2018-09-24 15:14:18.771885991 +0200 +@@ -30,7 +30,7 @@ all: mcelog .PHONY: install clean depend FORCE @@ -29,9 +29,9 @@ nehalem.o dunnington.o tulsa.o config.o memutil.o msg.o \ eventloop.o leaky-bucket.o memdb.o server.o trigger.o \ client.o cache.o sysfs.o yellow.o page.o rbtree.o \ -Index: mcelog-1.36/k8.c +Index: mcelog-1.60/k8.c === mcelog-1.36.orig/k8.c 2016-05-03 17:44:06.938899528 +0200 +--- mcelog-1.60.orig/k8.c 2018-08-09 23:49:49.0 +0200 +++ /dev/null 1970-01-01 00:00:00.0 + @@ -1,281 +0,0 @@ -/* Based on K8 decoding code written for the 2.4 kernel by Andi Kleen and @@ -315,10 +315,10 @@ - } - return 1; -} -Index: mcelog-1.36/amd.c +Index: mcelog-1.60/amd.c === --- /dev/null 1970-01-01 00:00:00.0 + -+++ mcelog-1.36/amd.c 2016-05-03 17:44:29.036158703 +0200 mcelog-1.60/amd.c 2018-09-24 15:14:18.771885991 +0200 @@ -0,0 +1,282 @@ +/* Based on K8 decoding code written for the 2.4 kernel by Andi Kleen and + * Eric Morton. Hacked and extended for mcelog by AK. @@ -602,9 +602,9 @@ + } + return 1; +} -Index: mcelog-1.36/k8.h +Index: mcelog-1.60/k8.h === mcelog-1.36.orig/k8.h 2016-05-03 17:44:06.938899528 +0200 +--- mcelog-1.60.orig/k8.h 2018-08-09 23:49:49.0 +0200 +++ /dev/null 1970-01-01 00:00:00.0 + @@ -1,11 +0,0 @@ -char *k8_bank_name(unsigned num); @@ -618,10 +618,10 @@ -#define K8_MCELOG_THRESHOLD_LINK (4 * 9 + 1) -#define K8_MCELOG_THRESHOLD_L3_CACHE (4 * 9 + 2) -#define K8_MCELOG_THRESHOLD_FBDIMM (4 * 9 + 3) -Index: mcelog-1.36/amd.h +Index: mcelog-1.60/amd.h === --- /dev/null
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2017-11-29 10:51:12 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is "mcelog" Wed Nov 29 10:51:12 2017 rev:47 rq:545092 version:1.53 Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2017-07-28 09:43:41.157702839 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2017-11-29 10:51:12.983792459 +0100 @@ -1,0 +2,6 @@ +Thu Nov 23 13:40:46 UTC 2017 - rbr...@suse.com + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + +--- Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.PDLKFy/_old 2017-11-29 10:51:14.019754875 +0100 +++ /var/tmp/diff_new_pack.PDLKFy/_new 2017-11-29 10:51:14.023754730 +0100 @@ -16,6 +16,11 @@ # +#Compat macro for new _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} + %define _fillupdir /var/adm/fillup-templates +%endif + Name: mcelog Version:1.53 Release:0 @@ -82,8 +87,8 @@ mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d/ install -m644 mcelog.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/mcelog -mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates -install -m 644 %{SOURCE2} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.mcelog +mkdir -p %{buildroot}%{_fillupdir} +install -m 644 %{SOURCE2} %{buildroot}%{_fillupdir}/sysconfig.mcelog mkdir -p %{buildroot}/%{_docdir}/%{name} install -m 644 %{SOURCE6} %{buildroot}/%{_docdir}/%{name}/README.email_setup @@ -114,7 +119,7 @@ %config %{_sysconfdir}/logrotate.d/mcelog %dir %{_sysconfdir}/mcelog %config %{_sysconfdir}/mcelog/mcelog.conf -%{_localstatedir}/adm/fillup-templates/sysconfig.mcelog +%{_fillupdir}/sysconfig.mcelog %{_sysconfdir}/mcelog/*trigger %{_unitdir}/mcelog.service %{_tmpfilesdir}/mcelog.conf
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2017-07-28 09:43:04 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is "mcelog" Fri Jul 28 09:43:04 2017 rev:46 rq:512296 version:1.53 Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2017-04-07 13:52:12.500787082 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2017-07-28 09:43:41.157702839 +0200 @@ -1,0 +2,15 @@ +Fri Jul 07 13:59:28 UTC 2017 - fschnizl...@suse.com + +- Update to version 1.53: + * Add service file + * dmi: Handle NULL DMI string + * Compress some fields in mempage. + * Add coverity fixes + * Fix typo in man page + * mcelog: Check whether we successfully changed directory for trigger. + * mcelog version: Add ability for OS to define version + * Document .os_release in README + * Set SO_PASSCRED on listen sockets + * memutil.h: add missing include for va_list + +--- Old: mcelog-1.48.tar.gz New: _service _servicedata mcelog-1.53.tar.xz Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.rKzk3y/_old 2017-07-28 09:43:42.773475266 +0200 +++ /var/tmp/diff_new_pack.rKzk3y/_new 2017-07-28 09:43:42.777474703 +0200 @@ -1,7 +1,7 @@ # # spec file for package mcelog # -# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: mcelog -Version:1.48 +Version:1.53 Release:0 Summary:Log Machine Check Events License:GPL-2.0 Group: System/Monitoring Url:http://www.mcelog.org/ -Source: https://github.com/andikleen/mcelog/archive/v148.tar.gz#/%{name}-%{version}.tar.gz +Source: %{name}-%{version}.tar.xz Source2:mcelog.sysconfig Source3:mcelog.systemd Source5:mcelog.tmpfiles @@ -58,7 +58,7 @@ In addition, it allows decoding machine check kernel panic messages. %prep -%setup -q -n %{name}-148 +%setup -q %patch1 -p1 %patch2 -p1 %patch3 -p1 ++ _service ++ git https://github.com/andikleen/mcelog mcelog 1.53 enable refs/tags/v153 mcelog*.tar xz ++ _servicedata ++ https://github.com/andikleen/mcelog 524ed1cd16de5adcb4a5015777d3dfc63afda1fe++ email.patch ++ --- /var/tmp/diff_new_pack.rKzk3y/_old 2017-07-28 09:43:42.91340 +0200 +++ /var/tmp/diff_new_pack.rKzk3y/_new 2017-07-28 09:43:42.91340 +0200 @@ -7,10 +7,10 @@ msg.c|8 ++ 6 files changed, 343 insertions(+), 2 deletions(-) -Index: mcelog-1.46/Makefile +Index: mcelog-1.53/Makefile === mcelog-1.46.orig/Makefile -+++ mcelog-1.46/Makefile +--- mcelog-1.53.orig/Makefile mcelog-1.53/Makefile @@ -1,3 +1,4 @@ +CONFIG_EMAIL := 1 CFLAGS := -g -Os @@ -49,11 +49,11 @@ + $(CC) -c $(CFLAGS) $(CPPFLAGS) $(WARNINGS) $(ADD_DEFINES) $< -o $@ version.tmp: FORCE - ( echo -n "char version[] = \"" ; \ -Index: mcelog-1.46/email.c + ( printf "char version[] = \"" ;\ +Index: mcelog-1.53/email.c === --- /dev/null -+++ mcelog-1.46/email.c mcelog-1.53/email.c @@ -0,0 +1,200 @@ +#include +#include @@ -255,10 +255,10 @@ + smtp_destroy_session (session); + return 0; +} -Index: mcelog-1.46/email.h +Index: mcelog-1.53/email.h === --- /dev/null -+++ mcelog-1.46/email.h mcelog-1.53/email.h @@ -0,0 +1,34 @@ +#ifndef _MCELOG_EMAIL_H_ +#define _MCELOG_EMAIL_H_ @@ -294,10 +294,10 @@ +#endif + +#endif -Index: mcelog-1.46/mcelog.c +Index: mcelog-1.53/mcelog.c === mcelog-1.46.orig/mcelog.c -+++ mcelog-1.46/mcelog.c +--- mcelog-1.53.orig/mcelog.c mcelog-1.53/mcelog.c @@ -37,6 +37,7 @@ #include #include @@ -325,7 +325,7 @@ static char *inputfile; char *processor_flags; static int foreground; -@@ -980,6 +984,7 @@ void usage(void) +@@ -983,6 +987,7 @@ void usage(void) "--no-imc-log Disable extended iMC logging\n" "--is-cpu-supported Exit with return code indicating whether the CPU is supported\n" ); @@ -333,7 +333,7 @@
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2017-04-07 13:52:08 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is "mcelog" Fri Apr 7 13:52:08 2017 rev:45 rq:482923 version:1.48 Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2017-03-11 15:17:58.509663900 +0100 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2017-04-07 13:52:12.500787082 +0200 @@ -1,0 +2,11 @@ +Mon Mar 20 14:28:54 UTC 2017 - tr...@suse.de + +- Package also includes fixes for (through previous version updates below): + * Add mcelog-skylake.patch patch to support Skylake Xeons (fate#319698) + * Add skylake support (bnc#946734) + * Avoid warnings at boot up (bsc#920197) + * Knights Landing (fate#319507) + * Broadwell Ex and Ep (fate#319697) + * Different Skylake models (fate#319696) + +--- @@ -13 +24 @@ -- Version update to 1.47 (fate#321308, fate#320907): +- Version update to 1.47 (fate#321308, fate#320907, fate#321931): Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.yv6d42/_old 2017-04-07 13:52:14.256539079 +0200 +++ /var/tmp/diff_new_pack.yv6d42/_new 2017-04-07 13:52:14.260538514 +0200 @@ -1,7 +1,7 @@ # # spec file for package mcelog # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2017-03-11 15:17:57 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is "mcelog" Sat Mar 11 15:17:57 2017 rev:44 rq:476786 version:1.48 Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2017-01-24 10:29:28.467808781 +0100 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2017-03-11 15:17:58.509663900 +0100 @@ -1,0 +2,9 @@ +Fri Mar 3 09:26:33 UTC 2017 - mplus...@suse.com + +- Update to version 1.48 + * Fix warning with gcc 6.x + * Remove obsolete TODO file + * Small fixes +- Use url for getting sources + +--- Old: mcelog-1.47.tar.bz2 New: mcelog-1.48.tar.gz Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.WbWOvV/_old 2017-03-11 15:17:59.401537690 +0100 +++ /var/tmp/diff_new_pack.WbWOvV/_new 2017-03-11 15:17:59.405537124 +0100 @@ -1,7 +1,7 @@ # # spec file for package mcelog # -# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: mcelog -Version:1.47 +Version:1.48 Release:0 Summary:Log Machine Check Events License:GPL-2.0 Group: System/Monitoring Url:http://www.mcelog.org/ -Source: mcelog-%{version}.tar.bz2 +Source: https://github.com/andikleen/mcelog/archive/v148.tar.gz#/%{name}-%{version}.tar.gz Source2:mcelog.sysconfig Source3:mcelog.systemd Source5:mcelog.tmpfiles @@ -58,7 +58,7 @@ In addition, it allows decoding machine check kernel panic messages. %prep -%setup -q +%setup -q -n %{name}-148 %patch1 -p1 %patch2 -p1 %patch3 -p1
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2017-01-24 10:29:27 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is "mcelog" Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2016-12-26 21:41:42.051038147 +0100 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2017-01-24 10:29:28.467808781 +0100 @@ -1,0 +2,7 @@ +Fri Jan 13 15:20:55 UTC 2017 - felix.gerl...@suse.com + +- Version update to 1.47 (fate#321308, fate#320907): + * Fix PDF links + * Fix confusing error message + +--- @@ -4 +11 @@ -- Version update to 1.48: +- Version update to 1.46: Old: mcelog-1.46.tar.bz2 New: mcelog-1.47.tar.bz2 Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.qGXE7o/_old 2017-01-24 10:29:29.283693070 +0100 +++ /var/tmp/diff_new_pack.qGXE7o/_new 2017-01-24 10:29:29.291691936 +0100 @@ -1,7 +1,7 @@ # # spec file for package mcelog # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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: mcelog -Version:1.46 +Version:1.47 Release:0 Summary:Log Machine Check Events License:GPL-2.0 ++ add-f10h-support.patch ++ --- /var/tmp/diff_new_pack.qGXE7o/_old 2017-01-24 10:29:29.343684562 +0100 +++ /var/tmp/diff_new_pack.qGXE7o/_new 2017-01-24 10:29:29.343684562 +0100 @@ -708,7 +708,7 @@ - if (family == 15) { - cputype = CPU_K8; - } else if (family >= 16) { -- SYSERRprintf("ERROR: AMD Processor family %d: mcelog does not support this processor. Please use the edac_mce_amd module instead.\n", family); +- Eprintf("ERROR: AMD Processor family %d: mcelog does not support this processor. Please use the edac_mce_amd module instead.\n", family); - return 0; - } - } else if (!strcmp(vendor,"GenuineIntel")) ++ mcelog-1.46.tar.bz2 -> mcelog-1.47.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mcelog-1.46/README.md new/mcelog-1.47/README.md --- old/mcelog-1.46/README.md 2016-12-15 19:30:41.0 +0100 +++ new/mcelog-1.47/README.md 2017-01-11 18:27:47.0 +0100 @@ -45,9 +45,9 @@ ## Documentation - The primary reference documentation are the man pages. -- [lk10-mcelog.pdf](https://github.com/andikleen/mcelog/blob/master/lk10-mcelog.pdf) +- [lk10-mcelog.pdf](lk10-mcelog.pdf) has a overview over the errors mcelog handles (originally from Linux Kongress 2010). -- [mce.pdf](https://github.com/mjtrangoni/mcelog/blob/README.md/mce.pdf) +- [mce.pdf](mce.pdf) is a very old paper describing the first releases of mcelog (some parts are obsolete). ## For distributors diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mcelog-1.46/README.releases new/mcelog-1.47/README.releases --- old/mcelog-1.46/README.releases 2016-12-15 19:30:41.0 +0100 +++ new/mcelog-1.47/README.releases 2017-01-11 18:27:47.0 +0100 @@ -1,9 +1,8 @@ - mcelog used to do released, but now switched to a rolling release scheme. That means the git tree is always kept stable and can be used directly in production. -To simplify package management which likes to have +To simplify package management which likes to have increasing version numbers the commits are regularly tagged with a number. The number starts (arbitarily) with 100. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mcelog-1.46/mcelog.c new/mcelog-1.47/mcelog.c --- old/mcelog-1.46/mcelog.c2016-12-15 19:30:41.0 +0100 +++ new/mcelog-1.47/mcelog.c2017-01-11 18:27:47.0 +0100 @@ -542,7 +542,7 @@ if (family == 15) { cputype = CPU_K8; } else if (family >= 16) { - SYSERRprintf("ERROR: AMD Processor family %d: mcelog does not support this processor. Please use the edac_mce_amd module instead.\n", family); + Eprintf("ERROR: AMD Processor family %d:
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2016-05-11 16:37:14 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is "mcelog" Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2016-02-12 11:21:15.0 +0100 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2016-05-11 16:37:15.0 +0200 @@ -1,0 +2,6 @@ +Fri May 6 16:08:48 UTC 2016 - tr...@suse.de + +- Update to bugfix version 1.36 +- Do not start mcelog service based on an udev (/dev/mcelog) rule (bsc#976781) + +--- Old: 90-mcelog.rules mcelog-1.29.tar.bz2 New: mcelog-1.36.tar.bz2 Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.mi1bOK/_old 2016-05-11 16:37:17.0 +0200 +++ /var/tmp/diff_new_pack.mi1bOK/_new 2016-05-11 16:37:17.0 +0200 @@ -17,7 +17,7 @@ Name: mcelog -Version:1.29 +Version:1.36 Release:0 Summary:Log Machine Check Events License:GPL-2.0 @@ -26,7 +26,6 @@ Source: mcelog-%{version}.tar.bz2 Source2:mcelog.sysconfig Source3:mcelog.systemd -Source4:90-mcelog.rules Source5:mcelog.tmpfiles Source6:README.email_setup Patch1: email.patch @@ -43,7 +42,6 @@ Patch12:fix_setgroups_missing_call.patch BuildRequires: libesmtp-devel BuildRequires: pkgconfig(systemd) -BuildRequires: pkgconfig(udev) Requires: logrotate Requires(pre): %fillup_prereq # Previously version was wrong, mainline decided to go for 1.0.1. not 1.1 @@ -95,7 +93,6 @@ install -m 644 %{SOURCE6} %{buildroot}/%{_docdir}/%{name}/README.email_setup install -m 644 lk10-mcelog.pdf %{buildroot}/%{_docdir}/%{name}/lk10-mcelog.pdf install -D -m 0644 %{SOURCE3} %{buildroot}%{_unitdir}/mcelog.service -install -D -m 0644 %{SOURCE4} %{buildroot}%{_udevrulesdir}/90-mcelog.rules install -D -m 0644 %{SOURCE5} %{buildroot}%{_tmpfilesdir}/mcelog.conf ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcmcelog @@ -104,7 +101,6 @@ %post %fillup_only -%udev_rules_update %service_add_post %{name}.service %{?tmpfiles_create:%tmpfiles_create %{_tmpfilesdir}/mcelog.conf} @@ -125,7 +121,6 @@ %{_localstatedir}/adm/fillup-templates/sysconfig.mcelog %{_sysconfdir}/mcelog/*trigger %{_unitdir}/mcelog.service -%{_udevrulesdir}/90-mcelog.rules %{_tmpfilesdir}/mcelog.conf %{_docdir}/%{name} %{_sbindir}/rcmcelog ++ Start-consolidating-AMD-specific-stuff.patch ++ --- /var/tmp/diff_new_pack.mi1bOK/_old 2016-05-11 16:37:17.0 +0200 +++ /var/tmp/diff_new_pack.mi1bOK/_new 2016-05-11 16:37:17.0 +0200 @@ -16,10 +16,10 @@ rename k8.c => amd.c (97%) rename k8.h => amd.h (79%) -Index: mcelog-1.29/Makefile +Index: mcelog-1.36/Makefile === mcelog-1.29.orig/Makefile 2016-01-28 15:33:45.40247 +0100 -+++ mcelog-1.29/Makefile 2016-01-28 15:33:51.646831409 +0100 +--- mcelog-1.36.orig/Makefile 2016-05-03 17:44:06.934899300 +0200 mcelog-1.36/Makefile 2016-05-03 17:44:29.032158410 +0200 @@ -33,7 +33,7 @@ all: mcelog .PHONY: install clean depend FORCE @@ -29,9 +29,9 @@ nehalem.o dunnington.o tulsa.o config.o memutil.o msg.o \ eventloop.o leaky-bucket.o memdb.o server.o trigger.o \ client.o cache.o sysfs.o yellow.o page.o rbtree.o \ -Index: mcelog-1.29/k8.c +Index: mcelog-1.36/k8.c === mcelog-1.29.orig/k8.c 2016-01-20 18:33:20.0 +0100 +--- mcelog-1.36.orig/k8.c 2016-05-03 17:44:06.938899528 +0200 +++ /dev/null 1970-01-01 00:00:00.0 + @@ -1,281 +0,0 @@ -/* Based on K8 decoding code written for the 2.4 kernel by Andi Kleen and @@ -125,7 +125,7 @@ - [0] = "err cpu0", -}; -static char *k8threshold[] = { -- [0 ... K8_MCELOG_THRESHOLD_DRAM_ECC - 1] = "Unknow threshold counter", +- [0 ... K8_MCELOG_THRESHOLD_DRAM_ECC - 1] = "Unknown threshold counter", - [K8_MCELOG_THRESHOLD_DRAM_ECC] = "MC4_MISC0 DRAM threshold", - [K8_MCELOG_THRESHOLD_LINK] = "MC4_MISC1 Link threshold", - [K8_MCELOG_THRESHOLD_L3_CACHE] = "MC4_MISC2 L3 Cache threshold", @@ -315,10 +315,10 @@ - } - return 1; -} -Index: mcelog-1.29/amd.c +Index: mcelog-1.36/amd.c === --- /dev/null 1970-01-01 00:00:00.0 + -+++ mcelog-1.29/amd.c 2016-01-28 15:33:51.646831409 +0100 mcelog-1.36/amd.c 2016-05-03
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2016-02-12 11:21:14 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is "mcelog" Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2015-07-05 17:57:38.0 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2016-02-12 11:21:15.0 +0100 @@ -1,0 +2,11 @@ +Thu Jan 28 14:25:26 UTC 2016 - tr...@suse.de + +- Update to latest version 1.29. + Mostly little bug fixes. + +--- +Mon Sep 28 13:26:21 UTC 2015 - tr...@suse.de + +- Update to version v124. Adds skylake CPU support and some bug fixes. + +--- Old: mcelog-1.20.tar.bz2 New: mcelog-1.29.tar.bz2 Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.YvKqG2/_old 2016-02-12 11:21:16.0 +0100 +++ /var/tmp/diff_new_pack.YvKqG2/_new 2016-02-12 11:21:16.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package mcelog # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,16 +17,12 @@ Name: mcelog +Version:1.29 +Release:0 Summary:Log Machine Check Events License:GPL-2.0 Group: System/Monitoring -Version:1.20 -Release:0 -ExclusiveArch: %{ix86} x86_64 -BuildRequires: libesmtp-devel -BuildRequires: pkgconfig(systemd) -BuildRequires: pkgconfig(udev) -Requires: logrotate +Url:https://git.kernel.org/cgit/utils/cpu/mce/mcelog.git Source: mcelog-%{version}.tar.bz2 Source2:mcelog.sysconfig Source3:mcelog.systemd @@ -45,17 +41,20 @@ Patch10:patches/add-f16h-support.patch Patch11:mcelog-socket-path.patch Patch12:fix_setgroups_missing_call.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-build -PreReq: %fillup_prereq -Url:https://git.kernel.org/cgit/utils/cpu/mce/mcelog.git +BuildRequires: libesmtp-devel +BuildRequires: pkgconfig(systemd) +BuildRequires: pkgconfig(udev) +Requires: logrotate +Requires(pre): %fillup_prereq # Previously version was wrong, mainline decided to go for 1.0.1. not 1.1 Obsoletes: mcelog = 1.1 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +ExclusiveArch: %ix86 x86_64 %{?systemd_requires} %description mcelog retrieves machine check events from an x86-64 kernel in a cron -job, decodes them, and logs them to /var/log/mcelog. +job, decodes them, and logs them to %{_localstatedir}/log/mcelog. A machine check event is a hardware error detected by the CPU. @@ -63,12 +62,6 @@ In addition, it allows decoding machine check kernel panic messages. - - -Authors: - -Andi Kleen- %prep %setup -q %patch1 -p1 @@ -86,38 +79,34 @@ %build export SUSE_ASNEEDED=0 -make CFLAGS="$RPM_OPT_FLAGS" +make %{?_smp_mflags} CFLAGS="%{optflags}" %install -export prefix=$RPM_BUILD_ROOT/usr -export etcprefix=$RPM_BUILD_ROOT +export prefix=%{buildroot}%{_prefix} +export etcprefix=%{buildroot} make -e install -mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d/ -install -m644 mcelog.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/mcelog - -mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates -install -m 644 %SOURCE2 $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.mcelog +mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d/ +install -m644 mcelog.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/mcelog -mkdir -p $RPM_BUILD_ROOT/%_docdir/%name -install -m 644 %SOURCE6 $RPM_BUILD_ROOT/%_docdir/%name/README.email_setup -install -m 644 lk10-mcelog.pdf $RPM_BUILD_ROOT/%_docdir/%name/lk10-mcelog.pdf -install -D -m 0644 %SOURCE3 %{buildroot}%{_unitdir}/mcelog.service -install -D -m 0644 %SOURCE4 %{buildroot}%{_udevrulesdir}/90-mcelog.rules -install -D -m 0644 %SOURCE5 %{buildroot}%{_tmpfilesdir}/mcelog.conf -ln -sf %_sbindir/service ${RPM_BUILD_ROOT}%_sbindir/rcmcelog +mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates +install -m 644 %{SOURCE2} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.mcelog -%clean -rm -rf $RPM_BUILD_ROOT +mkdir -p %{buildroot}/%{_docdir}/%{name} +install -m 644 %{SOURCE6} %{buildroot}/%{_docdir}/%{name}/README.email_setup +install -m 644 lk10-mcelog.pdf %{buildroot}/%{_docdir}/%{name}/lk10-mcelog.pdf +install -D -m 0644 %{SOURCE3}
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2015-07-05 17:57:37 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is mcelog Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2015-01-25 21:14:02.0 +0100 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2015-07-05 17:57:38.0 +0200 @@ -1,0 +2,12 @@ +Mon Jun 15 16:18:55 UTC 2015 - tr...@suse.de + +- Update to latest v120 git tag and name the version 1.20: + New supported CPUs: + - Add model number for Broadwell-DE + - Added Knights Landing (Xeon Phi) + - Add all current Atom cpuids + - Support Broadwell-U + - New manpages: mcelog.conf.5 and mcelog.triggers.5 + And quite some undocumented bugfixes, see git log for details + +--- Old: mcelog-1.0.8.tar.bz2 New: mcelog-1.20.tar.bz2 Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.sdK5G2/_old 2015-07-05 17:57:39.0 +0200 +++ /var/tmp/diff_new_pack.sdK5G2/_new 2015-07-05 17:57:39.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package mcelog # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Summary:Log Machine Check Events License:GPL-2.0 Group: System/Monitoring -Version:1.0.8 +Version:1.20 Release:0 ExclusiveArch: %{ix86} x86_64 BuildRequires: libesmtp-devel @@ -45,6 +45,7 @@ Patch10:patches/add-f16h-support.patch Patch11:mcelog-socket-path.patch Patch12:fix_setgroups_missing_call.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq Url:https://git.kernel.org/cgit/utils/cpu/mce/mcelog.git @@ -82,6 +83,7 @@ %patch10 -p1 %patch11 -p1 %patch12 -p1 + %build export SUSE_ASNEEDED=0 make CFLAGS=$RPM_OPT_FLAGS @@ -126,6 +128,7 @@ %files %defattr (-,root,root,755) %{_mandir}/man8/* +%{_mandir}/man5/* /usr/sbin/mcelog %config /etc/logrotate.d/mcelog %dir /etc/mcelog @@ -137,5 +140,6 @@ %{_tmpfilesdir}/mcelog.conf %_docdir/%name %_sbindir/rcmcelog +%ghost /run/mcelog %changelog ++ Start-consolidating-AMD-specific-stuff.patch ++ --- /var/tmp/diff_new_pack.sdK5G2/_old 2015-07-05 17:57:39.0 +0200 +++ /var/tmp/diff_new_pack.sdK5G2/_new 2015-07-05 17:57:39.0 +0200 @@ -16,11 +16,11 @@ rename k8.c = amd.c (97%) rename k8.h = amd.h (79%) -Index: mcelog-1.0.1/Makefile +Index: mcelog-1.20/Makefile === mcelog-1.0.1.orig/Makefile -+++ mcelog-1.0.1/Makefile -@@ -29,7 +29,7 @@ all: mcelog +--- mcelog-1.20.orig/Makefile 2015-06-15 15:15:14.281052761 +0200 mcelog-1.20/Makefile 2015-06-15 15:15:52.523239254 +0200 +@@ -33,7 +33,7 @@ .PHONY: install clean depend @@ -29,10 +29,10 @@ nehalem.o dunnington.o tulsa.o config.o memutil.o msg.o \ eventloop.o leaky-bucket.o memdb.o server.o trigger.o \ client.o cache.o sysfs.o yellow.o page.o rbtree.o \ -Index: mcelog-1.0.1/k8.c +Index: mcelog-1.20/k8.c === mcelog-1.0.1.orig/k8.c -+++ /dev/null +--- mcelog-1.20.orig/k8.c 2015-06-15 14:25:23.0 +0200 /dev/null 1970-01-01 00:00:00.0 + @@ -1,281 +0,0 @@ -/* Based on K8 decoding code written for the 2.4 kernel by Andi Kleen and - * Eric Morton. Hacked and extended for mcelog by AK. @@ -315,10 +315,10 @@ - } - return 1; -} -Index: mcelog-1.0.1/amd.c +Index: mcelog-1.20/amd.c === /dev/null -+++ mcelog-1.0.1/amd.c +--- /dev/null 1970-01-01 00:00:00.0 + mcelog-1.20/amd.c 2015-06-15 15:15:52.531239713 +0200 @@ -0,0 +1,282 @@ +/* Based on K8 decoding code written for the 2.4 kernel by Andi Kleen and + * Eric Morton. Hacked and extended for mcelog by AK. @@ -602,10 +602,10 @@ + } + return 1; +} -Index: mcelog-1.0.1/k8.h +Index: mcelog-1.20/k8.h === mcelog-1.0.1.orig/k8.h -+++ /dev/null +--- mcelog-1.20.orig/k8.h 2015-06-15 14:25:23.0 +0200 /dev/null 1970-01-01 00:00:00.0 + @@ -1,11 +0,0 @@ -char *k8_bank_name(unsigned num); -void
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2015-01-25 21:13:59 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is mcelog Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2014-11-24 11:14:30.0 +0100 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2015-01-25 21:14:02.0 +0100 @@ -1,0 +2,10 @@ +Fri Jan 23 11:04:40 UTC 2015 - tr...@suse.de + +- Update to version 1.0.8 +- Remove patch which got integrated mainline: + 0001-Continue-without-dmi-when-no-SMBIOS-or-SMBIOS-0x0-in.patch +- Fix possible security issue, build service complained about: + missing-call-to-setgroups-before-setuid + Add fix_setgroups_missing_call.patch + +--- Old: 0001-Continue-without-dmi-when-no-SMBIOS-or-SMBIOS-0x0-in.patch mcelog-1.0.1.tar.bz2 New: fix_setgroups_missing_call.patch mcelog-1.0.8.tar.bz2 Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.lzRXQz/_old 2015-01-25 21:14:04.0 +0100 +++ /var/tmp/diff_new_pack.lzRXQz/_new 2015-01-25 21:14:04.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package mcelog # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Summary:Log Machine Check Events License:GPL-2.0 Group: System/Monitoring -Version:1.0.1 +Version:1.0.8 Release:0 ExclusiveArch: %{ix86} x86_64 BuildRequires: libesmtp-devel @@ -43,8 +43,8 @@ Patch8: patches/add-f14h-support.patch Patch9: patches/add-f15h-support.patch Patch10:patches/add-f16h-support.patch -Patch11:0001-Continue-without-dmi-when-no-SMBIOS-or-SMBIOS-0x0-in.patch -Patch12:mcelog-socket-path.patch +Patch11:mcelog-socket-path.patch +Patch12:fix_setgroups_missing_call.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq Url:https://git.kernel.org/cgit/utils/cpu/mce/mcelog.git ++ email.patch ++ --- /var/tmp/diff_new_pack.lzRXQz/_old 2015-01-25 21:14:04.0 +0100 +++ /var/tmp/diff_new_pack.lzRXQz/_new 2015-01-25 21:14:04.0 +0100 @@ -7,18 +7,18 @@ msg.c|8 ++ 6 files changed, 343 insertions(+), 2 deletions(-) -Index: mcelog-1.0.1/Makefile +Index: mcelog-1.0.8/Makefile === mcelog-1.0.1.orig/Makefile -+++ mcelog-1.0.1/Makefile +--- mcelog-1.0.8.orig/Makefile 2014-12-20 19:35:05.0 +0100 mcelog-1.0.8/Makefile 2015-01-22 14:55:13.323708502 +0100 @@ -1,3 +1,4 @@ +CONFIG_EMAIL := 1 CFLAGS := -g -Os prefix := /usr etcprefix := -@@ -34,7 +35,8 @@ OBJ := p4.o k8.o mcelog.o dmi.o tsc.o co +@@ -37,7 +38,8 @@ client.o cache.o sysfs.o yellow.o page.o rbtree.o \ -xeon75xx.o sandy-bridge.o ivy-bridge.o msr.o +xeon75xx.o sandy-bridge.o ivy-bridge.o haswell.o msr.o bus.o unknown.o DISKDB_OBJ := diskdb.o dimm.o db.o -CLEAN := mcelog dmi tsc dbquery .depend .depend.X dbquery.o ${DISKDB_OBJ} +EMAIL_OBJ := email.o @@ -26,7 +26,7 @@ DOC := mce.pdf ADD_DEFINES := -@@ -46,6 +48,12 @@ OBJ += ${DISKDB_OBJ} +@@ -49,6 +51,12 @@ all: dbquery endif @@ -39,10 +39,10 @@ SRC := $(OBJ:.o=.c) mcelog: ${OBJ} -Index: mcelog-1.0.1/email.c +Index: mcelog-1.0.8/email.c === /dev/null -+++ mcelog-1.0.1/email.c +--- /dev/null 1970-01-01 00:00:00.0 + mcelog-1.0.8/email.c 2015-01-22 14:55:13.327708502 +0100 @@ -0,0 +1,199 @@ +#include unistd.h +#include signal.h @@ -243,10 +243,10 @@ + smtp_destroy_session (session); + return 0; +} -Index: mcelog-1.0.1/email.h +Index: mcelog-1.0.8/email.h === /dev/null -+++ mcelog-1.0.1/email.h +--- /dev/null 1970-01-01 00:00:00.0 + mcelog-1.0.8/email.h 2015-01-22 14:55:13.331708502 +0100 @@ -0,0 +1,34 @@ +#ifndef _MCELOG_EMAIL_H_ +#define _MCELOG_EMAIL_H_ @@ -282,10 +282,10 @@ +#endif + +#endif -Index: mcelog-1.0.1/mcelog.c +Index: mcelog-1.0.8/mcelog.c === mcelog-1.0.1.orig/mcelog.c -+++ mcelog-1.0.1/mcelog.c +--- mcelog-1.0.8.orig/mcelog.c 2014-12-20
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2014-11-24 11:14:29 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is mcelog Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2014-09-24 13:08:58.0 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2014-11-24 11:14:30.0 +0100 @@ -1,0 +2,6 @@ +Fri Nov 14 18:25:22 UTC 2014 - crrodrig...@opensuse.org + +- While not yet defined, the tmpfiles_create macro takes + an argument for it to actually work + +--- Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.pMXAWJ/_old 2014-11-24 11:14:31.0 +0100 +++ /var/tmp/diff_new_pack.pMXAWJ/_new 2014-11-24 11:14:31.0 +0100 @@ -112,7 +112,7 @@ %post %fillup_only -%{?tmpfiles_create:%{tmpfiles_create}} +%{?tmpfiles_create:%tmpfiles_create %{_tmpfilesdir}/mcelog.conf} %udev_rules_update %service_add_post %{name}.service -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2014-09-24 13:08:56 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is mcelog Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2014-09-18 07:12:06.0 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2014-09-24 13:08:58.0 +0200 @@ -1,0 +2,8 @@ +Sat Sep 20 03:16:05 UTC 2014 - crrodrig...@opensuse.org + +- mcelog.tmpfiles, mcelog-socket-path.patch, move socket + and pid file to /run/mcelog directory. + This update may require reboot as the relevant rpm macro + tmpfiles_create is not yet in any product. + +--- New: mcelog-socket-path.patch mcelog.tmpfiles Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.cd0xvx/_old 2014-09-24 13:08:59.0 +0200 +++ /var/tmp/diff_new_pack.cd0xvx/_new 2014-09-24 13:08:59.0 +0200 @@ -16,7 +16,6 @@ # - Name: mcelog Summary:Log Machine Check Events License:GPL-2.0 @@ -32,6 +31,7 @@ Source2:mcelog.sysconfig Source3:mcelog.systemd Source4:90-mcelog.rules +Source5:mcelog.tmpfiles Source6:README.email_setup Patch1: email.patch Patch2: mcelog_invert_prefill_db_warning.patch @@ -44,6 +44,7 @@ Patch9: patches/add-f15h-support.patch Patch10:patches/add-f16h-support.patch Patch11:0001-Continue-without-dmi-when-no-SMBIOS-or-SMBIOS-0x0-in.patch +Patch12:mcelog-socket-path.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq Url:https://git.kernel.org/cgit/utils/cpu/mce/mcelog.git @@ -80,7 +81,7 @@ %patch9 -p1 %patch10 -p1 %patch11 -p1 - +%patch12 -p1 %build export SUSE_ASNEEDED=0 make CFLAGS=$RPM_OPT_FLAGS @@ -100,6 +101,7 @@ install -m 644 lk10-mcelog.pdf $RPM_BUILD_ROOT/%_docdir/%name/lk10-mcelog.pdf install -D -m 0644 %SOURCE3 %{buildroot}%{_unitdir}/mcelog.service install -D -m 0644 %SOURCE4 %{buildroot}%{_udevrulesdir}/90-mcelog.rules +install -D -m 0644 %SOURCE5 %{buildroot}%{_tmpfilesdir}/mcelog.conf ln -sf %_sbindir/service ${RPM_BUILD_ROOT}%_sbindir/rcmcelog %clean @@ -110,7 +112,9 @@ %post %fillup_only +%{?tmpfiles_create:%{tmpfiles_create}} %udev_rules_update + %service_add_post %{name}.service %preun @@ -130,6 +134,7 @@ /etc/mcelog/*trigger %{_unitdir}/mcelog.service %{_udevrulesdir}/90-mcelog.rules +%{_tmpfilesdir}/mcelog.conf %_docdir/%name %_sbindir/rcmcelog ++ mcelog-socket-path.patch ++ --- mcelog-1.0.1.orig/paths.h +++ mcelog-1.0.1/paths.h @@ -4,8 +4,8 @@ #define DIMM_DB_FILENAME PREFIX /var/lib/memory-errors #define CONFIG_FILENAME PREFIX /etc/mcelog/mcelog.conf -#define SOCKET_PATH /var/run/mcelog-client +#define SOCKET_PATH /run/mcelog/mcelog-client #define LOG_FILE /var/log/mcelog -#define PID_FILE /var/run/mcelog.pid +#define PID_FILE /run/mcelog/mcelog.pid ++ mcelog.tmpfiles ++ d /run/mcelog 0755 root root --- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2014-09-18 07:12:04 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is mcelog Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2014-07-19 08:16:17.0 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2014-09-18 07:12:06.0 +0200 @@ -1,0 +2,11 @@ +Wed Sep 3 15:41:05 UTC 2014 - tr...@suse.de + +- Fixed the architecture tag to %{ix86} as suggested by: + Andreas Vetter asvet...@cip.physik.uni-wuerzburg.de + +--- +Wed Sep 3 14:41:21 UTC 2014 - meiss...@suse.com + +- fixed the architecture tag to %ix86 + +--- Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.ueFqeL/_old 2014-09-18 07:12:07.0 +0200 +++ /var/tmp/diff_new_pack.ueFqeL/_new 2014-09-18 07:12:07.0 +0200 @@ -16,13 +16,14 @@ # + Name: mcelog Summary:Log Machine Check Events License:GPL-2.0 Group: System/Monitoring Version:1.0.1 Release:0 -ExclusiveArch: ix86 x86_64 +ExclusiveArch: %{ix86} x86_64 BuildRequires: libesmtp-devel BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(udev) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2014-07-19 08:16:16 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is mcelog Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2014-07-15 16:25:49.0 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2014-07-19 08:16:17.0 +0200 @@ -1,0 +2,5 @@ +Fri Jul 11 08:17:28 UTC 2014 - juw...@suse.com + +- Fixed license, GPL-2.0 + +--- Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.fOLHoj/_old 2014-07-19 08:16:19.0 +0200 +++ /var/tmp/diff_new_pack.fOLHoj/_new 2014-07-19 08:16:19.0 +0200 @@ -18,7 +18,7 @@ Name: mcelog Summary:Log Machine Check Events -License:GPL-2.0+ +License:GPL-2.0 Group: System/Monitoring Version:1.0.1 Release:0 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2014-07-15 16:25:48 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is mcelog Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2014-05-18 06:50:14.0 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2014-07-15 16:25:49.0 +0200 @@ -1,0 +2,6 @@ +Fri Jun 27 13:54:52 UTC 2014 - juw...@suse.com + +- Added: 0001-Continue-without-dmi-when-no-SMBIOS-or-SMBIOS-0x0-in.patch + Continue without dmi when no SMBIOS or SMBIOS=0x0 in /sys/firmware/efi/systab, bnc#829862 + +--- New: 0001-Continue-without-dmi-when-no-SMBIOS-or-SMBIOS-0x0-in.patch Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.35htxA/_old 2014-07-15 16:25:50.0 +0200 +++ /var/tmp/diff_new_pack.35htxA/_new 2014-07-15 16:25:50.0 +0200 @@ -16,7 +16,6 @@ # - Name: mcelog Summary:Log Machine Check Events License:GPL-2.0+ @@ -43,6 +42,7 @@ Patch8: patches/add-f14h-support.patch Patch9: patches/add-f15h-support.patch Patch10:patches/add-f16h-support.patch +Patch11:0001-Continue-without-dmi-when-no-SMBIOS-or-SMBIOS-0x0-in.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq Url:https://git.kernel.org/cgit/utils/cpu/mce/mcelog.git @@ -78,6 +78,7 @@ %patch8 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p1 %build export SUSE_ASNEEDED=0 ++ 0001-Continue-without-dmi-when-no-SMBIOS-or-SMBIOS-0x0-in.patch ++ From c55a40ab8a2bef21c2cf00ffca1a1f4883192ca9 Mon Sep 17 00:00:00 2001 From: Julian Wolf juw...@suse.com Date: Fri, 4 Jul 2014 13:04:52 +0200 Subject: [PATCH] Continue without dmi when no SMBIOS or SMBIOS=0x0 in /sys/firmware/efi/systab, bnc#829862 --- dmi.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dmi.c b/dmi.c index 373837e..402459a 100644 --- a/dmi.c +++ b/dmi.c @@ -174,8 +174,10 @@ check_symbol: if (fclose(efi_systab) != 0) perror(filename); - if (!ret) - Eprintf(%s: SMBIOS entry point missing, filename); + if (!ret || !*address){ + Lprintf(No valid SMBIOS entry point: Continue without DMI decoding); + return 0; + } if (verbose) printf(%s: SMBIOS entry point at 0x%08lx\n, filename, @@ -224,6 +226,8 @@ int opendmi(void) } a = (struct anchor*)((char*)abase + (entry_point_addr - addr_start)); goto fill_entries; + }else{ + return -1; } legacy: -- 1.8.1.4 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2014-05-18 06:50:06 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is mcelog Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2014-05-02 14:00:51.0 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2014-05-18 06:50:14.0 +0200 @@ -1,0 +2,14 @@ +Fri May 16 15:47:18 UTC 2014 - tr...@suse.de + +- Add mce decoding support for latest AMD CPUs (bnc#871881). +- Implementation done by Borislav Petkov b...@suse.de + * Add patches/Start-consolidating-AMD-specific-stuff.patch + * Add add-defines.patch + * Add add-f10h-support.patch + * Add add-f11h-support.patch + * Add add-f12h-support.patch + * Add add-f14h-support.patch + * Add add-f15h-support.patch + * Add add-f16h-support.patch + +--- New: Start-consolidating-AMD-specific-stuff.patch add-defines.patch add-f10h-support.patch add-f11h-support.patch add-f12h-support.patch add-f14h-support.patch add-f15h-support.patch add-f16h-support.patch Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.v3jhD2/_old 2014-05-18 06:50:15.0 +0200 +++ /var/tmp/diff_new_pack.v3jhD2/_new 2014-05-18 06:50:15.0 +0200 @@ -35,6 +35,14 @@ Source6:README.email_setup Patch1: email.patch Patch2: mcelog_invert_prefill_db_warning.patch +Patch3: Start-consolidating-AMD-specific-stuff.patch +Patch4: patches/add-defines.patch +Patch5: patches/add-f10h-support.patch +Patch6: patches/add-f11h-support.patch +Patch7: patches/add-f12h-support.patch +Patch8: patches/add-f14h-support.patch +Patch9: patches/add-f15h-support.patch +Patch10:patches/add-f16h-support.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq Url:https://git.kernel.org/cgit/utils/cpu/mce/mcelog.git @@ -62,6 +70,14 @@ %setup -q %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 %build export SUSE_ASNEEDED=0 ++ Start-consolidating-AMD-specific-stuff.patch ++ 665 lines (skipped) ++ add-defines.patch ++ Add AMD-specific defines and helpers Signed-off-by: Borislav Petkov b...@suse.de Index: mcelog/amd.h === --- mcelog.orig/amd.h 2014-05-08 01:10:26.0 +0200 +++ mcelog/amd.h2014-05-08 01:18:50.0 +0200 @@ -10,5 +10,65 @@ int mce_filter_k8(struct mce *m); #define K8_MCELOG_THRESHOLD_L3_CACHE (4 * 9 + 2) #define K8_MCELOG_THRESHOLD_FBDIMM (4 * 9 + 3) +#define EC(x) ((x) 0x) +#define XEC(x, mask) (((x) 16) mask) + +#define LOW_SYNDROME(x)(((x) 15) 0xff) +#define HIGH_SYNDROME(x) (((x) 24) 0xff) + +#define TLB_ERROR(x) (((x) 0xFFF0) == 0x0010) +#define MEM_ERROR(x) (((x) 0xFF00) == 0x0100) +#define BUS_ERROR(x) (((x) 0xF800) == 0x0800) +#define INT_ERROR(x) (((x) 0xF4FF) == 0x0400) + +#define TT(x) (((x) 2) 0x3) +#define TT_MSG(x) tt_msgs[TT(x)] +#define II(x) (((x) 2) 0x3) +#define II_MSG(x) ii_msgs[II(x)] +#define LL(x) ((x) 0x3) +#define LL_MSG(x) ll_msgs[LL(x)] +#define TO(x) (((x) 8) 0x1) +#define TO_MSG(x) to_msgs[TO(x)] +#define PP(x) (((x) 9) 0x3) +#define PP_MSG(x) pp_msgs[PP(x)] +#define UU(x) (((x) 8) 0x3) +#define UU_MSG(x) uu_msgs[UU(x)] + +#define R4(x) (((x) 4) 0xf) +#define R4_MSG(x) ((R4(x) 9) ? _msgs[R4(x)] : Wrong R4!) + #define CASE_AMD_CPUS \ case CPU_K8 + +enum tt_ids { + TT_INSTR = 0, + TT_DATA, + TT_GEN, + TT_RESV, +}; + +enum ll_ids { + LL_RESV = 0, + LL_L1, + LL_L2, + LL_LG, +}; + +enum ii_ids { + II_MEM = 0, + II_RESV, + II_IO, + II_GEN, +}; + +enum _ids { + R4_GEN = 0, + R4_RD, + R4_WR, + R4_DRD, + R4_DWR, + R4_IRD, + R4_PREF, + R4_EVICT, + R4_SNOOP, +}; ++ add-f10h-support.patch ++ 728 lines (skipped) ++
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2014-05-02 14:00:50 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is mcelog Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2013-12-19 15:09:21.0 +0100 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2014-05-02 14:00:51.0 +0200 @@ -1,0 +2,10 @@ +Mon Apr 28 16:49:38 UTC 2014 - tr...@suse.de + +- Update to latest git tag v101. +- Mainline decided to finally do a version upgrade to v101 +- Remove v1.1 again, obsolete it and go for version v102 +- Some important fixes in the latest update: +- bnc#873159 +- bnc#873725 + +--- Old: mcelog-1.1.tar.bz2 New: mcelog-1.0.1.tar.bz2 Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.z1xyKR/_old 2014-05-02 14:00:52.0 +0200 +++ /var/tmp/diff_new_pack.z1xyKR/_new 2014-05-02 14:00:52.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package mcelog # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,11 +16,12 @@ # + Name: mcelog Summary:Log Machine Check Events License:GPL-2.0+ Group: System/Monitoring -Version:1.1 +Version:1.0.1 Release:0 ExclusiveArch: ix86 x86_64 BuildRequires: libesmtp-devel @@ -36,6 +37,9 @@ Patch2: mcelog_invert_prefill_db_warning.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq +Url:https://git.kernel.org/cgit/utils/cpu/mce/mcelog.git +# Previously version was wrong, mainline decided to go for 1.0.1. not 1.1 +Obsoletes: mcelog = 1.1 %{?systemd_requires} %description @@ -78,6 +82,7 @@ install -m 644 lk10-mcelog.pdf $RPM_BUILD_ROOT/%_docdir/%name/lk10-mcelog.pdf install -D -m 0644 %SOURCE3 %{buildroot}%{_unitdir}/mcelog.service install -D -m 0644 %SOURCE4 %{buildroot}%{_udevrulesdir}/90-mcelog.rules +ln -sf %_sbindir/service ${RPM_BUILD_ROOT}%_sbindir/rcmcelog %clean rm -rf $RPM_BUILD_ROOT @@ -108,5 +113,6 @@ %{_unitdir}/mcelog.service %{_udevrulesdir}/90-mcelog.rules %_docdir/%name +%_sbindir/rcmcelog %changelog ++ email.patch ++ --- /var/tmp/diff_new_pack.z1xyKR/_old 2014-05-02 14:00:52.0 +0200 +++ /var/tmp/diff_new_pack.z1xyKR/_new 2014-05-02 14:00:52.0 +0200 @@ -7,10 +7,10 @@ msg.c|8 ++ 6 files changed, 343 insertions(+), 2 deletions(-) -Index: mcelog-1.1/Makefile +Index: mcelog-1.0.1/Makefile === mcelog-1.1.orig/Makefile -+++ mcelog-1.1/Makefile +--- mcelog-1.0.1.orig/Makefile mcelog-1.0.1/Makefile @@ -1,3 +1,4 @@ +CONFIG_EMAIL := 1 CFLAGS := -g -Os @@ -39,10 +39,10 @@ SRC := $(OBJ:.o=.c) mcelog: ${OBJ} -Index: mcelog-1.1/email.c +Index: mcelog-1.0.1/email.c === --- /dev/null -+++ mcelog-1.1/email.c mcelog-1.0.1/email.c @@ -0,0 +1,199 @@ +#include unistd.h +#include signal.h @@ -243,10 +243,10 @@ + smtp_destroy_session (session); + return 0; +} -Index: mcelog-1.1/email.h +Index: mcelog-1.0.1/email.h === --- /dev/null -+++ mcelog-1.1/email.h mcelog-1.0.1/email.h @@ -0,0 +1,34 @@ +#ifndef _MCELOG_EMAIL_H_ +#define _MCELOG_EMAIL_H_ @@ -282,10 +282,10 @@ +#endif + +#endif -Index: mcelog-1.1/mcelog.c +Index: mcelog-1.0.1/mcelog.c === mcelog-1.1.orig/mcelog.c -+++ mcelog-1.1/mcelog.c +--- mcelog-1.0.1.orig/mcelog.c mcelog-1.0.1/mcelog.c @@ -37,6 +37,7 @@ #include assert.h #include signal.h @@ -313,7 +313,7 @@ static char *inputfile; char *processor_flags; static int foreground; -@@ -927,6 +931,7 @@ void usage(void) +@@ -928,6 +932,7 @@ void usage(void) --pidfile fileWrite pid of daemon into file\n --no-imc-log Disable extended iMC logging\n ); @@ -321,7 +321,7 @@ diskdb_usage(); print_cputypes(); exit(1); -@@ -994,6 +999,7 @@ static struct option options[] = { +@@ -995,6 +1000,7 @@ static struct option options[] = { { debug-numerrors, 0, NULL, O_DEBUG_NUMERRORS }, /* undocumented: for testing */ { no-imc-log, 0, NULL,
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2013-12-19 15:09:19 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is mcelog Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2013-10-23 19:23:59.0 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2013-12-19 15:09:21.0 +0100 @@ -1,0 +2,10 @@ +Sun Oct 27 18:00:04 UTC 2013 - crrodrig...@opensuse.org + +- Cleanup spec file +- activate mcelog service via udev+systemd combo, if the kernel + registers a /dev/mcelog device the service will be automatically + started. +- drop sysvinit scripts, add appropiate %pre %post invocations + of the needed systemd macros. + +--- Old: mcelog.service New: 90-mcelog.rules Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.oOCpGo/_old 2013-12-19 15:09:22.0 +0100 +++ /var/tmp/diff_new_pack.oOCpGo/_new 2013-12-19 15:09:22.0 +0100 @@ -16,7 +16,6 @@ # - Name: mcelog Summary:Log Machine Check Events License:GPL-2.0+ @@ -25,22 +24,19 @@ Release:0 ExclusiveArch: ix86 x86_64 BuildRequires: libesmtp-devel +BuildRequires: pkgconfig(systemd) +BuildRequires: pkgconfig(udev) Requires: logrotate -PreReq: %insserv_prereq %fillup_prereq Source: mcelog-%{version}.tar.bz2 -Source1:mcelog.service Source2:mcelog.sysconfig Source3:mcelog.systemd +Source4:90-mcelog.rules Source6:README.email_setup Patch1: email.patch Patch2: mcelog_invert_prefill_db_warning.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%if %suse_version 1220 -%define _unitdir /usr/lib/systemd -%else -%define _unitdir /lib/systemd -%endif +PreReq: %fillup_prereq +%{?systemd_requires} %description mcelog retrieves machine check events from an x86-64 kernel in a cron @@ -59,7 +55,7 @@ Andi Kleen a...@firstfloor.org %prep -%setup +%setup -q %patch1 -p1 %patch2 -p1 @@ -72,9 +68,6 @@ export etcprefix=$RPM_BUILD_ROOT make -e install mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d/ -mkdir -p $RPM_BUILD_ROOT/etc/init.d -install -m755 %SOURCE1 $RPM_BUILD_ROOT/etc/init.d/mcelog -ln -s /etc/init.d/mcelog $RPM_BUILD_ROOT/usr/sbin/rcmcelog install -m644 mcelog.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/mcelog mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates @@ -83,37 +76,37 @@ mkdir -p $RPM_BUILD_ROOT/%_docdir/%name install -m 644 %SOURCE6 $RPM_BUILD_ROOT/%_docdir/%name/README.email_setup install -m 644 lk10-mcelog.pdf $RPM_BUILD_ROOT/%_docdir/%name/lk10-mcelog.pdf -install -D -m 0644 %SOURCE3 %{buildroot}%{_unitdir}/system/mcelog.service +install -D -m 0644 %SOURCE3 %{buildroot}%{_unitdir}/mcelog.service +install -D -m 0644 %SOURCE4 %{buildroot}%{_udevrulesdir}/90-mcelog.rules %clean rm -rf $RPM_BUILD_ROOT +%pre +%service_add_pre %{name}.service + %post -if [ -c /dev/mcelog ];then -%{fillup_and_insserv -y mcelog} -fi +%fillup_only +%udev_rules_update +%service_add_post %{name}.service %preun -%{stop_on_removal mcelog} +%service_del_preun %{name}.service %postun -%{restart_on_update mcelog} -%insserv_cleanup +%service_del_postun %{name}.service %files %defattr (-,root,root,755) %{_mandir}/man8/* /usr/sbin/mcelog %config /etc/logrotate.d/mcelog -/etc/init.d/mcelog %dir /etc/mcelog %config /etc/mcelog/mcelog.conf /var/adm/fillup-templates/sysconfig.mcelog /etc/mcelog/*trigger -/usr/sbin/rcmcelog -%dir %{_unitdir} -%dir %{_unitdir}/system -%{_unitdir}/system/mcelog.service +%{_unitdir}/mcelog.service +%{_udevrulesdir}/90-mcelog.rules %_docdir/%name %changelog ++ 90-mcelog.rules ++ ACTION==add, KERNEL==mcelog, SUBSYSTEM==misc, TAG+=systemd, ENV{SYSTEMD_WANTS}+=mcelog.service ++ mcelog.systemd ++ --- /var/tmp/diff_new_pack.oOCpGo/_old 2013-12-19 15:09:22.0 +0100 +++ /var/tmp/diff_new_pack.oOCpGo/_new 2013-12-19 15:09:22.0 +0100 @@ -1,8 +1,6 @@ [Unit] Description=Machine Check Exception Logging Daemon -After=syslog.target ConditionVirtualization=false -ConditionPathExists=/dev/mcelog [Service] EnvironmentFile=-/etc/sysconfig/mcelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2013-10-23 19:23:57 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is mcelog Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2013-02-23 16:38:09.0 +0100 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2013-10-23 19:23:59.0 +0200 @@ -1,0 +2,10 @@ +Tue Oct 15 17:02:13 UTC 2013 - tr...@suse.de + +- Updated to latest git HEAD: +commit c7bf28088f056925c04d4fd5768504c59bbf19c4 +Author: Robin Holt robinmh...@gmail.com +Date: Mon Sep 16 04:30:02 2013 -0500 + Because upstream does not use proper tags/revisions, I now + versioned this one mcelog-1.1 + +--- Old: mcelog-1.0pre3.6e4e2a000124.tar.bz2 New: mcelog-1.1.tar.bz2 Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.Z8WZuI/_old 2013-10-23 19:24:00.0 +0200 +++ /var/tmp/diff_new_pack.Z8WZuI/_new 2013-10-23 19:24:00.0 +0200 @@ -16,11 +16,12 @@ # + Name: mcelog Summary:Log Machine Check Events License:GPL-2.0+ Group: System/Monitoring -Version:1.0pre3.6e4e2a000124 +Version:1.1 Release:0 ExclusiveArch: ix86 x86_64 BuildRequires: libesmtp-devel ++ email.patch ++ --- /var/tmp/diff_new_pack.Z8WZuI/_old 2013-10-23 19:24:00.0 +0200 +++ /var/tmp/diff_new_pack.Z8WZuI/_new 2013-10-23 19:24:00.0 +0200 @@ -7,10 +7,10 @@ msg.c|8 ++ 6 files changed, 343 insertions(+), 2 deletions(-) -Index: mcelog-1.0pre3.6e4e2a000124/Makefile +Index: mcelog-1.1/Makefile === mcelog-1.0pre3.6e4e2a000124.orig/Makefile -+++ mcelog-1.0pre3.6e4e2a000124/Makefile +--- mcelog-1.1.orig/Makefile mcelog-1.1/Makefile @@ -1,3 +1,4 @@ +CONFIG_EMAIL := 1 CFLAGS := -g -Os @@ -18,7 +18,7 @@ etcprefix := @@ -34,7 +35,8 @@ OBJ := p4.o k8.o mcelog.o dmi.o tsc.o co client.o cache.o sysfs.o yellow.o page.o rbtree.o \ -xeon75xx.o sandy-bridge.o +xeon75xx.o sandy-bridge.o ivy-bridge.o msr.o DISKDB_OBJ := diskdb.o dimm.o db.o -CLEAN := mcelog dmi tsc dbquery .depend .depend.X dbquery.o ${DISKDB_OBJ} +EMAIL_OBJ := email.o @@ -39,10 +39,10 @@ SRC := $(OBJ:.o=.c) mcelog: ${OBJ} -Index: mcelog-1.0pre3.6e4e2a000124/email.c +Index: mcelog-1.1/email.c === --- /dev/null -+++ mcelog-1.0pre3.6e4e2a000124/email.c mcelog-1.1/email.c @@ -0,0 +1,199 @@ +#include unistd.h +#include signal.h @@ -111,7 +111,7 @@ + strncpy(c_recipient, email_env, MAX_STRING_LEN - 1); + return 1; + } -+ return 0; ++ return 0; +} + +/* Callback to prnt the recipient status */ @@ -243,10 +243,10 @@ + smtp_destroy_session (session); + return 0; +} -Index: mcelog-1.0pre3.6e4e2a000124/email.h +Index: mcelog-1.1/email.h === --- /dev/null -+++ mcelog-1.0pre3.6e4e2a000124/email.h mcelog-1.1/email.h @@ -0,0 +1,34 @@ +#ifndef _MCELOG_EMAIL_H_ +#define _MCELOG_EMAIL_H_ @@ -282,10 +282,10 @@ +#endif + +#endif -Index: mcelog-1.0pre3.6e4e2a000124/mcelog.c +Index: mcelog-1.1/mcelog.c === mcelog-1.0pre3.6e4e2a000124.orig/mcelog.c -+++ mcelog-1.0pre3.6e4e2a000124/mcelog.c +--- mcelog-1.1.orig/mcelog.c mcelog-1.1/mcelog.c @@ -37,6 +37,7 @@ #include assert.h #include signal.h @@ -313,23 +313,23 @@ static char *inputfile; char *processor_flags; static int foreground; -@@ -914,6 +918,7 @@ void usage(void) - --num-errors N Only process N errors (for testing)\n +@@ -927,6 +931,7 @@ void usage(void) --pidfile fileWrite pid of daemon into file\n + --no-imc-log Disable extended iMC logging\n ); + email_usage(); diskdb_usage(); print_cputypes(); exit(1); -@@ -979,6 +984,7 @@ static struct option options[] = { - { pidfile, 1, NULL, O_PIDFILE }, +@@ -994,6 +999,7 @@ static struct option options[] = { { debug-numerrors, 0, NULL, O_DEBUG_NUMERRORS }, /* undocumented: for testing */ + { no-imc-log, 0, NULL, O_NO_IMC_LOG }, DISKDB_OPTIONS + EMAIL_OPTIONS {} }; -@@ -1153,11 +1159,86 @@ static void drop_cred(void) +@@ -1171,11 +1177,86 @@ static void drop_cred(void) } } @@ -416,7 +416,7 @@ if (recordlen == 0) {
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2013-02-23 16:38:07 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is mcelog, Maintainer is tr...@suse.com Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2012-09-14 12:31:06.0 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2013-02-23 16:38:09.0 +0100 @@ -1,0 +2,6 @@ +Fri Feb 22 13:00:21 UTC 2013 - rmila...@suse.com + +- Install mcelog.service accordingly (/usr/lib/systemd for 12.3 + and up or /lib/systemd for older versions). + +--- Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.YvIKGX/_old 2013-02-23 16:38:11.0 +0100 +++ /var/tmp/diff_new_pack.YvIKGX/_new 2013-02-23 16:38:11.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package mcelog # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # - Name: mcelog Summary:Log Machine Check Events License:GPL-2.0+ @@ -36,6 +35,12 @@ Patch2: mcelog_invert_prefill_db_warning.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %suse_version 1220 +%define _unitdir /usr/lib/systemd +%else +%define _unitdir /lib/systemd +%endif + %description mcelog retrieves machine check events from an x86-64 kernel in a cron job, decodes them, and logs them to /var/log/mcelog. @@ -77,7 +82,7 @@ mkdir -p $RPM_BUILD_ROOT/%_docdir/%name install -m 644 %SOURCE6 $RPM_BUILD_ROOT/%_docdir/%name/README.email_setup install -m 644 lk10-mcelog.pdf $RPM_BUILD_ROOT/%_docdir/%name/lk10-mcelog.pdf -install -D -m 0644 %SOURCE3 %{buildroot}/lib/systemd/system/mcelog.service +install -D -m 0644 %SOURCE3 %{buildroot}%{_unitdir}/system/mcelog.service %clean rm -rf $RPM_BUILD_ROOT @@ -96,7 +101,6 @@ %files %defattr (-,root,root,755) -/lib/systemd/system/mcelog.service %{_mandir}/man8/* /usr/sbin/mcelog %config /etc/logrotate.d/mcelog @@ -106,6 +110,9 @@ /var/adm/fillup-templates/sysconfig.mcelog /etc/mcelog/*trigger /usr/sbin/rcmcelog +%dir %{_unitdir} +%dir %{_unitdir}/system +%{_unitdir}/system/mcelog.service %_docdir/%name %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2012-09-14 12:30:48 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is mcelog, Maintainer is tr...@suse.com Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2012-05-03 10:58:30.0 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2012-09-14 12:31:06.0 +0200 @@ -1,0 +2,11 @@ +Thu Aug 16 14:41:55 UTC 2012 - tr...@suse.de + +- bnc#774226 mcelog + systemd: won't start without MCELOG_ADMIN_EMAIL set +- fix uninitialized variable mail_setup + +--- +Wed Jul 18 12:49:43 UTC 2012 - tr...@suse.de + +- Also build mcelog packages for i386 (bnc#770726) + +--- Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.UvjKUG/_old 2012-09-14 12:31:11.0 +0200 +++ /var/tmp/diff_new_pack.UvjKUG/_new 2012-09-14 12:31:11.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package mcelog # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,16 +15,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: mcelog -License:GPL-2.0+ Summary:Log Machine Check Events +License:GPL-2.0+ +Group: System/Monitoring Version:1.0pre3.6e4e2a000124 -Release:1 -AutoReqProv:on -ExclusiveArch: x86_64 +Release:0 +ExclusiveArch: ix86 x86_64 BuildRequires: libesmtp-devel Requires: logrotate PreReq: %insserv_prereq %fillup_prereq @@ -35,7 +34,6 @@ Source6:README.email_setup Patch1: email.patch Patch2: mcelog_invert_prefill_db_warning.patch -Group: System/Monitoring BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ++ email.patch ++ --- /var/tmp/diff_new_pack.UvjKUG/_old 2012-09-14 12:31:11.0 +0200 +++ /var/tmp/diff_new_pack.UvjKUG/_new 2012-09-14 12:31:11.0 +0200 @@ -1,11 +1,22 @@ mcelog-1.0pre3.6e4e2a000124/Makefile +--- + Makefile | 10 ++- + email.c | 199 +++ + email.h | 34 ++ + mcelog.c | 93 + + mcelog.h |1 + msg.c|8 ++ + 6 files changed, 343 insertions(+), 2 deletions(-) + +Index: mcelog-1.0pre3.6e4e2a000124/Makefile +=== +--- mcelog-1.0pre3.6e4e2a000124.orig/Makefile +++ mcelog-1.0pre3.6e4e2a000124/Makefile @@ -1,3 +1,4 @@ +CONFIG_EMAIL := 1 CFLAGS := -g -Os prefix := /usr etcprefix := -@@ -34,7 +35,8 @@ +@@ -34,7 +35,8 @@ OBJ := p4.o k8.o mcelog.o dmi.o tsc.o co client.o cache.o sysfs.o yellow.o page.o rbtree.o \ xeon75xx.o sandy-bridge.o DISKDB_OBJ := diskdb.o dimm.o db.o @@ -15,7 +26,7 @@ DOC := mce.pdf ADD_DEFINES := -@@ -46,6 +48,12 @@ +@@ -46,6 +48,12 @@ OBJ += ${DISKDB_OBJ} all: dbquery endif @@ -28,9 +39,11 @@ SRC := $(OBJ:.o=.c) mcelog: ${OBJ} mcelog-1.0pre3.6e4e2a000124/email.c +Index: mcelog-1.0pre3.6e4e2a000124/email.c +=== +--- /dev/null +++ mcelog-1.0pre3.6e4e2a000124/email.c -@@ -0,0 +1,184 @@ +@@ -0,0 +1,199 @@ +#include unistd.h +#include signal.h +#include ctype.h @@ -86,6 +99,21 @@ + return 0; +} + ++int email_env(void) ++{ ++ char *email_env = getenv(MCELOG_EMAIL_DEBUG); ++ ++ if (email_env) ++ debug=0; ++ ++ email_env = getenv(MCELOG_ADMIN_EMAIL); ++ if (email_env) { ++ strncpy(c_recipient, email_env, MAX_STRING_LEN - 1); ++ return 1; ++ } ++ return 0; ++} ++ +/* Callback to prnt the recipient status */ +static void +print_recipient_status (smtp_recipient_t recipient, @@ -215,9 +243,11 @@ + smtp_destroy_session (session); + return 0; +} mcelog-1.0pre3.6e4e2a000124/email.h +Index: mcelog-1.0pre3.6e4e2a000124/email.h +=== +--- /dev/null +++ mcelog-1.0pre3.6e4e2a000124/email.h -@@ -0,0 +1,32 @@ +@@ -0,0 +1,34 @@ +#ifndef _MCELOG_EMAIL_H_ +#define _MCELOG_EMAIL_H_ + @@ -229,6 +259,7 @@ +extern void setup_mail_header(FILE *email_fd, struct mce *m); +extern void
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2012-05-03 10:58:17 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is mcelog, Maintainer is tr...@novell.com Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2011-11-25 10:12:52.0 +0100 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2012-05-03 10:58:30.0 +0200 @@ -1,0 +2,5 @@ +Tue Apr 24 23:43:56 YEKT 2012 - avm-xan...@yandex.ru + +- Fixed description in init-file. + +--- Other differences: -- ++ mcelog.service ++ --- /var/tmp/diff_new_pack.0LZEBm/_old 2012-05-03 10:58:31.0 +0200 +++ /var/tmp/diff_new_pack.0LZEBm/_new 2012-05-03 10:58:31.0 +0200 @@ -27,7 +27,7 @@ # Default-Stop: # Short-Description: Machine Check Architecture/Error (MCA/MCE) implementations # Description:Depending on the configuration, the mcelog service will log -#HW initiated Machine Check Excpetions or also react on them intelligently +#HW initiated Machine Check Exceptions or also react on them intelligently ### END INIT INFO . /etc/rc.status -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2011-12-06 18:28:31 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is mcelog, Maintainer is tr...@novell.com Changes: Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.QCOSla/_old 2011-12-06 18:50:51.0 +0100 +++ /var/tmp/diff_new_pack.QCOSla/_new 2011-12-06 18:50:51.0 +0100 @@ -19,7 +19,7 @@ Name: mcelog -License:GPLv2+ +License:GPL-2.0+ Summary:Log Machine Check Events Version:1.0pre3.6e4e2a000124 Release:1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2011-11-25 11:12:24 Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) Package is mcelog, Maintainer is tr...@novell.com Changes: --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes2011-09-23 02:12:50.0 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2011-11-25 10:12:52.0 +0100 @@ -1,0 +2,5 @@ +Wed Nov 23 21:36:36 UTC 2011 - crrodrig...@opensuse.org + +- Add systemd unit. + +--- New: mcelog.systemd Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.NZ02Ti/_old 2011-11-25 10:12:53.0 +0100 +++ /var/tmp/diff_new_pack.NZ02Ti/_new 2011-11-25 10:12:53.0 +0100 @@ -31,6 +31,7 @@ Source: mcelog-%{version}.tar.bz2 Source1:mcelog.service Source2:mcelog.sysconfig +Source3:mcelog.systemd Source6:README.email_setup Patch1: email.patch Patch2: mcelog_invert_prefill_db_warning.patch @@ -78,6 +79,7 @@ mkdir -p $RPM_BUILD_ROOT/%_docdir/%name install -m 644 %SOURCE6 $RPM_BUILD_ROOT/%_docdir/%name/README.email_setup install -m 644 lk10-mcelog.pdf $RPM_BUILD_ROOT/%_docdir/%name/lk10-mcelog.pdf +install -D -m 0644 %SOURCE3 %{buildroot}/lib/systemd/system/mcelog.service %clean rm -rf $RPM_BUILD_ROOT @@ -96,6 +98,7 @@ %files %defattr (-,root,root,755) +/lib/systemd/system/mcelog.service %{_mandir}/man8/* /usr/sbin/mcelog %config /etc/logrotate.d/mcelog ++ mcelog.systemd ++ [Unit] Description=Machine Check Exception Logging Daemon After=syslog.target ConditionVirtualization=false ConditionPathExists=/dev/mcelog [Service] EnvironmentFile=-/etc/sysconfig/mcelog #warning: if this fails is due to a known kernel bug, fix that instead ! ExecStart=/usr/sbin/mcelog --ignorenodev --daemon --foreground --email $MCELOG_ADMIN_EMAIL StandardOutput=syslog [Install] WantedBy=multi-user.target -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mcelog for openSUSE:Factory
Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at Mon Sep 5 16:38:45 CEST 2011. --- mcelog/mcelog.changes 2011-06-07 11:53:11.0 +0200 +++ mcelog/mcelog.changes 2011-08-18 00:20:41.0 +0200 @@ -1,0 +2,28 @@ +Thu Aug 18 00:09:50 CEST 2011 - r...@suse.de + +- update to GIT of today (6e4e2a000124f08f1a4e3791c2b02ec9ae6af393) +- many bugfixes +- Implement re-parsing of mcelog output in ASCII +- Add support for non-page aligned EFI Configuration Tables +- Add --debug-numerrors +- Add decoder for corrected XEN events to --ascii +- Correctly log kernel supplied time +- record the trigger info in the log +- mcelog: Implement dmi decoding for UEFI +- mcelog: Add usage information to mcelog for --ignorenodev +- Fix length calculation of SMBIOS mapping +- change disclaimer +- explictly spell out corrected errors + +--- +Sat Jul 2 21:50:53 UTC 2011 - tr...@suse.de + +- Update to latest git version (fate#311830) + Unfortunately versions have not been increased, latest tag + still is 1.0-pre3 (same as 1 year ago), therefore the date + is included in the version. I try to push maintainers to + increase the version number. +- Invert logic of db prefill messages - info if it works, silent + if not + +--- @@ -11,0 +40,9 @@ + +--- +Tue Apr 6 15:15:45 CEST 2010 - tr...@suse.de + +- Update to latest git version having quite some fixes (no features): + - Fixed some memleaks and made app valgrind conform + - Fixed theoretical DoS attack (bnc#586241) + - Added support of additional cpus + - Fixed a lot messages (in manpage, in triggers, in README, ...) calling whatdependson for head-i586 Old: mcelog-1.0pre3.6363f5b719e9.tar.bz2 New: mcelog-1.0pre3.6e4e2a000124.tar.bz2 mcelog_invert_prefill_db_warning.patch Other differences: -- ++ mcelog.spec ++ --- /var/tmp/diff_new_pack.d44muK/_old 2011-09-05 16:38:26.0 +0200 +++ /var/tmp/diff_new_pack.d44muK/_new 2011-09-05 16:38:26.0 +0200 @@ -21,8 +21,8 @@ Name: mcelog License:GPLv2+ Summary:Log Machine Check Events -Version:1.0pre3.6363f5b719e9 -Release:6 +Version:1.0pre3.6e4e2a000124 +Release:1 AutoReqProv:on ExclusiveArch: x86_64 BuildRequires: libesmtp-devel @@ -33,6 +33,7 @@ Source2:mcelog.sysconfig Source6:README.email_setup Patch1: email.patch +Patch2: mcelog_invert_prefill_db_warning.patch Group: System/Monitoring BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -55,6 +56,7 @@ %prep %setup %patch1 -p1 +%patch2 -p1 %build export SUSE_ASNEEDED=0 ++ email.patch ++ --- /var/tmp/diff_new_pack.d44muK/_old 2011-09-05 16:38:26.0 +0200 +++ /var/tmp/diff_new_pack.d44muK/_new 2011-09-05 16:38:26.0 +0200 @@ -1,22 +1,11 @@ - Makefile | 10 +++ - email.c | 184 +++ - email.h | 32 ++ - mcelog.c | 93 +++ - mcelog.h |1 - msg.c|8 ++ - 6 files changed, 325 insertions(+), 3 deletions(-) - -Index: mcelog-1.0pre3.6363f5b719e9/Makefile -=== mcelog-1.0pre3.6363f5b719e9.orig/Makefile -+++ mcelog-1.0pre3.6363f5b719e9/Makefile +--- mcelog-1.0pre3.6e4e2a000124/Makefile mcelog-1.0pre3.6e4e2a000124/Makefile @@ -1,3 +1,4 @@ +CONFIG_EMAIL := 1 CFLAGS := -g -Os prefix := /usr etcprefix := -@@ -34,7 +35,8 @@ OBJ := p4.o k8.o mcelog.o dmi.o tsc.o co +@@ -34,7 +35,8 @@ client.o cache.o sysfs.o yellow.o page.o rbtree.o \ xeon75xx.o sandy-bridge.o DISKDB_OBJ := diskdb.o dimm.o db.o @@ -26,7 +15,7 @@ DOC := mce.pdf ADD_DEFINES := -@@ -46,6 +48,12 @@ OBJ += ${DISKDB_OBJ} +@@ -46,6 +48,12 @@ all: dbquery endif @@ -39,10 +28,8 @@ SRC := $(OBJ:.o=.c) mcelog: ${OBJ} -Index: mcelog-1.0pre3.6363f5b719e9/email.c -=== /dev/null -+++ mcelog-1.0pre3.6363f5b719e9/email.c +--- mcelog-1.0pre3.6e4e2a000124/email.c mcelog-1.0pre3.6e4e2a000124/email.c @@ -0,0 +1,184 @@ +#include unistd.h +#include signal.h @@ -228,10 +215,8 @@ + smtp_destroy_session (session); + return 0; +} -Index: mcelog-1.0pre3.6363f5b719e9/email.h -=== /dev/null -+++ mcelog-1.0pre3.6363f5b719e9/email.h +--- mcelog-1.0pre3.6e4e2a000124/email.h mcelog-1.0pre3.6e4e2a000124/email.h @@ -0,0 +1,32 @@ +#ifndef _MCELOG_EMAIL_H_ +#define _MCELOG_EMAIL_H_ @@ -265,19 +250,17 @@