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 EC746C636D4 for ; Mon, 13 Feb 2023 14:13:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229779AbjBMONB (ORCPT ); Mon, 13 Feb 2023 09:13:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbjBMOM7 (ORCPT ); Mon, 13 Feb 2023 09:12:59 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86EAAC17E for ; Mon, 13 Feb 2023 06:12:54 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id co8so8625033wrb.1 for ; Mon, 13 Feb 2023 06:12:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=content-transfer-encoding:in-reply-to:cc:from:to:references :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=EsqkxOvpnaFZCqHajOpHltyVhIkx+s6eYXNOmyQ4+o4=; b=OUzZcLleBxOMqrP9XviKuUrD0xYSPYpPLESmUkD1O6ZcmLJxTCv8nULdz7i0tyZs60 /ERJgBT0bqLe9+7CQv5+/Bniht4E6MKnF95RcrMKk0rm3JLHFamh/Dw7Xq3XQcXwk3L0 cepU8kuWhq/7HKV127ztH7nXOnwNqY2dSnKewNDpMhj0UB+gIr64VdEQGaRdYH6aZ3/i A9plwBGs20Yy1rjA9v5CIevipFF8L4XI7cG2IZGLTvXaoXOZczrOPIDxKkL4zEpwrZZ7 HnhClGGjw8mKRBY8tBK9+/hYx99wmLerEASStnvHqBfD2EvTq2cDRCzv+a1oEi+vQADl 0Uuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:cc:from:to:references :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EsqkxOvpnaFZCqHajOpHltyVhIkx+s6eYXNOmyQ4+o4=; b=XhfH+oODT5pvuC/YZlQ4/9qg+OpsFba5SR5PodNZHXG8L+ehfueKJMr/sGlNLlT32C iG4pX76Q+GOCSneTWavpZ/qTikFDoT6DOn+vlIlOCxTNDmeE8mzdPzdNGQF11Enup5mt xRVJunMbDeN5Af5oz30pdkZwZzeTRyvIGRieUbJkytKT2T+3tBR4+b4DRp7lB48Di4mZ 6zRWJGUqC52e+NalYEKqH4XvMAanQDIMXo7mirNYs4rqbeVxvYBszFcvO0BSU5kThkAn fQmWbwsITdf2S5O/L3XRpi+CFpN4f9Slqah2CGNzj3kJYxfuP1HbfNt5ZM2tMXYtCRD9 vS1A== X-Gm-Message-State: AO0yUKWRQXehA8ZPPD4PqwJyF129FNh6qS2u4ONsULaviPpRzUWNgsp8 DT1jfQ2vSxq1NkQLspbPgrU= X-Google-Smtp-Source: AK7set/wugfPYZOYQTzQrvfbcgzO0WnIG8etqnnThADl0ZnsrGA9jjVo3EGtn3NH4mRbfJ3Nruf9Wg== X-Received: by 2002:adf:e54a:0:b0:2c5:5984:6f07 with SMTP id z10-20020adfe54a000000b002c559846f07mr2319355wrm.26.1676297573096; Mon, 13 Feb 2023 06:12:53 -0800 (PST) Received: from [192.168.1.10] (97e09f27.skybroadband.com. [151.224.159.39]) by smtp.googlemail.com with ESMTPSA id w11-20020adff9cb000000b002c54e9f6bc2sm6176883wrr.77.2023.02.13.06.12.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Feb 2023 06:12:52 -0800 (PST) Message-ID: Date: Mon, 13 Feb 2023 14:12:51 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Fwd: linux-6.2-rc4+ hangs on poweroff/reboot: Bisected Content-Language: en-GB References: To: ">> ML dri-devel" , LKML , Linux regressions mailing list , Karol Herbst , Ben Skeggs , bskeggs@redhat.com, Lyude Paul , ML nouveau From: Chris Clayton Cc: Dave Airlie In-Reply-To: X-Forwarded-Message-Id: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Proof, if any where needed, that I should consume more coffee before dealing with email... Adding cc recipients that were dropped in my message this morning. -------- Forwarded Message -------- Subject: Re: linux-6.2-rc4+ hangs on poweroff/reboot: Bisected Date: Mon, 13 Feb 2023 09:21:10 +0000 From: Chris Clayton To: Dave Airlie [ Apologies for the incomplete message I sent a few minutes ago. I should have had more coffee before I started dealing with email. ] On 13/02/2023 02:57, Dave Airlie wrote: > 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 > Thanks, Dave. > Another shot in the dark, but does nouveau.runpm=0 help at all? > Yes, it does. With runpm=0, both reboot and poweroff work on my laptop. Of course, it also means that the discrete (NVidia) GPU is now powered on permanently. Chris > Dave.