Re: strace-4.18 test suite oopses sparc64 4.12 and 4.13-rc kernels
From: David Miller
Date: Mon Jul 31 2017 - 18:06:38 EST
From: Anatoly Pugachev <matorola@xxxxxxxxx>
Date: Tue, 1 Aug 2017 01:01:47 +0300
> I don't know how to run on a running kernel , but as I understood:
>
> root@v215:strace# gzip -dc /boot/vmlinuz-4.12.0 > vmlinux
> root@v215:strace# gdb -q vmlinux
> Reading symbols from vmlinux...(no debugging symbols found)...done.
> (gdb) x/20i 0x49b294 - 16
Unfortunately you need to do this on the build kernel image before it
has been stripped of all of it's symbols.
Mikael, you built your kernels right?
Go into one of your OOPS's and extract the "RPC: " hex value, and run
the gdb command:
bash$ cd src/linux
bash$ gdb ./vmlinux
(gdb) x/10i 0x${RPC_HEX_VALUE} - 16
Thanks.