lkml.org 
[lkml]   [2017]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: strace-4.18 test suite oopses sparc64 4.12 and 4.13-rc kernels
From
From: Anatoly Pugachev <matorola@gmail.com>
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.


\
 
 \ /
  Last update: 2017-08-01 00:06    [W:0.082 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site