Monday, January 27, 2014

Debug kernel oops crash dump

#gdb zimage
#disassemble 0x55667\\pc aaddr
Take pc offset from log add to listed starting address
#list *0x556688 \\pc address

Shows line of crash


scenario 2:
if you have a crash & you know the function name & offset

eg:
PC: /usr/sbin/test(update+0xdf) [0xa1b0]

to identify the line number of crash execute below command

# gdb testexe  
# list *update+0xdf

Note : testexe builded with debug symbols

No comments:

Post a Comment