| Summary: | crash 7.1.6 doesn't handle kernel 4.7.7-200.fc24 when relocated past ~400MB | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dominique Martinet <g.fhnrunznrqeqf> | |
| Component: | crash | Assignee: | Dave Anderson <anderson> | |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 24 | CC: | anderson | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | crash-7.1.7-1.fc24 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1402108 (view as bug list) | Environment: | ||
| Last Closed: | 2016-12-16 03:53:25 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1402108 | |||
|
Description
Dominique Martinet
2016-10-19 19:24:15 UTC
FWIW, I'm working on a 4.9.0-0.rc1.git0.2.fc26 live kernel which was relocated 544MB. Okay so might be something else... Basically have a pristine fedora 24 except for the crash utility and extlinux boot. Here's my /proc/cmdline: BOOT_IMAGE=/boot/vmlinuz-4.7.7-200.fc24.x86_64 initrd=/boot/initramfs-4.7.7-200.fc24.x86_64.img root=/dev/vda selinux=0 nomodeset ro crashkernel=128M console=tty0 console=ttyS0 I upgraded kexec-tools to rawhide version and got kdump to work, I have the same problem with a 37MB vmcore file, that might help if you can't reproduce. You can find it here: http://asmadeus.notk.org/crash/vmcore # rpm -qa|grep `uname -r` kernel-core-4.7.7-200.fc24.x86_64 kernel-debuginfo-4.7.7-200.fc24.x86_64 kernel-4.7.7-200.fc24.x86_64 kernel-modules-4.7.7-200.fc24.x86_64 kernel-debuginfo-common-x86_64-4.7.7-200.fc24.x86_64 kernel-headers-4.7.7-200.fc24.x86_64 I've pushed a patch upstream that fixes this problem: https://github.com/crash-utility/crash/commit/774a92f48fabb0f98eb14875e54c6d5f573f074c Fix for a possible segmentation violation when analyzing Linux 4.7 x86_64 kernels that are configured with CONFIG_RANDOMIZE_BASE. Depending upon the randomized starting address of the kernel text and static data, a segmentation violation may occur during session initialization, just after the patching of the gdb minimal_symbol values message. (anderson) > I upgraded kexec-tools to rawhide version and got kdump to work, I have > the same problem with a 37MB vmcore file, that might help if you can't > reproduce. > You can find it here: > > http://asmadeus.notk.org/crash/vmcore Thanks for that -- here it is: # crash vmlinux-4.7.7-200.fc24 vmcore-4.7.7-200.fc24 crash 7.1.6++ Copyright (C) 2002-2016 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: kernel relocated [784MB]: patching 82381 gdb minimal_symbol values KERNEL: vmlinux-4.7.7-200.fc24 DUMPFILE: vmcore-4.7.7-200.fc24 [PARTIAL DUMP] CPUS: 4 DATE: Wed Oct 19 21:49:33 2016 UPTIME: 00:03:33 LOAD AVERAGE: 0.36, 0.13, 0.04 TASKS: 138 NODENAME: f4 RELEASE: 4.7.7-200.fc24.x86_64 VERSION: #1 SMP Sat Oct 8 00:21:59 UTC 2016 MACHINE: x86_64 (2591 Mhz) MEMORY: 2 GB PANIC: "sysrq: SysRq : Trigger a crash" PID: 1858 COMMAND: "bash" TASK: ffff88007aa58000 [THREAD_INFO: ffff88007a5dc000] CPU: 2 STATE: TASK_RUNNING (SYSRQ) crash> It's queued for crash-7.1.7, but I don't have a target release date at this time. In the meantime, you can clone git://github.com/crash-utility/crash.git, and build it with "make lzo". I can confirm it works, thanks! Information for build crash-7.1.7-1.fc26 http://koji.fedoraproject.org/koji/buildinfo?buildID=823232 Information for build crash-7.1.7-1.fc24 http://koji.fedoraproject.org/koji/buildinfo?buildID=823280 crash-7.1.7-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-dbb90a7756 crash-7.1.7-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-dbb90a7756 crash-7.1.7-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |