From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay.yourmailgateway.de (relay.yourmailgateway.de [194.59.206.189]) (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 6F6D1288C08 for ; Mon, 20 Apr 2026 06:55:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.59.206.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776668112; cv=none; b=sSUJepunKbnb3YHr7yW/w8+iYUpdC1kzAaepK5vI8LethglIMojPz+/Hoj1ScBZCQIIgHC8+1UUGoIdO75s+49oTL5oEL3JfRStntgnqoobHw89xLL6ImxztR98ITkZgbNn0WOGbdUjLQHB9R9Wx/c8eqN397IaVdTNwV7XPJlw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776668112; c=relaxed/simple; bh=QksXSEtWj/aqlOiYUoLYSYKE/b9f98zhmw8Bkq2GjP0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nexGjCH0giDg8+mMnCOszyJBpH9dSYzkU3hGO34uVhgzVVbJsJ02qisrXjZkofwniBSA0utVu+b0eJocL9VGVJLF76/TWmSVD6uHixzEDC7T+ZwQS0A04PRxH16xX8YN+YeOSSIsjewgTemUtA3oP4hxrM3G86W6r2lCpOG3GiI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info; spf=pass smtp.mailfrom=leemhuis.info; dkim=pass (2048-bit key) header.d=leemhuis.info header.i=@leemhuis.info header.b=SvddeVIQ; arc=none smtp.client-ip=194.59.206.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=leemhuis.info Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=leemhuis.info header.i=@leemhuis.info header.b="SvddeVIQ" Received: from relay02-mors.netcup.net (localhost [127.0.0.1]) by relay02-mors.netcup.net (Postfix) with ESMTPS id 4fzbpF4kz2z48fK; Mon, 20 Apr 2026 08:55:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=leemhuis.info; s=key2; t=1776668101; bh=QksXSEtWj/aqlOiYUoLYSYKE/b9f98zhmw8Bkq2GjP0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=SvddeVIQfuEAXKxiAaLVhBqTqhQsh4X7LNRulnnJkXzh+CQwxkI9cb5BL1Ss16N/n Q2r0pvoqQQ3Tjg4gLwMwv6DpDeLbDl/M87GyvriMTaGjoiNQdCHeYjnaqOapS9PLQW RqOthlRbYSlVUbN0E5L2YvNl2M2Iuzmd9MyPGoUNlCTJ1QvwlE/DjGmjJXg92roTm5 BCsJDs1GsU5X4Jw7r47zV1ZXNLMbR82/cVxBIaMSEi8pNxKgjiIOV19PZg3OT4yjru b2aPbMJrqWgxovAhjH/sv+l2Alb2ChP9vX0+nPVQHl2V1jfQ1MJVI4KjwYYo6bH2im l0l8R2nZFKVpw== Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by relay02-mors.netcup.net (Postfix) with ESMTPS id 4fzbpF42nXz7wjJ; Mon, 20 Apr 2026 08:55:01 +0200 (CEST) Received: from mxe9fb.netcup.net (unknown [10.243.12.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4fzbpD660qz8sZg; Mon, 20 Apr 2026 08:55:00 +0200 (CEST) Received: from [IPV6:2a02:8108:8984:1d00:a0cf:1912:4be:477f] (unknown [IPv6:2a02:8108:8984:1d00:a0cf:1912:4be:477f]) by mxe9fb.netcup.net (Postfix) with ESMTPSA id 13B4E635C4; Mon, 20 Apr 2026 08:55:00 +0200 (CEST) Authentication-Results: mxe9fb; spf=pass (sender IP is 2a02:8108:8984:1d00:a0cf:1912:4be:477f) smtp.mailfrom=regressions@leemhuis.info smtp.helo=[IPV6:2a02:8108:8984:1d00:a0cf:1912:4be:477f] Received-SPF: pass (mxe9fb: connection is authenticated) Message-ID: Date: Mon, 20 Apr 2026 08:54:58 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Pressing the power button causes the device to freeze completely To: "Sagatov, Evgeniy" Cc: "Rafael J. Wysocki" , "regressions@lists.linux.dev" , LKML , Michal Wilczynski References: <26521776666243@mail.yandex.ru> From: Thorsten Leemhuis Content-Language: de-DE, en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-PPP-Message-ID: <177666810036.3331542.10164091241133765747@mxe9fb.netcup.net> X-NC-CID: WhuB8YLoSje+NKsxhK36REm6pNLkySTgDvRz8qO2bolbo7suSOQ= On 4/20/26 08:41, Sagatov, Evgeniy wrote: > Hello Thorsten, > > Thanks for the detailed manual! > > I determined that the problem started between versions 6.7.12 and 6.8-rc1. Then I ran a 'git bisect' according to the manual. > > Result: > b0d326da462e20285236e11e4cbc32085de9f363 is the first bad commit > commit b0d326da462e20285236e11e4cbc32085de9f363 > Merge: 8c94ccc7cd69 e37617c8e53a > Author: Linus Torvalds > Date: Thu Jan 18 11:57:33 2024 -0800 > > Merge tag 'sched-urgent-2024-01-18' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip This is a merge commit. This might be right, but often it is not. Can you please retest commits 8c94ccc7cd691472461448f98e2372c75849406c, e37617c8e53a1f7fcba6d5e1041f4fd8a2425c27 and b0d326da462e20285236e11e4cbc32085de9f363 just to be sure and then share your results? tia! Ciao Thorsten > Pull scheduler fix from Ingo Molnar: > "Fix a cpufreq related performance regression on certain systems, where > the CPU would remain at the lowest frequency, degrading performance > substantially" > > * tag 'sched-urgent-2024-01-18' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: > sched/fair: Fix frequency selection for non-invariant case > > kernel/sched/cpufreq_schedutil.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > ---- > Sincerely, Evgeny Sagatov > >  ---------------- > 16.04.2026, 20:35, Thorsten Leemhuis (mailto:regressions@leemhuis.info): > To: Evgeny Sagatov (mailto:sagatov@ya.ru), Rafael J. Wysocki (mailto:rafael.j.wysocki@intel.com); > Copy: mailto:regressions@lists.linux.dev, LKML (mailto:linux-kernel@vger.kernel.org), Michal Wilczynski (mailto:michal.wilczynski@intel.com); > Topic: Pressing the power button causes the device to freeze completely; >   > On 4/16/26 19:22, Evgeny Sagatov wrote: >  Could you please try 7.0 as well? >  I compiled 7.0.0 kernel from sources. >  Unfortunately, this kernel also freezes when the power button is pressed. > > Thx for testing. >    >  How did you find that this causes the problem? Did you do a proper >  bisection and thus checked if the parent of that commit really works? >    >  I don't think I did it correctly. >  Because the previous commits didn't shut down the PC or cause it to >  freeze. I think they just weren't working. >    >  I also tried a very simple module tity-power-button. Pressing the power >  button when using this module also causes a full freeze. >  I think the problem lies with the ACPI functionality, but none of kernel >  options helped fix it. >    >  I'm confused. > > Then you likely want to properly bisect the bug. Might be best to do > that on a Debian 12 install (where everything used to be working) by > following this guide: > > https://docs.kernel.org/admin-guide/verify-bugs-and-bisect-regressions.html > > But be warned: the regression is old. Even if the culprit is identified > the usual rules wrt to "no regression" might not apply, as fixing the > regression could cause regressions for other users. > > Ciao, Thorsten >   >  ---------------- >  To: Evgeny Sagatov (mailto:sagatov@ya.ru), Rafael J. Wysocki >  (mailto:rafael.j.wysocki@intel.com); >  Copy: mailto:regressions@lists.linux.dev, LKML (mailto:linux-kernel@vger.kernel.org), >  Michal Wilczynski (mailto:michal.wilczynski@intel.com); >  Topic: Pressing the power button causes the device to freeze completely; >  16.04.2026, 11:23, "Thorsten Leemhuis" : >   >      [removing the stable list, this is not something for them] >   >      On 4/13/26 18:46, Evgeny Sagatov wrote: >   >           I have a PC with a motherboard GA-EP45T-UD3LR (Rev. 1.0)           https://www.gigabyte.com/Motherboard/GA-EP45T-UD3LR-rev-10          https://www.gigabyte.com/Motherboard/GA-EP45T-UD3LR-rev-10>> and >          processor Intel >           Core 2 Quad Q9550. >           Previously, I had Debian 12 with kernel 6.1 installed, and >          pressing the >           power button would shut down the PC as usual. >           I updated to Debian 13 with kernel 6.12.74, and now pressing >          the power >           button causes the PC to freeze completely. >             >           I see that systemd doesn't even begin to shut down. It freezes >           immediately after pressing the button. There's no error message in >           console. There's no error message in the logs either. >          Netconsole doesn't >           report any errors, and the kernel doesn't panic. It just >          freezes completely. >             >           I checked that Live CD with Debian 12 continue to shut down >          normally, >           but Live CD with Debian 13 freeze. >           I tried updating and resetting the BIOS. I tried various kernel >           parameters related to ACPI settings. I also tried kernels 6.18 >          and 6.19. >           Nothing fixed the problem. >   >   >      Could you please try 7.0 as well? It contains a fix for the commit you >      mentioned below. >        >   >             >           If I unload the "button" module, the system doesn't freeze, but >          it also >           doesn't shut down. >           I built "button" module by rolling back its version to commit >          1a20d40 >                     torvalds/linux/> >           commit/1a20d409c874255086e2f42a729826d490294c91>, which >          corresponds to >           kernel version 6.1. This module does not freeze, but does not >          turn off >           the PC either. >             >           I've found that the freezes have been occurring since commit >          0d51157 >                     torvalds/linux/> >           commit/0d51157dfaac05ea66616d8a250dce04bef49a4f>. >   >   >      That is 0d51157dfaac05 ("ACPI: button: Eliminate the driver notify >      callback") [v6.5-rc1] from Rafael. But that is a very old commit; and >      you seem to be switching distro versions and kernel at the same time, >      which could interfere. >   >      How did you find that this causes the problem? Did you do a proper >      bisection and thus checked if the parent of that commit really works? >        >   >           Unfortunately, my skills are not enough to understand the >          reason for the >           freeze. >             >           I'm attaching dmesg and lspci logs. >   >      Ciao, Thorsten >