[Crash-utility] "invalid structure member" on linux-4.9-rc1
Dave Anderson
anderson at redhat.com
Thu Oct 20 15:51:58 UTC 2016
Steve,
I have checked in a patch that (at least tentatively) handles the new
CONFIG_THREAD_INFO_IN_TASK configuration introduced in 4.9-rc1:
https://github.com/crash-utility/crash/commit/c9f932440bd06f0a3d6d3ecc30d5c670021d5e5a
There are still other issues with the most recent kernels, but this patch
should at least get you to a prompt.
Thanks,
Dave
----- Original Message -----
>
>
> ----- Original Message -----
>
> > You don't have a configuration choice with x86, as it appears it's an architecture
> > requirement. It's a fairly significant intrusion w/respect to the crash utility,
> > so you're pretty much out of luck, for now anyway.
> >
> > Any chance you can make your vmlinux/vmcore pair available for me to
> > download?
> >
> > Dave
> >
>
> Never mind -- they just released a 4.9-based Fedora kernel today, so
> I was able to provision this live system to tinker with:
>
> # uname -r
> 4.9.0-0.rc1.git0.2.fc26.x86_64
> # cat /proc/cpuinfo | grep processor
> processor : 0
> processor : 6
> processor : 8
> processor : 10
> processor : 16
> processor : 22
> processor : 24
> processor : 26
> # crash
>
> 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 [544MB]: patching 84223 gdb minimal_symbol values
>
> WARNING: cpu 6 DOUBLEFAULT stack: init_tss: 0 orig_ist: ffff92d9d6f85000
> WARNING: cpu 6 NMI stack: init_tss: 0 orig_ist: ffff92d9d6f86000
> WARNING: cpu 6 DEBUG stack: init_tss: 0 orig_ist: ffff92d9d6f88000
> WARNING: cpu 6 MCE stack: init_tss: 0 orig_ist: ffff92d9d6f89000
> WARNING: cpu 8 DOUBLEFAULT stack: init_tss: 0 orig_ist: ffff92d9d7005000
> WARNING: cpu 8 NMI stack: init_tss: 0 orig_ist: ffff92d9d7006000
> WARNING: cpu 8 DEBUG stack: init_tss: 0 orig_ist: ffff92d9d7008000
> WARNING: cpu 8 MCE stack: init_tss: 0 orig_ist: ffff92d9d7009000
> WARNING: cpu 10 DOUBLEFAULT stack: init_tss: 0 orig_ist: ffff92d9d7085000
> WARNING: cpu 10 NMI stack: init_tss: 0 orig_ist: ffff92d9d7086000
> WARNING: cpu 10 DEBUG stack: init_tss: 0 orig_ist: ffff92d9d7088000
> WARNING: cpu 10 MCE stack: init_tss: 0 orig_ist: ffff92d9d7089000
> WARNING: cpu 16 DOUBLEFAULT stack: init_tss: 0 orig_ist: ffff92d9d7205000
> WARNING: cpu 16 NMI stack: init_tss: 0 orig_ist: ffff92d9d7206000
> WARNING: cpu 16 DEBUG stack: init_tss: 0 orig_ist: ffff92d9d7208000
> WARNING: cpu 16 MCE stack: init_tss: 0 orig_ist: ffff92d9d7209000
> WARNING: cpu 22 DOUBLEFAULT stack: init_tss: 0 orig_ist: ffff92d9d7385000
> WARNING: cpu 22 NMI stack: init_tss: 0 orig_ist: ffff92d9d7386000
> WARNING: cpu 22 DEBUG stack: init_tss: 0 orig_ist: ffff92d9d7388000
> WARNING: cpu 22 MCE stack: init_tss: 0 orig_ist: ffff92d9d7389000
> WARNING: cpu 24 DOUBLEFAULT stack: init_tss: 0 orig_ist: ffff92d9d7405000
> WARNING: cpu 24 NMI stack: init_tss: 0 orig_ist: ffff92d9d7406000
> WARNING: cpu 24 DEBUG stack: init_tss: 0 orig_ist: ffff92d9d7408000
> WARNING: cpu 24 MCE stack: init_tss: 0 orig_ist: ffff92d9d7409000
> WARNING: cpu 26 DOUBLEFAULT stack: init_tss: 0 orig_ist: ffff92d9d7485000
> WARNING: cpu 26 NMI stack: init_tss: 0 orig_ist: ffff92d9d7486000
> WARNING: cpu 26 DEBUG stack: init_tss: 0 orig_ist: ffff92d9d7488000
> WARNING: cpu 26 MCE stack: init_tss: 0 orig_ist: ffff92d9d7489000
> crash: cannot determine thread return address
>
> crash: invalid structure member offset: thread_info_cpu
> FILE: task.c LINE: 2364 FUNCTION: store_context()
>
> [./crash] error trace: 4c4016 => 4bec3d => 52831a => 528299
>
> 528299: OFFSET_verify.part.28+73
> 52831a: OFFSET_verify+58
> 4bec3d: store_context+1021
> 4c4016: refresh_hlist_task_table_v3+2246
>
> #
>
> Thanks,
> Dave
>
>
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility
>
More information about the Crash-utility
mailing list