Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1016955: makedumpfile - does not work on arm64 since 5.18

102 views
Skip to first unread message

Bastian Blank

unread,
Aug 10, 2022, 10:30:04 AM8/10/22
to
Package: makedumpfile
Version: 1:1.7.1-1
Severity: important

makedumpfile does not work since around 5.18.4 on arm64. As used by
kdump-tools, it just errors out:

| running makedumpfile --dump-dmesg /proc/vmcore /var/crash/202208101323/dmesg.202208101323.
| read_from_vmcore: Can't seek the dump memory(/proc/vmcore). (offset: ffffa8d9a3fd6000) Invalid argument
| readpage_elf: Can't read the dump memory(/proc/vmcore).
| readmem: type_addr: 1, addr:5cc8a88, size:8
| vaddr_to_paddr_arm64: Can't read pgd
| readmem: Can't convert a virtual address(ffffa8d99e0e8128) to physical address.
| readmem: type_addr: 0, addr:ffffa8d99e0e8128, size:390
| check_release: Can't get the address of system_utsname.
| makedumpfile Failed.
| kdump-tools: makedumpfile --dump-dmesg failed. dmesg content will be unavailable ... failed!
| kdump-tools: failed to save dmesg content in /var/crash/202208101323 ... failed!
| running makedumpfile -F -c -d 31 /proc/vmcore | compress > /var/crash/202208101323/dump-incomplete.
| read_from_vmcore: Can't seek the dump memory(/proc/vmcore). (offset: ffffa8d9a3fd6000) Invalid argument
| readpage_elf: Can't read the dump memory(/proc/vmcore).
| readmem: type_addr: 1, addr:5cc8a88, size:8
| vaddr_to_paddr_arm64: Can't read pgd
| readmem: Can't convert a virtual address(ffffa8d99e0e8128) to physical address.
| readmem: type_addr: 0, addr:ffffa8d99e0e8128, size:390
| check_release: Can't get the address of system_utsname.
| makedumpfile Failed.
| kdump-tools: saved vmcore in /var/crash/202208101323.

I don't know how to debug it. With older versions it works. On amd64 it also works.

Bastian

-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-3-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages makedumpfile depends on:
ii libc6 2.33-8
ii libdw1 0.187-1
ii libelf1 0.187-1
ii liblzo2-2 2.10-2
ii perl 5.34.0-5
ii zlib1g 1:1.2.11.dfsg-4

Versions of packages makedumpfile recommends:
ii crash 8.0.0-1
pn kexec-tools <none>

makedumpfile suggests no packages.

dann frazier

unread,
Aug 10, 2022, 12:00:03 PM8/10/22
to
On Wed, Aug 10, 2022 at 04:23:56PM +0200, Bastian Blank wrote:
> I don't know how to debug it. With older versions it works. On amd64 it also works.

hey Bastian,

makedumpfile often needs updates to adjust to changes in upstream
kernel internals, and that tends to lag the kernel releases
themselves. If you'd like to help accelerate that, one option might be
to report it upstream and possibly provide bisect results showing the
kernel change to which makedumpfile needs to adapt.

-dann
0 new messages