Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1123599rwb; Thu, 19 Jan 2023 06:59:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXu2+SmzY36m3ylBQE/wGVR8xJl42WiIRX6lxM5U9SBY/O6e6CVUXoq2BTXdgk7nS0qWgoqI X-Received: by 2002:a17:907:c498:b0:862:1709:a06f with SMTP id tp24-20020a170907c49800b008621709a06fmr8302667ejc.37.1674140356524; Thu, 19 Jan 2023 06:59:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674140356; cv=none; d=google.com; s=arc-20160816; b=wTti+wuzsXW6V14nD3NmOAQau/wbbm+v0KgLBn+boND63AminG13EvVZOBpmj2N71+ OYY1zSIXnrzWVXQ5Rd28ZCaUpI5W1JSPb2tAFWnpAzibcE+VLwjganffyGOZ0H/hAdJg iynGzYc0xdc+7nlqC57OwiW3z+HICQE6jis+yVTDxTYVo24pdfhCsUjPi1Kr9hfUkQyZ BcqJTUy57qUy1qM4W9IYdrHGrN9STdiDzwOJTUfuIVpueQVnqpHio7/lt6kF8tWR1FaO cjkxWNmNkLiEFg1WgucRuBVBTUgbVP3P5sOxliQiWeoajHnSPMRFPFvyffITL2vxjSef tv8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:cc :reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id; bh=YU+m3We1FVSDYYIBK6n7CScObfeuGaU9lTfMjmMsfRQ=; b=aeu0BzNzG+fPhKLAinYEVUk1p+G+VW6jddnTgUf0fjtNBfTkc/fJQdqqM5rue5Bvqn 4paEibv9+f68zY5rQ0I+ZEz2F1Jkknp3Jd0bOFDEG+8DnTi+N/xSm+g6T2qfqCv0aDpw GZTy3jcsKx+MoVHf5FEjJ8YWCxGVqd78q8zc45KBaR/EXitAgE5+OzHlhaSMAaW8b3Fm 2oI8arf0BCIY4JxCrrI2iGVFsCtd8k4Ni4qGN8gHmH8QSJPPLWk/nmH5SXzan3C4vOP+ zMf+Od8zKRnZsCPl1AIKght3Uxl6SP4QL9ajGxqLuSJ6cWkg4CFikwSTVL+jTPmSp6IX gC/Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ht21-20020a170907609500b0086f510007f9si16631175ejc.722.2023.01.19.06.59.04; Thu, 19 Jan 2023 06:59:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230510AbjASOfF (ORCPT + 45 others); Thu, 19 Jan 2023 09:35:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231667AbjASOee (ORCPT ); Thu, 19 Jan 2023 09:34:34 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12B8984541 for ; Thu, 19 Jan 2023 06:33:53 -0800 (PST) Received: from [2a02:8108:963f:de38:4bc7:2566:28bd:b73c]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1pIVzD-0002Km-CV; Thu, 19 Jan 2023 15:33:51 +0100 Message-ID: Date: Thu, 19 Jan 2023 15:33:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: linux-6.2-rc4+ hangs on poweroff/reboot: Bisected Content-Language: en-US, de-DE To: bskeggs@redhat.com, Karol Herbst , Lyude Paul References: From: "Linux kernel regression tracking (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list Cc: Chris Clayton , LKML , ML dri-devel , ML nouveau , Linux kernel regressions list In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1674138833;f6566ed8; X-HE-SMSGID: 1pIVzD-0002Km-CV X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [adding various lists and the two other nouveau maintainers to the list of recipients] For the rest of this mail: [TLDR: I'm adding this report to the list of tracked Linux kernel regressions; the text you find below is based on a few templates paragraphs you might have encountered already in similar form. See link in footer if these mails annoy you.] On 18.01.23 21:59, Chris Clayton wrote: > Hi. > > I build and installed the lastest development kernel earlier this week. I've found that when I try the laptop down (or > reboot it), it hangs right at the end of closing the current session. The last line I see on the screen when rebooting is: > > sd 4:0:0:0: [sda] Synchronising SCSI cache > > when closing down I see one additional line: > > sd 4:0:0:0 [sda]Stopping disk > > In both cases the machine then hangs and I have to hold down the power button fot a few seconds to switch it off. > > Linux 6.1 is OK but 6.2-rc1 hangs, so I bisected between this two and landed on: > > # first bad commit: [0e44c21708761977dcbea9b846b51a6fb684907a] drm/nouveau/flcn: new code to load+boot simple HS FWs > (VPR scrubber) > > I built and installed a kernel with f15cde64b66161bfa74fb58f4e5697d8265b802e (the parent of the bad commit) checked out > and that shuts down and reboots fine. It the did the same with the bad commit checked out and that does indeed hang, so > I'm confident the bisect outcome is OK. > > Kernels 6.1.6 and 5.15.88 are also OK. > > My system had dual GPUs - one intel and one NVidia. Related extracts from 'lscpi -v' is: > > 00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05) (prog-if 00 [VGA controller]) > Subsystem: CLEVO/KAPOK Computer CometLake-H GT2 [UHD Graphics] > > Flags: bus master, fast devsel, latency 0, IRQ 142 > > Memory at c2000000 (64-bit, non-prefetchable) [size=16M] > > Memory at a0000000 (64-bit, prefetchable) [size=256M] > > I/O ports at 5000 [size=64] > > Expansion ROM at 000c0000 [virtual] [disabled] [size=128K] > > Capabilities: [40] Vendor Specific Information: Len=0c > > Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00 > > Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit- > > Capabilities: [d0] Power Management version 2 > > Kernel driver in use: i915 > > Kernel modules: i915 > > > 01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Ti Mobile] (rev a1) (prog-if 00 [VGA > controller]) > Subsystem: CLEVO/KAPOK Computer TU117M [GeForce GTX 1650 Ti Mobile] > Flags: bus master, fast devsel, latency 0, IRQ 141 > Memory at c4000000 (32-bit, non-prefetchable) [size=16M] > Memory at b0000000 (64-bit, prefetchable) [size=256M] > Memory at c0000000 (64-bit, prefetchable) [size=32M] > I/O ports at 4000 [size=128] > Expansion ROM at c3000000 [disabled] [size=512K] > Capabilities: [60] Power Management version 3 > Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+ > Capabilities: [78] Express Legacy Endpoint, MSI 00 > Kernel driver in use: nouveau > Kernel modules: nouveau > > DRI_PRIME=1 is exported in one of my init scripts (yes, I am still using sysvinit). > > I've attached the bisect.log, but please let me know if I can provide any other diagnostics. Please cc me as I'm not > subscribed. Thanks for the report. To be sure the issue doesn't fall through the cracks unnoticed, I'm adding it to regzbot, the Linux kernel regression tracking bot: #regzbot ^introduced e44c2170876197 #regzbot title drm: nouveau: hangs on poweroff/reboot #regzbot ignore-activity This isn't a regression? This issue or a fix for it are already discussed somewhere else? It was fixed already? You want to clarify when the regression started to happen? Or point out I got the title or something else totally wrong? Then just reply and tell me -- ideally while also telling regzbot about it, as explained by the page listed in the footer of this mail. Developers: When fixing the issue, remember to add 'Link:' tags pointing to the report (the parent of this mail). See page linked in footer for details. Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr That page also explains what to do if mails like this annoy you.