Return-Path: 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 Message-ID: <56D0109E.9070102@suse.cz> Date: Fri, 26 Feb 2016 09:45:18 +0100 MIME-Version: 1.0 In-Reply-To: <56CF9E8F.3070905@hurleysoftware.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: 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