Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751533AbdGaWGe (ORCPT ); Mon, 31 Jul 2017 18:06:34 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:46270 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751102AbdGaWGd (ORCPT ); Mon, 31 Jul 2017 18:06:33 -0400 Date: Mon, 31 Jul 2017 15:06:32 -0700 (PDT) Message-Id: <20170731.150632.885106324164202893.davem@davemloft.net> To: matorola@gmail.com Cc: mikpelinux@gmail.com, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: strace-4.18 test suite oopses sparc64 4.12 and 4.13-rc kernels From: David Miller In-Reply-To: References: <20170731.145151.571917275997786929.davem@davemloft.net> X-Mailer: Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 31 Jul 2017 15:06:33 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 673 Lines: 24 From: Anatoly Pugachev 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.