Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 56B6EC433F5 for ; Wed, 9 Mar 2022 01:10:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7GuaZIXrF+onfQKQJ+EQ+36bLNxD2t2mmLjMrZEf+9k=; b=1+1JVfhKY+JMw6 Q/lZNSIvU5M19FC46Qfru31KpzU4yb4xgAuT3Jt0MacH+mJM9iffUhEBYpxOUgkajAlnPyv4j5Acs j7+8NFNUm0EcamQ5FrjvNwqJdWHhSfD8D6idlOh1ue0pgCM0ZoqKhePdCihoheHexA9GB+BCfXhoU UACVL0WKO6LWaaSlJQcdP6+RIKAo7r0dJTqE2NiZTJN0IVxX2lL1yNtRkj5ocHO9qHTnFULq9RfB3 WITA9/n9rQX5LVRNk6oDpjffh7P3cg98xnPdpP7H8g9g2P2VyJB3mvjGU/S4m6+q3+WjXAi7QV4qS DnD/syQteXZGtOtVgnsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRkoX-006n3s-M5; Wed, 09 Mar 2022 01:08:29 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRkoU-006n3S-F4 for linux-arm-kernel@lists.infradead.org; Wed, 09 Mar 2022 01:08:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=NUm+eI6I7vXUsufLZj3Ybgr0AUlu0fM8Z9nEWhEtbG4=; b=J2BvjLjQK+kQUeBycrbQzD2N01 A0P8NwaE/jEcHIfpsidYyEwAeE8FMX11IhtmE+1KgjrRosjKJVQn5rpovGCyA4IvS4GS3GepULNK/ UB5BNggxnhRB6wzPMjwJKYlql7mW/PYlYh99BLVYWlBM7CFK4wtG88BpBFGvNQS7a8cFGcGSXA+rt wJFoXSaWRY63BKrmoxjDnAV3Ajz9PW0Yg4L8ncfnuhEqQLZFYXyHB6AKHNhNLCFaF8mLsjsTk9Ss2 k8GRAIVPNCqoXbRgNaodtHvNAjBaq9pjIaTkFhEVLPEASrihE96DwNWHuD2ymD9PlD9U8UaJAZwy3 sUZQyoMg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:57732) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nRkoN-0001C5-Et; Wed, 09 Mar 2022 01:08:19 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1nRkoL-0007Or-U2; Wed, 09 Mar 2022 01:08:17 +0000 Date: Wed, 9 Mar 2022 01:08:17 +0000 From: "Russell King (Oracle)" To: Ard Biesheuvel Cc: Corentin Labbe , Linus Walleij , Arnd Bergmann , Linux ARM , Linux Kernel Mailing List Subject: Re: boot flooded with unwind: Index not found Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220308_170826_530205_354C1A01 X-CRM114-Status: GOOD ( 17.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Mar 09, 2022 at 12:01:26AM +0000, Russell King (Oracle) wrote: > To reinterate what I've just put on IRC - we have not got to the bottom > of this problem yet - it still very much exists. > > There seems to be something of a fundamental issue with the unwinder, > it now appears to be going wrong and failing to unwind beyond a > couple of functions, and the address it's coming out with appears to > be incorrect. I've only just discovered this because I created my very > own bug, and yet again, the timing sucks with the proximity of the > merge window. > > I'm getting: > > [ 13.198803] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) > [ 13.198820] [] (show_stack) from [] (0xc2be78d4) > > for the WARN_ON() stacktrace, and that address that apparently called > show_stack() is most definitely rubbish and incorrect. This makes any > WARN_ON() condition undebuggable. > > This is with both 9183/1 and 9184/1 applied on top of pulling your > "arm-ftrace-for-rmk" tag and also with just the "arm-vmap-stacks-v6" > tag. This seems to point at one of these patches breaking the > unwinder: > > a1c510d0adc6 ARM: implement support for vmap'ed stacks > 532319b9c418 ARM: unwind: disregard unwind info before stack frame is set up The above commit appears to be what's breaking the unwinder. Without this I get sane stacktraces. With it, the unwinder spits out stupid function addresses. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel