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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4073AC636D7 for ; Mon, 13 Feb 2023 02:57:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229863AbjBMC5t (ORCPT ); Sun, 12 Feb 2023 21:57:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbjBMC5s (ORCPT ); Sun, 12 Feb 2023 21:57:48 -0500 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CDB61BF3 for ; Sun, 12 Feb 2023 18:57:47 -0800 (PST) Received: by mail-ed1-x535.google.com with SMTP id eq11so11069996edb.6 for ; Sun, 12 Feb 2023 18:57:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=hw9ehYVDq4moKFFfu+9OhsPZCy7y23ffO2nBq/yLrA4=; b=PJrSank/HxSMunzkm1fR5tYP9U7Z8BvPW9A0/ge4QaohJG+zg4gfB+0kLZNR8O8w0c rgGY+nFWRqAsO3bYR6kaqoVXT4XmhFi64UVXIdHTJUCyjsfzNy/B62cITCl1m7k5vTVE jLhNCEt19V+6WoPstiHKU9RVs8lJP7hNDffQACva4go52M5BuI/HxdQiqIhXVE+eHtyz Exj9shR338hQzgVtytzQXCQYY8tHAMPnxKo8kiGejAKh40Uiu2TTUlVr+PRLg5dUZ4Ic epiynC1faSejQjvJCGQETmrp6DHmy8ZsHkaHjZlVliJalnkLnbm8vI7q24DLf1fhdF5h IxwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hw9ehYVDq4moKFFfu+9OhsPZCy7y23ffO2nBq/yLrA4=; b=Z6uifw6YA37r2MoElllQy/AsYUznafTKeQNtI38GZ/J5eDkF4++CnqQUo0LuQeGLW4 cLuZVyiUoKAFVH3aN3pLV/tNo2sad397ax3roEA4OccKCrFI9e5jFkUKZo3qTqdOCPQM MiEF93QyRce2lawzMx1CJPCIEiEK3+Htf3iEW9x+POK0jJoYIBQv48xFNCH+A9w3Wlaa xhBagcX55dUFKHYeFFgnsUvevdpBUsoA5yUK+YGlpsRRt/S+KTvnNi9C7KBXnKSuTOGr 34C7VmaEX7MVyP934jWI/QjY6sZmYVIN1IE0eqynATZvGxajh6T5CU6m855oxCPePoU0 bFLg== X-Gm-Message-State: AO0yUKX7hhTn7H39ZRiZWoZm7+LKogI/mZJbwtf+wisfkGjy3qtQgHlv Swgq+e+06NlY238Gr1QUdAuvhvgkgmrBbW39DdY= X-Google-Smtp-Source: AK7set9mBuQIrk3oO2rWHodC/1gO5O/yOJ2sf/e+WQ0l7IxCo7aLgd6UYYj2pbnhDI/nTsLxr8j0ivM4KjuT+dYQTxY= X-Received: by 2002:a50:9eee:0:b0:4aa:a4f2:ca1a with SMTP id a101-20020a509eee000000b004aaa4f2ca1amr5993822edf.0.1676257065447; Sun, 12 Feb 2023 18:57:45 -0800 (PST) MIME-Version: 1.0 References: <3ab28896-70e9-6f90-5b97-e5397b06e715@googlemail.com> <1cdb84ac-f7a8-66ba-98fc-3db302b49a5a@googlemail.com> <1632a9ef-2954-c8f0-cdc9-03157c9d8547@googlemail.com> <5abbee70-cc84-1528-c3d8-9befd9edd611@googlemail.com> <5cf46df8-0fa2-e9f5-aa8e-7f7f703d96dd@googlemail.com> In-Reply-To: From: Dave Airlie Date: Mon, 13 Feb 2023 12:57:32 +1000 Message-ID: Subject: Re: linux-6.2-rc4+ hangs on poweroff/reboot: Bisected To: Chris Clayton Cc: Linux regressions mailing list , Karol Herbst , Ben Skeggs , bskeggs@redhat.com, Lyude Paul , ML nouveau , LKML , ML dri-devel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 12 Feb 2023 at 00:43, Chris Clayton wrote: > > > > On 10/02/2023 19:33, Linux regression tracking (Thorsten Leemhuis) wrote: > > On 10.02.23 20:01, Karol Herbst wrote: > >> On Fri, Feb 10, 2023 at 7:35 PM Linux regression tracking (Thorsten > >> Leemhuis) wrote: > >>> > >>> On 08.02.23 09:48, Chris Clayton wrote: > >>>> > >>>> I'm assuming that we are not going to see a fix for this regression before 6.2 is released. > >>> > >>> Yeah, looks like it. That's unfortunate, but happens. But there is still > >>> time to fix it and there is one thing I wonder: > >>> > >>> Did any of the nouveau developers look at the netconsole captures Chris > >>> posted more than a week ago to check if they somehow help to track down > >>> the root of this problem? > >> > >> I did now and I can't spot anything. I think at this point it would > >> make sense to dump the active tasks/threads via sqsrq keys to see if > >> any is in a weird state preventing the machine from shutting down. > > > > Many thx for looking into it! > > Yes, thanks Karol. > > Attached is the output from dmesg when this block of code: > > /bin/mount /dev/sda7 /mnt/sda7 > /bin/mountpoint /proc || /bin/mount /proc > /bin/dmesg -w > /mnt/sda7/sysrq.dmesg.log & > /bin/echo t > /proc/sysrq-trigger > /bin/sleep 1 > /bin/sync > /bin/sleep 1 > kill $(pidof dmesg) > /bin/umount /mnt/sda7 > > is executed immediately before /sbin/reboot is called as the final step of rebooting my system. > > I hope this is what you were looking for, but if not, please let me know what you need Another shot in the dark, but does nouveau.runpm=0 help at all? Dave.