crash-utility / crash

Linux kernel crash utility
https://crash-utility.github.io
838 stars 274 forks source link

crash_arm64: cannot determine idle task addresses from init_tasks[] or runqueues[] #195

Open KangHoupeng opened 2 weeks ago

KangHoupeng commented 2 weeks ago

kanghoupeng@AwExdroid101:~/projects/crashdump$ ./tools/8.0.5++/crash_arm64 a537/android-vmlinux a537/dram_data_2024118192529@0x40000000 --machdep vabits_actual=39 --machdep kimage_voffset=0xffffffc040000000 --kaslr 0x80000

crash_arm64 8.0.5++ Copyright (C) 2002-2024 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, 2020-2024 NEC Corporation Copyright (C) 1999, 2002, 2007 Silicon Graphics, Inc. Copyright (C) 1999, 2000, 2001, 2002 Mission Critical Linux, Inc. Copyright (C) 2015, 2021 VMware, 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.

BFD: a537/android-vmlinux: unknown type [0x13] section `.relr.dyn' NOTE: setting vabits_actual to: 39

NOTE: setting kimage_voffset to: 0xffffffc040000000

BFD: a537/android-vmlinux: unknown type [0x13] section `.relr.dyn' GNU gdb (GDB) 10.2 Copyright (C) 2021 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 "--host=x86_64-pc-linux-gnu --target=aarch64-elf-linux". Type "show configuration" for configuration details. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/.

For help, type "help". Type "apropos word" to search for commands related to "word"... BFD: /home1/kanghoupeng/projects/crashdump/a537/android-vmlinux: unknown type [0x13] section `.relr.dyn'

crash_arm64: cannot determine idle task addresses from init_tasks[] or runqueues[]

crash_arm64: cannot resolve "init_task_union"

I have trouble in analyzing the data of 64 bit Android Go firmware, however, the --minimal can works well. Excuse me, does anyone know what's going on ?