[Crash-utility] crash: invalid kernel virtual address: 0 type: "memory section"

Ilya Dryomov idryomov at redhat.com
Mon Jan 5 16:02:51 UTC 2015


On Mon, Jan 5, 2015 at 6:49 PM, Dave Anderson <anderson at redhat.com> wrote:
>
>
> Just for sanity's sake, try this:
>
>   $ ./crash --minimal ../ddeb/usr/lib/debug/boot/vmlinux-3.13.0-39-generic ../dump.201412280256
>
> and see if you can read the linux_banner string successfully.  For example, using
> my sample 3.13 kernel:
>
>   $ crash --minimal 3.13.0-0.rc1.git2.1.fc20_SLAB/vmlinux.gz 3.13.0-0.rc1.git2.1.fc20_SLAB/vmcore_c_d31
>
>   crash 7.0.9
>   Copyright (C) 2002-2014  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"...
>
>   NOTE: minimal mode commands: log, dis, rd, sym, eval, set, extend and exit
>
>   crash> rd -a linux_banner
>   ffffffff818000c0:  Linux version 3.13.0-0.rc1.git2.1.fc20.x86_64 (root at hp-xw455
>   ffffffff818000fc:  0-02.ml3.eng.bos.redhat.com) (gcc version 4.8.1 20130814 (Re
>   ffffffff81800138:  d Hat 4.8.1-6) (GCC) ) #1 SMP Tue Nov 26 14:42:45 EST 2013
>   crash>
>
> And then try reading other stuff, most notably the __per_cpu_offset[] array,
> like this:
>
>   crash> rd __per_cpu_offset 256

Attached - __per_cpu_offset seems busted.

Thanks,

                Ilya
-------------- next part --------------

crash 7.0.9
Copyright (C) 2002-2014  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"...

NOTE: minimal mode commands: log, dis, rd, sym, eval, set, extend and exit

