CONFIG_DEBUG_INFO=y
yum install kernel-debuginfo
yum install crash
add 'log_buf_len=5M crashkernel=384M-2G:64M,2G-:256M' in grub and reboot
# service kdump start
// some crash
# crash /usr/lib/debug/lib/modules/<kernel>/vmlinux /var/crash/<timestamp>/vmcore
# cat /var/crash/127.0.xxxx/vmcore-dmesg.txt
check out latest crash utility from https://github.com/crash-utility/crash.git # crash /lib/modules/`uname -r`/build/vmlinux /var/crash/<timestamp>/vmcore crash> bt -l crash> dis -l __decision+125 $ gdb clustering.o (gdb) disassemble /m __decision |
WRITTEN BY
- RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.
,