Your message dated Thu, 27 Feb 2020 21:48:40 +0100 (CET)
with message-id 
<[email protected]>
and subject line Re: Bug#952659: crash: cannot match kernel with kaslr enabled
has caused the Debian Bug report #952659,
regarding crash: cannot match kernel with kaslr enabled
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
952659: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952659
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: crash
Version: 7.2.5-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

I set up a fresh Debian 10 install on my i686 machine today.
I installed 'kdump-tools' and 'crash'
I added 'kernel.softlockup_panic=1' and 'kernel.hardlockup_panic=1' to
/etc/sysctl.conf
I rebooted so kdump-tools would add the 'crashkernel=384M-:128M'
argument to my kernel command line
I then triggered a crash by running 'sysctl kernel.sysrq=1 && echo c > 
/proc/sysrq-trigger'
It saved a crash to '/var/crash/202002270816/dump.202002270816'

I installed 'linux-image-4.19.0-8-686-pae-dbg'
I ran 'crash /usr/lib/debug/vmlinux-4.19.0-8-686-pae 
/var/crash/202002270816/dump.202002270816'
The following output happened:

---- CUT HERE ----

crash 7.2.5
Copyright (C) 2002-2019  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 "i686-pc-linux-gnu"...

crash: page excluded: kernel virtual address: c1948564  type: "possible"
WARNING: cannot read cpu_possible_map
crash: page excluded: kernel virtual address: c194855c  type: "present"
WARNING: cannot read cpu_present_map
crash: page excluded: kernel virtual address: c1948560  type: "online"
WARNING: cannot read cpu_online_map
crash: page excluded: kernel virtual address: c1948558  type: "active"
WARNING: cannot read cpu_active_map
crash: page excluded: kernel virtual address: c18bb79c  type: "pv_init_ops"
crash: page excluded: kernel virtual address: c1a82268  type: 
"shadow_timekeeper xtime_sec"
crash: page excluded: kernel virtual address: c18af1c4  type: "init_uts_ns"
crash: /usr/lib/debug/boot/vmlinux-4.19.0-8-686-pae and 
/var/crash/202002270816/dump.202002270816 do not match!

Usage:

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

Enter "crash -h" for details.

---- CUT HERE ----

I spent a while trying to figure out what was going on, but eventually I
found that booting with the 'nokaslr' argument fixes this issue.

-- System Information:
Debian Release: 10.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.19.0-8-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages crash depends on:
ii  binutils      2.31.1-16
ii  libc6         2.28-10
ii  liblzo2-2     2.10-0.1
ii  libncurses6   6.1+20181013-2+deb10u2
ii  libsnappy1v5  1.1.7-1
ii  libtinfo6     6.1+20181013-2+deb10u2
ii  zlib1g        1:1.2.11.dfsg-1

crash recommends no packages.

Versions of packages crash suggests:
ii  kexec-tools   1:2.0.18-1
ii  makedumpfile  1:1.6.5-1

-- no debconf information

--- End Message ---
--- Begin Message ---
On 02/28/20 07:07, Jookia wrote:
> I did that and can confirm it fixes my solution.

Excellent, I am closing this since it is not a bug with the crash
package but rather simply how it currently works.

> Could this be enabled by default?

Potentially, but someone would have to write a patch and submit it to
the upstream project and push to get it accepted.

> As an aside, crash's documentation for this option explains that it's
> intended for x86_64 kernels, not i686 kernels.

Good point, I will raise that issue with the upstream project.

Troy

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to