crash> rd -a linux_banner
ffffffff818000a0:  Linux version 3.13.0-39-generic (buildd at brownie) (gcc versio
ffffffff818000dc:  n 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #66~precise1-Ubuntu
ffffffff81800118:   SMP Wed Oct 29 09:56:49 UTC 2014 (Ubuntu 3.13.0-39.66~preci
ffffffff81800154:  se1-generic 3.13.11.8)
crash> rd __per_cpu_offset 256
ffffffff81d130e0:  0000000000000000 0000000000000000   ................
ffffffff81d130f0:  0000000000000000 0000000000000000   ................
ffffffff81d13100:  0000000000000000 0000000000000000   ................
ffffffff81d13110:  0000000000000000 0000000000000000   ................
ffffffff81d13120:  0000000000000000 0000000000000000   ................
ffffffff81d13130:  0000000000000000 0000000000000000   ................
ffffffff81d13140:  0000000000000000 0000000000000000   ................
ffffffff81d13150:  0000000000000000 0000000000000000   ................
ffffffff81d13160:  0000000000000000 0000000000000000   ................
ffffffff81d13170:  0000000000000000 0000000000000000   ................
ffffffff81d13180:  0000000000000000 0000000000000000   ................
ffffffff81d13190:  0000000000000000 0000000000000000   ................
ffffffff81d131a0:  0000000000000000 0000000000000000   ................
ffffffff81d131b0:  0000000000000000 0000000000000000   ................
ffffffff81d131c0:  0000000000000000 0000000000000000   ................
ffffffff81d131d0:  0000000000000000 0000000000000000   ................
ffffffff81d131e0:  0000000000000000 0000000000000000   ................
ffffffff81d131f0:  0000000000000000 0000000000000000   ................
ffffffff81d13200:  0000000000000000 0000000000000000   ................
ffffffff81d13210:  0000000000000000 0000000000000000   ................
ffffffff81d13220:  0000000000000000 0000000000000000   ................
ffffffff81d13230:  0000000000000000 0000000000000000   ................
ffffffff81d13240:  0000000000000000 0000000000000000   ................
ffffffff81d13250:  0000000000000000 0000000000000000   ................
ffffffff81d13260:  0000000000000000 0000000000000000   ................
ffffffff81d13270:  0000000000000000 0000000000000000   ................
ffffffff81d13280:  0000000000000000 0000000000000000   ................
ffffffff81d13290:  0000000000000000 0000000000000000   ................
ffffffff81d132a0:  0000000000000000 0000000000000000   ................
ffffffff81d132b0:  0000000000000000 0000000000000000   ................
ffffffff81d132c0:  0000000000000000 0000000000000000   ................
ffffffff81d132d0:  0000000000000000 0000000000000000   ................
ffffffff81d132e0:  0000000000000000 0000000000000000   ................
ffffffff81d132f0:  0000000000000000 0000000000000000   ................
ffffffff81d13300:  0000000000000000 0000000000000000   ................
ffffffff81d13310:  0000000000000000 0000000000000000   ................
ffffffff81d13320:  0000000000000000 0000000000000000   ................
ffffffff81d13330:  0000000000000000 0000000000000000   ................
ffffffff81d13340:  0000000000000000 0000000000000000   ................
ffffffff81d13350:  0000000000000000 0000000000000000   ................
ffffffff81d13360:  0000000000000000 0000000000000000   ................
ffffffff81d13370:  0000000000000000 0000000000000000   ................
ffffffff81d13380:  0000000000000000 0000000000000000   ................
ffffffff81d13390:  0000000000000000 0000000000000000   ................
ffffffff81d133a0:  0000000000000000 0000000000000000   ................
ffffffff81d133b0:  0000000000000000 0000000000000000   ................
ffffffff81d133c0:  0000000000000000 0000000000000000   ................
ffffffff81d133d0:  0000000000000000 0000000000000000   ................
ffffffff81d133e0:  0000000000000000 0000000000000000   ................
ffffffff81d133f0:  0000000000000000 0000000000000000   ................
ffffffff81d13400:  0000000000000000 0000000000000000   ................
ffffffff81d13410:  0000000000000000 0000000000000000   ................
ffffffff81d13420:  0000000000000000 0000000000000000   ................
ffffffff81d13430:  0000000000000000 0000000000000000   ................
ffffffff81d13440:  0000000000000000 0000000000000000   ................
ffffffff81d13450:  0000000000000000 0000000000000000   ................
ffffffff81d13460:  0000000000000000 0000000000000000   ................
ffffffff81d13470:  0000000000000000 0000000000000000   ................
ffffffff81d13480:  0000000000000000 0000000000000000   ................
ffffffff81d13490:  0000000000000000 0000000000000000   ................
ffffffff81d134a0:  0000000000000000 0000000000000000   ................
ffffffff81d134b0:  0000000000000000 0000000000000000   ................
ffffffff81d134c0:  0000000000000000 0000000000000000   ................
ffffffff81d134d0:  0000000000000000 0000000000000000   ................
ffffffff81d134e0:  0000000000000000 0000000000000000   ................
ffffffff81d134f0:  0000000000000000 0000000000000000   ................
ffffffff81d13500:  0000000000000000 0000000000000000   ................
ffffffff81d13510:  0000000000000000 0000000000000000   ................
ffffffff81d13520:  0000000000000000 0000000000000000   ................
ffffffff81d13530:  0000000000000000 0000000000000000   ................
ffffffff81d13540:  0000000000000000 0000000000000000   ................
ffffffff81d13550:  0000000000000000 0000000000000000   ................
ffffffff81d13560:  0000000000000000 0000000000000000   ................
ffffffff81d13570:  0000000000000000 0000000000000000   ................
ffffffff81d13580:  0000000000000000 0000000000000000   ................
ffffffff81d13590:  0000000000000000 0000000000000000   ................
ffffffff81d135a0:  0000000000000000 0000000000000000   ................
ffffffff81d135b0:  0000000000000000 0000000000000000   ................
ffffffff81d135c0:  0000000000000000 0000000000000000   ................
ffffffff81d135d0:  0000000000000000 0000000000000000   ................
ffffffff81d135e0:  0000000000000000 0000000000000000   ................
ffffffff81d135f0:  0000000000000000 0000000000000000   ................
ffffffff81d13600:  0000000000000000 0000000000000000   ................
ffffffff81d13610:  0000000000000000 0000000000000000   ................
ffffffff81d13620:  0000000000000000 0000000000000000   ................
ffffffff81d13630:  0000000000000000 0000000000000000   ................
ffffffff81d13640:  0000000000000000 0000000000000000   ................
ffffffff81d13650:  0000000000000000 0000000000000000   ................
ffffffff81d13660:  0000000000000000 0000000000000000   ................
ffffffff81d13670:  0000000000000000 0000000000000000   ................
ffffffff81d13680:  0000000000000000 0000000000000000   ................
ffffffff81d13690:  0000000000000000 0000000000000000   ................
ffffffff81d136a0:  0000000000000000 0000000000000000   ................
ffffffff81d136b0:  0000000000000000 0000000000000000   ................
ffffffff81d136c0:  0000000000000000 0000000000000000   ................
ffffffff81d136d0:  0000000000000000 0000000000000000   ................
ffffffff81d136e0:  0000000000000000 0000000000000000   ................
ffffffff81d136f0:  0000000000000000 0000000000000000   ................
ffffffff81d13700:  0000000000000000 0000000000000000   ................
ffffffff81d13710:  0000000000000000 0000000000000000   ................
ffffffff81d13720:  0000000000000000 0000000000000000   ................
ffffffff81d13730:  0000000000000000 0000000000000000   ................
ffffffff81d13740:  0000000000000000 0000000000000000   ................
ffffffff81d13750:  0000000000000000 0000000000000000   ................
ffffffff81d13760:  0000000000000000 0000000000000000   ................
ffffffff81d13770:  0000000000000000 0000000000000000   ................
ffffffff81d13780:  0000000000000000 0000000000000000   ................
ffffffff81d13790:  0000000000000000 0000000000000000   ................
ffffffff81d137a0:  0000000000000000 0000000000000000   ................
ffffffff81d137b0:  0000000000000000 0000000000000000   ................
ffffffff81d137c0:  0000000000000000 0000000000000000   ................
ffffffff81d137d0:  0000000000000000 0000000000000000   ................
ffffffff81d137e0:  0000003000000001 0000000100000000   ....0...........
ffffffff81d137f0:  0000000100000000 ffff880417106100   .........a......
ffffffff81d13800:  ffffffff81766240 0000000000000000   @bv.............
ffffffff81d13810:  0000000000000010 0000000000000000   ................
ffffffff81d13820:  0000000000000000 0000000000000000   ................
ffffffff81d13830:  0000000000000000 0000000000000000   ................
ffffffff81d13840:  0000000000000000 0000000000000000   ................
ffffffff81d13850:  0000000000000000 0000000000000000   ................
ffffffff81d13860:  000000000000000a 0000000000000078   ........x.......
ffffffff81d13870:  0000000000400000 0000000a00000000   .. at .............
ffffffff81d13880:  00000000ee6b2800 0000000100000001   .(k.............
ffffffff81d13890:  0000000000000000 0000000000000000   ................
ffffffff81d138a0:  0000000000000000 0000000000000000   ................
ffffffff81d138b0:  0000000000000000 0000000000000000   ................
ffffffff81d138c0:  0000000000000000 0000000000000000   ................
ffffffff81d138d0:  0000000000000000 0000000000000000   ................


More information about the Crash-utility mailing list