Received: by 2002:ab2:6486:0:b0:1ef:eae8:a797 with SMTP id de6csp414105lqb; Sat, 16 Mar 2024 09:12:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWObMZcG2lYAae4vWpTWm3E+3BNuzoHW7SyYhcr4WLiPn853tiKbXtEHGwFBwcfPn2uuM+y+cVtYTIlCZfzG4IlAgHZluSeaX1roIlYUQ== X-Google-Smtp-Source: AGHT+IEJDepENVFotNEbxh/iD1JkfWfsP2yg9C+oS6vIswBAcoTd8Ky4ufBYaVHZojx8/wD7VgGT X-Received: by 2002:a05:6a20:1609:b0:1a3:3c59:9db8 with SMTP id l9-20020a056a20160900b001a33c599db8mr7706734pzj.39.1710605554178; Sat, 16 Mar 2024 09:12:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710605554; cv=pass; d=google.com; s=arc-20160816; b=gSyvLdLFxAnxIKpNFSvejhe8sNVR88xWd7gR/eXcpvi366U0nU9nrB5ijMbCIU/r7S dP9+nQ1waPG8C7zl7vYwH6JrUN+7aTOwhKIDslLSoZaGtrNXe51ejDaAmzH1Gd7bTOoG 3uaI+XhAsS393b9hcyK5+ladCYvhFevyDiCma43wfYgmBGCKms+TAKnJnBFpB+/es2Rt VY3xsPvBfEIVCPmyd6TCRDXb7Q4HL+rvnB/LTrsq/0AtIyebJkwa+oZW+j6b8LLdR8fU tP6aUfbPgh0K4FVSk7rU2GKKoKeEkRsRas0WEBwemA1o9n2mbw6pLd4fDdn3JxXS+8TW 2F0g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from; bh=fb1B6NBOrDfy6TcOdVy93E7Odjm+wnsYMO5QqAQRaqs=; fh=1Ra9o6sycxSGSlARorNSahamYq9ZkOFMN1e95rTLEHM=; b=t7x/4NKutoPUkU6qo5Ni8ii0fXQIephbsNrKMc2RVR38cl14kHW/bP0oFIiJWSlo+8 vmEXPg4ws8Ac1F39tD9Plf+lc30Bi6lRDoWMyG9CGfHjyzwG3dYuFIrMoREIlaKy3h4r d4U/XbhgL4d0Hvwnm9j50gyP8N01gEsB5vdw+Myf9LsjOHdcUm4OsS9swRkRp/yqMVjE BqkhNnKA7VEFbjWIrHlrY8A+Oy9fCIBJC6ExIvPbL64AXUa77Y07PZ9MubY5SzAWh2kZ za5pUdF+no4ysMnHCicp3KsyfSZ2zwQ7gKHD9Sg4mliRJAuiDOeVZ2RHd3c7/36WmZ6d 3hRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=lichtvoll.de); spf=pass (google.com: domain of linux-kernel+bounces-105222-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105222-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id fa28-20020a056a002d1c00b006e6af984151si5966245pfb.108.2024.03.16.09.12.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Mar 2024 09:12:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-105222-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=lichtvoll.de); spf=pass (google.com: domain of linux-kernel+bounces-105222-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105222-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id F182BB21F9F for ; Sat, 16 Mar 2024 16:12:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 94ED91BC3F; Sat, 16 Mar 2024 16:12:20 +0000 (UTC) Received: from mail.lichtvoll.de (luna.lichtvoll.de [194.150.191.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 19D761A702; Sat, 16 Mar 2024 16:12:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.150.191.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710605540; cv=none; b=jfVS68nJ054l0EkbjmFrPokyaxv2nBdO00MHmEptcEAIMXD6VJfOBOiS3NmS6GVxg1znVdq7robl/hUZx+IWvHI3azHvY37Fj4ozB4XN6X6FZmwjM3TANb5XPzu+K5eDpUjGlLX+mTMsD5DHqrdqwIPoFuK5m6ivYcLMo1yToFI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710605540; c=relaxed/simple; bh=g4nGgd5d+n4r1pkNGKScINQzMsotxC1M0q7NSeKpWag=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=TdJY14PhIyFC43Qu3Ewe0ogAnxU7sR5OldM08VkpW6rud74Rd3FzwnIiebcG5V651KBgwaZdeiF8UxARAw1Ukwjm/V0rBvx/slwYGI4oXLBwRRE6l3KrDXvjpIiDbmZ6jpRtovrHvXfwZT2CVn0SAmfYx29rxecZCQ1G6moxo4Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lichtvoll.de; spf=pass smtp.mailfrom=lichtvoll.de; arc=none smtp.client-ip=194.150.191.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lichtvoll.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lichtvoll.de Received: from 127.0.0.1 (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail.lichtvoll.de (Postfix) with ESMTPSA id D3AFE8C23DA; Sat, 16 Mar 2024 17:12:15 +0100 (CET) Authentication-Results: mail.lichtvoll.de; auth=pass smtp.auth=martin smtp.mailfrom=martin@lichtvoll.de From: Martin Steigerwald To: linux-pm@vger.kernel.org, regressions@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [regression] 6.8.1: fails to hibernate with pm_runtime_force_suspend+0x0/0x120 returns -16 Date: Sat, 16 Mar 2024 17:12:15 +0100 Message-ID: <12401263.O9o76ZdvQC@lichtvoll.de> In-Reply-To: <2325246.ElGaqSPkdT@lichtvoll.de> References: <2325246.ElGaqSPkdT@lichtvoll.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Martin Steigerwald - 16.03.24, 17:02:44 CET: > ThinkPad T14 AMD Gen 1 fails to hibernate with self-compiled 6.8.1. > Hibernation works correctly with self-compiled 6.7.9. Apparently 6.8.1 does not even reboot correctly anymore. runit on Devuan. It says it is doing the system reboot but then nothing happens. As for hibernation the kernel cancels the attempt and returns back to user space desktop session. > Trying to use "no_console_suspend" to debug next. Will not do bisect > between major kernel releases on a production machine. Output with "no_console_suspend": [ 82.593360] r8169 0000:05:00.0 en1: Link is Down [ 83.196401] PM: hibernation: hibernation entry [ 83.671489] Filesystems sync: 0.121 seconds [ 83.671977] Freezing user space processes [ 83.674855] Freezing user space processes completed (elapsed 0.002 seconds) [ 83.674879] OOM killer disabled. [ 83.675111] PM: hibernation: Marking nosave pages: [mem 0x00000000-0x00000fff] [ 83.675114] PM: hibernation: Marking nosave pages: [mem 0x0009f000-0x000fffff] [ 83.675117] PM: hibernation: Marking nosave pages: [mem 0x09c00000-0x09d00fff] [ 83.675122] PM: hibernation: Marking nosave pages: [mem 0x09f00000-0x09f0ffff] [ 83.675123] PM: hibernation: Marking nosave pages: [mem 0xa2357000-0xa2357fff] [ 83.675125] PM: hibernation: Marking nosave pages: [mem 0xa2364000-0xa2365fff] [ 83.675126] PM: hibernation: Marking nosave pages: [mem 0xa2373000-0xa2374fff] [ 83.675128] PM: hibernation: Marking nosave pages: [mem 0xa2385000-0xa2385fff] [ 83.675129] PM: hibernation: Marking nosave pages: [mem 0xb9532000-0xb95c2fff] [ 83.675132] PM: hibernation: Marking nosave pages: [mem 0xbd9de000-0xcc3fdfff] [ 83.675620] PM: hibernation: Marking nosave pages: [mem 0xce000000-0xffffffff] [ 83.676393] PM: hibernation: Basic memory bitmaps created [ 83.681188] PM: hibernation: Preallocating image memory [ 85.599072] PM: hibernation: Allocated 2043901 pages for snapshot [ 85.599105] PM: hibernation: Allocated 8175604 kbytes in 1.91 seconds (4280.42 MB/s) [ 85.599125] Freezing remaining freezable tasks [ 85.600726] Freezing remaining freezable tasks completed (elapsed 0.001 seconds) [ 85.611679] port 0000:02:00.1:0.0: PM: dpm_run_callback(): pm_runtime_force_suspend+0x0/0x120 returns -16 [ 85.611709] port 0000:02:00.1:0.0: PM: failed to freeze: error -16 [ 86.303477] PM: hibernation: Basic memory bitmaps freed [ 86.304003] OOM killer enabled. [ 86.304582] Restarting tasks ... done. [ 86.307452] thermal thermal_zone0: failed to read out thermal zone (-61) [ 86.307507] PM: hibernation: hibernation exit [ 86.331566] Generic FE-GE Realtek PHY r8169-0-200:00: attached PHY driver (mii_bus:phy_addr=r8169-0-200:00, irq=MAC) [ 86.932558] r8169 0000:02:00.0 en0: rtl_ep_ocp_read_cond == 0 (loop: 30, delay: 10000). [ 87.004862] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4694] [ 87.038125] r8169 0000:02:00.0 en0: Link is Down [ 87.043559] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1162..] [ 87.067568] Generic FE-GE Realtek PHY r8169-0-500:00: attached PHY driver (mii_bus:phy_addr=r8169-0-500:00, irq=MAC) [ 87.204101] r8169 0000:05:00.0 en1: Link is Down [ 90.639039] r8169 0000:05:00.0 en1: Link is Up - 1Gbps/Full - flow control rx/tx Downgrading to 6.7. Thanks. -- Martin