- 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
- 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
OBS-URL: https://build.opensuse.org/request/show/770053
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=312
- Upgraded to 7.2.1 because it includes the fixes to support
several core cases that recently were caused to fail to open.
As a result, removed patches that were already superceded by
7.2.1 source.
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
OBS-URL: https://build.opensuse.org/request/show/588732
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=289