Hello community, here is the log from the commit of package kexec-tools for openSUSE:Factory checked in at 2014-07-28 16:11:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kexec-tools (Old) and /work/SRC/openSUSE:Factory/.kexec-tools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kexec-tools" Changes: -------- --- /work/SRC/openSUSE:Factory/kexec-tools/kexec-tools.changes 2014-07-25 12:27:51.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kexec-tools.new/kexec-tools.changes 2014-07-28 16:11:21.000000000 +0200 @@ -1,0 +2,6 @@ +Sat Jul 26 14:53:22 UTC 2014 - to...@suse.com + +- Fix ELF header endianess for ppc64le kdump (bnc#888150) + New patch: kexec-tools-kdump-fix-elf-header-endianess.patch + +------------------------------------------------------------------- New: ---- kexec-tools-kdump-fix-elf-header-endianess.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kexec-tools.spec ++++++ --- /var/tmp/diff_new_pack.ahuEQl/_old 2014-07-28 16:11:22.000000000 +0200 +++ /var/tmp/diff_new_pack.ahuEQl/_new 2014-07-28 16:11:22.000000000 +0200 @@ -44,6 +44,8 @@ Patch9: %{name}-zero-efi-info.patch Patch10: %{name}-fs2dt-fix-endianess-issue-with-initrd-base-and-size.patch Patch11: %{name}-ppc64-purgatory-device-tree-values-should-be-read-stored-in-big-endian.patch +Patch12: %{name}-kdump-fix-elf-header-endianess.patch + Url: ftp://kernel.org/pub/linux/utils/kernel/kexec/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build #!BuildIgnore: fop @@ -75,6 +77,7 @@ %patch9 -p1 %patch10 -p1 %patch11 -p1 +%patch12 -p1 %build # disable as-needed ++++++ kexec-tools-kdump-fix-elf-header-endianess.patch ++++++ From: Laurent Dufour <lduf...@linux.vnet.ibm.com> Subject: kdump fix ELF header endianess References: bnc#888150 Signed-off-by: Tony Jones <to...@suse.de> Upstream: pending The ELF header created among the loading of the kdump kernel should be flagged using the current endianess and not always as big endian. Without this patch the data exposed in /proc/vmcore are not readable when running in LE mode. Signed-off-by: Laurent Dufour <lduf...@linux.vnet.ibm.com> --- kexec/arch/ppc64/crashdump-ppc64.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/kexec/arch/ppc64/crashdump-ppc64.c +++ b/kexec/arch/ppc64/crashdump-ppc64.c @@ -38,7 +38,11 @@ static struct crash_elf_info elf_info64 = { class: ELFCLASS64, +#if BYTE_ORDER == LITTLE_ENDIAN + data: ELFDATA2LSB, +#else data: ELFDATA2MSB, +#endif machine: EM_PPC64, page_offset: PAGE_OFFSET, lowmem_limit: MAXMEM, -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org