From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932803AbcBZIpZ (ORCPT ); Fri, 26 Feb 2016 03:45:25 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:38636 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753841AbcBZIpV (ORCPT ); Fri, 26 Feb 2016 03:45:21 -0500 Subject: Re: BUG: unable to handle kernel paging request from pty_write [was: Linux 4.4.2] To: Peter Hurley References: <20160217203730.GA14820@kroah.com> <56CED373.9060603@suse.cz> <56CF4A83.3040408@hurleysoftware.com> <56CF64C9.8050705@hurleysoftware.com> <56CF72EA.9040009@suse.cz> <56CF8124.4080003@hurleysoftware.com> <56CF9E8F.3070905@hurleysoftware.com> Cc: Linus Torvalds , Greg KH , Linux Kernel Mailing List , Andrew Morton , stable , lwn@lwn.net, Steven Rostedt From: Jiri Slaby X-Enigmail-Draft-Status: N1110 Message-ID: <56D0109E.9070102@suse.cz> Date: Fri, 26 Feb 2016 09:45:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56CF9E8F.3070905@hurleysoftware.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/26/2016, 01:38 AM, Peter Hurley wrote: >> That would imply that RSP was off by +8 when the ttwu_stat() epilog was >> executed so that RBP <= ret addr and RIP <= some local var in try_to_wake_up() >> stack frame. >> >> Looks like R15 in the crash report could be what RBP should have been. >> >> Now to find out why RSP is +8 > > Which I would investigate if I could download that kernel. > Unfortunately, OBS doesn't like me so if you could make that > kernel available some other way or send me a mixed listing > of kernel/sched/core.c Actually I cannot do mixed listing using objdump, as my objdump complains in the middle of vmlinux: objdump: Dwarf Error: mangled line number section. and dumps no more code afterwards. (And core.c is after the error happens.) Nevertheless, I did: gdb vmlinux-4.4.2-3-default -ex 'disass /m try_to_wake_up' --batch > try_to_wake_up.mixed gdb vmlinux-4.4.2-3-default -ex 'disass /m ttwu_stat' --batch >ttwu_stat.mixed And both will appear at: http://labs.suse.cz/jslaby/bug-968218/ thanks, -- js suse labs