From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1752C4338F for ; Sat, 7 Aug 2021 02:06:08 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 319DE604DB for ; Sat, 7 Aug 2021 02:06:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 319DE604DB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4GhQgK0KDqz3dHV for ; Sat, 7 Aug 2021 12:06:05 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=HDCMqpUs; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.helo=wout3-smtp.messagingengine.com (client-ip=64.147.123.19; helo=wout3-smtp.messagingengine.com; envelope-from=fthain@linux-m68k.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=HDCMqpUs; dkim-atps=neutral Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4GhQfp4Q5Pz3079 for ; Sat, 7 Aug 2021 12:05:36 +1000 (AEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id E504F3200906; Fri, 6 Aug 2021 22:05:30 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 06 Aug 2021 22:05:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=9OtUkD crqroUvmXKY4T5LPXEncAC4ciwZJm4kMvIYe4=; b=HDCMqpUsISzYs7FJ91KSWG XI0alkeyJmj4Kldz6FzbPijc+T9HKWzn+4Ghubxk2+FPBZrBbwbBZumNOA3WfZBl 0z96jJmFLJcY5xE2zRI/2LQ7iNX1PoFfgh7t1uxmn5UNcQF19xDVzG3D98EyCR35 aGWCTMiHvcor/HqvF8BxRO1DoQ3pZTn45/LnpkJg4Ft7Nh2fO5dvBzeC5xyX9d6J o8GicCdit9r3uhV4T+Jr75lClD6teDjnGECsvkRyuo3b4DAdSrhG7kniEMGN5jxQ H30AFMyDkMhewfiz83DlKwq+ZzAxmXDc0lnGihRWQxEmsgrkIeRZuBUwCrj5CjrA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrjedvgdehtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvufgjkfhfgggtsehttdertddttddvnecuhfhrohhmpefhihhnnhcuvfhh rghinhcuoehfthhhrghinheslhhinhhugidqmheikehkrdhorhhgqeenucggtffrrghtth gvrhhnpefgtdegudfgheehhfeugeeffefhvefgjeevffegfeduffdugeekkeffffejjeeh tdenucffohhmrghinhepghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepfhhthhgrihhnsehlihhnuhigqdhmieekkhdr ohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 6 Aug 2021 22:05:27 -0400 (EDT) Date: Sat, 7 Aug 2021 12:05:19 +1000 (AEST) From: Finn Thain To: Stan Johnson Subject: Re: Debian SID kernel doesn't boot on PowerBook 3400c In-Reply-To: Message-ID: <73921a8e-6d76-7ae9-1ba2-811966df5179@linux-m68k.org> References: <60841a75-ed7c-8789-15db-272bf43055f5.ref@yahoo.com> <4ac28304-4519-fb8a-a868-e8c79cb5f9e4@yahoo.com> <7532219a-4fd0-416-6365-304033fa6abd@linux-m68k.org> <9659419d-da9e-5aa6-ffbb-758748e2d6e9@linux-m68k.org> <2eb2b452-51d5-c495-3ffe-896c62a1633f@yahoo.com> <6ea50cd7-84d3-5180-0430-1211aaf0e308@yahoo.com> <2619d78-e8f-334a-20c0-2a60c936a293@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: debian-powerpc@lists.debian.org, linuxppc-dev@lists.ozlabs.org, Nicholas Piggin Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Fri, 6 Aug 2021, Christophe Leroy wrote: > > I have cooked a tentative fix for that KUAP stuff. > Could you try the branch 'bugtest' at https://github.com/chleroy/linux.git > Thanks, Christophe. Stan, please test the following build. $ git remote add chleroy-linux https://github.com/chleroy/linux.git -f -t bugtest ... $ git checkout chleroy-linux/bugtest HEAD is now at 63e3756d1bdf powerpc/interrupts: Also perform KUAP/KUEP lock and usertime accounting on NMI $ cp ../dot-config-powermac-5.13 .config $ scripts/config -e CONFIG_PPC_KUAP -e CONFIG_PPC_KUAP_DEBUG -e CONFIG_VMAP_STACK $ make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- -j4 clean olddefconfig vmlinux $ egrep "CONFIG_PPC_KUAP|CONFIG_VMAP_STACK" .config $ strings vmlinux |grep "Linux version" If that kernel produces errors, I'd try a second build as well: $ scripts/config -e CONFIG_PPC_KUAP -e CONFIG_PPC_KUAP_DEBUG -d CONFIG_VMAP_STACK $ make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- -j4 clean olddefconfig vmlinux $ egrep "CONFIG_PPC_KUAP|CONFIG_VMAP_STACK" .config $ strings vmlinux |grep "Linux version" Please boot using the same kernel parameters as last time and capture the serial console logs. In case we're still dealing with intermittent bugs it might be necessary to repeat these tests so I suggest you retain the vmlinux files.