Hello community,
here is the log from the commit of package makedumpfile
checked in at Fri Nov 28 15:38:23 CET 2008.
--------
--- makedumpfile/makedumpfile.changes 2008-11-20 18:42:37.000000000 +0100
+++ makedumpfile/makedumpfile.changes 2008-11-28 10:32:19.000000000 +0100
@@ -1,0 +2,21 @@
+Fri Nov 28 10:30:49 CET 2008 - bwalle@suse.de
+
+- makedumpfile-64bit-kernel-on-32bit-userland.diff: Change return
+ type of read_vmcoreinfo_symbol() to 'unsigned long long'.
+
+-------------------------------------------------------------------
+Thu Nov 27 15:43:30 CET 2008 - bwalle@suse.de
+
+- Fix parsing of 64 bit VMCOREINFO on 32 bit platforms. For SUSE,
+ this only affects openSUSE on PPC because SLES PPC has a 64 bit
+ userland now. (bnc#447432).
+
+-------------------------------------------------------------------
+Thu Nov 27 10:12:43 CET 2008 - bwalle@suse.de
+
+- Update to 1.3.1
+ o Support linux-2.6.26 sparsemem on i386.
+ o Support linux-2.6.27 and linux-2.6.28.
+- Remove makedumpfile-2.6.27.diff: Mainline.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
makedumpfile-1.3.0.tar.bz2
makedumpfile-2.6.27.diff
New:
----
makedumpfile-1.3.1.tar.bz2
makedumpfile-64bit-kernel-on-32bit-userland.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ makedumpfile.spec ++++++
--- /var/tmp/diff_new_pack.v18823/_old 2008-11-28 15:35:24.000000000 +0100
+++ /var/tmp/diff_new_pack.v18823/_new 2008-11-28 15:35:24.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package makedumpfile (Version 1.3.0)
+# spec file for package makedumpfile (Version 1.3.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -26,14 +26,14 @@
BuildRequires: libdw-devel libdw1 libelf-devel libelf0 libelf1
%endif
License: GPL v2 or later
-Version: 1.3.0
-Release: 3
+Version: 1.3.1
+Release: 1
Summary: Partial kernel dump
Group: System/Kernel
Url: https://sourceforge.net/projects/makedumpfile/
Source: %{name}-%{version}.tar.bz2
Patch0: %{name}-coptflags.diff
-Patch1: %{name}-2.6.27.diff
+Patch1: %{name}-64bit-kernel-on-32bit-userland.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -73,6 +73,18 @@
/bin/*
%changelog
+* Fri Nov 28 2008 bwalle@suse.de
+- makedumpfile-64bit-kernel-on-32bit-userland.diff: Change return
+ type of read_vmcoreinfo_symbol() to 'unsigned long long'.
+* Thu Nov 27 2008 bwalle@suse.de
+- Fix parsing of 64 bit VMCOREINFO on 32 bit platforms. For SUSE,
+ this only affects openSUSE on PPC because SLES PPC has a 64 bit
+ userland now. (bnc#447432).
+* Thu Nov 27 2008 bwalle@suse.de
+- Update to 1.3.1
+ o Support linux-2.6.26 sparsemem on i386.
+ o Support linux-2.6.27 and linux-2.6.28.
+- Remove makedumpfile-2.6.27.diff: Mainline.
* Thu Nov 20 2008 bwalle@suse.de
- Don't require a C++ compiler. That was from the time where the
library was built within that package and statically linked in.
++++++ makedumpfile-1.3.0.tar.bz2 -> makedumpfile-1.3.1.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/makedumpfile-1.3.0/makedumpfile.8 new/makedumpfile-1.3.1/makedumpfile.8
--- old/makedumpfile-1.3.0/makedumpfile.8 2008-10-10 03:13:19.000000000 +0200
+++ new/makedumpfile-1.3.1/makedumpfile.8 2008-11-26 06:00:26.000000000 +0100
@@ -1,4 +1,4 @@
-.TH MAKEDUMPFILE 8 "October 2008" "makedumpfile v1.3.0" "Linux System Administrator's Manual"
+.TH MAKEDUMPFILE 8 "November 2008" "makedumpfile v1.3.1" "Linux System Administrator's Manual"
.SH NAME
makedumpfile \- make a small dumpfile of kdump
.SH SYNOPSIS
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/makedumpfile-1.3.0/makedumpfile.h new/makedumpfile-1.3.1/makedumpfile.h
--- old/makedumpfile-1.3.0/makedumpfile.h 2008-10-10 03:13:19.000000000 +0200
+++ new/makedumpfile-1.3.1/makedumpfile.h 2008-11-26 06:00:26.000000000 +0100
@@ -436,7 +436,7 @@
#define KVER_MIN_SHIFT 16
#define KERNEL_VERSION(x,y,z) (((x) << KVER_MAJ_SHIFT) | ((y) << KVER_MIN_SHIFT) | (z))
#define OLDEST_VERSION (0x0206000f) /* linux-2.6.15 */
-#define LATEST_VERSION (0x0206001a) /* linux-2.6.26 */
+#define LATEST_VERSION (0x0206001c) /* linux-2.6.28 */
#define VERSION_LINUX_2_6_26 (0x0206001a) /* linux-2.6.26 */
#define VERSION_LINUX_2_6_27 (0x0206001b) /* linux-2.6.27 */
@@ -497,7 +497,8 @@
#define KVBASE_MASK (0x7fffff)
#define KVBASE (SYMBOL(_stext) & ~KVBASE_MASK)
#define _SECTION_SIZE_BITS (26)
-#define _SECTION_SIZE_BITS_PAE (30)
+#define _SECTION_SIZE_BITS_PAE_ORIG (30)
+#define _SECTION_SIZE_BITS_PAE_2_6_26 (29)
#define _MAX_PHYSMEM_BITS (32)
#define _MAX_PHYSMEM_BITS_PAE (36)
@@ -631,10 +632,11 @@
*/
#ifdef __x86__
int get_machdep_info_x86(void);
+int get_versiondep_info_x86(void);
unsigned long long vaddr_to_paddr_x86(unsigned long vaddr);
#define get_phys_base() TRUE
#define get_machdep_info() get_machdep_info_x86()
-#define get_versiondep_info() TRUE
+#define get_versiondep_info() get_versiondep_info_x86()
#define vaddr_to_paddr(X) vaddr_to_paddr_x86(X)
#endif /* x86 */
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/makedumpfile-1.3.0/makedumpfile.spec new/makedumpfile-1.3.1/makedumpfile.spec
--- old/makedumpfile-1.3.0/makedumpfile.spec 2008-10-10 03:13:19.000000000 +0200
+++ new/makedumpfile-1.3.1/makedumpfile.spec 2008-11-26 06:00:26.000000000 +0100
@@ -1,6 +1,6 @@
Name: makedumpfile
Summary: makedumpfile package
-Version: 1.3.0
+Version: 1.3.1
Release: 1
Group: Applications/Text
License: GPL
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/makedumpfile-1.3.0/Makefile new/makedumpfile-1.3.1/Makefile
--- old/makedumpfile-1.3.0/Makefile 2008-10-10 03:13:19.000000000 +0200
+++ new/makedumpfile-1.3.1/Makefile 2008-11-26 06:00:26.000000000 +0100
@@ -1,7 +1,7 @@
# makedumpfile
-VERSION=1.3.0
-DATE=10 October 2008
+VERSION=1.3.1
+DATE=26 November 2008
CC = gcc
CFLAGS = -g -O2 -Wall -D_FILE_OFFSET_BITS=64 \
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/makedumpfile-1.3.0/README new/makedumpfile-1.3.1/README
--- old/makedumpfile-1.3.0/README 2008-10-10 03:13:19.000000000 +0200
+++ new/makedumpfile-1.3.1/README 2008-11-26 06:00:26.000000000 +0100
@@ -39,7 +39,7 @@
# make; make install
* SUPPORTED KERNELS
- makedumpfile (version 1.3.0) supports the following kernels.
+ makedumpfile (version 1.3.1) supports the following kernels.
| FLATMEM | DISCONTIGMEM | SPARSEMEM
|-------------------+-------------------+-------------------
@@ -51,7 +51,7 @@
2.6.17 | OK | OK | -- | | -- | OK | -- | -- | -- | OK | -- |
2.6.18 | OK | OK | -- | OK | -- | OK | OK | -- | -- | OK | OK | OK
2.6.19 | OK | OK | -- | OK | OK | OK | | -- | OK | OK | OK | OK
- 2.6.20 | OK | OK | -- | KP | OK | OK | OK | -- | OK | OK | OK | KP
+ 2.6.20 | OK | OK | -- | #1 | OK | OK | OK | -- | OK | OK | OK | #1
21-rc5 | OK | OK | -- | OK | OK | OK | OK | -- | OK | OK | OK | OK
2.6.21 | OK | OK | -- | | OK | OK | OK | -- | OK | OK | OK |
2.6.22 | OK | OK | -- | | OK | OK | OK | -- | OK | OK | OK |
@@ -59,12 +59,16 @@
2.6.24 | OK | OK | -- | | OK | OK | OK | -- | OK | OK | OK |
2.6.25 | OK | ** | -- | | | ** | OK | -- | OK | OK | OK |
2.6.26 | OK | ** | -- | | | ** | OK | -- | OK | OK | OK |
+ 2.6.27 | OK | ** | -- | | | ** | OK | -- | #2 | OK | OK |
+ 28-rc4 | OK | ** | -- | | | ** | OK | -- | OK | OK | OK |
OK : Support.
-- : Not support.
Empty : Not test yet.
TODO : TODO.
- KP : Both kexec/kdump does not work with PPC64 2.6.20 kernels.
+ #1 : Both kexec/kdump does not work with PPC64 2.6.20 kernels.
+ This is a known problem fixed with later kernels.
+ #2 : kdump does not work with i386 sparsemem 2.6.27 kernels.
This is a known problem fixed with later kernels.
** : The deleted memory model.
On x86_64, both FLATMEM and DISCONTIGMEM have been deleted since
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/makedumpfile-1.3.0/x86.c new/makedumpfile-1.3.1/x86.c
--- old/makedumpfile-1.3.0/x86.c 2008-10-10 03:13:19.000000000 +0200
+++ new/makedumpfile-1.3.1/x86.c 2008-11-26 06:00:26.000000000 +0100
@@ -31,12 +31,10 @@
DEBUG_MSG("\n");
DEBUG_MSG("PAE : ON\n");
vt.mem_flags |= MEMORY_X86_PAE;
- info->section_size_bits = _SECTION_SIZE_BITS_PAE;
info->max_physmem_bits = _MAX_PHYSMEM_BITS_PAE;
} else {
DEBUG_MSG("\n");
DEBUG_MSG("PAE : OFF\n");
- info->section_size_bits = _SECTION_SIZE_BITS;
info->max_physmem_bits = _MAX_PHYSMEM_BITS;
}
info->page_offset = __PAGE_OFFSET;
@@ -71,6 +69,24 @@
return TRUE;
}
+int
+get_versiondep_info_x86(void)
+{
+ /*
+ * SECTION_SIZE_BITS of PAE has been changed to 29 from 30 since
+ * linux-2.6.26.
+ */
+ if (vt.mem_flags & MEMORY_X86_PAE) {
+ if (info->kernel_version < VERSION_LINUX_2_6_26)
+ info->section_size_bits = _SECTION_SIZE_BITS_PAE_ORIG;
+ else
+ info->section_size_bits = _SECTION_SIZE_BITS_PAE_2_6_26;
+ } else
+ info->section_size_bits = _SECTION_SIZE_BITS;
+
+ return TRUE;
+}
+
unsigned long long
vtop_x86_PAE(unsigned long vaddr)
{
++++++ makedumpfile-64bit-kernel-on-32bit-userland.diff ++++++
From: Bernhard Walle