180 Commits

Author SHA256 Message Date
Petr Tesarik c03c96f7ca Move makedumpfile-R.pl to doc.
The script functionality is superseded by `makedumpfile -R`, but the
script may still serve as a useful reference implementation of reading
the flattened file format.

Signed-off-by: Petr Tesarik <ptesarik@suse.com>
2025-08-13 08:24:34 +02:00
Petr Tesarik 2ca34b3dfd Update bundled eppic to 72da440362e20291d5ecbb04b6eb7c7b492f233c
Fix build with glibc-2.42 (boo#1247577).

Signed-off-by: Petr Tesarik <ptesarik@suse.com>
2025-08-13 08:21:38 +02:00
Petr Tesarik 8b6d0ef748 Fix a data race in multi-threading mode (--num-threads=N)
Apply an unreleased fix for a data race.

References: bsc#1245569
Signed-off-by: Petr Tesarik <ptesarik@suse.com>
2025-07-18 14:41:50 +02:00
Petr Tesarik 4996c11987 Convert HKT timezone in changelog to UTC. 2025-07-08 10:05:13 +02:00
Petr Tesarik 3195f010eb Update to makedumpfile-1.7.7
New features:
- Support for kernels up to v6.14 (x86_64)

Drop upstreamed patches:
- makedumpfile-fix-detection-of-typed-compound-pages-Linux-6.12.patch

Signed-off-by: Petr Tesarik <ptesarik@suse.com>
2025-05-29 13:16:11 +02:00
Petr Tesarik ef3511896c Update bundled eppic to 63c2a2072464d774097a1a6cc1d2e98290f89c49
Signed-off-by: Petr Tesarik <ptesarik@suse.com>
2025-05-29 13:02:38 +02:00
dimstar_suse f7c8471a12 Accepting request 1248947 from Kernel:kdump
- Update to 1.7.5:
  * Support for kernels up to v6.11 (x86_64)
- Drop upstreamed patches:
  * 0001-PATCH-Fix-failure-of-hugetlb-pages-exclusion-on-Linu.patch
  * 0002-PATCH-Fix-wrong-exclusion-of-Slab-pages-on-Linux-6.1.patch
  * make-reserve_diskspace-do-nothing-for-flattened-form.patch
- makedumpfile-fix-detection-of-typed-compound-pages-Linux-6.12.patch:
  Reflect mm changes in kernel v6.12 (bsc#1237269).

OBS-URL: https://build.opensuse.org/request/show/1248947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=96
2025-02-28 16:38:24 +00:00
Petr Tesařík 7369492738 Add reference to bsc#1237269.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=185
2025-02-27 11:35:35 +00:00
Petr Tesařík 80d5f0c854 - Update to 1.7.5:
* Support for kernels up to v6.11 (x86_64)
- Drop upstreamed patches:
  * 0001-PATCH-Fix-failure-of-hugetlb-pages-exclusion-on-Linu.patch
  * 0002-PATCH-Fix-wrong-exclusion-of-Slab-pages-on-Linux-6.1.patch
  * make-reserve_diskspace-do-nothing-for-flattened-form.patch
- makedumpfile-fix-detection-of-typed-compound-pages-Linux-6.12.patch:
  Reflect mm changes in kernel v6.12.

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=184
2025-02-27 10:29:56 +00:00
anag_factory 66d194407e Accepting request 1206470 from Kernel:kdump
OBS-URL: https://build.opensuse.org/request/show/1206470
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=95
2024-10-09 20:03:30 +00:00
Petr Tesařík 6f29c41027 - move makedumpfile-R.pl from /usr/bin to
/usr/share/makedumpfile-{version} (bsc#1230448)

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=182
2024-10-09 07:50:49 +00:00
dimstar_suse 8e8650a480 Accepting request 1193375 from Kernel:kdump
OBS-URL: https://build.opensuse.org/request/show/1193375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=94
2024-08-13 11:22:18 +00:00
Petr Tesařík 845cd91ab9 - add (bsc#1226183)
* make-reserve_diskspace-do-nothing-for-flattened-form.patch

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=180
2024-08-12 09:12:54 +00:00
dimstar_suse e7588c08a9 Accepting request 1191711 from Kernel:kdump
OBS-URL: https://build.opensuse.org/request/show/1191711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=93
2024-08-07 04:10:10 +00:00
Petr Tesařík 55210ee88b Accepting request 1190883 from home:jirislaby:branches:Kernel:kdump
- add (bsc#1228388):
  * 0001-PATCH-Fix-failure-of-hugetlb-pages-exclusion-on-Linu.patch
  * 0002-PATCH-Fix-wrong-exclusion-of-Slab-pages-on-Linux-6.1.patch

OBS-URL: https://build.opensuse.org/request/show/1190883
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=178
2024-08-05 12:21:31 +00:00
anag_factory a2f0530595 Accepting request 1174380 from Kernel:kdump
OBS-URL: https://build.opensuse.org/request/show/1174380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=92
2024-05-16 15:13:35 +00:00
Petr Tesařík 5431c0c53b Accepting request 1174367 from home:simonlm:branches:Kernel:kdump
Update to version 1.7.5

OBS-URL: https://build.opensuse.org/request/show/1174367
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=176
2024-05-16 07:26:33 +00:00
anag_factory 91e85c8779 Accepting request 1126689 from Kernel:kdump
- Enable build for riscv64.
- Reduce compatibility cruft.
- Update to 1.7.4:
  * Add riscv64 support
  * Support kernels up to v6.6 (x86_64)
- Drop upstreamed patches:
  * ppc64-do-page-traversal-if-vmemmap_list-not-po.patch
  * Support-struct-module_memory-on-Linux-6.4-and-.patch
- Build with a bundled eppic git snapshot.

OBS-URL: https://build.opensuse.org/request/show/1126689
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=91
2023-11-16 19:27:19 +00:00
Petr Tesařík 7717e0b0d7 - Enable build for riscv64.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=174
2023-11-15 14:00:55 +00:00
Petr Tesařík 7af1061df7 Accepting request 1126600 from home:ptesarik:branches:Kernel:kdump
- Reduce compatibility cruft.
- Update to 1.7.4:
  * Add riscv64 support
  * Support kernels up to v6.6 (x86_64)
- Drop upstreamed patches:
  * ppc64-do-page-traversal-if-vmemmap_list-not-po.patch
  * Support-struct-module_memory-on-Linux-6.4-and-.patch
- Build with a bundled eppic git snapshot.

OBS-URL: https://build.opensuse.org/request/show/1126600
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=173
2023-11-15 13:55:18 +00:00
anag_factory 2778cf4e16 Accepting request 1115998 from Kernel:kdump
OBS-URL: https://build.opensuse.org/request/show/1115998
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=90
2023-10-08 10:16:40 +00:00
michals e7bf8448e9 Accepting request 1115997 from home:michals
- Add Support-struct-module_memory-on-Linux-6.4-and-.patch (jsc#PED-4593)
- Add ppc64-do-page-traversal-if-vmemmap_list-not-po.patch (bsc#1215364)
- Re-enable eppic on systems with old enough libeppic

OBS-URL: https://build.opensuse.org/request/show/1115997
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=171
2023-10-06 08:51:41 +00:00
dimstar_suse efdcb39a9b Accepting request 1083540 from Kernel:kdump
- update to 1.7.3:
  * Support kernels up to v6.3 (x86_64)
  * Support sadump with 5-level paging
- temporarily disable eppic until v5.0 branch can be supported

OBS-URL: https://build.opensuse.org/request/show/1083540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=89
2023-04-29 15:27:58 +00:00
Petr Tesařík 80f7f8d434 Remove unfinished v5.0 patch.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=169
2023-04-28 13:58:16 +00:00
Petr Tesařík 4496a2a4ea - update to 1.7.3:
* Support kernels up to v6.3 (x86_64)
  * Support sadump with 5-level paging
- temporarily disable eppic until v5.0 branch can be supported

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=168
2023-04-25 10:45:22 +00:00
dimstar_suse f23f7f78b8 Accepting request 1056824 from Kernel:kdump
OBS-URL: https://build.opensuse.org/request/show/1056824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=88
2023-01-08 20:25:13 +00:00
Petr Tesařík 73c81cbdd9 Accepting request 1039889 from home:dirkmueller:Factory
- update to 1.7.2:
  * LoongArch64 architecture support
  * Support kernels up to v6.0 (x86_64)

OBS-URL: https://build.opensuse.org/request/show/1039889
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=166
2023-01-07 22:20:32 +00:00
dimstar_suse f8b86f2c12 Accepting request 981123 from Kernel:kdump
OBS-URL: https://build.opensuse.org/request/show/981123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=87
2022-06-08 12:24:14 +00:00
Petr Tesařík fc54b30a87 Accepting request 971036 from home:polslinux:branches:Kernel:kdump
- Update to 1.7.1:
  * support for kernel up to 5.17
  * sadump: remove variable length array
  * print error when reading with unsupported compression
- Drop upstreamed makedumpfile-sadump-kaslr-fix-kaslr_offset-calculation.patch

OBS-URL: https://build.opensuse.org/request/show/971036
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=164
2022-06-07 09:47:24 +00:00
dimstar_suse 250476bf47 Accepting request 963663 from Kernel:kdump
OBS-URL: https://build.opensuse.org/request/show/963663
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=86
2022-03-23 19:15:34 +00:00
Petr Tesařík 0d9ecd57e6 Accepting request 963662 from home:ptesarik:branches:Kernel:kdump
- makedumpfile-sadump-kaslr-fix-kaslr_offset-calculation.patch:
  sadump, kaslr: fix failure of calculating kaslr_offset
  (bsc#1196736).

OBS-URL: https://build.opensuse.org/request/show/963662
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=162
2022-03-21 11:37:34 +00:00
dimstar_suse fbb9876e6c Accepting request 955899 from Kernel:kdump
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/955899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=85
2022-02-21 16:45:52 +00:00
Petr Tesařík 355c9f9ae7 - Turn on zstd in Tumbleweed.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=161
2022-02-11 14:16:05 +00:00
dimstar_suse e013abea5a Accepting request 935972 from Kernel:kdump
- Non-existent patches must be listed twice to appear as added in a
  unified diff against a version that had them. Only that can make
  factory-auto happy. Here we go:
  * makedumpfile-Retrieve-MAX_PHYSMEM_BITS-from-vmcoreinfo.patch
  * makedumpfile-arm64-Add-support-for-ARMv8.2-LPA-52-bit-PA-su.patch

OBS-URL: https://build.opensuse.org/request/show/935972
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=84
2021-12-10 20:52:53 +00:00
Petr Tesařík b694c587a1 - Non-existent patches must be listed twice to appear as added in a
unified diff against a version that had them. Only that can make
  factory-auto happy. Here we go:
  * makedumpfile-Retrieve-MAX_PHYSMEM_BITS-from-vmcoreinfo.patch
  * makedumpfile-arm64-Add-support-for-ARMv8.2-LPA-52-bit-PA-su.patch

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=160
2021-12-06 10:42:18 +00:00
dimstar_suse a20188eb74 Accepting request 935387 from Kernel:kdump
- Merge SLE15 SP3 changelog.
- Patches that were never actually applied to Factory:
  * makedumpfile-Retrieve-MAX_PHYSMEM_BITS-from-vmcoreinfo.patch
    (included in 1.6.8)
  * makedumpfile-arm64-Add-support-for-ARMv8.2-LPA-52-bit-PA-su.patch
    (included in 1.6.8)

OBS-URL: https://build.opensuse.org/request/show/935387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=83
2021-12-03 19:35:24 +00:00
Petr Tesařík 6a3e7dae78 - Merge SLE15 SP3 changelog.
- Patches that were never actually applied to Factory:
  * makedumpfile-Retrieve-MAX_PHYSMEM_BITS-from-vmcoreinfo.patch
    (included in 1.6.8)
  * makedumpfile-arm64-Add-support-for-ARMv8.2-LPA-52-bit-PA-su.patch
    (included in 1.6.8)

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=159
2021-12-03 08:12:57 +00:00
dimstar_suse 7a88083c0b Accepting request 932486 from Kernel:kdump
- Turn on zstd.
- Update to 1.7.0
  * Zstandard (zstd) compression support
  * New -L option to limit output file size
  * Support of kernels up to v5.15 (x86_64)

OBS-URL: https://build.opensuse.org/request/show/932486
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=82
2021-11-20 21:47:57 +00:00
Petr Tesařík fbe6fe53bb Accepting request 932481 from home:ptesarik:branches:Kernel:kdump
- Turn on zstd.

OBS-URL: https://build.opensuse.org/request/show/932481
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=158
2021-11-19 10:56:30 +00:00
Petr Tesařík a3b5bb2490 - Update to 1.7.0
* Zstandard (zstd) compression support
  * New -L option to limit output file size
  * Support of kernels up to v5.15 (x86_64)

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=157
2021-11-18 16:16:40 +00:00
dimstar_suse 53dc570414 Accepting request 907436 from Kernel:kdump
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/907436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=81
2021-07-22 20:42:56 +00:00
Petr Tesařík d363e92c0d Accepting request 905563 from home:susnux:branches:Kernel:kdump
Update to 1.6.9

(the SPEC fill provides the SLE11 compatibility part (TINFO) so make the %prep section also SLE11 compatible)

OBS-URL: https://build.opensuse.org/request/show/905563
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=156
2021-07-21 07:43:06 +00:00
dimstar_suse 0b5b2d4dfb Accepting request 886645 from Kernel:kdump
- Update patch metadata.

- Fix guessing of va_bits (bsc#1183977)
  * makedumpfile-1-3-Use-vmcoreinfo-note-in-proc-kcore-for-mem-.patch
  * makedumpfile-2-3-arm64-Make-use-of-NUMBER-VA_BITS-in-vmcore.patch
  * makedumpfile-3-3-arm64-support-flipped-VA-and-52-bit-kernel.patch

OBS-URL: https://build.opensuse.org/request/show/886645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=80
2021-04-22 16:03:41 +00:00
Petr Tesařík e9d9941e74 - Update patch metadata.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=154
2021-04-19 10:36:50 +00:00
michals 2d0224555d Accepting request 884057 from home:mbrugger:branches:Kernel:kdump
- Fix guessing of va_bits (bsc#1183977)
  * makedumpfile-1-3-Use-vmcoreinfo-note-in-proc-kcore-for-mem-.patch
  * makedumpfile-2-3-arm64-Make-use-of-NUMBER-VA_BITS-in-vmcore.patch
  * makedumpfile-3-3-arm64-support-flipped-VA-and-52-bit-kernel.patch

OBS-URL: https://build.opensuse.org/request/show/884057
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=153
2021-04-19 09:33:13 +00:00
RBrownSUSE 2a148254b7 Accepting request 883570 from Kernel:kdump
- Support kernel 5.11:
  * makedumpfile-use-uts_namespace.name-offset-VMCOREINFO.patch:
    make use of 'uts_namespace.name' offset in VMCOREINFO.
- Update upstream project location (URL and Source).
- Update to version 1.6.8:
  * Support newer kernels up to v5.9
  * arm64: Add support for ARMv8.2-LPA (52-bit PA support)
  * Retrieve MAX_PHYSMEM_BITS from vmcoreinfo
  * sadump, kaslr: fix failure of calculating kaslr_offset
  * Introduce --check-params option
  * cope with not-present mem section
- Drop upstreamed patches:
  * makedumpfile-Fix-cd_header-offset-overflow-with-large-pfn.patch
  * makedumpfile-arm64-Align-PMD_SECTION_MASK-with-PHYS_MASK.patch
  * makedumpfile-sadump-Fix-failure-of-reading.patch
- Allow to read kernel log from the lockless ringbuffer (bsc#1183965):
  * makedumpfile-printk-add-support-for-lockless-ringbuffer.patch
  * makedumpfile-printk-use-committed-finalized-state-value.patch

OBS-URL: https://build.opensuse.org/request/show/883570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=79
2021-04-08 19:03:19 +00:00
Petr Tesařík 29b838c5b9 - Support kernel 5.11:
* makedumpfile-use-uts_namespace.name-offset-VMCOREINFO.patch:
    make use of 'uts_namespace.name' offset in VMCOREINFO.

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=151
2021-04-07 09:54:49 +00:00
Petr Tesařík 8145987b79 - Update upstream project location (URL and Source).
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=150
2021-04-04 13:14:15 +00:00
Petr Tesařík deb14f21d2 Accepting request 882186 from home:pmladek:branches:Kernel:kdump
These changes allowed me to produce crashfump with kernel-5.11
from Kernel:stable project:

- Update to version 1.6.8:
  * Support newer kernels up to v5.9
  * arm64: Add support for ARMv8.2-LPA (52-bit PA support)
  * Retrieve MAX_PHYSMEM_BITS from vmcoreinfo
  * sadump, kaslr: fix failure of calculating kaslr_offset
  * Introduce --check-params option
  * cope with not-present mem section
- Drop upstreamed patches:
  * makedumpfile-Fix-cd_header-offset-overflow-with-large-pfn.patch
  * makedumpfile-arm64-Align-PMD_SECTION_MASK-with-PHYS_MASK.patch
  * makedumpfile-sadump-Fix-failure-of-reading.patch
- Allow to read kernel log from the lockless ringbuffer (bsc#1183965):
  * makedumpfile-printk-add-support-for-lockless-ringbuffer.patch
  * makedumpfile-printk-use-committed-finalized-state-value.patch

OBS-URL: https://build.opensuse.org/request/show/882186
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=149
2021-04-04 08:44:45 +00:00
dimstar_suse 16ea1bbc17 Accepting request 811495 from Kernel:kdump
- makedumpfile-sadump-Fix-failure-of-reading.patch: sadump: Fix
  failure of reading __per_cpu_load memory (bsc#1168798).

OBS-URL: https://build.opensuse.org/request/show/811495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=78
2020-06-08 21:50:45 +00:00