Download from: http://people.redhat.com/anderson Changelog: - Fix for the ARM "irq" command. Without the patch, on 2.6.34 and later kernels configured with CONFIG_SPARSE_IRQ, the command fails with the error message "irq: cannot determine number of IRQs". (Jan.Karlsson@xxxxxxxxxxxxxx) - Fix for a segmentation violation generated during invocation while parsing a makedumpfile-created "flat-format" vmcore-incomplete file. Without the patch, the crash session would display the error message "crash: unable to seek dump file vmcore-incomplete", followed by a segmentation violation. (anderson@xxxxxxxxxx) - Fix for a segmentation violation generated by the "kmem -s" option when encountering a corrupted array_cache structure that contains a bogus "avail" count that is greater than the maximum legitimate limit value. Without the patch, the "kmem -s" command would print a warning message regarding the invalid array_cache, complete the command normally, and then generate a segmentation violation when freeing buffers used by the command. (anderson@xxxxxxxxxx) - Update to the "kmem -s" function to include the errors found in slab structures to the display of total errors found when the command completes. Without the patch, invalid list_head pointers, bad inuse counters, and bad s_mem pointers were not added to the total number of errors found. (anderson@xxxxxxxxxx) - Fix for "crash --osrelease <dumpfile>" and "crash --log <dumpfile>" when run on an ARM compressed kdump with a crash binary that was built with "make target=ARM" on an x86 or x86_64 host. Without the patch, if the compressed kdump header version is 4 or 5, "crash --osrelease" fails with the error message "crash: compressed kdump: cannot lseek dump vmcoreinfo" followed by "unknown", and "crash --log" fails with the error message "crash: <dumpfile>: no VMCOREINFO section". (anderson@xxxxxxxxxx) - Enhancement to the "swap" command to display the swap_info_struct address of each configured swap device. The output has been changed to display the address in the first column, and the variable-length device name has been moved to the last column. (anderson@xxxxxxxxxx) - Fix for the "kmem -[sS]" options on kernels that configured with both CONFIG_SLUB and CONFIG_NODES_SHIFT, and that are running on hardware that generates NUMA nodes that contain no memory. Without the patch, both command options fail immediately with the message "kmem: invalid kernel virtual address: 8 type: kmem_cache_node nr_partial". (anderson@xxxxxxxxxx) - Increment the PPC64 NR_CPUS maximum value from 1024 to 2048. (anderson@xxxxxxxxxx) - Strip the ".isra." and ".part." appendages to cloned text symbol names, which seem to have been introduced by gcc-4.6.0. To keep them intact, a "--no_strip" command line option has been added. (anderson@xxxxxxxxxx) - Patch to the internal gdb_get_datatype() function to return the typecode and length of integer variables. (adrian.wenl@xxxxxxxxx, anderson@xxxxxxxxxx) - Fix for the "dev -d" option on Linux 3.6 and later kernels. Without the patch the option fails with the message "dev: invalid structure member offset: request_queue_rq". (holzheu@xxxxxxxxxxxxxxxxxx) - Export the red/black tree utility functions rb_first(), rb_parent(), rb_right(), rb_left(), rp_next() and rb_last(). Without the patch, they are statically declared and only used by the "runq" command. (qiaonuohan@xxxxxxxxxxxxxx) - Implemented a new "timer -r" option that displays the hrtimer queues, supporting all versions from Linux 2.6.16 to the present. (qiaonuohan@xxxxxxxxxxxxxx, anderson@xxxxxxxxxx) - Fix for "kmem -s" on Linux 3.8 and later kernels that are configured with CONFIG_SLAB. The kmem_cache.array[] length has been extended to store the nodelist pointers, so the original method to determine the per-cpu array limit can go out-of-range. Without the patch, during session initialization there may be a message that indicates "crash: invalid kernel virtual address: <address> type: array cache limit", followed by "crash: unable to initialize kmem slab cache subsystem"; if those messages do get shown, then "kmem -s" will subsequently fail during runtime with the message "kmem: kmem cache slab subsystem not available". (qiaonuohan@xxxxxxxxxxxxxx) - Two Xen hypervisor fixes: (1) Fix console buffer content length calculation: Xen changeset 26447 (x86: re-introduce map_domain_page() et al) once again altered virtual address space. The current algorithm calculating its start could not cope with that change. New version establishes this value on the base of image start address and is more generic. (2) Improve calculation of beginning of virtual address space: Function displaying console buffer always assumes its content length equal to console buffer size. This is not true and sometimes it sends garbage to the screen. This patch fixes this issue. (daniel.kiper@xxxxxxxxxx) - Fix for the ARM "vtop" command when run on a module address. Without the patch, the command fails with error message "vtop: ambiguous address: <module-address> (requires -u or -k)". (anderson@xxxxxxxxxx) - Add the "--active" command line option to the crash(8) man page and to the "crash [-h|--help]" output. (anderson@xxxxxxxxxx) - Add the "--buildinfo" command line option to the crash(8) man page and to the "crash [-h|--help]" output. (anderson@xxxxxxxxxx) - Remove the unadvertised and unnecessary "--data_debug" command line option, given that it is the default setting. (anderson@xxxxxxxxxx) - Remove the unadvertised and obsolete "--no_namelist_gzip" command line option. (anderson@xxxxxxxxxx) - Add the "-g [namelist]" command line option to the crash(8) man page and to the "crash [-h|--help]" output. (anderson@xxxxxxxxxx) - Remove the unadvertised and never-implemented "--shadow_page_tables" command line option. (anderson@xxxxxxxxxx) - Fix for the ARM "vtop" command when run on a user virtual address of the panic task. Prior to Linux 3.3, the panic task's pgd gets overwritten with a pgd that identity-maps the whole address space, and therefore crash loses the capability of translating any user virtual address into its original physical address. (mika.westerberg@xxxxxx) - Fix to prevent the ARM linker mapping symbols "$d" and "$a" from being added to the list of symbols from kernel modules. Without the patch, the two symbols would only be rejected from the base kernel's symbol list, but would be added to the symbol list of individual kernel modules. (mika.westerberg@xxxxxx) - Fix for the X86_64 "bt" command to recognize that the kernel was built with CONFIG_FRAME_POINTER on Linux 3.7 and later kernels that are configured with CONFIG_FUNCTION_TRACER. In those kernels, the special 4-byte NOP instruction that can be overwritten during runtime for dynamic ftracing has been moved to the very beginning of each function, before the function preamble. Without the patch, the test that checks the function preamble to determine whether CONFIG_FRAME_POINTER was configured would fail, which could potentially lead to less reliable backtraces. (anderson@xxxxxxxxxx) -- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/crash-utility