Re: T60 poweroff command hang at halting Hurd...

2024-11-10 Thread Zhaoming Luo
On 11/11/24 10:22 AM, Damien Zammit via Bug reports for the GNU Hurd wrote: Please read the mailing list. I just fixed this bug and it was merged. My bad. I saw the patch but I supposed the patch fixing that issue should be related to ACPICA. Thank you for the fix! My current hurd version is 2

Re: T60 poweroff command hang at halting Hurd...

2024-11-10 Thread Damien Zammit via Bug reports for the GNU Hurd
Please read the mailing list. I just fixed this bug and it was merged. Thanks, Damien Sent from Proton Mail mobile Original Message On 11 Nov 2024, 1:13 pm, Zhaoming Luo < zhming...@163.com> wrote: On 11/10/24 11:29 PM, jbra...@dismail.de wrote: > November 9, 2024 at 10:10 PM,

Re: T60 poweroff command hang at halting Hurd...

2024-11-10 Thread Zhaoming Luo
On 11/10/24 11:29 PM, jbra...@dismail.de wrote: November 9, 2024 at 10:10 PM, "Almudena Garcia" mailto:liberamenso10...@gmail.com?to=%22Almudena%20Garcia%22%20%3Cliberamenso1%40gmail.com%3E > wrote: Yes, I detected this problem some time ago. The halt command doesn't shutdown the mac

Re: T60 poweroff command hang at halting Hurd...

2024-11-10 Thread Zhaoming Luo
On 11/10/24 11:10 AM, Almudena Garcia wrote: Yes, I detected this problem some time ago. The halt command doesn't shutdown the machine. Instead, keep it in a suspension-like status, in which the machine is "sleep", but doesn't turn off. Damien told me some years ago that the problem is related w

Re: [RFC PATCH] Adding RTC device (work in progress)

2024-11-10 Thread jbranso
November 7, 2024 at 7:25 PM, "Zhaoming Luo" mailto:zhaoming1...@qq.com?to=%22Zhaoming%20Luo%22%20%3Czhaoming1357%40qq.com%3E > wrote: > > On 11/7/24 9:42 PM, Sergey Bugaev wrote: > > > > > Was the explanation clear enough / do you have follow-up questions? > > > Yeah it's clear and I haven'

Re: T60 poweroff command hang at halting Hurd...

2024-11-10 Thread jbranso
November 9, 2024 at 10:10 PM, "Almudena Garcia" mailto:liberamenso10...@gmail.com?to=%22Almudena%20Garcia%22%20%3Cliberamenso1%40gmail.com%3E > wrote: > > Yes, I detected this problem some time ago. The halt command doesn't shutdown > the machine. Instead, keep it in a suspension-like sta

Re: [PATCH 0/2 hurd] Fix shutdown mechanism via ACPI

2024-11-10 Thread Samuel Thibault
Applied, thanks! Damien Zammit via Bug reports for the GNU Hurd, le dim. 10 nov. 2024 08:41:56 +, a ecrit: > Hi, > > This addresses the bug that shutdown does not work correctly since ACPI server > was introduced: > > Firstly, the acpi server needs to not exit when notified of shutdown, so

[PATCH 0/2 hurd] Fix shutdown mechanism via ACPI

2024-11-10 Thread Damien Zammit via Bug reports for the GNU Hurd
Hi, This addresses the bug that shutdown does not work correctly since ACPI server was introduced: Firstly, the acpi server needs to not exit when notified of shutdown, so that it can serve the S_acpi_sleep() RPC to halt the machine. Second, a workaround for netfs not running on libmachdev path;

[PATCH 2/2 hurd] shutdown: Try mach device acpi before /servers/acpi

2024-11-10 Thread Damien Zammit via Bug reports for the GNU Hurd
Since libmachdev cannot currently serve netfs as well as trivfs on a path, we need to allow connecting to the bootstrapped acpi server to shut down the machine. --- shutdown/shutdown.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/shutdown/shutdown.c b

[PATCH 1/2 hurd] acpi, libmachdev: Add _forever variant of trivfs server loop

2024-11-10 Thread Damien Zammit via Bug reports for the GNU Hurd
The acpi server needs to survive after the shutdown notification, so it can serve S_acpi_sleep() RPC to actually shut down the machine. Therefore we need to keep the server alive and not respond to the trivfs goaway request. --- acpi/main.c| 4 ++-- libmachdev/machdev.h | 1