Hello Thomas, Thanks for the bug report. I hope to have a new crash package to upload by early next week.
Troy On 05/22/15 11:39, Thomas Stewart wrote: > Package: crash > Version: 7.0.8-1 > Followup-For: Bug #699367 > > Dear Maintainer, > > I have found that crash(8) fails in a similar manor when trying to > analyse Linux 4.x kernel kdumps, see below for the "is not SMP" error: > > $ sudo crash /usr/lib/debug/boot/vmlinux-4.0.0-1-amd64 > /var/crash/201505221035/dump.201505221035 > > crash 7.0.8 > Copyright (C) 2002-2014 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 NEC Corporation > Copyright (C) 1999, 2002, 2007 Silicon Graphics, Inc. > Copyright (C) 1999, 2000, 2001, 2002 Mission Critical Linux, 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) 7.6 > Copyright (C) 2013 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-unknown-linux-gnu"... > > WARNING: kernels compiled by different gcc versions: > /usr/lib/debug/boot/vmlinux-4.0.0-1-amd64: (unknown) > /var/crash/201505221035/dump.201505221035 kernel: 4.9.2 > > WARNING: kernel version inconsistency between vmlinux and dumpfile > > crash: incompatible arguments: > /usr/lib/debug/boot/vmlinux-4.0.0-1-amd64 is not SMP -- > /var/crash/201505221035/dump.201505221035 is SMP > > Usage: > > crash [OPTION]... NAMELIST MEMORY-IMAGE[@ADDRESS] (dumpfile form) > crash [OPTION]... [NAMELIST] (live system form) > > Enter "crash -h" for details. > $ > > This is an issue with crash(8) that has been fixed upstream. See > https://github.com/crash-utility/crash/commit/db07dbf5a7e19806b1629bd4125e6643978c6f9f > and > https://github.com/crash-utility/crash/commit/466b9f476a977ef5e39d1c2786858091365db882 > that add support for Linux 4.x and 5.x. Neither of these patches have > made it into the current 7.1.0 release. When I checkout and compile > HEAD (3cbecbcd3c025b70078bd8a54c40981d5c32e9c1) it works OK: > > $ sudo ~/scratch/crash/crash /usr/lib/debug/boot/vmlinux-4.0.0-1-amd64 > /var/crash/201505221035/dump.201505221035 > > crash 7.1.0 > Copyright (C) 2002-2014 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 NEC Corporation > Copyright (C) 1999, 2002, 2007 Silicon Graphics, Inc. > Copyright (C) 1999, 2000, 2001, 2002 Mission Critical Linux, 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) 7.6 > Copyright (C) 2013 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-unknown-linux-gnu"... > > KERNEL: /usr/lib/debug/boot/vmlinux-4.0.0-1-amd64 > DUMPFILE: /var/crash/201505221035/dump.201505221035 [PARTIAL DUMP] > CPUS: 4 > DATE: Fri May 22 10:35:36 2015 > UPTIME: 00:01:16 > LOAD AVERAGE: 2.44, 0.75, 0.26 > TASKS: 397 > NODENAME: NBENG0008 > RELEASE: 4.0.0-1-amd64 > VERSION: #1 SMP Debian 4.0.2-1 (2015-05-11) > MACHINE: x86_64 (2693 Mhz) > MEMORY: 15.9 GB > PANIC: "BUG: unable to handle kernel paging request at > ffff8805660b7ffc" > PID: 40 > COMMAND: "kworker/0:1" > TASK: ffff88046bb26310 [THREAD_INFO: ffff88046b528000] > CPU: 0 > STATE: TASK_RUNNING (PANIC) > > crash> > > I'm not sure if it's appropriate to apply these patches to stable as > bpo does not have a 4.0 kernel yet. I assume once a new version of > crash is released it will start working on sid and testing with time. > > However this info might prove useful to anyone trying and failing to > inspect Linux 4.x kdump files. > > Kind Regards > -- > Tom > > -- System Information: > Debian Release: stretch/sid > APT prefers testing > APT policy: (400, 'testing'), (300, 'unstable'), (200, 'experimental') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores) > Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages crash depends on: > ii binutils 2.25-7 > ii libc6 2.19-18 > ii libncurses5 5.9+20140913-1+b1 > ii libtinfo5 5.9+20140913-1+b1 > ii zlib1g 1:1.2.8.dfsg-2+b1 > > crash recommends no packages. > > Versions of packages crash suggests: > ii kexec-tools 1:2.0.7-5.1 > ii makedumpfile 1:1.5.8-1 > > -- debconf-show failed >
signature.asc
Description: Digital signature