[Crash-utility] "invalid structure member" on linux-4.9-rc1

Dave Anderson anderson at prospeed.net
Mon Oct 17 21:02:15 UTC 2016


> Hi,
>
> I'm trying to use the latest crash via the git repo, on the just
> released linux-4.9-rc1 kernel, and I'm hitting this failure when loading
> the vmcore.  Any ideas?

Apparently the 4.9 thread_info structure no longer has a "cpu" member?

Dave

> My crash git HEAD is:
>
> commit 64531dc850f2840cedafa143fe051d2cfeae5247
> Author: Dave Anderson <anderson at redhat.com>
> Date:   Thu Oct 13 14:32:43 2016 -0400
>
>      crash-7.1.5 -> crash-7.1.6
>
> [root at stevo1 crash]# ./crash /usr/local/src/linux-2.6/vmlinux
> /var/crash/127.0.0.1-2016-10-17-02\:12\:50/vmcore
>
>
> 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"...
>
> crash: cannot determine thread return address
> please wait... (gathering task table data)
> crash: invalid structure member offset: thread_info_cpu
>         FILE: task.c  LINE: 2364  FUNCTION: store_context()
>
> [./crash] error trace: 4caf3c => 4c3010 => 4bbac6 => 51da6d
>
>    51da6d: OFFSET_verify+189
>    4bbac6: store_context+1030
>    4c3010: refresh_hlist_task_table_v3+2256
>    4caf3c: task_init+3724
>
> [root at stevo1 crash]#
>
>
> Thanks,
>
>
> Steve.
>
> --
> 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