Plucky on Arm
=============

Before upgrading
----------------

ubuntu@mitchell:~$ uname -a
Linux mitchell 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 
23:05:04 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux

ubuntu@mitchell:~$ dpkg -l | egrep "kexec-tools|kdump-tools|crash|makedumpfile"
ii  crash                                         8.0.6-1ubuntu1                
             arm64        kernel debugging utility, allowing gdb like syntax
ii  kdump-tools                                   1:1.10.5ubuntu2               
             arm64        scripts and tools for automating kdump (Linux crash 
dumps)
ii  kexec-tools                                   1:2.0.28-0ubuntu3             
             arm64        tools to support fast kexec reboots
ii  makedumpfile                                  1:1.7.6-1                     
             arm64        VMcore extraction tool

ubuntu@mitchell:~$ crash /usr/lib/debug/boot/vmlinux-6.14.0-37-generic
/var/crash/202512172010/dump.202512172010

crash 8.0.6
Copyright (C) 2002-2025  Red Hat, Inc.
Copyright (C) 2004, 2005, 2006, 2010  IBM Corporation
Copyright (C) 1999-2006  Hewlett-Packard Co
Copyright (C) 2005, 2006, 2011, 2012  Fujitsu Limited
Copyright (C) 2006, 2007  VA Linux Systems Japan K.K.
Copyright (C) 2005, 2011, 2020-2024  NEC Corporation
Copyright (C) 1999, 2002, 2007  Silicon Graphics, Inc.
Copyright (C) 1999, 2000, 2001, 2002  Mission Critical Linux, Inc.
Copyright (C) 2015, 2021  VMware, Inc.
This program is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions.  Enter "help copying" to see the conditions.
This program has absolutely no warranty.  Enter "help warranty" for details.

GNU gdb (GDB) 10.2
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-unknown-linux-gnu".
Type "show configuration" for configuration details.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...

warning: Section .debug_names in
/usr/lib/debug/boot/vmlinux-6.14.0-37-generic length 120268 does not
match section length 369544, ignoring .debug_names.

      KERNEL: /usr/lib/debug/boot/vmlinux-6.14.0-37-generic
    DUMPFILE: /var/crash/202512172010/dump.202512172010  [PARTIAL DUMP]
        CPUS: 224 [OFFLINE: 223]
        DATE: Thu Jan  1 00:00:00 UTC 1970
      UPTIME: 00:05:27
LOAD AVERAGE: 0.02, 0.15, 0.08
       TASKS: 2239
    NODENAME: mitchell
     RELEASE: 6.14.0-37-generic
     VERSION: #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 23:05:04 UTC 2025
     MACHINE: aarch64  (unknown Mhz)
      MEMORY: 255.9 GB
       PANIC: "Kernel panic - not syncing: sysrq triggered crash"
         PID: 12005
     COMMAND: "tee"
        TASK: ffff009f9228a380  [THREAD_INFO: ffff009f9228a380]
         CPU: 117
       STATE: TASK_RUNNING (PANIC)

crash> bt
PID: 12005    TASK: ffff009f9228a380  CPU: 117  COMMAND: "tee"
 #0 [ffff8000c8bcb990] machine_kexec at ffff80008006e91c
 #1 [ffff8000c8bcbb20] __crash_kexec at ffff80008027f828
 #2 [ffff8000c8bcbba0] panic at ffff80008001678c
 #3 [ffff8000c8bcbc20] sysrq_handle_crash at ffff800080eaf60c
...

crash> irq
 IRQ   IRQ_DESC/_DATA      IRQACTION      NAME
  0       (unused)          (unused)
  1   ffff0008006ec600  ffff0008006f4d80  "IPI"
  2   ffff0008006ee000  ffff0008006f4e80  "IPI"
  3   ffff0008006eb400  ffff0008006f4580  "IPI"


mount, vm, and files command fails

crash> vm
PID: 12005    TASK: ffff009f9228a380  CPU: 117  COMMAND: "tee"
       MM               PGD          RSS    TOTAL_VM
ffff009fa56be900  ffff009f9c4bd000  1880k    5748k
      VMA           START       END     FLAGS FILE

vm: invalid structure member offset: dentry_d_iname
    FILE: filesys.c  LINE: 3243  FUNCTION: get_pathname_component()

[/usr/bin/crash] error trace: b4b3fe37df5c => b4b3fe37d3ac =>
b4b3fe3b2394 => b4b3fe46448c

vm: invalid structure member offset: dentry_d_iname
    FILE: filesys.c  LINE: 3243  FUNCTION: get_pathname_component()

crash> files

files: invalid structure member offset: dentry_d_iname
       FILE: filesys.c  LINE: 3243  FUNCTION: get_pathname_component()

[/usr/bin/crash] error trace: b4b3fe3bc854 => b4b3fe3bbff4 => b4b3fe3b2394 => 
b4b3fe46448c
PID: 12005    TASK: ffff009f9228a380  CPU: 117  COMMAND: "tee"

files: invalid structure member offset: dentry_d_iname
       FILE: filesys.c  LINE: 3243  FUNCTION: get_pathname_component()

crash> mount

mount: invalid structure member offset: dentry_d_iname
       FILE: filesys.c  LINE: 3243  FUNCTION: get_pathname_component()

[/usr/bin/crash] error trace: b4b3fe3bb168 => b4b3fe3ba218 => b4b3fe3b2394 => 
b4b3fe46448c
     MOUNT           SUPERBLK     TYPE   DEVNAME   DIRNAME

ffff00080160f300 ffff00080164e000 rootfs rootfs    mount: invalid structure 
member offset: dentry_d_iname
       FILE: filesys.c  LINE: 3243  FUNCTION: get_pathname_component()

Upgrading to -proposed
----------------------

ubuntu@mitchell:~$ sudo apt install crash=8.0.6-1ubuntu1.25.04.1

ubuntu@mitchell:~$ dpkg -l | egrep "kexec-tools|kdump-tools|crash|makedumpfile"
ii  crash                                         8.0.6-1ubuntu1.25.04.1        
             arm64        kernel debugging utility, allowing gdb like syntax
ii  kdump-tools                                   1:1.10.5ubuntu2               
             arm64        scripts and tools for automating kdump (Linux crash 
dumps)
ii  kexec-tools                                   1:2.0.28-0ubuntu3             
             arm64        tools to support fast kexec reboots
ii  makedumpfile                                  1:1.7.6-1                     
             arm64        VMcore extraction tool

Open the same dump

ubuntu@mitchell:~$ crash /usr/lib/debug/boot/vmlinux-6.14.0-37-generic
/var/crash/202512172010/dump.202512172010

crash 8.0.6
Copyright (C) 2002-2025  Red Hat, Inc.
Copyright (C) 2004, 2005, 2006, 2010  IBM Corporation
Copyright (C) 1999-2006  Hewlett-Packard Co
Copyright (C) 2005, 2006, 2011, 2012  Fujitsu Limited
Copyright (C) 2006, 2007  VA Linux Systems Japan K.K.
Copyright (C) 2005, 2011, 2020-2024  NEC Corporation
Copyright (C) 1999, 2002, 2007  Silicon Graphics, Inc.
Copyright (C) 1999, 2000, 2001, 2002  Mission Critical Linux, Inc.
Copyright (C) 2015, 2021  VMware, Inc.
This program is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions.  Enter "help copying" to see the conditions.
This program has absolutely no warranty.  Enter "help warranty" for details.

GNU gdb (GDB) 10.2
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-unknown-linux-gnu".
Type "show configuration" for configuration details.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...

warning: Section .debug_names in
/usr/lib/debug/boot/vmlinux-6.14.0-37-generic length 120268 does not
match section length 369544, ignoring .debug_names.

      KERNEL: /usr/lib/debug/boot/vmlinux-6.14.0-37-generic
    DUMPFILE: /var/crash/202512172010/dump.202512172010  [PARTIAL DUMP]
        CPUS: 224 [OFFLINE: 223]
        DATE: Thu Jan  1 00:00:00 UTC 1970
      UPTIME: 00:05:27
LOAD AVERAGE: 0.02, 0.15, 0.08
       TASKS: 2239
    NODENAME: mitchell
     RELEASE: 6.14.0-37-generic
     VERSION: #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 23:05:04 UTC 2025
     MACHINE: aarch64  (unknown Mhz)
      MEMORY: 255.9 GB
       PANIC: "Kernel panic - not syncing: sysrq triggered crash"
         PID: 12005
     COMMAND: "tee"
        TASK: ffff009f9228a380  [THREAD_INFO: ffff009f9228a380]
         CPU: 117
       STATE: TASK_RUNNING (PANIC)

crash> bt
PID: 12005    TASK: ffff009f9228a380  CPU: 117  COMMAND: "tee"
 #0 [ffff8000c8bcb990] machine_kexec at ffff80008006e91c
 #1 [ffff8000c8bcbb20] __crash_kexec at ffff80008027f828
 #2 [ffff8000c8bcbba0] panic at ffff80008001678c
 #3 [ffff8000c8bcbc20] sysrq_handle_crash at ffff800080eaf60c

 crash> files
PID: 12005    TASK: ffff009f9228a380  CPU: 117  COMMAND: "tee"
ROOT: /    CWD: /home/ubuntu
 FD       FILE            DENTRY           INODE       TYPE PATH
  0 ffff009f88b1f080 ffff009f9504d2c0 ffff009f8a10b650 FIFO
  1 ffff009f892d4d80 ffff009f950f2e40 ffff009f9eaf53f0 CHR  /dev/pts/1
  2 ffff009f892d4d80 ffff009f950f2e40 ffff009f9eaf53f0 CHR  /dev/pts/1
  3 ffff009f893500c0 ffff009f9504dbc0 ffff009f8a11e608 REG  /proc/sysrq-trigger

crash> vm
PID: 12005    TASK: ffff009f9228a380  CPU: 117  COMMAND: "tee"
       MM               PGD          RSS    TOTAL_VM
ffff009fa56be900  ffff009f9c4bd000  1880k    5748k
      VMA           START       END     FLAGS FILE
ffff009fb26a7420 c10d403b0000 c10d403b8000     75 /usr/bin/tee
ffff009fb26a6228 c10d403cf000 c10d403d0000 100071 /usr/bin/tee
ffff009fb26a74d8 c10d403d0000 c10d403d1000 100073 /usr/bin/tee
...

crash> mount
     MOUNT           SUPERBLK     TYPE   DEVNAME   DIRNAME
ffff00080160f300 ffff00080164e000 rootfs rootfs    /
ffff00081d46d200 ffff00081d458800 sysfs  sysfs     /sys
ffff00081d3f8600 ffff00082056f000 proc   proc      /proc
...

mount, files, and vm commands now work

The -proposed crash can open dumps generated by the Plucky makedumpfile
on the 6.14 kernel on arm

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2125145

Title:
  [SRU] Makedumpfile: Errors and Page Exclusions When Opening Kernel
  Crashdump Files Generated on the Latest HWE Kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/crash/+bug/2125145/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to