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 EFD09C54EAA for ; Mon, 30 Jan 2023 23:09:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229716AbjA3XJ0 (ORCPT ); Mon, 30 Jan 2023 18:09:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229573AbjA3XJY (ORCPT ); Mon, 30 Jan 2023 18:09:24 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A92BE6189 for ; Mon, 30 Jan 2023 15:09:14 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id bk16so12655982wrb.11 for ; Mon, 30 Jan 2023 15:09:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=nBJSf0ujnLSINj9vtVqCPIJUNHNqvfxIwQaQ2Pf5QPI=; b=fXcEGnHpuTMxqjF81LzYGEjxdrRIVQpkK8XSxfBNzkMdookleOEbuAVmp9Z5ZVCotS axdeMivX2doj/9+R0+xbQz1Y1nF9wfApIhaw3QTUcBdcDbrHYmxBs1Exl0zeZLk/3DM3 /uxGpyKWy8DgAJTo4Y8kw8495ulb/GEnvszPW1ranocA8TLjhYyKQ17IdCAdAmQHPFSM /CSNJn6eXTvZ71KVMXEWliE05kW9VLLJr8XOYXMnFdECSqrJr49SqN5WEPdU7Ml6FUld J32j1DVQ1agb1+2fdR5OQeoAHj+CIZKsiIx23H6y6/lbYHW2bsDA0TCIw8+Qa21nqqZv mLcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nBJSf0ujnLSINj9vtVqCPIJUNHNqvfxIwQaQ2Pf5QPI=; b=FQS3u3IsqImyq2c5CVUdL/G8Gcvcyam25fd1gkuESrBHjrsY+HEt7M55Bf9ZBWlI6n VaHoV6WdrzzXaoQnXXT7Z09tJotpcePG/GMg9hEXJCJ6TuM9tlBqf1hq98C6am5zlyVx Z9Y8wNpCJqEQL4s3qXPr70ixl6jZvxN6xg76RQNRSw+Q1IkmDIj9gH1ICkq/wgM4NGa1 Eu6pTMU/3zSTfNVwzZqZd1UV2jwKXvCcksdK35e+bfwa+XHOHTgBhBkD7Ry3s+MbormW shaOQsH4QceAALL2moMLneZeYUsaUPhXmvO8U6XTXrL2GADAWIOQbsNPj49YCYH3Zfly AA9w== X-Gm-Message-State: AFqh2koUdydUi9V2F7ajStup35ueQ2SO2xyw6ArnjVWE4XgT7hPIAE6l eNSu2DvT7Bglod2vv59UkdY= X-Google-Smtp-Source: AMrXdXstvNWA6suGxYdZtreTUdrAXIng9NTIHs6qOi5zxQJ73BED5Zi8z5jOZvFUQJs+vVi5Hs9OsA== X-Received: by 2002:a5d:6282:0:b0:2bf:9516:d295 with SMTP id k2-20020a5d6282000000b002bf9516d295mr30547069wru.22.1675120153156; Mon, 30 Jan 2023 15:09:13 -0800 (PST) Received: from [192.168.1.10] (97e09f27.skybroadband.com. [151.224.159.39]) by smtp.googlemail.com with ESMTPSA id g2-20020a5d4882000000b002bdf3809f59sm12707867wrq.38.2023.01.30.15.09.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Jan 2023 15:09:12 -0800 (PST) Message-ID: Date: Mon, 30 Jan 2023 23:09:08 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.0 Subject: Re: linux-6.2-rc4+ hangs on poweroff/reboot: Bisected From: Chris Clayton To: Ben Skeggs Cc: Linux regressions mailing list , bskeggs@redhat.com, Karol Herbst , Lyude Paul , ML nouveau , LKML , ML dri-devel References: <3ab28896-70e9-6f90-5b97-e5397b06e715@googlemail.com> <1cdb84ac-f7a8-66ba-98fc-3db302b49a5a@googlemail.com> Content-Language: en-GB In-Reply-To: <1cdb84ac-f7a8-66ba-98fc-3db302b49a5a@googlemail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi again. On 30/01/2023 20:19, Chris Clayton wrote: > Thanks, Ben. >> Hey, >> >> This is a complete shot-in-the-dark, as I don't see this behaviour on >> *any* of my boards. Could you try the attached patch please? > > Unfortunately, the patch made no difference. > > I've been looking at how the graphics on my laptop is set up, and have a bit of a worry about whether the firmware might > be playing a part in this problem. In order to offload video decoding to the NVidia TU117 GPU, it seems the scrubber > firmware must be available, but as far as I know,that has not been released by NVidia. To get it to work, I followed > what ubuntu have done and the scrubber in /lib/firmware/nvidia/tu117/nvdec/ is a symlink to > ../../tu116/nvdev/scrubber.bin. That, of course, means that some of the firmware loaded is for a different card is being > loaded. I note that processing related to firmware is being changed in the patch. Might my set up be at the root of my > problem? > > I'll have a fiddle an see what I can work out. > > Chris > >> >> Thanks, >> Ben. >> >>> Well, my fiddling has got my system rebooting and shutting down successfully again. I found that if I delete the symlink to the scrubber firmware, reboot and shutdown work again. There are however, a number of other files in the tu117 firmware directory tree that that are symlinks to actual files in its tu116 counterpart. So I deleted all of those too. Unfortunately, the absence of one or more of those symlinks causes Xorg to fail to start. I've reinstated all the links except scrubber and I now have a system that works as it did until I tried to run a kernel that includes the bad commit I identified in my bisection. That includes offloading video decoding to the NVidia card, so what ever I read that said the scrubber firmware was needed seems to have been wrong. I get a new message that (nouveau 0000:01:00.0: fb: VPR locked, but no scrubber binary!), but, hey, we can't have everything. If you still want to get to the bottom of this, let me know what you need me to provide and I'll do my best. I suspect you might want to because there will a n awful lot of Ubuntu-based systems out there with that scrubber.bin symlink in place. On the other hand,m it could but quite a while before ubuntu are deploying 6.2 or later kernels. Thanks, Chris