-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 24 Feb 2017 10:41:52 -0700 Source: crash Binary: crash Architecture: source amd64 Version: 7.1.8-1 Distribution: unstable Urgency: medium Maintainer: Troy Heber <tr...@debian.org> Changed-By: Troy Heber <tr...@debian.org> Description: crash - kernel debugging utility, allowing gdb like syntax Closes: 788239 851882 853357 Changes: crash (7.1.8-1) unstable; urgency=medium . * New upstream 7.1.8 (Closes: #851882) . * Accepted patch from Chris J Arges <chris.j.ar...@canonical.com> to fix autopkgtest failures (Closes: #788239) . * Builds with gcc 7 (Closes: #853357) . * Fix for Linux 4.6 commit b03a017bebc403d40aa53a092e79b3020786537d, which introduced the new slab management type OBJFREELIST_SLAB. In this mode, the freelist can be an object, and if the slab is full, there is no freelist. On the next free, an object is recycled to be used as the freelist but not cleaned-up. This patch will go through only known freed objects, and will prevent "kmem -S" errors that indicate "invalid/corrupt freelist entry" on kernels configured with CONFIG_SLAB. . * Fix for the initialization-time loading of kernel module symbols if the kernel crashed while running a module's initcall. Without the patch, the crash session fails during initialation with a message similar to "crash: store_module_symbols_v2: total: 7 mcnt: 8". . * Fix for a segmentation violation during session inialization when running against a 32-bit MIPS ELF kdump or compressed kdump if a per-cpu NT_PRSTATUS note cannot be gathered from the dumpfile header. Without the the patch, a segmentation violation occurs after the message "WARNING: cannot find NT_PRSTATUS note for cpu: <number>" is displayed. . * The 32-bit MIPS PGD_ORDER() macro expects __PGD_ORDER to be signed, which it isn't now since the internal machdep->pagesize is unsigned. Without this patch, module loading fails during initialization on a kernel that has a page size of 16KB, with messages that indicate "please wait... (gathering module symbol data)" followed by "crash: invalid size request: 0 type: pgd page". . * For ARM64 dumpfiles with VMCOREINFO, verify the new "VA_BITS" number against the calculated number. . * Fix for the ARM64 "bt" command in Linux 4.10 and later kernels that are configured with CONFIG_THREAD_INFO_IN_TASK. Without the patch, the "bt" command will fail for active tasks in dumpfiles that were generated by the kdump facility. . * Fix for Linux 4.10 commit 7fd8329ba502ef76dd91db561c7aed696b2c7720 "taint/module: Clean up global and module taint flags handling". Without the patch, when running against Linux 4.10-rc1 and later kernels, the crash utility fails during session initialization with the message "crash: invalid structure size: tnt". . * Fix for support of /proc/kcore as the live memory source in Linux 4.8 and later x86_64 kernels configured with CONFIG_RANDOMIZE_BASE, which randomizes the unity-mapping PAGE_OFFSET value. Without the patch, the crash session fails during session initialization with the error message "crash: seek error: kernel virtual address: <address> type: page_offset_base". . * Update to the module taint flags handling patch above to account for the change in size of the module.taints flag from an int to a long, while allowing for a kernel backport that keeps it as an int. . * Prepare for the kernel's "taint_flag.true" and "taint_flag.false" member names to be changed to "c_true" and "c_false", which fixes build problems when an out-of-tree module defines "true" or "false". . * Prevent the livepatch taint flag check during the system banner display from generating a fatal session-killing error if relevant kernel symbol names or data structures change in the future (again). . * Fix for the PPC64 "bt" command for non-panicking active tasks in FADUMP-generated dumpfiles (Firmware Assisted Dump facility). Without the patch, backtraces of those tasks may be of the form "#0 [c0000000700b3a90] (null) at c0000000700b3b50 (unreliable)". This patch uses and displays the ptregs register set saved in the dumpfile header for the non-panicking active tasks. . * Fix for a possible segmentation violation when analyzing Linux 4.6 and earlier x86_64 kernels configured with CONFIG_RANDOMIZE_BASE. A segmentation violation may occur during session initialization, just after the patching of the gdb minimal_symbol values message, depending upon the value of KERNEL_IMAGE_SIZE, which was variable in the earlier KASLR kernels. This patch sets the KERNEL_IMAGE_SIZE default value to 1GB for those earlier kernels, and also adds a new "--machdep kernel_image_size=<value>" option that can be used to override the default KERNEL_IMAGE_SIZE value if necessary. . * Fix the bracketing of the x86_64 FILL_PML4() macro. . * Fix for the "tree -t radix", "irq", and "files -p" command options in Linux 4.6 and later kernels due to upstream changes in the radix tree facility. Without the patch, the commands will fail with the message "radix trees do not exist or have changed their format". . * Fix for the "trace.c" extension module. The kernel buffer referenced by "max_tr_ring_buffer" is not available in all configurations of the kernel so the unitialized max_tr_ring_buffer variable should not be used. A similar check existed previously before the recent rework of the trace extension module to support multiple buffers. . * Clarification in the display of CONFIG_SLUB object addresses that are displayed by the "kmem" command when SLAB_RED_ZONE has been enabled. By default, CONFIG_SLUB object addresses that are displayed by the "kmem" command will point to the SLAB_RED_ZONE padding inserted at the beginning of the object. As an alternative, a new "redzone" environment variable has been addedd that can be toggled on or off. If "set redzone off" is entered, the object addresses will point to the address that gets returned to the allocator. . * Fix for the "CURRENT" value displayed by the "timer -r" command. Without the patch, if the target machine has been up for a long enough time, an arithmetic overflow will occur and the time value displayed will be incorrect. . * Fix for 32-bit X86 kernels configured with CONFIG_RANDOMIZE_BASE. Without the patch, an invalid kernel PAGE_OFFSET value is calculated and as a result the session fails during session initialization just after the patching of the gdb minimal_symbol values message, showing the warning message "WARNING: cannot read linux_banner string", followed by "crash: /vmlinux and /dev/crash do not match!". This patch also adds a new "--machdep page_offset=<value>" option that can be used if the CONFIG_PAGE_OFFSET value is not the default address of 0xc0000000. . * Introduction of a new PPC64-only "mach -o" option that dumps the OPAL "Open Power Abstraction Layer" console buffer. . * Fix for the "bt" command on Linux 4.9 and later 32-bit X86 kernels containing kernel commit 0100301bfdf56a2a370c7157b5ab0fbf9313e1cd, subject "sched/x86: Rewrite the switch_to() code". Without the patch, backtraces for inactive (sleeping) tasks fail with the message "bt: invalid structure member offset: task_struct_thread_eip". . * Fix for a "[-Wmisleading-indentation]" compiler warning and the associated bug that is generated by lkcd_x86_trace.c when building 32-bit X86 with "make warn" with gcc-6.3.1. . * Fix for an invalid "bt" warning on a 32-bit X86 idle/swapper task. Without the patch, the backtrace displays the "cannot resolve stack trace" warning, dumps the backtrace, and then the text symbols: . crash> bt PID: 0 TASK: f0962180 CPU: 6 COMMAND: "swapper/6" bt: cannot resolve stack trace: #0 [f095ff1c] __schedule at c0b6ef8d #1 [f095ff58] schedule at c0b6f4a9 #2 [f095ff64] schedule_preempt_disabled at c0b6f728 #3 [f095ff6c] cpu_startup_entry at c04b0310 #4 [f095ff94] start_secondary at c04468c0 bt: text symbols on stack: [f095ff1c] __schedule at c0b6ef8d [f095ff58] schedule at c0b6f4ae [f095ff64] schedule_preempt_disabled at c0b6f72d [f095ff6c] cpu_startup_entry at c04b0315 [f095ff94] start_secondary at c04468c5 crash> . The backtrace shown is actually correct. . * Another fix for a similar "bt: cannot resolve stack trace" warning on a 32-bit X86 idle/swapper task, but when running on cpu 0. . * Remove two one-time warning messages that are displayed when running the "bt" command on Linux 4.2 and later 32-bit X86 kernels. Without the patch, the first "bt" command that is executed will be preceded by "bt: WARNING: "system_call" symbol does not exist", followed by "bt: WARNING: neither "ret_from_sys_call" nor "syscall_badsys" symbols exist". . * Fix for Linux 3.15 and later 32-bit X86 kernels containing kernel commit 198d208df4371734ac4728f69cb585c284d20a15, titled "x86: Keep thread_info on thread stack in x86_32". Without the patch, incorrect addresses of each per-cpu hardirq_stack and softirq_stack were saved for usage by the "bt" command. . * Additional fix for Linux 3.15 and later 32-bit X86 kernels containing kernel commit 198d208df4371734ac4728f69cb585c284d20a15, titled "x86: Keep thread_info on thread stack in x86_32". The patch fixes the stack transition symbol from "handle_IRQ" to "handle_irq" for usage by the "bt" command. . * Fix for 32-bit X86 kernels to determine the active task in a dumpfile in the situation where the task was running on its soft IRQ stack, took a hard IRQ, and then the system crashed while it was running on its hard IRQ stack. . * Allow the "--kaslr=<offset>" and/or "--kaslr=auto" command line options to be used with the 32-bit X86 architecture. . * Removed -Werror from the bfd and opcode library builds. Checksums-Sha1: efa060a31e18b5829ce9a5d998fab1219e949287 1902 crash_7.1.8-1.dsc a26a9cfc7b7aa962195845886d3a8e4375dc60b6 32154963 crash_7.1.8.orig.tar.gz 72c4f9449a3b0f6a85b06fffdca12f4762a3bc1c 91012 crash_7.1.8-1.debian.tar.xz 1009f7785fa354f4e8f621e092d8af36c385049c 13051166 crash-dbgsym_7.1.8-1_amd64.deb 0b8a1f693756fc64693cb137e34b8978433b9d22 5790 crash_7.1.8-1_amd64.buildinfo 00f3330086270ac3803f7d1bbb47be213d56a4b3 2788896 crash_7.1.8-1_amd64.deb Checksums-Sha256: c6573a85516d09a00d37a298320887c0828455e8a45e30bf2153cd886e1323d5 1902 crash_7.1.8-1.dsc e2fc0463cd91ef98d5ed88ec2db5fcc8b2dbd6a3066ce40c60e48e3ac49b447d 32154963 crash_7.1.8.orig.tar.gz 2e94ee7002bc061d88c8bf93dc20e7c561fef3b0b09fa034fd08c270499fb917 91012 crash_7.1.8-1.debian.tar.xz d78482c972447353c28c2ec1af2b11ea0fcc7a61a5cd95fdb593da5e39e29685 13051166 crash-dbgsym_7.1.8-1_amd64.deb f0a1cf7921e65f676444b85d2d462fbd69cd64d3ff307bf62cf739072eacf29c 5790 crash_7.1.8-1_amd64.buildinfo 3b29e543a70ba4f2015a4d74bad8737586da4e2e8831ea437cf5be12dac56909 2788896 crash_7.1.8-1_amd64.deb Files: b4f55916da2b18bf09425f50efac7f9b 1902 utils optional crash_7.1.8-1.dsc fc424e8f01215e68d67a5b6c80ae8dd8 32154963 utils optional crash_7.1.8.orig.tar.gz 88aca65170a705a191f6268b8cc12d87 91012 utils optional crash_7.1.8-1.debian.tar.xz 5f3510194d1332d78a5909abfc3c4d47 13051166 debug extra crash-dbgsym_7.1.8-1_amd64.deb 1f0d584c1717031e4ac04a92d9f4c4f9 5790 utils optional crash_7.1.8-1_amd64.buildinfo 72434ed7f776625aec0d565ab3b23e00 2788896 utils optional crash_7.1.8-1_amd64.deb
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEPdPUPs0+tNeF/HYE23wDYLLLZZcFAliwpVkACgkQ23wDYLLL ZZcJCQ/+MCyWm7wezuf2KNGZFt24dih56hNh59BShoDSzyo66jOkugNbqJ3E6zZD UiaYYyeNHb+LFmLujla6KFOOFo97+KrxWNd09VcnjJfgMocBb7rqP8kEsoF3UDJ0 1DlzuXRFzm2WRANZi7O6Ei5D73x/P9302y3bdkkQkOhCisRKjfoy/vUTK7NCuN53 7FhWbJvtXlGnaKw7Cu91EX9g7//HRh52+eYlQpzKsALs4hzQX8jjiPGFnZGR5qg9 pkAIRipKkQHOtDI4bkl3qZn9KJ4UbCryYOul99F43WchP0qKKj+tMd/WNRuvTyF9 AdTTN1M39NPeq/W0WA6yArDBFBxq4d8Y12be177SlxkoS5Qu5A8rh9HYMQNTAyQt XaDIb+AQmdru3uGib8JQxXBn/gnZA5lphOg1BEli32sj/TWVfEarYvZgnn6ke+wJ hmAmKsj3WRIiPOo84t+96RQORp4eEyucTkqmsAki+v7W+sM1+06nMPJLy4ekx/N0 NnuxLFt4U5EzYvnxAjrZ5SeLQWXb8YMWWPU9z+kMsIAUcAXjia3J8IV15H3tF1S8 y6E7khEoAU7NJGaTt4FCK1Ui0hMnQuwZIr648X0vIiA+h0fQ7LJAUcC6IuYhH9mg el2YqdgAA6RBYORLqJwyyZXHjge0K3a4o6oR7Z7eemTQUr7Bcok= =+QZT -----END PGP SIGNATURE-----