NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-amd64/58344: Machine hangs at end of shutdown -r



> Date: Mon, 17 Jun 2024 10:43:20 +0200
> From: "Hauke Fath (SPG)" <hf%spg.tu-darmstadt.de@localhost>
> 
> On 2024-06-14 14:32, Taylor R Campbell wrote:
> > If you have serial console access, can you enter ddb and get a stack
> > trace when this happens?
> 
> Since I can reproduce the issue at will: Is there any debug option that 
> would give more information about the last seconds before reboot?

Some things you could try:

1. set cpureset_delay to 0 (e.g., enter ddb and `w cpureset_delay 0')
   before attempting reboot, and see if that makes a difference --
   maybe delay() is broken at that point somehow

2. sprinkle printfs into x86_reset in sys/arch/x86/x86/x86_machdep.c
   and acpi_reset in sys/dev/acpi/acpi.c to see exactly what it is
   trying and where it is stopping

3. share `acpidump -dt' output if it's hanging in acpi_reset


Home | Main Index | Thread Index | Old Index