14
0
forked from pool/crash

14 Commits

Author SHA256 Message Date
b82c22654a Accepting request 1112906 from home:dmair:branches:Kernel:kdump:crash-1190434
- 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)

OBS-URL: https://build.opensuse.org/request/show/1112906
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=384
2023-09-22 16:02:04 +00:00
Petr Tesařík
3198b5f791 Accepting request 860726 from home:michals
- 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

OBS-URL: https://build.opensuse.org/request/show/860726
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=335
2021-01-07 12:43:49 +00:00
Petr Tesařík
a26dcba89a Accepting request 764401 from home:dmair:branches:Kernel:kdump
- Upgrade source tarball to version 7.2.7 to support currently used
  kernel versions.
- drop the following patch that is obsoleted by souce upgrade:
  * crash-allow-kmem-section-is-early.patch

OBS-URL: https://build.opensuse.org/request/show/764401
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=310
2020-01-28 22:36:44 +00:00
4242969a0d Accepting request 711725 from home:dmair:branches:Kernel:kdump
- Upgrade source tarball to version 7.2.6
- drop patches obsoleted by 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

OBS-URL: https://build.opensuse.org/request/show/711725
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=301
2019-06-27 15:06:50 +00:00
Petr Tesařík
c80994c11a Accepting request 620655 from home:ptesarik:branches:Kernel:kdump
- 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.
- 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

OBS-URL: https://build.opensuse.org/request/show/620655
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=291
2018-07-04 20:46:07 +00:00
Petr Tesařík
b06f3eae52 Accepting request 483427 from home:dmair:branches:Kernel:kdump
- 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.

- 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=<offset>" and/or "--kaslr=auto" with the x86 32-bit
  architecture.

OBS-URL: https://build.opensuse.org/request/show/483427
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=266
2017-03-29 20:09:20 +00:00
Petr Tesařík
5aa0a7e60b Accepting request 392001 from home:dmair:branches:Kernel:kdump
- 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.

OBS-URL: https://build.opensuse.org/request/show/392001
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=258
2016-04-28 19:20:55 +00:00
2b481b90c9 Accepting request 329794 from home:dmair:branches:Kernel:kdump
- Upgrade of source tarball to 7.1.3 from upstream and refresh of
  patch series to match. For the changelog of the source tarball
  see:
  http://people.redhat.com/anderson/crash.changelog.html
  Feature enhancements include:
  - Introduction of the "dis -f <address>" option, which 
    disassembles from the target address until the end of the
    function.
  - Introduction of the "dis -s <address>" option, which displays
    the filename and line number that is associated with the
    specified text location, followed by a source code listing if
    it is available on the host machine.
  - Added a new "--src <directory>" command line option for use
    by the "dis -s" option if the kernel source code is not
    located in the standard location that is compiled into the
    kernel's debuginfo data.

- 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

OBS-URL: https://build.opensuse.org/request/show/329794
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=254
2015-09-11 09:53:11 +00:00
Petr Tesařík
8a70573133 Accepting request 287986 from home:dmair:branches:Kernel:kdump
- 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.

OBS-URL: https://build.opensuse.org/request/show/287986
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=248
2015-02-27 09:06:56 +00:00
Petr Tesařík
288de9ea41 Accepting request 262618 from home:dmair:branches:Kernel:kdump
- 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.

OBS-URL: https://build.opensuse.org/request/show/262618
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=246
2014-11-24 13:04:19 +00:00
Petr Tesařík
185acf3c1f Accepting request 214996 from home:dmair:branches:Kernel:kdump
- 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.list@gmail.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_...".
  (anderson@redhat.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 *’
  (anderson@redhat.com)
- Created a simpler interface with the internal do_list() function.

OBS-URL: https://build.opensuse.org/request/show/214996
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=227
2014-01-24 08:29:46 +00:00
Petr Tesařík
8fdb805cdf - crash-compressed-booted-kernel.patch: Fix a bug that may cause
removal of the booted kernel's vmlinux image (bnc#828260).

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=222
2013-12-06 11:29:23 +00:00
Petr Tesařík
8e88995fe7 Accepting request 207895 from home:dmair:branches:Kernel:kdump
- 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".
  (anderson@redhat.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.hatayama@jp.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.
  (anderson@redhat.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.
  (anderson@redhat.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: <cache-address>: 
  invalid array_cache pointer" will be displayed, and during runtime, 
  attempts to access the cache(s) will result in a message indicating

OBS-URL: https://build.opensuse.org/request/show/207895
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=220
2013-11-22 09:48:47 +00:00
5f38e83a79 Accepting request 150473 from home:dmair:branches:Kernel:kdump
Support compressed vmlinux for live system debug. The patch has been
around for a while, see bnc#777516.

OBS-URL: https://build.opensuse.org/request/show/150473
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=208
2013-02-01 18:53:11 +00:00