commit 3a90dd9f3f27dd5c41d6216a1059886c83ec4db6
Author: dann frazier <dannf@debian.org>
Date: Wed Nov 25 08:11:58 2026 -0700
releasing package makedumpfile version 1:1.8.0-1
commit b1f3b4e5b1119d0ca9f3ba7613c99b2fb9b4f841
Author: dann frazier <dannf@debian.org>
Date: Wed Nov 25 08:11:27 2026 -0700
Refresh d/p/adapt-makefile-to-debian.patch
Signed-off-by: dann frazier <dannf@debian.org>
commit 3122fe3ee50a54dbcb554aa43ce3e9e973526283
Merge: 9d92835 a3c994b
Author: dann frazier <dannf@debian.org>
Date: Wed Nov 25 08:04:35 2026 -0700
Merge branch 'upstream/latest' into debian/latest
* New upstream release.
- arm64: Add 5-level page table support for 4K pages with 52-bit VA
(Closes: #1016955)
Signed-off-by: dann frazier <dannf@debian.org>
commit a3c994ba6b0682b32549d22a036edb9e408c7023
Merge: fd3cbe1 ae6c64c
Author: dann frazier <dannf@debian.org>
Date: Wed Nov 25 08:03:45 2026 -0700
New upstream version 1.8.0
commit ae6c64cd2693cd7c4b683d1948d4bb1b206636d0
Author: YAMAZAKI Masamitsu <m-yamazaki2@nec.com>
Date: Fri Oct 30 15:07:53 2026 +0900
[v1.8.0] Update version
Update makedumpfile to version 1.8.0.
This version supports the following new kernels:
- 7.1, 7.2, 7.3 (x86_64)
Signed-off-by: YAMAZAKI Masamitsu <m-yamazaki2@nec.com>
commit cecce00ab4f3bab6b24f437d7a6d19bb8738081f
Author: Nikunj Kela <nkela@crusoe.ai>
Date: Fri Sep 4 12:08:25 2026 -0700
[PATCH] Derive the mem_section mem_map mask from SIZE(page)
Linux 6.15 added a new mem_section flag bit, SECTION_IS_VMEMMAP_PREINIT
(commit "mm/sparse: allow for alternate vmemmap section init at boot",
Frank van der Linden), used on x86-64 to mark sections whose vmemmap
was pre-initialized at boot for HugeTLB Vmemmap Optimization (HVO).
With CONFIG_ZONE_DEVICE=y this is bit 5, and SECTION_MAP_LAST_BIT in
the kernel moved to bit 6:
SECTION_MARKED_PRESENT_BIT, /* 0 */
SECTION_HAS_MEM_MAP_BIT, /* 1 */
SECTION_IS_ONLINE_BIT, /* 2 */
SECTION_IS_EARLY_BIT, /* 3 */
SECTION_TAINT_ZONE_DEVICE_BIT, /* 4 */
SECTION_IS_VMEMMAP_PREINIT_BIT, /* 5 */
SECTION_MAP_LAST_BIT, /* 6 */
makedumpfile still defines SECTION_MAP_LAST_BIT as 1UL<<5, so
SECTION_MAP_MASK is ~0x1f and bit 5 survives when section_mem_map is
decoded in section_mem_map_addr(). For every section that has
SECTION_IS_VMEMMAP_PREINIT set, the resulting mem_map address is off
by 0x20 -- half a struct page on 64-bit. All struct page fields read
from those sections are misaligned (page.flags reads page.index,
page._mapcount reads the next page's lru.prev, ...), no exclusion
filter matches, and the pages are kept as "dumpable kernel data".
Nothing is reported, because the bogus address still passes
is_kvaddr().
The kernel sets this flag on every section backing a boot-time
gigantic hugetlb page when HVO is enabled (hugetlb_vmemmap_init_early()).
On the hosts with lot of hugepages reserved at boot-time, the core size
grows significantly. This increases the time taken to generate the core
and the disk space needed to store it.
Signed-off-by: Nikunj Kela <nkela@crusoe.ai>
commit 505d15bcc65462c49572f077a75998c6ee8ff7dc
Author: Kazuhito Hagio <kazuhito.hagio@nec.com>
Date: Thu Sep 3 11:31:14 2026 +0900
[PATCH] README: Remove email addresses that will be gone and update information
Signed-off-by: Kazuhito Hagio <kazuhito.hagio@nec.com>
commit 6772ca7524cb8334bbdf35cd31ca2b2505e729d1
Author: Stephen Brennan <stephen.s.brennan@oracle.com>
Date: Thu Aug 20 16:31:12 2026 -0700
[PATCH v2 7/9] Add PG_INCLUDE_HEAD extension return status
Prior to patch "Do not call extensions for tail pages", extensions were
called for tail pages in many cases, yet their decisions on tail pages
were not respected when they conflicted with our decision on the head
page. Since that patch, we do not call extensions for tail pages.
Instead, we apply the decision of the head page for the entirety of the
compound page, which is consistent with how we handle compound pages in
general.
However, some extensions may want more fine-grained control. One such
policy may be to include only the head page, excluding tail pages. For
example, this is useful for an extension which includes just the first
page of ELF file headers within the page cache. Since page cache data
frequently uses larger folios, including just the head can avoid
unnecessary overhead.
So, add a new return status PG_INCLUDE_HEAD, which behaves as described,
including just the head of a compound page.
Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Reviewed-by: Tao Liu <ltao@redhat.com>
commit f50904d4f8cc729d0158dd2bd22b8a5e65f8175c
Author: Stephen Brennan <stephen.s.brennan@oracle.com>
Date: Thu Aug 20 16:31:11 2026 -0700
[PATCH v2 6/9] Simplify arguments for page checks
Many isSomething() helpers need to use several fields in order to make a
determination (e.g. flags, _mapcount, private, _count). All of the info
we extract about a page's identity is now grouped together into struct
pginfo, so we can instead pass a pointer to that struct directly. This
makes it easier to read and write the code, and it also sets an easy
calling convention that extensions can use.
For helpers that require a single field, e.g. flags, still pass it
directly. The benefits of replacing that value with a structure pointer
aren't so obvious to me.
Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Reviewed-by: Tao Liu <ltao@redhat.com>
commit fa9e082a06ce84e37fa45f160f3fc31bb2747317
Author: Stephen Brennan <stephen.s.brennan@oracle.com>
Date: Thu Aug 20 16:31:10 2026 -0700
[PATCH v2 5/9] Move page checks into makedumpfile.h
Most checks are already macros in makedumpfile.h, but some are simple
helper functions in makedumpfile.c. They are not accessible to
extensions as a result.
It's helpful to keep as much of this logic available to extensions as
possible, so that they do not need to re-implement more than necessary.
Move isHugetlb, isSlab, isOffline, and is_cache_page to the header.
Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Reviewed-by: Tao Liu <ltao@redhat.com>
commit 53f8cea2b5d3905d8cea65af9cd3e41be43eb0e2
Author: Stephen Brennan <stephen.s.brennan@oracle.com>
Date: Thu Aug 20 16:31:09 2026 -0700
[PATCH v2 4/9] Introduce a stat for pages retained by extension
Extensions can mark pages to be excluded, but those pages may already be
excluded due to the dump level. We have a statistic to count pages
excluded by extensions. It counts only pages which were excluded because
no other criteria excluded them.
Extensions can mark pages to be retained, but there is no statistic to
count them. Adding a counter to the code as-is would not give us the
value that we care about. Just as above, pages marked for inclusion may
have been included anyway due to the dump-level configuration. The most
useful statistic is the one that tells us how many pages were included
by the extension, which would not have been included otherwise.
Introduce a statistic that counts this amount. To do so, we have to
skip the short-circuit evaluation when PG_INCLUDE is returned. This
seems like a worthwhile trade-off, since the dump-level checks are all
reasonably efficient.
Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Reviewed-by: Tao Liu <ltao@redhat.com>
commit 8194fae37f89159969b48282f93daf70a4629ad7
Author: Stephen Brennan <stephen.s.brennan@oracle.com>
Date: Thu Aug 20 16:31:08 2026 -0700
[PATCH v2 3/9] Share page information with extension callbacks
In __exclude_unnecessary_pages(), we extract several fields related
to the page. Some of these, like compound_order and compound_dtor, have
logic specific to the kernel version.
Extensions can, of course, determine these values for themselves, but
it's extra work, and duplicates logic that may need to be updated
frequently with new kernel versions. What's more, if we put all the
values together in a single structure, helpers like isSlab() and others
can be implemented in terms of that structure and shared with the
extensions in order to further simplify their implementation.
With that in mind, group the per-page variables into a structure and
share them with extension callbacks. This breaks the extension API,
but since a release hasn't yet happened, it seems reasonable to do so.
Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Reviewed-by: Tao Liu <ltao@redhat.com>
commit 2c053fbb184ed6c0b7571f37bd3444fa49035b00
Author: Stephen Brennan <stephen.s.brennan@oracle.com>
Date: Thu Aug 20 16:31:07 2026 -0700
[PATCH v2 2/9] Honor CFLAGS in extensions/Makefile
Currently CFLAGS are specified manually, so anything already provided in
the environment or from the calling make process is ignored.
Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Reviewed-by: Tao Liu <ltao@redhat.com>
commit 82fc0fde12860f03fe4de649ea4ce6ffb65656c4
Author: Stephen Brennan <stephen.s.brennan@oracle.com>
Date: Thu Aug 20 16:31:06 2026 -0700
[PATCH v2 1/9] Do not call extensions for tail pages
Currently, extensions are called for every page which the loop does not
skip over. However, there is no case where the decision an extension
makes on a tail page will affect whether the tail page is included in
the dump:
(1) If a compound head is excluded by the dump level (not an
extension), we will create an exclusion in the 2nd bitmap and skip
ahead in the loop, so we won't even call the extensions on tail pages.
Even if we did not skip ahead, we have no consideration for removing
the exclusion set by the compound head, so extensions would have no
way to include specific sub-pages.
(2) If a compound head is excluded by an extension returning
PG_EXCLUDE, then we only exclude one page, and we do not skip forward
in the loop. As a result, we will call extensions on each tail page,
but regardless of the extension decision, the pages will be included,
because we hit the "(compound_head & 1)" check before any exclusion
can be done.
(3) If a compound head is included by makedumpfile, we do not skip
ahead in the loop, and so we do call extensions for each tail page.
However, just as in (2), regardless of the decision of the extension
we will include the tail page.
To sum up as succinctly as possible: while makedumpfile itself tries to
make filter decisions based on the head page, in some cases it calls
extensions on tail pages, and yet it disregards their decisions on them.
We can fix this in one of two ways:
(a) Call extensions for every page and allow them to make any
decision, including different decisions on head & tail pages.
(b) Do not call extensions on tail pages at all; just apply the
decision from the head page.
Since option (b) is the most similar to our existing behavior, it is the
simplest to implement. It is also more efficient, because it allows us
to skip compound tails, which is especially helpful for systems with
many excluded huge pages. Option (a) provides more flexibility for
extensions, but as of now there is no extension use case for allowing
arbitrary decisions on head & tail pages.
Thus, let's ensure we don't call extensions for any tail pages. Further,
let's treat PG_EXCLUDE as an exclusion of the entire compound page,
so that extension decisions have the same scope as any other filter
decision.
Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Reviewed-by: Tao Liu <ltao@redhat.com>
commit 755160b427846b8609c4ee7c14b862d89ab88b79
Author: Tao Liu <ltao@redhat.com>
Date: Wed Aug 19 16:53:21 2026 +1200
[PATCH 6/6] Ensure e_phentsize does not exceed buf size
Add a size check before reading e_phentsize, elf64_hdr, and kexec
segment data into buf with readmem().
Signed-off-by: Tao Liu <ltao@redhat.com>
commit 80f6586b119aa89d169b2a70799ae4308a3dad48
Author: Tao Liu <ltao@redhat.com>
Date: Wed Aug 19 16:53:20 2026 +1200
[PATCH 5/6] Ensure get_smram_cpu_state() does not read beyond smram
Add a size check before reading si->smram_cpu_state_size bytes into the
smram buffer.
Signed-off-by: Tao Liu <ltao@redhat.com>
commit 69585d6567cd463a2a39f56b37776dd41ded2fcb
Author: Tao Liu <ltao@redhat.com>
Date: Wed Aug 19 16:53:19 2026 +1200
[PATCH 4/6] Add an out-of-bounds check for info->valid_pages[]
The index of info->valid_pages[] is calculated from pfn without bounds
checking, witch may result in an out-of-bounds array access.
This patch mitigates this by adding a check before accessing the array.
Signed-off-by: Tao Liu <ltao@redhat.com>
commit d96b21320ea0ab3c5af3e0a705ea96d9fa21205b
Author: Tao Liu <ltao@redhat.com>
Date: Wed Aug 19 16:53:18 2026 +1200
[PATCH 3/6] Prevent a multiply overflow in cache_init()
In cache_init(), malloc() takes the multiplication of info->page_size
and CACHE_SIZE. Since info->page_size is obtained from vmcoreinfo, a
malformed vmcore may contain a sufficiently large value to cause the
multiplication to overflow and wrap around to a small value. This can
later lead to an out-of-bounds access.
To mitigate the issue, let's check the value of page_size before set.
Signed-off-by: Tao Liu <ltao@redhat.com>
commit 93d65a2616b8fae95126b70455986ea38230566b
Author: Tao Liu <ltao@redhat.com>
Date: Wed Aug 19 16:53:17 2026 +1200
[PATCH 2/6] Add an out-of-bounds check for si->block_table[]
In pfn_to_block(), the index of si->block_table[] is calculated from pfn.
But the index is not checked, which may result in an out-of-bounds array
access.
This patch mitigates this by introducing the DIV_ROUND_UP_POW2() kernel
macro as a replacement of divideup(), to avoid a potential overflow.
Signed-off-by: Tao Liu <ltao@redhat.com>
commit e63708a4865a23d174aeb3d5116bd7c5c28e5764
Author: Tao Liu <ltao@redhat.com>
Date: Wed Aug 19 16:53:16 2026 +1200
[PATCH 1/6] Ensure page_desc does not exceed page_size
page_size can be obtained from vmcoreinfo. For a malformed vmcore,
page_size might be smaller than page_desc.size. As a result, reading
page_desc.size bytes into a page_size-sized buffer can overflow the
buffer.
Signed-off-by: Tao Liu <ltao@redhat.com>
commit fe9858fb7a59a786fb1c00ddc6f1e2a31031dde9
Author: Maxi Saparov <masaparov@coreweave.com>
Date: Tue Jul 14 15:30:45 2026 -0400
[PATCH] Avoid glibc lazy-unwind machinery in parallel teardown
Worker threads end with pthread_exit(), and the consumer thread then
pthread_cancel()s every worker even after a fully successful pass.
Both make glibc lazily dlopen() libgcc_s.so.1 for stack unwinding
(misc/unwind-link.c), and glibc aborts the process when that load
fails:
libgcc_s.so.1 must be installed for pthread_exit to work
In a minimal kdump initramfs nothing has loaded libgcc_s.so.1 by the
time the copy finishes, so the process-wide first load happens exactly
when every worker exits and is cancelled concurrently at peak
memory pressure in the capture kernel. Observed intermittently with
1.7.7, glibc 2.39 and --num-threads 2 on arm64 crash captures, aborting
right after "Copying data" reached 100% with libgcc_s.so.1 present and
loadable, leaving an otherwise complete dump marked incomplete.
This bug only affects dynamically linked builds, which is currently what
most mainstream distributions ship (Debian / Ubuntu build with
LINKTYPE=dynamic). Statically linked builds pull the unwinder
(libgcc_eh.a) at build time so there is no concern with dlopen failing
on teardown.
Avoid entering the unwind machinery at all on the success path:
- return from the worker function instead of calling pthread_exit();
the return value still reaches pthread_join(), but a plain return
never enters glibc's unwinder,
- pthread_cancel() the workers only when bailing out on an error,
where they may still be blocked producing pages. On success every
worker is already exiting on its own, so joining is sufficient.
Signed-off-by: Maxi Saparov <masaparov@coreweave.com>
commit b7587f1e8f456af717e12d59ec10e88a3527d144
Author: Xiaolei Wang <xiaolei.wang@windriver.com>
Date: Tue May 19 11:17:06 2026 +0800
[PATCH] arm64: Add 5-level page table support for 4K pages with 52-bit VA
makedumpfile fails with "PAGE SIZE 0x1000 and VA Bits 52 not supported"
on ARM64 systems configured with CONFIG_ARM64_VA_BITS_52=y and 4KB page
size. This combination requires 5-level page tables, which makedumpfile
does not currently support.
Add support for 5-level page tables on ARM64 by:
- Adding the P4D page table level definitions and helpers
- Updating pud_t to contain p4d_t (reflecting the correct hierarchy)
- Extending calculate_plat_config() to recognize 4K + 52-bit VA as
pgtable_level=5, and 16K + 52-bit VA as pgtable_level=4
- Adding p4d_offset() to handle the additional translation level
- Updating vaddr_to_paddr_arm64() to walk through PGD->P4D->PUD->PMD->PTE
- Using vabits_actual instead of va_bits in calculate_plat_config() and
PTRS_PER_PGD to correctly handle the case where the kernel is compiled
with VA_BITS=52 but the hardware only supports 48-bit VA (runtime
fallback to 4-level)
The pgtable_level assignments follow arch/arm64/Kconfig:
- 4K + 52-bit VA → 5-level (the only 5-level configuration)
- 16K + 52-bit VA → 4-level
- 4K + 48-bit VA → 4-level
- 16K + 48-bit VA → 4-level
Fixes: https://github.com/makedumpfile/makedumpfile/issues/18
Signed-off-by: Xiaolei Wang <xiaolei.wang@windriver.com>
commit 7da05f7158fc76e242b7be1e600fa0c7058ea2ca
Author: Tao Liu <ltao@redhat.com>
Date: Wed Jun 17 17:18:33 2026 +1200
[PATCH v6 09/10] Doc: Add --extension option to makedumpfile manual
Suggested-by: Kazuhito Hagio <k-hagio-ab@nec.com>
Reviewed-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Signed-off-by: Tao Liu <ltao@redhat.com>
commit 55ae86557efad493261e8da559cea439f4e36f63
Author: Tao Liu <ltao@redhat.com>
Date: Wed Jun 17 17:18:32 2026 +1200
[PATCH v6 08/10] Add erase_sample extension as an data erase reference
This patch will add a erase_sample.c as a data erase reference. It will
erase all tasks & threads's comm[] member within their task_struct, as
a result, you will see the ps info outputted by crash utility similiar
as follows:
crash> ps
...
1 0 10 ffff96b7c0980000 IN 0.0 25504 15704 XXXXXXXXXXXXXXX
2 0 15 ffff96b7c0982f40 IN 0.0 0 0 [XXXXXXXXXXXXXXX]
3 2 2 ffff96b7c09a0000 IN 0.0 0 0 [XXXXXXXXXXXXXXX]
4 2 0 ffff96b7c09a2f40 ID 0.0 0 0 [XXXXXXXXXXXXXXX]
5 2 0 ffff96b7c09a8000 ID 0.0 0 0 [XXXXXXXXXXXXXXX]
The comm[] erasure doesn't cause critical info loss and has slight
impact on vmcore analyze, so it is safe to take it as an example for
developers.
Signed-off-by: Tao Liu <ltao@redhat.com>
commit ee345d54cf1fe83df21942b615e3db5d7a5512ed
Author: Tao Liu <ltao@redhat.com>
Date: Wed Jun 17 17:18:31 2026 +1200
[PATCH v6 07/10] Add sample extension as an example reference
This patch will add a sample.c as an example extension for code
reference. The extension will do nothing related to page filtering,
but print a few kernel symbol/type information.
Suggested-by: Kazuhito Hagio <k-hagio-ab@nec.com>
Reviewed-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Signed-off-by: Tao Liu <ltao@redhat.com>
commit 8c91a539c3bd1908d70bf42c09186a776c74e83a
Author: Tao Liu <ltao@redhat.com>
Date: Wed Jun 17 17:18:30 2026 +1200
[PATCH v6 06/10] Add makedumpfile extensions support
The extensions can be specified by makedumpfile cmdline parameter as
"--extension", followed by extension's filename or absolute path. If
filename is give, then "./", "./extenisons" and
"/usr/lib64/makedumpfile/extensions/" will be searched.
The procedures of extensions are as follows:
Step 0: Every extensions will declare which kernel symbol/types they needed
during programming. This info will be stored within .init_ksyms/ktypes section.
Also extension will have a callback function for makedumpfile to call.
Step 1: Register .init_ksyms and .init_ktypes sections of makedumpfile
itself and extension's .so files, then tell kallsyms/btf subcomponent that which
kernel symbols/types will be resolved. And callbacks are also registered.
Step 2: Init kernel/module's btf/kallsyms on demand. Any un-needed kenrel
modules will be skipped.
Step 3: During btf/kallsyms parsing, the needed info will be filled. For
syms/types which are defined via INIT_MOD_OPT(...) macro, these are optinal
syms/types, it won't fail at parsing step if any are missing, instead, they
need to be checked within extension_init() of each extensions; Otherwise for
syms/types which defined via INIT_MOD(...) macro, these are must-have syms/types,
if any missing, the extension will fail at this step and as a result
this extension will be skipped.
After this step, required kernel symbol value and kernel types size/offset
are resolved, the extensions are ready to go.
Step 4: When makedumpfile doing page filtering, in addition to its
original filtering mechanism, it will call extensions callbacks for advices
whether the page should be included/excluded.
Reviewed-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Signed-off-by: Tao Liu <ltao@redhat.com>
commit cc6cd4d2f324baebf9431c93b91fa2036ced09d8
Author: Tao Liu <ltao@redhat.com>
Date: Wed Jun 17 17:18:29 2026 +1200
[PATCH v6 05/10] Implement kernel module's btf resolving
Same as the previous patch, with kernel's kallsyms and btf ready,
we can locate and iterate all kernel modules' btf data. So kernel
modules' types specified within .init_ksyms section will be resolved.
Reviewed-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Signed-off-by: Tao Liu <ltao@redhat.com>
commit 8ee42c43d2f6a08c6ac3203d429faa5ba312a82e
Author: Tao Liu <ltao@redhat.com>
Date: Wed Jun 17 17:18:28 2026 +1200
[PATCH v6 04/10] Implement kernel module's kallsyms resolving
With kernel's kallsyms and btf ready, we can get any kernel types and
symbol addresses. So we can iterate kernel modules' linked list, and
parse each one of kernel module's structure to get its kallsyms data.
At this time, kernel modules' kallsyms symbol defined within .init_ksyms
section will be resolved.
Reviewed-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Signed-off-by: Tao Liu <ltao@redhat.com>
commit 0a256c3786dc3cfea212e948f1bcbedaed059239
Author: Tao Liu <ltao@redhat.com>
Date: Wed Jun 17 17:18:27 2026 +1200
[PATCH v6 03/10] Implement kernel btf resolving
This patch will parse kernel's btf data using libbpf. The kernel's
btf data is located between __start_BTF and __stop_BTF symbols which
are resolved by kallsyms of the previous patch. Same as the previous
one, the .init_ktypes section of makedumpfile and the extensions will
be iterated, and any types which belongs to vmlinux can be resolved
at this time.
Another primary function implemented in this patch, is recursively
diving into anonymous struct/union when encountered any, to find a
member by given its name.
Reviewed-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Signed-off-by: Tao Liu <ltao@redhat.com>
commit fd380d73e89d08762ac611508ce7e765e97ebb98
Author: Tao Liu <ltao@redhat.com>
Date: Wed Jun 17 17:18:26 2026 +1200
[PATCH v6 02/10] Implement kernel kallsyms resolving
This patch will parse kernel's kallsyms data. During the parsing
process, the .init_ksyms sections of makedumpfile and the
extensions will be iterated, so the kallsyms symbols which belongs
to vmlinux can be resolved at this moment.
Reviewed-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Signed-off-by: Tao Liu <ltao@redhat.com>
commit fdf62f3860f7c15225511bbbe6822cca85644b24
Author: Tao Liu <ltao@redhat.com>
Date: Wed Jun 17 17:18:25 2026 +1200
[PATCH v6 01/10] Reserve sections for makedumpfile and extenions
This patch makes preparation for btf/kallsyms support of
makedumpfile and extensions. Any needed kernel symbols/types
will be reserved within a special section, .init_ksyms for
kallsyms symbols and .init_ktypes for kernel types. During
makedumpfile kallsyms/btf initialization, those missing info
will be resolved. A makedumpfile.ld script is introduced for the
purpose.
Reviewed-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Signed-off-by: Tao Liu <ltao@redhat.com>
commit fd522143ced78e2a0813edfe655dcf636f13ce86
Author: Kazuhito Hagio <k-hagio-ab@nec.com>
Date: Thu Jun 18 14:41:34 2026 +0900
[PATCH] Fix error and simplify eppic_scripts/proc_names_3_10_to_4_8.c
The eppic script needlessly reads task_struct.tasks offset (0xa00
below) as an address with "off->tasks" and prints the following error:
# makedumpfile -l -d31 --eppic proc_names_3_10_to_4_8.c -x vmlinux vmcore dump.eppic
...
__vtop4_x86_64: Can't get a valid pgd.
readmem: Can't convert a virtual address(a00) to physical address.
readmem: type_addr: 0, addr:a00, size:16
Fix this and simplify the script, mainly for eppic tests.
Signed-off-by: Kazuhito Hagio <k-hagio-ab@nec.com>
commit f50c015f150f93dc69f813eb6d966b2a102140b3
Author: Kazuhito Hagio <k-hagio-ab@nec.com>
Date: Tue May 19 13:56:37 2026 +0900
[PATCH] Fix wrong exclusion of compound tail pages on Linux 7.1 and later
* Required for kernel 7.1
Kernel commit d50569612c29 ("mm: rename the 'compound_head' field in the
'struct page' to 'compound_info'), which is contained in Linux 7.1 and
later kernels, renamed its vmcoreinfo entry too.
Without the patch, makedumpfile cannot get the offset of it from the
vmcoreinfo, and cannot determine whether a page is a tail page or not.
As a result, makedumpfile can exclude required tail pages wrongly.
Signed-off-by: Kazuhito Hagio <k-hagio-ab@nec.com>
commit 863e2c4ea57009fbc8ec7ef094516a059f189dda
Author: Rui Qi <qirui.001@bytedance.com>
Date: Fri May 15 16:07:44 2026 +0800
[PATCH v2 2/2] riscv64: Fix huge page translation in vtop_riscv64()
When a page table entry has _PAGE_LEAF set at PGD/P4D/PUD/PMD level,
the current code incorrectly falls through to the next level instead
of computing the correct physical address. Fix this by calculating
the paddr with the proper level shift and returning directly.
Co-developed-by: Rui Qi <qirui.001@bytedance.com>
Signed-off-by: Shuan He <heshuan@bytedance.com>
commit 998b1370ef0a1ae2b7456fe1e393e80d7e5166c4
Author: Rui Qi <qirui.001@bytedance.com>
Date: Fri May 15 16:07:43 2026 +0800
[PATCH v2 1/2] riscv64: Fix vaddr_to_paddr for vmalloc and vmemmap regions
The current vaddr_to_paddr_riscv64() incorrectly uses VTOP() linear
mapping for vmalloc and vmemmap addresses, which are not linearly
mapped. Add checks to exclude these regions so they fall through to
page table walk via vtop_riscv64().
Co-developed-by: Rui Qi <qirui.001@bytedance.com>
Signed-off-by: Shuan He <heshuan@bytedance.com>
commit 3fbe2cb7ecd753a5ba37f564bfb75f283bdc5f72
Author: Kazuhito Hagio <k-hagio-ab@nec.com>
Date: Mon May 18 17:12:51 2026 +0900
[PATCH] Mark start of 1.8.0 development phase with version 1.7.9++
Signed-off-by: Kazuhito Hagio <k-hagio-ab@nec.com>
commit eb42d6330b275ba344ca170286480917450d7f73
Author: Kazuhito Hagio <k-hagio-ab@nec.com>
Date: Mon Apr 20 10:09:14 2026 +0900
[v1.7.9] Update version
Update makedumpfile to version 1.7.9.
This version supports the following new kernels:
- 6.18, 6.19, 7.0 (x86_64)
Signed-off-by: Kazuhito Hagio <k-hagio-ab@nec.com>
Among the 1 debian patch available in version 1:1.8.0-1 of the package, we noticed the following issues: