Noble amd64 verification
========================

Current packages (not -proposed)
--------------------------------

root@noble-crash-sru-verification:~# dpkg -l | grep makedumpfile
ii  makedumpfile                    1:1.7.5-1                               
amd64        VMcore extraction tool
root@noble-crash-sru-verification:~# dpkg -l | grep crash
ii  crash                           8.0.4-1ubuntu2                          
amd64        kernel debugging utility, allowing gdb like syntax
root@noble-crash-sru-verification:~# dpkg -l  | grep linux-image
ii  linux-image-6.14.0-37-generic                 6.14.0-37.37~24.04.1          
          amd64        Signed kernel image generic
root@noble-crash-sru-verification:~# uname -r
6.14.0-37-generic

Generate and open a coredump

root@noble-crash-sru-verification:~# echo c | tee /proc/sysrq-trigger
root@noble-crash-sru-verification:~# crash 
/usr/lib/debug/boot/vmlinux-6.14.0-37-generic 
/var/crash/202601261547/dump.202601261547

crash 8.0.4
Copyright (C) 2002-2022  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-2022  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 "x86_64-pc-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"...

root@noble-crash-sru-verification:~#

# Crash program immediately exited

Enable -proposed

-proposed crash with -updates makedumpfile
------------------------------------------

root@noble-crash-sru-verification:~# apt install crash=8.0.4-1ubuntu2.1
root@noble-crash-sru-verification:~# dpkg -l | grep crash
ii  crash                                         8.0.4-1ubuntu2.1              
          amd64        kernel debugging utility, allowing gdb like syntax

Try to open the coredump (expect failure)

root@noble-crash-sru-verification:~# crash
/usr/lib/debug/boot/vmlinux-6.14.0-37-generic
/var/crash/202601261547/dump.202601261547

crash 8.0.4
Copyright (C) 2002-2022  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-2022  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 "x86_64-pc-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"...

please wait... (gathering task table data)
crash: page excluded: kernel virtual address: ffff8e06862b0dd8  type: 
"xa_node.slots[off]"

root@noble-crash-sru-verification:~#

# Crash immediately exited again because makedumpfile generated a bad
coredump

-proposed makedumpfile with -updates crash
------------------------------------------

root@noble-crash-sru-verification:~# apt install makedumpfile=1:1.7.5-1ubuntu1
root@noble-crash-sru-verification:~# apt install crash=8.0.4-1ubuntu2  # To not 
use the -proposed crash

Regenerate coredump and try to open (expect failure)

root@noble-crash-sru-verification:~# echo c | tee /proc/sysrq-trigger
root@noble-crash-sru-verification:~# crash 
/usr/lib/debug/boot/vmlinux-6.14.0-37-generic 
/var/crash/202601261558/dump.202601261558

crash 8.0.4
Copyright (C) 2002-2022  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-2022  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 "x86_64-pc-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: cannot read linux_banner string
crash: /usr/lib/debug/boot/vmlinux-6.14.0-37-generic and 
/var/crash/202601261558/dump.202601261558 do not match!

Usage:

  crash [OPTION]... NAMELIST MEMORY-IMAGE[@ADDRESS]     (dumpfile form)
  crash [OPTION]... [NAMELIST]                          (live system form)

Enter "crash -h" for details.

root@noble-crash-sru-verification:~#

# Immediate exit since crash cannot read the newer makedumpfile

-proposed crash and -proposed makedumpfile
------------------------------------------

root@noble-crash-sru-verification:~# apt install crash=8.0.4-1ubuntu2.1
root@noble-crash-sru-verification:~# crash 
/usr/lib/debug/boot/vmlinux-6.14.0-37-generic 
/var/crash/202601261558/dump.202601261558

crash 8.0.4
Copyright (C) 2002-2022  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-2022  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 "x86_64-pc-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"...

      KERNEL: /usr/lib/debug/boot/vmlinux-6.14.0-37-generic
    DUMPFILE: /var/crash/202601261558/dump.202601261558  [PARTIAL DUMP]
        CPUS: 1
        DATE: Thu Jan  1 00:00:00 UTC 1970
      UPTIME: 00:10:33
LOAD AVERAGE: 0.00, 0.10, 0.08
       TASKS: 150
    NODENAME: noble-crash-sru-verification
     RELEASE: 6.14.0-37-generic
     VERSION: #37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 10:25:38 UTC 2
     MACHINE: x86_64  (4291 Mhz)
      MEMORY: 8 GB
       PANIC: "Kernel panic - not syncing: sysrq triggered crash"
         PID: 1921
     COMMAND: "tee"
        TASK: ffff8d61494c3080  [THREAD_INFO: ffff8d61494c3080]
         CPU: 0
       STATE: TASK_RUNNING (PANIC)

crash>

crash> files
PID: 1921     TASK: ffff8d61494c3080  CPU: 0    COMMAND: "tee"
ROOT: /    CWD: /root
 FD       FILE            DENTRY           INODE       TYPE PATH
  0 ffff8d6147e629c0 ffff8d618ab16600 ffff8d61931e2290 FIFO
  1 ffff8d614a0f2540 ffff8d618ab29480 ffff8d618afea9f8 CHR  /dev/pts/0
  2 ffff8d614a0f2540 ffff8d618ab29480 ffff8d618afea9f8 CHR  /dev/pts/0
  3 ffff8d614687e540 ffff8d618ab166c0 ffff8d6140640b48 REG  /proc/sysrq-trigger

crash> vm
PID: 1921     TASK: ffff8d61494c3080  CPU: 0    COMMAND: "tee"
       MM               PGD          RSS    TOTAL_VM
ffff8d6146568580  ffff8d61494e4000  1980k    6120k
      VMA           START       END     FLAGS FILE
ffff8d6141753c38 55f7f7b55000 55f7f7b57000 8000071 /usr/bin/tee
ffff8d6141753450 55f7f7b57000 55f7f7b5c000 8000075 /usr/bin/tee
...

crash> mount
     MOUNT           SUPERBLK     TYPE   DEVNAME   DIRNAME
ffff8d61402e3800 ffff8d61403c2000 rootfs rootfs    /
ffff8d6140317200 ffff8d614135a800 sysfs  sysfs     /sys
ffff8d6140316180 ffff8d61497f3000 proc   proc      /proc
...

Passes on Noble amd64

-- 
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