Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965686AbeAKTVQ (ORCPT + 1 other); Thu, 11 Jan 2018 14:21:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33490 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965490AbeAKTVP (ORCPT ); Thu, 11 Jan 2018 14:21:15 -0500 Date: Thu, 11 Jan 2018 13:21:12 -0600 From: Josh Poimboeuf To: Vince Weaver Cc: Peter Zijlstra , Ingo Molnar , linux-kernel@vger.kernel.org, Ingo Molnar , Arnaldo Carvalho de Melo , Thomas Gleixner , Andy Lutomirski Subject: Re: perf: perf_fuzzer quickly locks up on 4.15-rc7 Message-ID: <20180111192112.d35nkotzklicd27c@treble> References: <20180109132602.GA2369@hirez.programming.kicks-ass.net> <20180109151253.GK6176@hirez.programming.kicks-ass.net> <20180109153341.GL6176@hirez.programming.kicks-ass.net> <20180109160551.GK3040@hirez.programming.kicks-ass.net> <20180109170716.bqmexpmywwr4bwuv@treble> <20180111052538.2qhj6oxnc24xumhk@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Thu, 11 Jan 2018 19:21:15 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Thu, Jan 11, 2018 at 02:00:27PM -0500, Vince Weaver wrote: > On Wed, 10 Jan 2018, Josh Poimboeuf wrote: > > > For the crash, you might try enabling CONFIG_DEBUG_ENTRY and seeing if > > that gives you any output. > > I did enable that, didn't seem to help on the haswell machien at least. > > > > > > WARNING: can't dereference iret registers at 000000000783fea8 for ip paranoid_entry+0x2e/0x90 > > > > > WARNING: can't dereference registers at 00000000f0698d17 for ip paranoid_entry+0x4c/0x90 > > > > > WARNING: stack going in the wrong direction? ip=native_sched_clock+0x9/0x90 > > > > This all looks very weird. The stack pointers -- 000000000783fea8 and > > 00000000f0698d17 -- are obviously very wrong. I will try to recreate > > locally. > > On a related note, on a core2 machine with the perf_fuzzer I got this too: > > Jan 11 13:44:01 core2 kernel: [ 1078.931403] WARNING: stack recursion on stack type 4 > Jan 11 13:44:01 core2 kernel: [ 1078.931411] WARNING: can't dereference registers at 000000002c6beb99 for ip swapgs_restore_regs_and_return_to_usermode+0x2b/0x7c Yuck. This time it was stack recursion on the entry stack. In the previous error, recursion was detected on the IRQ stack. Otherwise they look quite similar. Was that also with nopti? I haven't had a chance to try it yet, any idea if these would be recreatable in a VM? -- Josh