Accepting request 569859 from home:ptesarik:branches:Kernel:kdump
- kdump-fix-m_threads-missing-initialization.patch: Fix m_threads missing initialization (bsc#1047609). - kdump-try-both-kexec_load-and-kexec_file_load.patch: Try both kexec_load(2) and kexec_file_load(2) (bsc#951144). - kdump-kdump_echo-and-kdump_logger-helpers.patch: load.sh: introduce kdump_echo and kdump_logger helpers (bsc#951144). OBS-URL: https://build.opensuse.org/request/show/569859 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=145
This commit is contained in:
parent
db202b37a8
commit
d044265143
28
kdump-fix-m_threads-missing-initialization.patch
Normal file
28
kdump-fix-m_threads-missing-initialization.patch
Normal file
@ -0,0 +1,28 @@
|
||||
From: Lance Wang <lzwang@suse.com>
|
||||
Date: Fri, 19 Jan 2018 16:05:42 +0800
|
||||
Subject: Fix m_threads missing initialization
|
||||
References: bsc#1047609
|
||||
Upstream: merged
|
||||
Git-commit: 0905910da2eaa856a0e8bf26bbe6b5e4e9dc0788
|
||||
|
||||
kdumptool randomly outputs value for --num-threads.
|
||||
So an error like following happened:
|
||||
|
||||
makedumpfile --num-threads 5223023572093018873 -d 31 -l /proc/vmcore.
|
||||
|
||||
Signed-off-by: Lance Wang <lzwang@suse.com>
|
||||
---
|
||||
kdumptool/savedump.cc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/kdumptool/savedump.cc
|
||||
+++ b/kdumptool/savedump.cc
|
||||
@@ -61,7 +61,7 @@ using std::ifstream;
|
||||
SaveDump::SaveDump()
|
||||
throw ()
|
||||
: m_dump(DEFAULT_DUMP), m_transfer(NULL), m_usedDirectSave(false),
|
||||
- m_useMakedumpfile(false), m_split(0), m_nomail(false)
|
||||
+ m_useMakedumpfile(false), m_split(0), m_threads(0), m_nomail(false)
|
||||
{
|
||||
Debug::debug()->trace("SaveDump::SaveDump()");
|
||||
|
@ -1,8 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:03:47 UTC 2018 - ptesarik@suse.com
|
||||
|
||||
- kdump-fix-m_threads-missing-initialization.patch: Fix m_threads
|
||||
missing initialization (bsc#1047609).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 16 13:35:49 UTC 2018 - ptesarik@suse.com
|
||||
|
||||
- kdump-kdump_echo-and-kdump_logger-helpers.patch: load.sh:
|
||||
introduce kdump_echo and kdump_logger helpers (bsc#951144).
|
||||
- kdump-try-both-kexec_load-and-kexec_file_load.patch: Try both
|
||||
kexec_load(2) and kexec_file_load(2) (bsc#951144).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 16 13:32:25 UTC 2018 - ptesarik@suse.com
|
||||
|
@ -78,6 +78,7 @@ Patch28: %{name}-Don-t-split-by-default.patch
|
||||
Patch29: %{name}-fillupdir-fixes.patch
|
||||
Patch30: %{name}-kdump_echo-and-kdump_logger-helpers.patch
|
||||
Patch31: %{name}-try-both-kexec_load-and-kexec_file_load.patch
|
||||
Patch32: %{name}-fix-m_threads-missing-initialization.patch
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
@ -171,6 +172,7 @@ cp %{S:1} tests/data/
|
||||
%endif
|
||||
%patch30 -p1
|
||||
%patch31 -p1
|
||||
%patch32 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user