* Thu Aug 01 2024 jslabyAATTsuse.cz- add (bsc#1228388): * 0001-arm64-section_size_bits-compatible-with-macro-defini.patch * 0002-Reflect-__-start-end-_init_task-kernel-symbols-renam.patch * 0003-x86_64-fix-for-adding-top_of_kernel_stack_padding-fo.patch * 0004-Fix-kmem-v-option-on-Linux-6.9-and-later-kernels.patch * 0005-X86-64-fix-for-crash-session-loading-failure.patch * 0006-Fix-for-failing-to-load-kernel-module.patch * 0007-X86-64-fix-a-regression-issue-about-kernel-stack-pad.patch * 0008-Fix-kmem-i-and-swap-commands-on-Linux-6.10-rc1-and-l.patch * 0009-List-enable-LIST_HEAD_FORMAT-for-r-option.patch * 0010-arm64-fix-a-potential-segfault-when-unwind-frame.patch * 0011-arm64-Fix-bt-command-show-wrong-stacktrace-on-ramdum.patch * Mon Feb 26 2024 dimstarAATTopensuse.org- Use %patch -P N instead of deprecated %patchN. * Mon Nov 20 2023 dmairAATTsuse.com- Tidy patches to apply without offsets to crash 8.0.4/gdb 10.2: - crash-allow-use-of-sadump-captured-KASLR-kernel.patch - crash-debuginfo-compressed.patch - crash-make-emacs-default.diff - crash-sles9-time.patch - crash-stop_read_error_when_intent_is_retry.patch - crash-usrmerge.patch * Thu Nov 16 2023 dmairAATTsuse.com- Update to crash-8.0.4 - Removed patches already present in upstream source: * crash-fix-glibc-redefs.patch * crash-get-linux_banner-without-using-syment-type.patch- Removed the redundant clean section from the spec file * Thu Oct 05 2023 dmairAATTsuse.com- Updated crash gcore extension to current upstream v1.64 dated 2023-02-28. It\'s not updated in each product version and most don\'t release a crash-gcore rpm now but updated the latest openSUSE package project at this time. * Wed Sep 20 2023 dmairAATTsuse.com- On initialization crash verifies the core based on the text referenced by the linux_banner symbol in the supplied core. It chooses how to get the address of the text based on the symbol type decoded with gdb. For some compressed kernels with an accessible debuginfo file the type is not supported (bss segment found, data reference expected) but the symbol and it\'s value are valid. This causes the linux_banner text to be used as the \"address\" of the linux_banner and that\'s an invalid address for the coredump causing crash to fail to load reporting something like: WARNING: invalid linux_banner pointer: 65762078756e694c where the address is obviously ASCII text used as a number. A SUSE patch to support compressed kernel binaries introduces the behavior, it does not happen for upstream crash source as-is. The difference is whether the symbol details are obtained from the kernel binary or debuginfo (fails for some debuginfos). * crash-get-linux_banner-without-using-syment-type.patch In verify_version(), choose how to obtain the linux_banner address based on the result of get_symbol_type() instead. TYPE_CODE_ARRAY causes the value of the symbol obtained from gdb to be used. TYPE_CODE_PTR causes the sybol data to be read to get the address. Default is unrecognized type but a warning is shown and the value obtained from gdb used as a best case choice. (bsc#1190434 c#24) * Tue Aug 15 2023 dmairAATTsuse.com- crash has it\'s own definitions of some glibc functions, including strlcpy(), length limited string copy. In glibc 2.38 the second argument is const char *, in crash it is char *. The argument is the source string to copy from and shouldn\'t be modified. crash uses the glibc version in some places, it\'s own in others and the declarations are incompatible resulting in build errors. Added * crash-fix-glibc-redefs.patch to make the crash declaration of strlcpy() match the glibc 2.38 version. It may also need to be made product version conditional but it should fix Factory. * Wed Jun 14 2023 olafAATTaepfle.de- Remove hard dependency to kernel macros to allow quilt setup * Thu May 04 2023 petrAATTtesarici.cz- Fix build on SLE12: * crash-gdb-gnulib-define-warndecl.patch: Provide a definition of __warndecl() in the gnulib copy of cdefs.h. * Thu May 04 2023 petrAATTtesarici.cz- Update to crash 8.0.3 - Remove upstreamed patches: * crash-EPPIC-extension-support-for-crash-8.x-gdb-10.x.patch * crash-Add-RISCV64-framework-code-support.patch * crash-RISCV64-Make-crash-tool-enter-command-line-and-suppo.patch * crash-RISCV64-Add-dis-command-support.patch * crash-RISCV64-Add-irq-command-support.patch * crash-RISCV64-Add-bt-command-support.patch * crash-RISCV64-Add-help-r-command-support.patch * crash-RISCV64-Add-help-m-M-command-support.patch * crash-RISCV64-Add-mach-command-support.patch * crash-RISCV64-Add-the-implementation-of-symbol-verify.patch * crash-define-EM_RISCV-fallback.patch * gdb-10.2-Revert-gnulib-fix-stat-fstat-build-errors.patch * gdb-10.2-gnulib-update-to-776af40e0.patch- Stop building the trace extension from the main package. The extension is now built from the crash-trace source package. - Remove crash-trace-2021-02-08.tar.bz2 * Fri Apr 21 2023 petrAATTtesarici.cz- Fix ppc64le build with glibc 2.32+: * gdb-10.2-Revert-gnulib-fix-stat-fstat-build-errors.patch * gdb-10.2-gnulib-update-to-776af40e0.patch * crash-gdb-10.2.series: Patch series for the embedded GDB. * crash-gdb-7.6.series: Remove (obsolete). * Thu Apr 20 2023 petrAATTtesarici.cz- crash-define-EM_RISCV-fallback.patch: Provide a fallback definition of EM_RISCV. * Thu Apr 20 2023 petrAATTtesarici.cz- Remove crash-Define-fallback-PN_XNUM.patch: No more compatibility with SLE11. * Thu Apr 20 2023 petrAATTtesarici.cz- Enable build for 32-bit Arm and 32-bit IBM POWER. * Thu Apr 20 2023 petrAATTtesarici.cz- Add support for RISCV64: * crash-Add-RISCV64-framework-code-support.patch * crash-RISCV64-Make-crash-tool-enter-command-line-and-suppo.patch * crash-RISCV64-Add-dis-command-support.patch * crash-RISCV64-Add-irq-command-support.patch * crash-RISCV64-Add-bt-command-support.patch * crash-RISCV64-Add-help-r-command-support.patch * crash-RISCV64-Add-help-m-M-command-support.patch * crash-RISCV64-Add-mach-command-support.patch * crash-RISCV64-Add-the-implementation-of-symbol-verify.patch * Thu Apr 13 2023 petrAATTtesarici.cz- crash-EPPIC-extension-support-for-crash-8.x-gdb-10.x.patch: EPPIC extension support for crash-8.x + gdb-10.x. * Wed Apr 12 2023 petrAATTtesarici.cz- Update to crash 8.0.2 - Update to gdb-10.2 - Support kernels at least up to 5.18 - Refresh * crash-patch-gdb.patch * crash-extensions-rule-for-defs.patch * crash-SLE15-SP1-Fix-for-PPC64-kernel-virtual-address-translation-in.patch - Remove upstreamed patches * 0019-Add-kernel-version-dependent-check-for-getting-lengt.patch * crash-missing-declarations.patch- Disable eppic extension, because it does not built for GDB 10.2.- Remove eppic patches * eppic-remove-duplicate-symbols.patch * eppic-support-arm64.patch * eppic-switch-to-system-lib.patch- Clean up specfile after the discontinued SIAL extension. * Fri Jan 20 2023 dmairAATTsuse.com- Added crash-trace-2021-02-08.tar.bz2 and modified project to create the crash-trace package. If installed with crash installed the extension can be used for diagnosing kernel trace data. * Mon Dec 05 2022 lnusselAATTsuse.de- BuildRequire %kernel_module_package_buildreqs (boo#1205149) * Fri Nov 18 2022 ptesarikAATTsuse.com- Require zlib-devel for crash-devel. * Tue Oct 25 2022 dmairAATTsuse.com- make of crash extensions was failing due to extension shared objects depending on extension source file plus defs.h. defs.h is hardlinked from the crash base source directory before the .so make rule but make reports it doesn\'t know how to make requirement defs.h. I added a rule for defs.h in the extensions Makefile that creates defs.h the same way as was previously used but satisfies the dependency resolution on demand then the make succeeded. * crash-extensions-rule-for-defs.patch (bsc#1204587) * Tue Feb 15 2022 dmairAATTsuse.com- Update to crash 7.3.1 - Refresh * eppic-switch-to-system-lib.patch - Remove patches present in version upgrade * 0001-Fix-for-kmem-s-S-option-on-Linux-5.7-and-later-kerne.patch * 0002-memory-Add-support-for-SECTION_TAINT_ZONE_DEVICE-fla.patch * 0003-memory-Fix-for-kmem-n-option-to-display-NID-correctl.patch * 0004-defs.h-Fix-the-value-of-TIF_SIGPENDING-macro.patch * 0005-Fix-waitq-command-for-Linux-4.13-and-later-kernels.patch * 0006-Handle-task_struct-state-member-changes-for-kernels-.patch * 0007-arm64-rename-ARM64_PAGE_OFFSET_ACTUAL-to-ARM64_FLIP_.patch * 0008-arm64-assign-page_offset-with-VA_BITS-kernel-configu.patch * 0009-arm64-use-dedicated-bits-to-record-the-VA-space-layo.patch * 0010-arm64-implement-switchable-PTOV-VTOP-for-kernels-5.1.patch * 0011-diskdump-Fail-readmem-early-if-dump-is-incomplete.patch * 0012-netdump-Permit-zero_excluded-for-incomplete-ELF-dump.patch * 0013-diskdump-Print-total-number-of-dumpable-pages.patch * 0014-diskdump-Introduce-read_pd.patch * 0015-x86_64-Fix-check-for-__per_cpu_offset-initialization.patch * 0016-arm64-Get-CPU-registers-from-ELF-notes-even-without-.patch * 0017-ppc64-Add-MMU-type-info-in-machdep-command.patch * 0018-diskdump-Add-support-for-reading-dumpfiles-compresse.patch * 0020-arm64-Use-VA_BITS-for-page_offset-calculation.patch * crash-mod-fix-module-object-file-lookup.patch * crash-xen-pvops.patch * Thu Dec 16 2021 lnusselAATTsuse.de- UsrMerge: debug info is in /usr/lib/debug/usr/lib/modules (boo#1190434, crash-usrmerge.patch) * Wed Nov 10 2021 msuchanekAATTsuse.com- Update to 7.3.0 (jsc#SLE-17360). - Refresh * eppic-switch-to-system-lib.patch - Remove upstreamed patches - crash-xen-increase-__physical_mask_shift_xen-to-52.patch - crash-arm64-update-mapping-symbol-filter-in-arm64_verify_s.patch - crash-Fix-segmentation-fault-when-ikconfig-passed-nonstand.patch - crash-printk-add-support-for-lockless-ringbuffer.patch - crash-printk-use-committed-finalized-state-values.patch - crash-x86_64-VC-exception-stack-support.patch - Refresh to upstream version * crash-xen-pvops.patch * crash-handle-by-kernel-task_struct-state-member-changes.patch => 0006-Handle-task_struct-state-member-changes-for-kernels-.patch - Removed trace extension moved to different project upstream.- Enable Linux 5.14 and pull fixes since 7.3.0 + 0001-Fix-for-kmem-s-S-option-on-Linux-5.7-and-later-kerne.patch + 0002-memory-Add-support-for-SECTION_TAINT_ZONE_DEVICE-fla.patch + 0003-memory-Fix-for-kmem-n-option-to-display-NID-correctl.patch + 0004-defs.h-Fix-the-value-of-TIF_SIGPENDING-macro.patch + 0005-Fix-waitq-command-for-Linux-4.13-and-later-kernels.patch + 0007-arm64-rename-ARM64_PAGE_OFFSET_ACTUAL-to-ARM64_FLIP_.patch + 0008-arm64-assign-page_offset-with-VA_BITS-kernel-configu.patch + 0009-arm64-use-dedicated-bits-to-record-the-VA-space-layo.patch + 0010-arm64-implement-switchable-PTOV-VTOP-for-kernels-5.1.patch + 0011-diskdump-Fail-readmem-early-if-dump-is-incomplete.patch + 0012-netdump-Permit-zero_excluded-for-incomplete-ELF-dump.patch + 0013-diskdump-Print-total-number-of-dumpable-pages.patch + 0014-diskdump-Introduce-read_pd.patch + 0015-x86_64-Fix-check-for-__per_cpu_offset-initialization.patch + 0016-arm64-Get-CPU-registers-from-ELF-notes-even-without-.patch + 0017-ppc64-Add-MMU-type-info-in-machdep-command.patch + 0018-diskdump-Add-support-for-reading-dumpfiles-compresse.patch + 0019-Add-kernel-version-dependent-check-for-getting-lengt.patch + 0020-arm64-Use-VA_BITS-for-page_offset-calculation.patch * Wed Nov 10 2021 mwilckAATTsuse.com- enable zstd support + add crash-enable-zstd-support.patch * Mon Oct 04 2021 dmairAATTsuse.com- Fix crash view of task_struct_state changes for kernel 5.14 (bsc#1191206) + crash-handle-by-kernel-task_struct-state-member-changes.patch * Fri Sep 24 2021 msuchanekAATTsuse.de- Fix build on ppc64 - it needs full TOC as much as ppc64le. * Thu Sep 23 2021 msuchanekAATTsuse.de- Fix module loading (bsc#1190743 ltc#194414). + crash-mod-fix-module-object-file-lookup.patch * Fri Jun 25 2021 dmairAATTsuse.com- Kernel commit 5c83511bdb9832c86be20fb86b783356e2f58062 removed pv_init_ops, and commit 054ac8ad5ebe4a69e1f0e842483821ddbe560121 removed the Xen-specific paravirt patch function. As a result, pvops Xen dumps are no longer recognized as Xen dumps, and virtual-to-physical translation fails. Use the value of xen_start_info to determine whether the kernel is running in Xen PV mode. As suggested by Juergen Gross. (bsc#1187634) + crash-xen-pvops.patch * Mon Apr 26 2021 msuchanekAATTsuse.com- Fix bt command with SEV-ES (bsc#1185209) + crash-x86_64-VC-exception-stack-support.patch * Thu Apr 08 2021 msuchanekAATTsuse.com- Add back some more missing KMP conditionals- Refresh crash-sles9-time.patch * fix warning: format \'%ld\' expects argument of type \'long int\', but argument 3 has type \'int\' * Tue Apr 06 2021 msuchanekAATTsuse.com- Crash KMPs cannot be always built. * Thu Mar 25 2021 pmladekAATTsuse.com- Upgrade to version 7.2.9: * x86_64: Add support for new divide_error name * calc_kaslr_offset: 5-level paging support * Append time zone to output of date and time * s390dbf: support s390 debug feature version 3 * x86_64: Add support for 1GB huge pages to \"vtop\" command * Implement support for user-space zram reads on x86_64 * Prepare for the introduction of ARM64 8.3 Pointer Authentication * New \"log -T\" option * New ARM64 \"--machdep vabits_actual=\" command line option * Enhancement of the \"struct -r\" option * Enhancement of the \"bpf -p|-P\" options * New \"extend -s\" option- Dropped the following patches obsoleted by the version upgrade: * crash-Fix-for-reading-compressed-kdump-dumpfiles-from-syst.patch * crash-Fix-kmem-i-option-on-Linux-5.9-rc1-and-later-kernels.patch * crash-Fix-to-allow-the-translation-of-ARM64-FIXMAP-address.patch * crash-Introduce-a-new-ARM64-machdep-vabits_actual-value-co.patch * crash-Prepare-for-the-introduction-of-ARM64-8.3-Pointer-Au.patch * crash-Several-fixes-for-ARM64-kernels.patch * crash-arm64-Change-tcr_el1_t1sz-variable-name-to-TCR_EL1_T.patch * crash-fix-kmem-sS-for-caches-created-during-SLUB-bootstrap.patch * crash-fix-memory_driver-build-kernel-5.8.patch * crash-gdb-fix-aarch64.patch * crash-task.c-avoid-unnecessary-cpu-cycles-in-stkptr_to_tas.patch * crash-update-whitepaper-URL.patch * crash-verify-exception-frame-accessible-for-all-verify-requests.patch * crash-xendump-fix-failure-to-match-arm-aarch64-elf-format-.patch- Support the lockless printk ringbuffer added into kernel-5.10 (bsc#1183965) * crash-printk-add-support-for-lockless-ringbuffer.patch * crash-printk-use-committed-finalized-state-values.patch * Wed Mar 10 2021 mwilckAATTsuse.com- Install and ship the small built-in extensions snap.so, trace.so, and dminfo.so. \"trace.so\" is particularly useful. Ship them in the main \"crash\" package, as they are small. * Thu Jan 28 2021 jbohacAATTsuse.com- Added crash-xen-increase-__physical_mask_shift_xen-to-52.patch (bsc#1177050) * Mon Jan 18 2021 msuchanekAATTsuse.de- Update arm64 support (boo#1169099). crash-Fix-to-allow-the-translation-of-ARM64-FIXMAP-address.patch crash-Introduce-a-new-ARM64-machdep-vabits_actual-value-co.patch crash-Prepare-for-the-introduction-of-ARM64-8.3-Pointer-Au.patch crash-Several-fixes-for-ARM64-kernels.patch crash-arm64-Change-tcr_el1_t1sz-variable-name-to-TCR_EL1_T.patch crash-xendump-fix-failure-to-match-arm-aarch64-elf-format-.patch crash-arm64-update-mapping-symbol-filter-in-arm64_verify_s.patch crash-Fix-segmentation-fault-when-ikconfig-passed-nonstand.patch * Wed Jan 06 2021 msuchanekAATTsuse.de- Fix \"kmem -i\" option on Linux 5.9-rc1 and later kernels (bsc#1179970 ltc#188981). crash-Fix-kmem-i-option-on-Linux-5.9-rc1-and-later-kernels.patch- Fix crash utility is taking forever to initialize a vmcore from large config system (bsc#1178827 ltc#189279). crash-task.c-avoid-unnecessary-cpu-cycles-in-stkptr_to_tas.patch * Mon Dec 07 2020 dmairAATTsuse.com- Corrected project URL in spec file to match the changed upstream location as-of May 30th 2020. Noted the project URL change in README.SUSE without removing the old URL because it represents the location the project source was obtained from. The next project source update is available from the new project URL. When the package is updated with that source all URL project references will be modified to only show the new URL. Add crash-update-whitepaper-URL.patch Note change of no longer valid old project whitepaper URL to current valid project whitepaper URL in help output. Leave the old one reported because it represents the location the project source was obtained from for this package version. (bsc#1179536) * Fri Oct 09 2020 guillaume.gardetAATTopensuse.org- Fix build on aarch64: crash-gdb-fix-aarch64.patch * Wed Sep 09 2020 dmairAATTsuse.com- Add crash-verify-exception-frame-accessible-for-all-verify-requests.patch In calls to search a stack for x86_64 exceptions a flag is used to request the stack be verified for room to contain saved registers. The verify is not performed if other flags are used in the same call. Fixing this exposes another bug where only a kernel stack is verified anyway, even if the exception is being searched for on a userspace stack. Patch fixes both problems. (bsc#1162297) * Fri Sep 04 2020 ptesarikAATTsuse.com- Add eppic-remove-duplicate-symbols.patch Fix eppic extension build. * Fri Sep 04 2020 ptesarikAATTsuse.com- Add crash-fix-memory_driver-build-kernel-5.8.patch Fix memory driver build failure with kernels 5.8+. * Thu Sep 03 2020 ptesarikAATTsuse.com- Always build crash KMPs. * Wed May 06 2020 normandAATTlinux.vnet.ibm.com- remove bypass lto and add -mfull-toc for ppc64le to check boo#1146646 * Tue Apr 28 2020 ptesarikAATTsuse.com- Add crash-Define-fallback-PN_XNUM.patch Add a fallback PN_XNUM definition. * Sat Apr 18 2020 msuchanekAATTsuse.com- Make Factory ppc64 crash usable on both SLE 15 SP1 and releases before SLE15 SP1 (bsc#1148197). This is only a workaround that requires to build crash for each codestream separately. * Fri Apr 17 2020 msuchanekAATTsuse.com- Drop crash-s390-autodetect-kaslr.patch which has been merged in 7.2.7. * Wed Apr 08 2020 msuchanekAATTsuse.de- Add crash-fix-kmem-sS-for-caches-created-during-SLUB-bootstrap.patch Fix \"kmem -[sS]\" for caches created during SLUB bootstrap (bsc#1164815 ltc#182973). * Wed Apr 01 2020 msuchanekAATTsuse.de- Add crash-Fix-for-reading-compressed-kdump-dumpfiles-from-syst.patch Fix integer overflow with large memory configuration (bsc#1168233 ltc#184660). * Tue Feb 04 2020 dmairAATTsuse.com- Upgraded the source to version 7.2.8. The previous version was modified to support newer kernels used in SLE-15-SP2 but was not complete. * Includes a fix for kernels that contain: e0703556644a531e50b5dc61b9f6ea83af5f6604 which introduces symbol namespaces. Without the change then depending on architecture: (1) the kernel module symbol list will contain garbage (2) the session fails during initialization with a dump of the internal buffer allocation stats followed by the message \"crash: cannot allocate any more memory\" (3) the session fails during initialization with a segmentation violation (bsc#1162064) * Includes the merge of the S390x patches since crash 7.2.7 (bsc#1156645/bsc#1161640) * Source already includes XZ compressed module support, removed: crash-symbols-add-support-for-XZ.patch * Refreshed patches that were no longer aligned with source: crash-allow-use-of-sadump-captured-KASLR-kernel.patch crash-s390-autodetect-kaslr.patch crash-sles9-time.patch * Fri Jan 10 2020 dmairAATTsuse.com- Upgraded the source tarball to version 7.2.7. This is required to support coredumps from currently used kernel versions in the product (bsc#1159686).- droped the patch obsoleted due to already being present in the new source: * crash-allow-kmem-section-is-early.patch * Tue Nov 12 2019 dmairAATTsuse.com- Added commit c0371f6ee2cae31ec9f506bbd231ab8fbe334c13 - Fix to allow live analysis of s390x kernels that have been configured with CONFIG_RANDOMIZE_BASE=y (KASLR). This allows crash to load the coredump without the need for \"--kaslr= on the command-line. Added: crash-s390-autodetect-kaslr.patch Implements jsc#SLE-9797 * Fri Nov 08 2019 jslabyAATTsuse.com- add crash-symbols-add-support-for-XZ.patch (bnc#1155921) * Wed Aug 21 2019 normandAATTlinux.vnet.ibm.com- Disable LTO for PowerPC as bypass boo#1146646 * Thu Aug 08 2019 dmairAATTsuse.com- Added patch for commit 326e1b8f83a4318b09033ef754f40c785aed5e68 in linux 5.3: crash-allow-kmem-section-is-early.patch * Mon Jun 24 2019 dmairAATTsuse.comUpgraded the source tarball to version 7.2.6 to bring better support of version 5 kernels such as 5.3 in SLE-15-SP2 (bsc#114706) Dropped the following patches obsoleted by the version upgrade: * crash-xen-invalid-pcpu-vaddr-use-hardware-domain-symbol.patch * crash-fix-for-4.20-without-CONFIG_RANDOMIZE_BASE.patch * crash-fix-for-virsh-dump-dumps-with-KASLR.patch * crash-fix-kmem-z-on-kernel-5.0.patch * crash-fix-kmem-i-on-kernel-5.0.patch * crash-fix-sym-for-module-symbols-on-kernel-5.0.patch * crash-fix-dis-function-for-module-symbols-on-kernel-5.0.patch * crash-handle-radix_tree_root-changes-in-post-5.1-kernels.patch * crash-find-kernel-configuration-data-with-kernel-5.1.patch * crash-fix-dev-dD-on-kernel-5.1.patch crash-Fix-and-an-update-for-the-ipcs-command.patch crash-update-recognition-of-x86_64-CPU_ENTRY_AREA.patch Re-aligned the following patches with the new version source: crash-allow-use-of-sadump-captured-KASLR-kernel.patch crash-debuginfo-compressed.patch crash-make-emacs-default.diff crash-sles9-time.patch Modified the following patches to integrate with version upgrade: crash-compressed-booted-kernel.patch crash-SLE15-SP1-With-Linux-4.19-rc1-up-MAX_PHYSMEM_BITS-to-128TB.patch crash-SLE15-SP1-Fix-for-PPC64-kernel-virtual-address-translation-in.patch * Tue Apr 23 2019 mkubecekAATTsuse.cz- Upgrade the source tarball to version 7.2.5- drop patches obsoleted by version upgrade: * crash-fix-snprintf-overflow.patch * crash-update-recognition-of-x86_64-CPU_ENTRY_AREA.patch- post-7.2.5 upstream patches for kernel 5.0/5.1 compatibility: * crash-fix-for-4.20-without-CONFIG_RANDOMIZE_BASE.patch * crash-fix-for-virsh-dump-dumps-with-KASLR.patch * crash-fix-kmem-z-on-kernel-5.0.patch * crash-fix-kmem-i-on-kernel-5.0.patch * crash-fix-sym-for-module-symbols-on-kernel-5.0.patch * crash-fix-dis-function-for-module-symbols-on-kernel-5.0.patch * crash-handle-radix_tree_root-changes-in-post-5.1-kernels.patch * crash-find-kernel-configuration-data-with-kernel-5.1.patch * crash-fix-dev-dD-on-kernel-5.1.patch * Thu Feb 14 2019 dmairAATTsuse.de- Update for XEN dom0 changes in v4.11 that cause coredumps made of a domU using virch on the dom0 to fail to load in the dom0 version of crash reporting \"crash: invalid kernel virtual address: type:fill_pcpu_struct\", followed by \"WARNING: cannot fill pcpu_struct\" and \"crash: cannot read cpu_info\" (bsc#1124690 and bsc#1122594) Added: crash-xen-invalid-pcpu-vaddr-use-hardware-domain-symbol.patch * Fri Jan 11 2019 sparschauerAATTsuse.de- Update the recognition of x86_64 CPU_ENTRY_AREA (bsc#1104743, bsc#1090127) Added: crash-update-recognition-of-x86_64-CPU_ENTRY_AREA.patch * Tue Dec 18 2018 msuchanekAATTsuse.de- Fix SLE15 SP1 Incorrect vmcore generated (bsc#1119791). Added: crash-SLE15-SP1-With-Linux-4.19-rc1-up-MAX_PHYSMEM_BITS-to-128TB.patch crash-SLE15-SP1-Fix-for-PPC64-kernel-virtual-address-translation-in.patch This is not compatible with SLE15 and SLE12 SP4. * Fri Oct 12 2018 jcheungAATTsuse.com- Sync with SLE15 SP1 (SR#173916) to enable the kmp-rt for SLERT15 SP1 only set %if 0%{?sle_version} >= 150100 * Wed Aug 08 2018 msuchanekAATTsuse.com- Added: crash-Fix-and-an-update-for-the-ipcs-command.patch The update is required for Linux 4.11 and greater kernels, which reimplemented the IDR facility to use radix trees in kernel commit 0a835c4f090af2c76fc2932c539c3b32fd21fbbb, titled \"Reimplement IDR and IDA using the radix tree\". Without the patch, if any IPCS entry exists, the command would fail with the message \"ipcs: invalid structure member offset: idr_top\" (bsc#1092101) * Wed Jul 04 2018 ptesarikAATTsuse.com- Added crash-fix-snprintf-overflow.patch Fix to address a \"__builtin___snprintf_chk\" compiler warning.- Added crash-update-recognition-of-x86_64-CPU_ENTRY_AREA.patch Update the recognition of x86_64 CPU_ENTRY_AREA. * Wed Jul 04 2018 ptesarikAATTsuse.com- Upgrade the source tarball to version to 7.2.3 A complete changelog is available via the crash source page at: http://people.redhat.com/anderson/crash.changelog.html- Refreshed: crash-compressed-booted-kernel.patch * Mon Mar 19 2018 dmairAATTsuse.com- Upgraded to 7.2.1 because it includes the fixes to support several core cases that recently were caused tofail to open. As a result, removed patches that were already superceded by 7.2.1 source (bsc#1103371). Removed: crash-ppc64-book3s-update-hash-page-table-geometry.patch crash-x86_64_kvtop-usable-symtab_init.patch crash-ppc64-ensure-chosen-stack-symbol-relates-to-an-actual-backtrace.patch crash-fix-error-cannot-resolve-schedulers-0001.patch crash-fix-error-cannot-resolve-schedulers-0002.patch crash-extend-direct-mapping-to-5TB.patch Modified: crash-allow-use-of-sadump-captured-KASLR-kernel.patch * Mon Feb 05 2018 dmairAATTsuse.com- Added: crash-fix-error-cannot-resolve-schedulers-0001.patch crash-fix-error-cannot-resolve-schedulers-0002.patch crash-extend-direct-mapping-to-5TB.patch Fixes Xen dump files that cannot be opened in hypervisor mode. bsc#1073993 * Fri Jan 12 2018 dmairAATTsuse.com- Added crash-ppc64-ensure-chosen-stack-symbol-relates-to-an-actual-backtrace.patch With latest NMI IPI changes, crash_ipi_callback is found multiple times on the stack. Ensure the chosen symbol relates to an actual backtrace. bsc#1072718 * Thu Dec 07 2017 dimstarAATTopensuse.org- Escape the usage of %{VERSION} when calling out to rpm. RPM 4.14 has %{VERSION} defined as \'the main packages version\'. * Wed Nov 29 2017 dmairAATTsuse.com- Added crash-x86_64_kvtop-usable-symtab_init.patch to change x86_64_kvtop() so that it can be called during symtab_init() Added crash-allow-use-of-sadump-captured-KASLR-kernel.patch to allow use of dumps of KASLR enabled kernels that were captured by sadump. Both are bsc#1070278/FATE#323473 * Tue Nov 14 2017 dmairAATTsuse.com- 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 hbathiniAATTlinux.vnet.ibm.com 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. * Fri Jun 09 2017 dmairAATTsuse.com- crash-xen_add_support_for_domU_with_linux_kernel_from_3.19.patch: Since linux kernel 3.19 crash readmem() can\'t be used to read xen_p2m_addr associate memory directly during m2p translation. PV domU p2m mapping is also stored at xd->xfd + xch_index_offset and organized as struct xen_dumpcore_p2m. This patch implements a special reading function read_xc_p2m() to extract the mfns from xd->xfd + xch_index_offset and makes and crash support Xen PV domU dumpfiles for kernel 3.19 and later (bsc#1043501). - add crash-xen_add_support_for_domU_with_linux_kernel_from_3.19.patch * Fri Jun 02 2017 msuchanekAATTsuse.com- Merge SLE changes into Factory (bsc#1041638) * Thu May 25 2017 dmairAATTsuse.com- crash-stop_read_error_when_intent_is_retry.patch: When reading a memory image fails it may not be an error if it is still possible to switch image and retry the read. Fix the error message output to only occur if no retries are intended (bsc#1038839). - add crash-stop_read_error_when_intent_is_retry.patch * Mon Apr 24 2017 astiegerAATTsuse.com- Exclude openSUSE from RT KMP build (bsc#1013843) * Tue Mar 28 2017 dmairAATTsuse.com- crash source nests gdb source but gdb has a new build error on Factory due to the bug and build environment modifications. The fix is upstream gdb but not upstream crash\'s gdb. Created crash patch: crash-gdb-add-proc_service-sync-with-GLIBC.patch to create the gdb patch in expanded crash and added to the gdb Makefile patch it\'s application. Resolves the build error. * Tue Mar 07 2017 dmairAATTsuse.de- Upgrade of source tarball to 7.1.8 from upstream and refresh of patches to align with the version. For a detailed changelog of the source tarball see: http://people.redhat.com/anderson/crash.changelog.html Adds a feature to permit the use of the command-line options \"--kaslr=\" and/or \"--kaslr=auto\" with the x86 32-bit architecture.- refresh crash-sles9-time.patch crash-compressed-booted-kernel.patch- drop crash-Fix-for-the-PPC64-bt-command-for-non-panicking-activ.patch merged upstram in 7.1.8 * Wed Feb 01 2017 msuchanekAATTsuse.com- Fix analyzing fadump dumps on PPC64 (bsc#1022962). + crash-Fix-for-the-PPC64-bt-command-for-non-panicking-activ.patch * Tue Jan 24 2017 dmairAATTsuse.de- Upgrade of source tarball to 7.1.7 from upstream, removal of crash-kernel-4.7.patch (source includes it) and refresh of other patches to align with the version. For a detailed changelog of the source tarball see: http://people.redhat.com/anderson/crash.changelog.html Feature enhancements included from 7.1.6: - Introduction of support for \"live\" ramdump files, such as those that are specified by the latest QEMU version\'s mem-path argument of a memory-backend-file object, e.g.: $ qemu-kvm ...other-options... \\ - object memory-backend-file,id=MEM,size=128m,mem-path=/tmp/MEM,share=on \\ - numa node,memdev=MEM -m 128 and a live session run can be run against the guest kernel like so: $ crash live:/tmp/MEMAATT0 - Implemented support for the redesigned ARM64 kernel virtual memory layout that was introduced in Linux 4.6. Plus ARM64 support for 4k pages with 4-level page tables and 48 VA bits. NB: On live systems automatic operation with Linux 4.6 ARM64 kernels requires that CONFIG_RANDOMIZE_BASE is not configured. If it is configured then use with a live system requires two - -machdep arguments, e.g.: - -machdep phys_offset= - -machdep kimage_voffset= - Improvement of the ARM64 bt -f display so that, for most cases, the stack frame delimiter will be the location of the old FP and LR pair. - New bt -v option that checks all tasks for evidence of stack overflows. - Incorporation of an alternative stack backtrace mathod accessed directly using bt -o and the default method can be toggled between the two using bt -O. - Fix for the case where the sym/dis commands fail for a symbol name that is composed entirely of hexadecimal characters and was previously interpreted as an address. - Determine structure member data if the member is contained in an anonymous structure or union (no longer necessary to use a] discrete gdb \"printf\" command to find the offset of it). - Session initialization speed up. - Addition of \"list -S\" and \"tree -S\" options (similar to the -s option of each command) where member values are read from memory instead of being interpreting gdb output (much faster behavior for 1-, 2-, 4- and 8-byte members). - Fix to recognize x86_64 Linux 4.8-rc1 and later kernels that are configured with CONFIG_RANDOMIZE_MEMORY. - Support for PPC64 virtual address translation of radix MMU. - Improvement of \"dev -d\" output to display I/O statistics for devices that use the blk-mq interface. Feature enhancements included from 7.1.7: - Restore x86_64 \"dis\" command\'s symbol translation for call or jump target addresses for kernels configured with CONFIG_RANDOMIZE_BASE. - Re-factor of the trace extension module to locate all of the ftrace buffers and extracts data from each of them rather than only the primary one. - Support for s390x CONFIG_THREAD_INFO_IN_TASK configuration so that \"bt\" command no longer shows incomplete output. - Support for live ARM64 kernels from Linux 4.6 that have the kernel image loaded anywhere in physical memory. - Update of /dev/crash/kernel driver to v1.3 which adds support Linux 4.6 and later ARM64 kernels configured with CONFIG_HARDENED_USERCOPY and S390x kernels that use xlate_dev_mem_ptr() and unxlate_dev_mem_ptr() rather than kmap() and kunmap(). - refresh eppic-support-arm64.patch crash-debuginfo-compressed.patch - drop crash-linux-4.6-printk-flags.patch merged upstream in 7.1.6 * Wed Oct 19 2016 lpechacekAATTsuse.com- Enabled RT KMP build (bsc#1005578) * Mon Aug 15 2016 ptesarikAATTsuse.com- crash-linux-4.6-printk-flags.patch: Fix warning \"failed to read pageflag_names entry\" on Linux 4.6 (bsc#978601). * Fri Jul 08 2016 mkubecekAATTsuse.cz- crash-kernel-4.7.patch: support 4.7 kernel (page._count renamed to page._refcount) * Fri May 27 2016 ptesarikAATTsuse.com- eppic-support-arm64.patch: Support for ARM64 (FATE#320844). * Tue May 24 2016 dmairAATTsuse.de- Upgrade of source tarball to 7.1.5 from upstream and fix of crash-sles9-time.patch for the version and refresh of other patches to align with the version. For a detailed changelog of the source tarball see: http://people.redhat.com/anderson/crash.changelog.html includes a fix for bsc#977306. Feature enhancements include: - \"whatis -r\" and \"whatis -m\" commands that allow search for data structure of a specified size and that contains a member of a given type respectively. * Thu Jan 28 2016 vbabkaAATTsuse.com- Upgrade to 7.1.4 from upstream. For a detailed changelog see http://people.redhat.com/anderson/crash.changelog.html * Fri Jan 22 2016 lpechacekAATTsuse.com- Disable RT KMP build (bsc#962719) * Wed Oct 07 2015 lpechacekAATTsuse.com- Enable RT KMP build (bsc#948840) * Thu Oct 01 2015 dmairAATTsuse.com- For 7.1.3 ppc64le the following patches are obsoleted by mainline crash-gdb-7.6-add-powerpc64le-linux.patch crash-gdb-7.6-bound_minimal_symbol.patch crash-gdb-7.6-floatformat.patch crash-gdb-7.6-ppc64-ELFv2-trampoline-match.patch crash-gdb-7.6-ppc64_sysv_abi_push_float.patch crash-gdb-7.6-ppc64le.patch crash-gdb-7.6-ppc_insns_match_pattern.patch crash-gdb-7.6-update-autoconf-2013-04-24.patch crash-gdb-7.6-update-autoconf-2013-06-10.patch crash-gdb-7.6.series crash-patch-gdb.patch * Tue Sep 22 2015 dmairAATTsuse.com- Update to 7.1.3 (bsc#946458) o Introduction of \"dis -f \" which disassembles from the address to the end of the function o Introduction of \"dis -s \" which displays the filename and line number associated with the specified text location, followed by a source code listing if available. o Addition of a new \"--src \" command line option for use by the \"dis -s\" option if the kernel source is not located in the standard location. o Do not search for a panic task in s390x dumpfiles that are marked as a \"live dump\" o Fix unnecessary error messages when a directory is used as a command line argument o See http://people.redhat.com/anderson/crash.changelog.html for the complete changelog- Removed these patches obsoleted by mainline: crash-x86_64-nested-nmi.patch crash-keep-file-orig-with-name-on-select.patch crash-kmem_cache-downsize.patch crash-s390x-add-vector-support.patch- Refreshed patches * Wed Jul 29 2015 ptesarikAATTsuse.cz- crash-move-xen-dom0-handling-into-own-file.patch: Move Xen Dom0 handling into xen_dom0.c (FATE#316467).- crash-move-xen-p2m-map.patch: Move xen p2m map initialization to xen_kdump_p2m (FATE#316467).- crash-use-xen_machine_addr-command.patch: Use XEN_MACHINE_ADDR command flag instead of overriding readmem (FATE#316467).- crash-move-xen-elf-note-processing.patch: Move Xen ELF note processing to xen_dom0.c (FATE#316467).- crash-add-xen-dom0-support-for-kdump.patch: Add Xen Dom0 support for kdump compressed files (FATE#316467). * Tue Jul 21 2015 ptesarikAATTsuse.com- crash-s390x-add-vector-support.patch: SIMD support for dump tools (z13) (FATE#318058). * Mon Jul 20 2015 dmairAATTsuse.com- Upgrade to 7.1.2 from upstream. For a detailed changelog see http://people.redhat.com/anderson/crash.changelog.html- Refreshed patch series with some changes required to adjust for git host changes in eppic-switch-to-system-lib.patch * Wed May 27 2015 dmairAATTsuse.com- Upgrade to 7.1.1 from upstream. At the time of writing the only published changelog was supplied by e-mail list and is as follows - Fix for two minor issues with the \"net\" command. Without the patch, the \"net -a\" option appends its correct output with the command\'s \"Usage:\" message; and if either the \"net -x\" or \"net -d\" options are used without also specifying \"-s\" or \"-S\", the error message would indicate \"net: illegal flag: 800000\" or \"net: illegal flag: 1000000\" instead of showing the command\'s \"Usage:\" message. (andersonAATTredhat.com) - If the kernel (live or dumpfile) has the TAINT_LIVEPATCH bit set, or if the Red Hat \"kpatch\" module is installed, the tag \"[LIVEPATCH]\" will be displayed next to the kernel name in the initial system banner and by the \"sys\" command. This new tag replaces the \"[KPATCH]\" tag that was introduced in crash-7.0.7. (andersonAATTredhat.com) - Addressed three Coverity Scan complaints in vmware_vmss.c: 50:leaked_storage: Variable \"fp\" going out of scope leaks the storage it points to. 53:leaked_storage: Variable \"fp\" going out of scope leaks the storage it points to. 256:warning: Use of memory after it is freed (andersonAATTredhat.com) - Remove the LKCD-only \"propeller spinner\" seen when a dumpfile read requires more than 2048 page header accesses. This was put in place because of the non-random-access design of LKCD dumpfiles. Without the patch, the spinner display is intermingled with command output, which complicates the parsing of the output. (watters.samAATTgmail.com) - Fix to support the Linux version increment from 3 to 4. Without the patch, both dumpfile and live sessions fail during initialization, issuing the message \"WARNING: kernel version inconsistency between vmlinux and dumpfile\" or \"WARNING: kernel version inconsistency between vmlinux and live memory\", followed by the nonsensical fatal error message \"crash: incompatible arguments: vmlinux is not SMP -- vmcore is SMP\" or \"crash: incompatible arguments: vmlinux is not SMP -- live system is SMP\". To prevent unexpected kernel version bumps in the future, support has been added for version 5. (andersonAATTredhat.com) - Add support for more than 16TB of physical memory space in the SADUMP dumpfile format. Without the patch, there is a limitation caused by several 32-bit members of dump_header structure, in particular the max_mapnr member, which overflows if the dumpfile contains more than 16TB of physical memory space. The header_version member of the dump_header structure has been increased from 0 to 1 in this extended new format, and the new 64-bit members will be used. (d.hatayamaAATTjp.fujitsu.com) - Fix for command lines that are redirected to a pipe. Without the patch, if an external piped-to command contains a quoted string that includes a \"|\" character, the command fails with the message \"crash: pipe operation failed\". (andersonAATTredhat.com) - Fix for insecure temporary file usage in _rl_tropen() as reported by readline library CVE-2014-2524. (andersonAATTredhat.com) - When the gdb-.patch file has changed and a rebuild is done from within a previously-existing build tree, the \"patch -N\" option is used to ignore patches that have been previously applied; this patch also applies the \"patch -r-\" option to prevent unnecessary .rej files from being created. (andersonAATTredhat.com) - Fix to account for Xen hypervisor\'s \"domain\" structure member name change from \"is_paused_by_controller\" to \"controller_pause_count\". Without the patch, in Xen 4.2.5 and later, the crash session fails during initialization with the error message \'crash: invalid structure member offset: domain_is_paused_by_controller\". (dietmar.hahnAATTts.fujitsu.com) - During initialization, reject useless ARM64 \"(A)\" and \"(a)\" absolute symbols that are below the text region. Without the patch, several recently-introduced absolute symbols have been introduced into the kernel, which will be displayed by \"sym -l\" prior to the first kernel virtual address symbol, and will show up in command output where memory values are translated into kernel symbol references. (andersonAATTredhat.com) - Fix for ARM64 kernels to account for changes in the virtual memory layout introduced in Linux 3.17. The vmalloc region end address, and the vmemmap start and end addresses are now calculated at kernel build time, because they depend upon the size of a struct page. Accordingly, the crash utility needs to calculate those three address values dynamically, after the embedded gdb module has initialized. Without the patch, reads of page structures return invalid data due to incorrect virtual-to-physical translations of memory in the vmemmap range. This in turn causes commands that require page structure contents to fail or show invalid data, such as \"kmem -p\", \"kmem -[sS]\", and the \"kmem -[fF]\" options. (andersonAATTredhat.com) - Fix to support ELF vmcore dumpfiles whose PT_LOAD file offset values of their respective memory segments are not laid out sequentially from low to high in the dumpfile. This has only been seen in ELF dumpfiles created by VMware\'s \"vmss2core -M\" facility. Without the patch, the crash session may fail during initialization, either with the message \"cannot malloc ELF header buffer\", or \"crash: : not a supported file format\". (andersonAATTredhat.com) - Enhancement to the support of VMware .vmss suspended state dumpfiles. There may be holes in the memory address saved for PCI, etc. In such cases, the memory dump is divided into regions. With this patch, up to 3 memory regions are supported. (hfuAATTvmware.com) - Fortified the error handling of task gathering from the pid_hash[] chains during session initialization. If a chain has been corrupted, the patch prevents the sequence from entering an infinite loop, and the error messages associated with corrupt/invalid chains have been updated to report the pid_hash[] index number. (andersonAATTredhat.com) - Implemented a new STRDUPBUF() utility that will duplicate an existing string into a buffer allocated with GETBUF(). As is the case with any buffer allocated with GETBUF(), it is only meant to exist during the life-span of the current command. If it is not explicitly freed via FREEBUF(), then it will be freed automatically prior to the next command. (andersonAATTredhat.com) - Implemented a new fill_struct_member_data() function that gathers a bundle of data that describes a structure member. The function receives a pointer to a struct_member_data structure, in which the caller has initialized the \"structure\" and \"member\" name pointers: struct struct_member_data { char *structure; char *member; long type; long unsigned_type; long length; long offset; long bitpos; long bitsize; }; A gdb \"printm\" command is crafted using those two fields, and the output of the command is used to initialize the remaining six fields. Adapted from Qiao Nuohan\'s \"pstruct\" extension module. (andersonAATTredhat.com, qiaonuohanAATTcn.fujitsu.com) - Implemented a new \"runq -c cpu(s)\" option to display the run queue data of specified cpus. It can be used in conjunction with all runq command options. The cpus must be specified in a comma- and/or dash-separated list; for examples, \"3\", \"1,8,9\", \"1-23\", or \"1,8-15\". (andersonAATTredhat.com) - Build extension modules that utilize the generic extensions/Makefile with -g. In addition, build the snap.c extension module with -g. (rabinvAATTaxis.com) - Several fixes, updates, and enhancements for 32-bit MIPS support: (1) The MIPS general purpose registers in the elf_gregset_t don\'t start at index 0 but at index 6. (2) Adjust for the kernel\'s pt_regs structure changes between kernel versions. For example, fields are inserted into the middle based on build time options, and the amount of padding at the head of the structure was changed relatively recently. To handle this, split the structure definition into two parts and get the offsets of these two parts dynamically. (3) Do not display each parsed kernel symbol during initialization when invoked with \"crash -d8\". (4) Add support for loading raw MIPS ramdump dumpfiles. (5) Add support for compressed kdump dumpfiles. (rabinvAATTaxis.com) - Fix for a typo in \"help foreach\", and a fix for a spelling error in \"help input\". (weijg.fnstAATTcn.fujitsu.com) - Fix for \"and and\" and \"the the\" typos in the README file. (weijg.fnstAATTcn.fujitsu.com) - Fix to address the Xen 4.5.0 hypervisor symbol name change from \"dom0\" to \"hardware_domain\". Without the patch, the crash session fails with the error message \"crash: cannot resolve: dom0\". (dslutzAATTverizon.com) - Fix for a regression in crash-7.1.0 that causes failures when the \"crash -t\" option is run on a live system, and when analyzing remote Linux kernels. Without the patch, \"crash -t\" on a live system fails with the message \"crash: cannot open remote memory source: /dev/mem\", and attempts to analyze a Linux kernel remotely just shows the kernel timestamp and exits immediately. (dslutzAATTverizon.com, andersonAATTredhat.com) - Speed up the session invocation time of \"flattened\" format dumpfiles created by the makedumpfile(8) facility. When sorting the blocks of memory by their intended ELF or compressed kdump file offsets, the patch replaces the bubble-sort method that is currently used with an insertion sort method. (dslutzAATTverizon.com) - Remove the non-existent \"-L\" option from the \"ps\" command\'s mutually- exclusive options error message. (vvsAATTparallels.com) - Fix for the \"irq\", \"mount\", \"kmem -p\" and \"kmem -v\" commands when they are used in an input file. If more than one of any of those four commands are used in an input file, the output of the second and subsequent command instances will not display their respective command headers. (andersonAATTredhat.com) - Implemented a new \"kmem -m\" option that is similar to \"kmem -p\", but it allows the user to specify the page struct members to be displayed. The option takes a comma-separated list of one or more page struct members, which will be displayed following the page structure address. The \"flags\" member will always be expressed in hexadecimal format, and the \"_count\" and \"_mapcount\" members will always be expressed in decimal format. Otherwise, all other members will be displayed in hexadecimal format unless the current output radix is 10 and the member is a signed/unsigned integer. Members that are data structures may be specified by the data structure\'s member name, or expanded to specify a member of that data structure. For example, \"-m lru\" refers to a list_head data structure, in which case both the list_head.next and list_head.prev pointer values will be displayed; if \"-m lru.next\" is specified, just the list_head.next value will be displayed. (atomlinAATTredhat.com, andersonAATTredhat.com) - Support enhancement for the 32-bit MIPS architecture that retrieves the per-cpu registers from the NT_PRSTATUS notes stored in the header of compressed kdump dumpfiles. (rabinvAATTaxis.com) - Fix to remove an invalid warning message on ARM64 if a crash session is invoked with the \"-d\" debug flag. Without the patch, the invalid message is \"WARNING: SPARSEMEM_EX: questionable section values\". (andersonAATTredhat.com) - Remove the leftover \".constructor\" build file in the extensions subdirectory when \"make extensions\" is complete, and update the top-level .gitignore file to ignore post-build extensions subdirectory files. (andersonAATTredhat.com) - Fix for a segmentation violation generated by the \"help -[n|D]\" options on ARM64 compressed kdumps. (andersonAATTredhat.com) - Additional output for the \"help [-D|-n]\" options on ARM64. For ELF kdump vmcores and compressed kdumps, the elf_prstatus structure in each NT_PRSTATUS note will be translated. (andersonAATTredhat.com) - The \"help -r\" option has been extended to dump the ARM64 registers stored in each per-cpu NT_PRSTATUS note in compressed kdump and ELF kdump dumpfiles. (andersonAATTredhat.com) - Fix for the ARM64 page size determination on Linux 4.1 and later kernels. Without the patch, the crash session fails during initialization with the message \"crash: invalid/unsupported page size: 98304\" on kernels with 64K pages. On kernels with 4K pages, the message is \"crash: invalid/unsupported page size: 6144\". In addition, the \"-p \" command line override option had no effect on ARM64; that has been fixed as well. (andersonAATTredhat.com) - Fix for the DATE display in the initial system banner and by the \"sys\" command to account for the Linux 3.17 change that moved the \"timekeeper\" symbol and structure into a containing tk_core structure; the \"shadow_timekeeper\" timekeeper will be used as an alternative. Without the patch, the DATE shows something within a few hours of the Linux epoch, such as \"Wed Dec 31 18:00:00 1969\". (kmcmartinAATTredhat.com) - Fixes for the translation of ARM64 PTEs, as displayed by the \"vm -p\" and \"vtop\" commands. Without the patch, if \"vm -p\" references a swapped-out page on Linux 4.0 and later kernels, the SWAP location may indicate \"(unknown swap location)\", and will show an invalid OFFSET value; on Linux 3.13 and later kernels, running \"vtop\" on a user virtual address incorrectly translates the PTE contents of swapped out pages by showing a PHYSICAL address and FLAGS translation instead of the SWAP device and OFFSET. It is possible that there may be PTE bit translation errors on other kernel versions; the patch addresses the changes in ARM64 PTE bit definitions made in Linux 3.11, 3.13, and 4.0 kernels. (andersonAATTredhat.com) - Enhanced the \"struct.member\" display capability of the \"struct\", \"union\", \"task\", \"list\" and \"tree\" commands. If a specified structure member contains an embedded structure, the output may be restricted to just the embedded structure by expressing the .member argument as \"member.member\". If a specified structure member is an array, the output may be restricted to a single array element by expressing the .member argument as \"member[index]\". Furthermore, these embedded member specifications may extend beyond one level deep, for example, by expressing the member argument as \"member.member.member\", or \"member[index].member\". (Alexandr_TerekhovAATTepam.com, andersonAATTredhat.com) - Fix for any command that passes strings to gdb for evaluation, where the string contains a parentheses-within-parentheses expression along with a \">\" or \">>\" operator inside the outermost set of parentheses. Without the patch, a command such as the following fails like so: crash> p ((1+1) >> 1) p: gdb request failed: p ((1+1) crash> (andersonAATTredhat.com) - Fix for the handling of ARM64 kernel module per-cpu symbols. Without the patch, if the debuginfo data of an ARM64 kernel module that contains a per-cpu section is loaded by \"mod -s \" or \"mod -S\", commands such as \"bt\" or \"sym\" may incorrectly translate the module\'s virtual addresses to symbol names. (Jan.KarlssonAATTsonymobile.com)- 0001-Prepare-for-the-future-increment-of-Linux-3.x-to-4.x.patch: Dropped. Handling kernel 4.0 is now part of the upstream source. * Sun Mar 15 2015 seife+obsAATTb1-systems.com- add patch from upstream to handle kernel 4.0 0001-Prepare-for-the-future-increment-of-Linux-3.x-to-4.x.patch * Fri Feb 06 2015 dmairAATTsuse.com- Upgrade to 7.1.0 from upstream. For a detailed changelog see http://people.redhat.com/anderson/crash.changelog.html- Refreshed patch series with only re-alignment required. * Fri Nov 21 2014 dmairAATTsuse.com- Upgrade to 7.0.9 from upstream, For a detailed changelog see http://people.redhat.com/anderson/crash.changelog.html- Refreshed patch series but no modifications required. * Wed Sep 17 2014 jeffmAATTsuse.com- Upgrade to 7.0.8 from upstream. For a detailed changelog see http://people.redhat.com/anderson/crash.changelog.html- Dropped (now in upstream): - crash-keep-file-orig-with-name-on-select.patch: - As crash-7.0.8/gdb-7.6-ppc64le-support.patch: - crash-gdb-7.6-ppc64_sysv_abi_push_float.patch - crash-gdb-7.6-bound_minimal_symbol.patch - crash-gdb-7.6-add-powerpc64le-linux.patch - crash-gdb-7.6-update-autoconf-2013-04-24.patch - crash-gdb-7.6-ppc_insns_match_pattern.patch - crash-gdb-7.6-floatformat.patch - crash-gdb-7.6-ppc64-ELFv2-trampoline-match.patch - crash-gdb-7.6-update-autoconf-2013-06-10.patch - crash-gdb-7.6-ppc64le.patch * Thu Sep 04 2014 ptesarikAATTsuse.cz- crash-kmem_cache-downsize.patch: Fix kmem slab initialization failures (bnc#885082). * Mon Aug 18 2014 ptesarikAATTsuse.cz- Module.supported: mark crash.ko supported (bnc#891375). * Thu Jul 31 2014 dimstarAATTopensuse.org- Rename rpmlintrc to %{name}-rpmlintrc. Follow the packaging guidelines. * Tue Jul 08 2014 ptesarikAATTsuse.cz- Upgrade to 7.0.7 from upstream. For a detailed changelog see http://people.redhat.com/anderson/crash.changelog.html- crash-x86_64-nested-nmi.patch: Dropped (now in upstream). * Thu Jun 12 2014 dmairAATTsuse.de- crash-keep-file-orig-with-name-on-select.patch Fix the namelist selection for gdb to have background state used to select file to delete for expansion of compressed file (bnc#877367) * Fri May 16 2014 ptesarikAATTsuse.cz- crash_enable_snappy_support.patch: enable snappy support. * Wed Apr 30 2014 ptesarikAATTsuse.cz- crash-x86_64-nested-nmi.patch: Fix NMI backtrace for kernels patched to handle nested NMIs (bnc#874179). * Sat Apr 12 2014 mmarekAATTsuse.cz- Add # needssslcertforbuild to use the project\'s certificate when building in a home project. * Tue Feb 18 2014 dmairAATTsuse.de- Implementation of 7.0.5 from upstream, including patch refresh Changelog: - Fix for the \"runq -g\" option for kernels that are configured with CONFIG_FAIR_GROUP_SCHED, but not CONFIG_CFS_BANDWIDTH. Without the patch, the command fails with the message \"runq: invalid structure member offset: cfs_rq_throttled\". (vinayakm.listAATTgmail.com) - Add support for Xen PVH guest types introduced in Xen 4.4. Without the patch, running against a Xen 4.4 hypervisor binary would fail during session initialization with the error message \"crash: invalid structure member offset: domain_is_hvm\". In addition, the PVH guest type is being registered internally as an HVM guest type, the debug \"help -X ofs\" command\'s display of the domain_domain_flags offset has been fixed to show it in decimal, and the setting of the internal dc->domain_flags has been fixed to contain all flags set, not just the first one found. (dslutzAATTverizon.com) - Fix for the \"kmem -S\" command on Linux 3.1 and later kernels that are configured with CONFIG_SLUB. Because the the page structure\'s inuse and objects fields used by SLUB were changed from discrete u16 types to bit-fields within an unsigned int, the display of per-node partial slab statistics are incorrect. Without the patch, the TOTAL and ALLOCATED values are incorrectly shown as equal values, and therefore the FREE value is always zero. (andersonAATTredhat.com) - Fix for the \"kmem -S\" command for kernels that are configured with CONFIG_SLUB. Eash per-cpu slab object dump may show incorrect ALLOCATED and FREE values; and as seen on Linux 3.5 and later kernels, the TOTAL value and the number of individual objects dumped may also be incorrect (too small). (andersonAATTredhat.com) - When executing the commands from an input file specified by the \"-i \" command line option, or when accepting input from a file as a set of commands or as a set of command arguments using the \"<\" redirection character, unconditionally cease the operation if CTRL-c is entered. Without the patch, depending upon the command that was running when the SIGINT was received, the operation may continue uninterruptibly until the file contents are consumed. (andersonAATTredhat.com) - Enhanced the \"bt -F\" option such that if \"-F\" is entered twice, and if the stack frame contents reference a slab cache object, both the slab cache name and the stack contents will be displayed within brackets. (andersonAATTredhat.com) - Enhanced the \"rd -S\" option such that if \"-S\" is entered twice, and if the memory contents reference a slab cache object, both the slab cache name and the memory contents will be displayed within brackets. (andersonAATTredhat.com) - Fix for the X86_64 \"bt\" command to prevent an unwarranted message indicating \"WARNING: possibly bogus exception frame\" generated from a blocked kernel thread that was in the process of exec\'ing a user process via the call_usermodehelper() facility. (andersonAATTredhat.com) - Fix for the X86_64 \"bt\" command to more correctly determine the function frame that called into an interrupted function. Without the patch, the first frame just above an IRQ exception frame register dump may show an invalid/stale function. (andersonAATTredhat.com) - Fix for the X86_64 \"bt\" command if a page fault exception was generated by the invalid contents of the RIP register. Without the patch, the exception frame register dump is not displayed above the \"page_fault\" stack frame; and in a related issue, the \"bt -e\" option will not find and display the exception frame. (andersonAATTredhat.com) - When invoking a crash session with a compressed vmlinux file, make the same host-machine/vmlinux endian verification that is done with uncompressed vmlinx files. (andersonAATTredhat.com) - Reduce the number of CTRL-c entries required to unconditionally terminate any manually-entered command from three to one. (andersonAATTredhat.com) - Fix for the X86_64 \"bt\" command if an async page fault exception occurred in a KVM guest running a Linux 2.6.38 or later kernel. Without the patch, the exception frame register dump is not displayed above the \"async_page_fault\" stack frame. (andersonAATTredhat.com) * Wed Jan 29 2014 roAATTsuse.de- disable build_kmp on i586 and s390, SLE-12 does not build a runnable kernel there * Fri Jan 24 2014 ptesarikAATTsuse.cz- Enable ppc64le: o crash-patch-gdb.patch: allow applying custom gdb patches o crash-gdb-7.6.series: series file for gdb patches o gdb-7.6-ppc64_sysv_abi_push_float.patch: backported dependency o gdb-7.6-bound_minimal_symbol.patch: dtto o gdb-7.6-add-powerpc64le-linux.patch: dtto o gdb-7.6-update-autoconf-2013-04-24.patch: dtto o gdb-7.6-ppc_insns_match_pattern.patch: dtto o gdb-7.6-floatformat.patch: dtto o gdb-7.6-ppc64-ELFv2-trampoline-match.patch: dtto o gdb-7.6-update-autoconf-2013-06-10.patch: dtto o gdb-7.6-ppc64le.patch: patch used for the gdb package * Fri Jan 24 2014 dmairAATTsuse.com- Implementation of 7.0.4 from upstream and patch refresh.- Fix for the \"ps\" command\'s display of per-task RSS and %MEM values in Linux 2.6.34 and later kernels in which SPLIT_RSS_COUNTING is enabled. Without the patch, the values are only taken from each task\'s mm_struct.rss_stat structure, which may contain stale values because they may not be synchronized with the RSS values stored in each per-thread task_struct.rss_stat structure; this may lead to invalid or slightly low RSS values, and worst-case, the %MEM value may show garbage percentage values. (vinayakm.listAATTgmail.com)- Addressed a few (harmless) Coverity Scan complaints in diskdump.c: 1579:dead_error_line – Execution cannot reach this expression \"\"|\"\" inside statement \"fprintf(fp, \"%sDUMP_DH_COMP...\". 1574:dead_error_line – Execution cannot reach this expression \"\"|\"\" inside statement \"fprintf(fp, \"%sDUMP_HEADER_...\". 1571:dead_error_line – Execution cannot reach this expression \"\"|\"\" inside statement \"fprintf(fp, \"%sDUMP_HEADER_...\". (andersonAATTredhat.com)- Addressed two warnings when compiling diskdump.c on 32-bit architectures when the snappy library is built in: diskdump.c:1046: warning: passing argument 3 of \'snappy_uncompressed_length\' from incompatible pointer type /usr/include/snappy-c.h:120: note: expected ‘size_t *’ but argument is of type ‘ulong *’ diskdump.c:1056: warning: passing argument 4 of ‘snappy_uncompress’ from incompatible pointer type /usr/include/snappy-c.h:103: note: expected ‘size_t *’ but argument is of type ‘ulong *’ (andersonAATTredhat.com)- Created a simpler interface with the internal do_list() function. Currently, if a caller wants to gather the contents of a list into an array, it must do the following: (1) call hq_open() so that the list contents will be verified and saved in the hash queue (2) call do_list() to store the list in the hash queue and return the number of entries in the list (3) allocate a buffer to store the array of entries in the list (4) pass the allocated buffer to retrieve_list() to be populated from the hash queue (5) call hq_close() With this patch, if the passed-in list_data.flags field has a new LIST_ALLOCATE bit set, then do_list() will perform steps (1), (3), (4) and (5) above. The caller can access the allocated array via a new list_data.list_ptr member, and, when done parsing the list, the allocated buffer should be returned via FREEBUF(). The only restriction is that the hash queue cannot be currently in use, or the do_list() call will fail. It should also be noted that there are circumstances where it still makes sense that steps (1), (3), (4) and (5) are performed by the do_list() caller. (andersonAATTredhat.com)- Modified the internal parent_list() function, used by \"ps -p\", to utilize the simpler new do_list() functionality described above. (andersonAATTredhat.com)- Modified the internal dump_vmap_area() function, used by the \"kmem -v\", \"kmem \" and \"search\" commands, to utilize the simpler new do_list() functionality. (andersonAATTredhat.com)- Modified the internal nr_blockdev_pages() function, used by the \"kmem -i\", to utilize the simpler new do_list() functionality. (andersonAATTredhat.com)- Modified the internal get_mount_list() function, used by the \"mount\" and \"files -d\" commands, to utilize the simpler new do_list() functionality. (andersonAATTredhat.com)- Modified the internal get_kmem_cache_list() function, used by the \"kmem -[sS]\", \"kmem \", \"rd -S\" and \"bf -F\" commands, to utilize the simpler new do_list() functionality. (andersonAATTredhat.com)- Modified the internal show_net_devices_v2() and show_net_devices_v3() functions, used by the \"net\" command, to utilize the simpler new do_list() functionality. (andersonAATTredhat.com)- The \"help -r\" option has been extended to dump the X86 and X86_64 registers stored in the NT_PRSTATUS notes in netdump ELF, kdump ELF, and compressed kdump dumpfiles. Without the patch, the option only supports ELF dumpfiles created by the \"virsh dump --memory-only\" facility. (andersonAATTredhat.com)- Modified the \"runq -g\" display to show the CFS task_group and cfs_rq addresses; also the current task is also displayed in its CFS or RT queue with with the notation \"[CURRENT]\" appended to the task data. (Anthony.ChenAATTTeradata.com)- Additional modification to the \"runq -g\" to display the task_group and rt_rq addresses for the RT queues, similar in nature to the CFS queue changes are done by the patch above. In addition, the CFS rb_root and RT prio_array addresses are no longer shown given that they can be determined by looking at the cfs_rq and rt_rq structures whose addresses are now displayed. (andersonAATTredhat.com)- Modified the behavior of the \"mod -t\" option when running against Linux 2.6.18 and earlier kernels such that the hexadecimal value of the module->license_gplok member is always displayed. Without the patch, if a module\'s license_gplok boolean or bitmask value is 0, it would only be displayed if the module was unsigned. (andersonAATTredhat.com, atomlinAATTredhat.com)- Modified the internal dump_tasks_in_task_group_rt_rq() and dump_RT_prio_array() functions, used by the \"runq\" command, to utilize the simpler new do_list() functionality. (andersonAATTredhat.com)- Resurrection of the remote analysis capability for use with the \"xen-crashd\" daemon running on a Xen Dom0 host, which communicates with a paused or shutdown DomU guest kernel. The daemon can be accessed like so: $ crash localhost:5001,/dev/xenmem vmlinux (dslutzAATTverizon.com)- Prevent the X86_64 \"bt\" command from using starting RSP and RIP values taken from the NT_PRSTATUS notes of kdump dumpfiles if the RSP address is not in the task\'s kernel stack, or in any of the relevant per-cpu exception stacks. This can happen when the number of NT_PRSTATUS notes does not match the number of online cpus. Without the patch, the command may generate a segmentation violation, fail with the error message \"bt: cannot determine starting stack pointer\", or fail with an error message indicating that the command \"cannot transition\" from an exception stack to the previous stack. (andersonAATTredhat.com)- Fix for the X86_64 \"bt\" command for displaying the backtraces of active tasks running on the non-crashing cpus in kdump dumpfiles in which the \"crash_nmi_callback\" function frame does not appear in the per-cpu NMI exception stacks. That function frame is normally used as the starting point for the backtraces of those tasks, but if it does not exist, the \"notify_die\" frame will be used instead. Without the patch, the backtraces of the active non-crashing tasks are incorrect or incomplete. (andersonAATTredhat.com)- Increment the X86_64 NR_CPUS maximum value from 5120 to 8192 to be able to account for Linux 3.13-rc1 and later kernels in which CONFIG_MAXSMP has been configured. If that is true, the CONFIG_NR_CPUS value is overridden, and the kernel NR_CPUS value will be set to 8192. This will cause the crash session to fail with the messages \"WARNING: kernel-configured NR_CPUS (8192) greater than compiled-in NR_CPUS (5120)\" and \"crash: recompile crash with larger NR_CPUS\". (andersonAATTredhat.com)- A crash-7.0.3 fix for the proper determination of the kernel NR_CPUS configurable for Linux 3.8 and later kernels introduced a regression in Linux 3.8 and later kernels if: (1) the kernel is configured with CONFIG_SLAB, and (2) the sum of the kernel\'s NR_CPUS and MAX_NUMNODES values exceed the NR_CPUS value compiled into the crash utility. Without the patch, the crash session generates a segmentation fault while it indicates \"please wait: gathering kmem slab cache data\". (andersonAATTredhat.com)- Update for the extensions/trace.c extension module to support the ftrace data structure changes introduced in Linux 3.10 kernels. Without the patch, loading the module with the \"extend\" command fails with the error message \"extend: trace.so: no commands registered: shared object unloaded\". (d.hatayamaAATTjp.fujitsu.com)- Increment the S390 and S390X NR_CPUS maximum value from 64 to 512. (holzheuAATTlinux.vnet.ibm.com)- Implemented support for the redesigned per-slab object bookkeeping that was introduced in Linux 3.13-rc1 for kernels configured with CONFIG_SLAB. In those kernels, the head page structure associated with each slab is overloaded to serve as the (now removed) slab data structure, and the array of kmem_bufctl_t data structures that used to be appended to each slab data structure for object management has been replaced by a new freelist stack mechanism. Without the patch, the crash session would fail during initialization with the error message \"crash: invalid structure member offset: kmem_cache_s_c_num\". It should be noted that this patch has only been tested on 3.13-rc1 kernels, which do not have the modified freelist_idx_t in place as of yet, so the replacement of integer-sized indexes with byte or short sized indexes had not been checked in. Furthermore, if this proposed patch set gets accepted: [RFC][PATCH 0/3] re-shrink \'struct page\' when SLUB is on. https://lkml.org/lkml/2013/12/11/589 then both CONFIG_SLAB and CONFIG_SLUB support in the crash utility will be broken yet again. (andersonAATTredhat.com)- In order to facilitate the building of the crash binary with either or both of the optional LZO or SNAPPY compression libraries, two new Makefile targets have been added: $ make lzo $ make snappy Without the patch, the CFLAGS.extra and LDFLAGS.extra files must be created or modified as described in these changelog entries: http://people.redhat.com/anderson/crash.changelog.html#LZO http://people.redhat.com/anderson/crash.changelog.html#SNAPPY This patch simply does the work automatically. After having done it one time, there is no need to use the targets for subsequent builds. The relevant libraries must pre-exist on the build machine. (andersonAATTredhat.com)- Long overdue update of the README file. (andersonAATTredhat.com) * Tue Dec 10 2013 dvaleevAATTsuse.com- enable ppc64le * Fri Dec 06 2013 ptesarikAATTsuse.cz- crash-compressed-booted-kernel.patch: Fix a bug that may cause removal of the booted kernel\'s vmlinux image (bnc#828260). * Thu Nov 21 2013 dmairAATTsuse.com- Implementation of 7.0.3 from upstream and patch refresh.- Fix for the ARM architecture if the backtrace unwind information cannot be gathered during session initialization. Without the patch, the two unwind-related warning messages indicating \"WARNING: UNWIND: failed to gather unwind_table list\" and \"WARNING: UNWIND: failed to initialize module unwind tables\" are followed by the fatal error message \"crash: cannot hash task_struct entries\". (andersonAATTredhat.com)- Fix for the \"help -[Dn]\" dumpfile information display of the GUID EFI table in the header of SADUMP dumpfiles. Without the patch, only 33 of the 36 bytes in the table are translated. (d.hatayamaAATTjp.fujitsu.com)- Fix for the determination of the kernel NR_CPUS configurable for Linux 3.8 and later kernels that are configured with CONFIG_SLAB. Without the patch, the kernel\'s compiled-in NR_CPUS value was incorrectly calculated to be the sum of the kernel\'s NR_CPUS and MAX_NUMNODES configurables. (andersonAATTredhat.com)- In the next release of makedumpfile, the status field of the dumpfile header of compressed kdumps will show the compression type that was utilized. The \"help -[Dn]\" output has been updated to display that information. (andersonAATTredhat.com)- For kernels configured with CONFIG_SLAB in which an array_cache pointer referenced by a kmem_cache structure is invalid, the individual cache(s) will be marked as invalid. During session initialization, the message \"crash: kmem_cache: : invalid array_cache pointer\" will be displayed, and during runtime, attempts to access the cache(s) will result in a message indicating that the cache is \"[INVALID/CORRPUTED]\". Without the patch, the message \"crash: unable to initialize kmem slab cache subsystem\" is displayed during session initialization, and run-time commands that attempt to access the kmem slab cache subsystem fail with the error message \"kmem cache slab subsystem not available\". (andersonAATTredhat.com)- Fix for the \"kmem -[sS] \" option in Linux 3.6 and later kernels configured with CONFIG_SLAB. Without the patch, the command fails with the message \"kmem: address is not allocated in slab subsystem: . This also causes the \"kmem \" command to (quietly) fail to determine that the address is a slab object. (andersonAATTredhat.com)- Fix for the \"bt\" command if a kernel __init text address is encountered. Without the patch, and depending upon the reallocation of the __init text memory, a bogus framesize may be calculated, or more likely, in a compressed kdump, a warning message indicating \"bt: page excluded: kernel virtual address: type: gdb_readmem_callback\" will be displayed following the frame data. (andersonAATTredhat.com)- Update for determining whether an S390X PTE contains a swap entry in Linux 3.12 and later kernels. (holzheuAATTlinux.vnet.ibm.com)- Resurrected the translation and display of the page.flags bits by the \"kmem -p\" command on Linux 2.6.26 and later kernels whose vmlinux debuginfo data contains either the \"pageflags\" enumerator or the \"pageflag_names\" array of trace_print_flags structures. If they are not available, just the page.flags value is printed in hexadecimal, as has been done since Linux 2.4.9. (andersonAATTredhat.com)- Fix for the \"bt\" command when used with vmcore files that were created with the recently-introduced \"virsh dump --memory-only\", which dumps KVM guests into an ELF vmcore similar to those created by the kdump facility. Without the patch, a faulty backtrace for the panic task may be generated due to the use of incorrect starting RSP/RIP registers; this happens because (unlike kdump) the non-panicking cpus are offlined prior to the dumpfile being created, which in turn leads to the use of the wrong NT_PRSTATUS note. (andersonAATTredhat.com)- Fix for the CPU number display on systems with 255 or more cpus during the initial banner, by the \"set\" command, the \"ps\" command, and by all commands that display the per-task header consisting of the task address, pid, cpu and command name. Without the patch, for cpu 255, the \"sys\" command displays \"NO_PROC_ID\", and the other commands would show a \"-\" for the cpu number; for cpu numbers greater than 255, garbage values would be displayed in the cpu number field. (andersonAATTredhat.com)- Implemented support for compressed kdump header version 6, in which makedumpfile(8) adds new fields in the kdump_sub_header to support large memory systems with pfn values that are larger than 32-bits. Without the patch, if the system contains physical memory located in high memory such that its maximum pfn value is overflows the 32-bit \"max_mapnr\" field in the header, the crash session will fail with the error message \"crash: vmlinux and vmcore do not match!\". (jingbai.maAATThp.com)- Fix for the \"net -s\" command on Linux 3.8 and later kernels. Without the patch, the command fails with the message \"net: invalid structure member offset: inet_opt_daddr\". (andersonAATTredhat.com)- Fix a build failure in a native ARM64 environment due to obsolete LKCD dumpfile headers. (andersonAATTredhat.com)- Implementation of a new \"per-cpu object\" as an argument format that can be passed to the \"p\", \"struct\", \"union\" or \" *\" commands. The format is expressed as either : or as :, where the per-cpu symbol or per-cpu offset must precede a colon, and where the follows the colon. The cpu-identifier may be expressed in any of the following manners: : CPU of the currently selected task. :a[ll] all CPUs. :#[-#][,...] CPU list(s), e.g. \"1,3,5\", \"1-3\", or \"1,3,5-7,10\". Without the patch, per-cpu symbols are only accepted by the \"p\" command, and the data type and the resolved kernel virtual address for each per-cpu instance are displayed shown. With this patch, a colon and a cpu-specifier may be appended to the symbol name, and the the contents of the symbol on each cpu that is specified will be displayed by the \"p\" command. For the \"struct/union/ *\" commands, an argument may be specified using either a per-cpu offset value or per-cpu symbol name followed by a colon and cpu-specifier, and the contents of each structure/union on each specified cpu will be displayed. (ptesarikAATTsuse.cz) Fixed several minor flaws that were detected by a Coverity Scan: tools.c: 992:warning[invalidScanfArgType_int] – %d in format string (no. 1) requires \'int *\' but the argument type is \'unsigned int *\'. memory.c: 7461:error[uninitvar] – Uninitialized variable: page_cache_size filesys.c: 731:error[resourceLeak] – Resource leak: version kernel.c: 5675:error[uninitvar] – Uninitialized variable: action 7799:error[memleakOnRealloc] – Common realloc mistake: \'ikconfig_all\' nulled but not freed upon failure configure.c: 793:error[mismatchAllocDealloc] – Mismatching allocation and deallocation: fp remote.c: 1120:error[resourceLeak] – Resource leak: pipe va_server.c: 316:error[memleak] – Memory leak: disk_hdr va_server_v1.c: 311:error[memleak] – Memory leak: disk_hdr makedumpfile.c: 80:error[memleakOnRealloc] – Common realloc mistake: \'ptr\' nulled but not freed upon failure sadump.c: 231:error[memleakOnRealloc] – Common realloc mistake: \'sdh\' nulled but not freed upon failure extensions/snap.c: 550:error[uninitvar] – Uninitialized variable: prstatus_len 541:error[uninitvar] – Uninitialized variable: l_offset extensions/trace.c: 1477:error[resourceLeak] – Resource leak: file (andersonAATTredhat.com) * Fri Sep 13 2013 ptesarikAATTsuse.com- crash-crosscrash-hint.diff: Removed, because crosscrash isn\'t maintained any longer. * Thu Sep 12 2013 dmairAATTsuse.com- Implementation of v7.0.2 from upstream. o See http://people.redhat.com/anderson/crash.changelog.html for a complete list of changes from 6.1.3.- crash-rl_digit_loop-return.patch - removed- crash-missing-declarations.patch - refreshed- crash-rl_digit_loop-return.patch - refreshed- eppic-switch-to-system-lib.patch - refreshed * Fri May 10 2013 dmairAATTsuse.com- Implementation of v6.1.3 from upstream. crash-display-date-fix.patch - removed/redundant crash-kmem_cache_slab.patch - removed/redundant crash-siginfo.patch - removed/redundant crash-var_length_log_rec.patch - removed/redundant eppic-switch-to-system-lib.patch - Implementation of EPPIC via system library rather than retrieve and include in build. Added eppic constants to spec file without removing the sial constants for now. crash-crosscrash-hint.diff - refreshed crash-make-emacs-default.diff - refreshed crash-sles9-time.patch - refreshed * Wed Feb 27 2013 cooloAATTsuse.com- update license to new format * Mon Feb 04 2013 dmairAATTsuse.com- Re-execution of 150764 by tabrahamAATTsuse.com to re-align patch content, re-number patches for latest spec contents and to remove some incidental content (e.g. whitespace insertion and leftover comments of new lines). Comment from tabraham follows: - added crash-display-date-fix.patch This is a backport of the fix from crash-6.0.9 to fix the date displayed by the initial system banner and by the \"sys\" command for linux kernel 3.6 and later. Without the patch, the date displayed will be that of the UNIX epoch adjusted to local time. - added crash-kmem_cache_slab.patch This is a backport of the fix from crash-6.1.0 for Linux 3.0 and later kernels that have been configured with CONFIG_SLAB and with- out CONFIG_NODES_SHIFT. Without the patch, the warning messages \"crash: nr_node_ids: symbol does not exist\" and \"crash: unable to initialize kmem slab cache subsystem\" are displayed during initialization, and the \"kmem -[sS]\" options fail with the message \"kmem: kmem cache slab subsystem not available\". * Mon Feb 04 2013 dmairAATTsuse.com- crash-compressed-booted-kernel.patch: Fix for \"crash when invoked without arguments fails to analyze the live system\" (bnc#777516). * Fri Jan 25 2013 tabrahamAATTsuse.com- crash-var_length_log_rec.patch: support variable-length record kernel log buffer present in kernel 3.5 and later (bnc#796151). * Sun Jul 29 2012 ajAATTsuse.de- Fix build with glibc 2.16 (struct siginfo -> siginfo_t). * Tue Jul 17 2012 dmairAATTsuse.com- Enabled support for reading dumpfiles compressed by LZO using makedumpfile version 1.4.4 or later. * Fri Jun 01 2012 dmairAATTsuse.com- Update to crash 6.0.7 from upstream and adjust patches to apply without offsets. Upstream changes: o Enhanced the search command to allow the searched-for value to be entered as a crash (expression) or a kernel symbol name. The resultant value of an (expression) or kernel symbol value must fit into in the designated value size if -w or -h are used, and neither variant may be used with the -c option. If found, both the resultant value and the argument input string will be displayed next to the target address(es). o Added a new \"search -t\" option that will restrict the search to the kernel stack pages of all tasks. If one or more matches are found in a task\'s kernel stack, the output is preceded with a task-identifying header. o Fix for the s390x \"bt -[tT]\" options when run on an active task on a live system. Without the patch, the options fail with the message \"bt: invalid/stale stack pointer for this task: 0\". o Fix for s390x \"vm -p\" option, which may show invalid user to physical address translation data if a page is not mapped. Without the patch, a page\'s translation may indicate \" SWAP: (unknown swap location) OFFSET: 0\", or show an incorrect swap offset on an actual swap device. o Added new \"vm -[xd]\" options to be used in conjunction with \"vm -[mv]\", which override the current default output format with hexadecimal or decimal format for just the command instance. Without the patch, it would require changing the default output format with \"hex\" or \"dec\" prior to executing \"vm -[mv]\". The new flags may also be used with \"foreach vm -[mv]\". o Fix for the s390x \"vm -p\" and \"vtop -u \" commands if the page containing the relevant PTE is not mapped. Without the patch, the commands fail with the error message \"vm: read error: kernel virtual address: 0 type: entry\" or \"vtop: read error: kernel virtual address: 0 type: entry\" o Fix for the s390x \"vm -p\" command and \"vtop -u \" commands to properly translate pages that are swapped out into their swap file and offset. Without the patch, the swap file and offset would not be displayed. o Added new \"list -[xd]\" options to be used in conjunction with \"list -s\", which override the current default output format with hexadecimal or decimal format for just the command instance. Without the patch, it would require changing the default output format with \"hex\" or \"dec\" prior to executing \"list -s\". o Added new \"net -[xd]\" options to be used in conjunction with \"net -S\", which override the current default output format with hexadecimal or decimal format for just the command instance. Without the patch, it would require changing the default output format with \"hex\" or \"dec\" prior to executing \"net -S\". The new flags may also be used with \"foreach net -S\". o Added new \"mach -[xd]\" options to be used in conjunction with \"mach -c\", which override the current default output format with hexadecimal or decimal format for just the command instance. Without the patch, it would require changing the default output format with \"hex\" or \"dec\" prior to executing \"mach -c\". o If the value read from the cpu online, present, or possible masks contains a cpu bit value that is outside the architecture\'s maximum NR_CPUS value, print a warning message during invocation. Without the patch, a corrupt vmcore containing a bogus mask value could quietly corrupt heap memory. o Add support to for reading dumpfiles compressed by LZO using makedumpfile version 1.4.4 or later. This feature is disabled by default. To enable this feature, build the crash utility in the following manner: (1) Install the LZO libraries by using the host system\'s package manager or by directly downloading libraries from author\'s website. The packages required are: - lzo - lzo-minilzo - lzo-devel The author\'s website is: http://www.oberhumer.com/opensource/lzo (2) Create a CFLAGS.extra file and an LDFLAGS.extra file in top-level crash sources directory: - enter -DLZO in the CFLAGS.extra file - enter -llzo2 in the LDFLAGS.extra file. (3) Build crash with \"make\" as always. * Only available as a source option for manual build in this environment o Fix for the included \"trace\" extension module. Without the patch, if the module initialization sequence fails, a double-free in the module may lead to a subsequent malloc() segmentation violation in the crash session. o Incorporated the \"ipcs\" extension module written by Qiao Nuohan as a built-in command. The command displays the kernel\'s usage of the System V shared memory, semaphore and message queue IPC facilities. It differs from the original extension module by fixing a failure scenario if the current task is exiting, and adds a \"-n pid|task\" option, which displays the IPCS facilities with respect to the namespace of a given pid or task. o Fix for a gdb-7.3.1 regression that causes the line number capability to fail with certain ranges of x86 base kernel text addresses. Without the patch, the \"dis -l \" or \"sym \" commands would fail to show line number information for certain ranges of base kernel text addresses. o Added a new \"printm\" command to the embedded gdb module. It is currently only used by the \"pstruct\" extension module, but can be used to dump the type, size, offset, bitpos and bitsize values of an expression. o Added a new \"runq -t\" option that displays the timestamp information of each cpu\'s runqueue, which consists of either the rq.clock, the rq.most_recent_timestamp or rq.timestamp_last_tick value, whichever applies. Following each cpu timestamp is the last_run or timestamp value of the active task on that cpu, whichever applies, along with the task identification. o Fix for an initialization-time warning when running on a live system with the most recent version of the modprobe command, which no longer supports the -l and --type options. The modprobe is used to detect whether the crash.ko memory driver is part of the distribution. Without the patch, a warning message is issued that indicates \"/sbin/modprobe: invalid option -- \'l\'\". If the driver is built into the kernel, the message is harmless. If the driver is not built into kernel, then the crash.ko (/dev/crash) driver would not be selected as the live memory source. * Thu May 17 2012 ptesarikAATTsuse.cz- delete crash-foreach-match-running.patch: upstream * Mon May 14 2012 dmairAATTsuse.com- Update to crash 6.0.6 from upstream o Extend the supported cross-architecture build capability so that it applies to the SIAL extentension module. Without the patch, when building the SIAL module an environment where the overlying crash utility was built with \"make target=ARM\", \"make target=PPC\", or \"make target=X86\", the SIAL extension module would continue to be built for the host architecture o Fixes for memory leaks and possible segmentation violations when unloading SIAL extension module scripts. o Fix for the new \"foreach RU\" task state qualifier. Without the patch, the runnable tasks are not selected. o Fix to disallow multiple task states from being entered using the \"foreach \" qualifier. Without the patch, if multiple states were entered, the last one on the command line would be honored. o Fix for the \"extend\" command to allow the usage of 32-bit PPC extension modules. Without the patch, the command fails with the message: \"extend: