SHA256
1
0
forked from pool/kexec-tools

Accepting request 17510 from Kernel:kdump

Copy from Kernel:kdump/kexec-tools based on submit request 17510 from user tiwai

OBS-URL: https://build.opensuse.org/request/show/17510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kexec-tools?expand=0&rev=71
This commit is contained in:
OBS User autobuild 2009-08-12 23:52:55 +00:00 committed by Git OBS Bridge
parent a4f086a92d
commit a5d626ae36
3 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/kexec/arch/x86_64/crashdump-x86_64.h b/kexec/arch/x86_64/crashdump-x86_64.h
index 9f4dee9..0e83527 100644
--- a/kexec/arch/x86_64/crashdump-x86_64.h
+++ b/kexec/arch/x86_64/crashdump-x86_64.h
@@ -11,7 +11,7 @@ int load_crashdump_segments(struct kexec_info *info, char *mod_cmdline,
#define MAXMEM 0x3fffffffffffUL
/* Kernel text size */
-#define KERNEL_TEXT_SIZE (40UL*1024*1024)
+#define KERNEL_TEXT_SIZE (512UL*1024*1024)
#define CRASH_MAX_MEMMAP_NR (KEXEC_MAX_SEGMENTS + 1)
#define CRASH_MAX_MEMORY_RANGES (MAX_MEMORY_RANGES + 2)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 12 09:46:46 CEST 2009 - tiwai@suse.de
- increase kernel text size to fix for 2.6.31 kernel (bnc#530240)
-------------------------------------------------------------------
Sun Jul 12 14:22:02 CEST 2009 - coolo@novell.com

View File

@ -29,7 +29,7 @@ PreReq: %insserv_prereq %fillup_prereq
AutoReqProv: on
Summary: Tools for fast kernel loading
Version: 2.0.0
Release: 55
Release: 56
Source: %{name}-%{version}.tar.bz2
Source1: kexec-bootloader
Source2: kexec-bootloader.8.txt
@ -57,6 +57,7 @@ Patch18: %{name}-ppc64-dynamic-fix-1.diff
Patch19: %{name}-ppc64-dynamic-fix-2.diff
Patch20: %{name}-ppc64-dynamic-fix-3.diff
Patch21: %{name}-ppc64-reinit.diff
Patch22: %{name}-increase-kernel-text-size.diff
Url: http://ftp.kernel.org/pub/linux/kernel/people/horms/kexec-tools/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#!BuildIgnore: fop
@ -109,6 +110,7 @@ Authors:
%patch19 -p1
%patch20 -p1
%patch21 -p1
%patch22 -p1
%build
# disable as-needed