Hello community, here is the log from the commit of package crash for openSUSE:Factory checked in at 2017-11-16 14:02:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crash (Old) and /work/SRC/openSUSE:Factory/.crash.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crash" Thu Nov 16 14:02:11 2017 rev:143 rq:542028 version:7.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/crash/crash.changes 2017-06-16 10:54:49.723116003 +0200 +++ /work/SRC/openSUSE:Factory/.crash.new/crash.changes 2017-11-16 14:02:15.526919747 +0100 @@ -1,0 +2,24 @@ +Tue Nov 14 22:32:42 UTC 2017 - [email protected] + +- Upgrade the source tarball to version to 7.2.0 which requires the + removal of patches that are then already applied: + + crash-gdb-add-proc_service-sync-with-GLIBC.patch + crash-xen_add_support_for_domU_with_linux_kernel_from_3.19.patch + + A complete changelog is available via the crash source page at: + + http://people.redhat.com/anderson/crash.changelog.html + + Added crash-ppc64-book3s-update-hash-page-table-geometry.patch + from [email protected] via bsc#1067702 to correct + errors with virtual-to-physical address translation in the larger + virtual address range of newer kernels. + + Added a BuildRequires of libelf that will populate the build + workspace with libelf (from elfutils) even though it is not + directly required by crash but is required by gdb (which crash + nests). It no longer got picked up automatically for build and + gdb and kernel module features had build errors before it. + +------------------------------------------------------------------- Old: ---- crash-7.1.8.tar.gz crash-gdb-add-proc_service-sync-with-GLIBC.patch crash-xen_add_support_for_domU_with_linux_kernel_from_3.19.patch New: ---- crash-7.2.0.tar.gz crash-ppc64-book3s-update-hash-page-table-geometry.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crash.spec ++++++ --- /var/tmp/diff_new_pack.Z0xZ7U/_old 2017-11-16 14:02:16.674878145 +0100 +++ /var/tmp/diff_new_pack.Z0xZ7U/_new 2017-11-16 14:02:16.678878000 +0100 @@ -14,10 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - # needssslcertforbuild + %define whitepaper_version 2003 %define scripts_version 2008-02-08 %define gcore_version 2011-09-22 @@ -57,7 +56,7 @@ Summary: Crash utility for live systems; netdump, diskdump, LKCD or mcore dumpfiles License: GPL-3.0+ and GFDL-1.2 Group: Development/Tools/Debuggers -Version: 7.1.8 +Version: 7.2.0 Release: 0 Source: %{name}-%{version}.tar.gz Source2: crash_whitepaper-%{whitepaper_version}.tar.bz2 @@ -83,9 +82,8 @@ Patch13: %{name}-patch-gdb.patch Patch15: %{name}_enable_snappy_support.patch Patch16: eppic-support-arm64.patch -Patch17: %{name}-gdb-add-proc_service-sync-with-GLIBC.patch Patch18: %{name}-stop_read_error_when_intent_is_retry.patch -Patch19: %{name}-xen_add_support_for_domU_with_linux_kernel_from_3.19.patch +Patch19: %{name}-ppc64-book3s-update-hash-page-table-geometry.patch Patch90: %{name}-sial-ps-2.6.29.diff BuildRequires: bison BuildRequires: flex @@ -95,6 +93,7 @@ %if %{have_snappy} BuildRequires: snappy-devel %endif +BuildRequires: libelf-devel BuildRequires: zlib-devel Requires: /usr/bin/nm ExclusiveArch: %ix86 x86_64 ia64 s390 s390x ppc64 ppc64le alpha aarch64 @@ -279,7 +278,6 @@ %patch10 -p1 %patch11 -p1 %patch13 -p1 -%patch17 -p1 %patch18 -p1 %patch19 -p1 %if %{have_snappy} ++++++ crash-7.1.8.tar.gz -> crash-7.2.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/crash/crash-7.1.8.tar.gz /work/SRC/openSUSE:Factory/.crash.new/crash-7.2.0.tar.gz differ: char 5, line 1 ++++++ crash-ppc64-book3s-update-hash-page-table-geometry.patch ++++++ Update for support of Linux 4.14 and later PPC64 kernels where the From: Dave Anderson <[email protected]> hash page table geometry accomodates a larger virtual address range. Without the patch, the virtual-to-physical translation of user space virtual addresses by "vm -p", "vtop", and "rd -u" may generate an invalid translation or otherwise fail. ([email protected]) --- defs.h | 3 +++ ppc64.c | 12 +++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/defs.h b/defs.h index 154a5b9..f2c3f50 100644 --- a/defs.h +++ b/defs.h @@ -3857,6 +3857,9 @@ struct efi_memory_desc_t { #define PGD_INDEX_SIZE_L4_64K_3_10 12 #define PMD_INDEX_SIZE_L4_64K_4_6 5 #define PUD_INDEX_SIZE_L4_64K_4_6 5 +#define PMD_INDEX_SIZE_L4_64K_4_12 10 +#define PUD_INDEX_SIZE_L4_64K_4_12 7 +#define PGD_INDEX_SIZE_L4_64K_4_12 8 #define PTE_INDEX_SIZE_RADIX_64K 5 #define PMD_INDEX_SIZE_RADIX_64K 9 #define PUD_INDEX_SIZE_RADIX_64K 9 diff --git a/ppc64.c b/ppc64.c index edf46dc..77ac09f 100644 --- a/ppc64.c +++ b/ppc64.c @@ -447,10 +447,16 @@ ppc64_init(int when) } else if (!(machdep->flags & BOOK3E) && (THIS_KERNEL_VERSION >= LINUX(4,6,0))) { m->l1_index_size = PTE_INDEX_SIZE_L4_64K_3_10; - m->l2_index_size = PMD_INDEX_SIZE_L4_64K_4_6; - m->l3_index_size = PUD_INDEX_SIZE_L4_64K_4_6; - m->l4_index_size = PGD_INDEX_SIZE_L4_64K_3_10; + if (THIS_KERNEL_VERSION >= LINUX(4,12,0)) { + m->l2_index_size = PMD_INDEX_SIZE_L4_64K_4_12; + m->l3_index_size = PUD_INDEX_SIZE_L4_64K_4_12; + m->l4_index_size = PGD_INDEX_SIZE_L4_64K_4_12; + } else { + m->l2_index_size = PMD_INDEX_SIZE_L4_64K_4_6; + m->l3_index_size = PUD_INDEX_SIZE_L4_64K_4_6; + m->l4_index_size = PGD_INDEX_SIZE_L4_64K_3_10; + } } else if (THIS_KERNEL_VERSION >= LINUX(3,10,0)) { m->l1_index_size = PTE_INDEX_SIZE_L4_64K_3_10; m->l2_index_size = PMD_INDEX_SIZE_L4_64K_3_10;
