kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #170195
[Bug 1564487] Re: ISST-LTE:pVM:thymelp2:ubuntu 16.04: cannot analyse vmcore with crash (s390x, ppc64)
The package just appeared in the archive and I was able to try it on
ppc64el.
sudo crash /usr/lib/debug/boot/vmlinux-4.4.0-16-generic
dump.201603291717
crash 7.1.4
Copyright (C) 2002-2015 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 "powerpc64le-unknown-linux-gnu"...
KERNEL: /usr/lib/debug/boot/vmlinux-4.4.0-16-generic
DUMPFILE: dump.201603291717 [PARTIAL DUMP]
CPUS: 8
DATE: Tue Mar 29 17:17:45 2016
UPTIME: 01:41:34
LOAD AVERAGE: 0.07, 0.23, 0.22
TASKS: 873
NODENAME: 1604
RELEASE: 4.4.0-16-generic
VERSION: #32-Ubuntu SMP Thu Mar 24 22:31:14 UTC 2016
MACHINE: ppc64le (3425 Mhz)
MEMORY: 8 GB
PANIC: "sysrq: SysRq : Trigger a crash"
PID: 8951
COMMAND: "bash"
TASK: c000000003debd90 [THREAD_INFO: c0000001f6c4c000]
CPU: 7
STATE: TASK_RUNNING (SYSRQ)
crash> dmesg | tail
[ 6094.597764] [c0000001f6c4fd90] [c0000000002e1940] vfs_write+0xc0/0x230
[ 6094.597845] [c0000001f6c4fde0] [c0000000002e297c] SyS_write+0x6c/0x110
[ 6094.597926] [c0000001f6c4fe30] [c000000000009204] system_call+0x38/0xb4
[ 6094.598005] Instruction dump:
[ 6094.598047] 3842e9a0 7c0802a6 f8010010 f821ffe1 60000000 60000000 3d220019 39494ee4
[ 6094.598181] 39200001 912a0000 7c0004ac 39400000 <992a0000> 38210020 e8010010 7c0803a6
[ 6094.598336] ---[ end trace 02e18198e9ef49b7 ]---
[ 6094.601009]
[ 6094.601080] Sending IPI to other CPUs
[ 6094.604482] IPI complete
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to crash in Ubuntu.
https://bugs.launchpad.net/bugs/1564487
Title:
ISST-LTE:pVM:thymelp2:ubuntu 16.04: cannot analyse vmcore with crash
(s390x, ppc64)
Status in crash package in Ubuntu:
Fix Released
Bug description:
== Comment: #0 - Ping Tian Han - 2016-03-31 02:19:27 ==
---Problem Description---
With the kexec-tools comes from https://bugzilla.linux.ibm.com/show_bug.cgi?id=136588#c58 , we have dumpped a vmcore for bug 139815 after quiting from xmon. But when trying to analyse with crash:
% sudo crash /usr/lib/debug/boot/vmlinux-4.4.0-15-generic
/var/crash/201603310043/dump.201603310043
crash 7.1.4
Copyright (C) 2002-2015 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 "powerpc64le-unknown-linux-gnu"...
please wait... (gathering module symbol data)
crash: invalid structure member offset: module_num_symtab
FILE: kernel.c LINE: 3450 FUNCTION: module_init()
[/usr/bin/crash] error trace: 1008af0c => 10124250 => 10179bd0 =>
10083378
10083378: (undetermined)
10179bd0: OFFSET_verify+80
10124250: module_init+1104
1008af0c: main_loop+764
%
== Comment: #4 - Hari Krishna Bathini - 2016-03-31 08:20:39 ==
(In reply to comment #2)
> Hi,
>
> Crash failing with 4.4+ kernels is a known issue which is fixed by the
> upstream patch
>
> commit 6f1f78e33474d00d5f261d7ed9d835c558b34d61
> Author: Dave Anderson <anderson@xxxxxxxxxx>
> Date: Wed Jan 20 09:56:36 2016 -0500
>
> Fix for the changes made to the kernel module structure introduced by
> this kernel commit for Linux 4.5 and later kernels:
>
> commit 7523e4dc5057e157212b4741abd6256e03404cf1
> module: use a structure to encapsulate layout.
>
> Without the patch, the crash session fails during initialization
> with the error message: "crash: invalid structure member offset:
> module_init_text_size".
> (sebott@xxxxxxxxxxxxxxxxxx)
>
We also need the below upstream patch along with the patch mentioned
above to fix this issue
commit 098cdab16dfa6a85e9dad2cad604dee14ee15f66
Author: Dave Anderson <anderson@xxxxxxxxxx>
Date: Fri Feb 12 14:32:53 2016 -0500
Fix for the changes made to the kernel module structure introduced by
this kernel commit for Linux 4.5 and later kernels:
commit 8244062ef1e54502ef55f54cced659913f244c3e
modules: fix longstanding /proc/kallsyms vs module insertion race.
Without the patch, the crash session fails during initialization
with the error message: "crash: invalid structure member offset:
module_num_symtab".
(anderson@xxxxxxxxxx)
Thanks
Hari
== Comment: #9 - Hendrik Brueckner - 2016-03-31 11:47:13 ==
Problem also exists on s390x:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/crash/+bug/1564487/+subscriptions