Re: 14.2-RELEASE kernel hangs on Thinkpad T400

From: H. Hartzer <h_at_hartzer.sh>
Date: Sun, 06 Apr 2025 15:12:28 UTC
> Hi,
>
> Unfortunate situation.
> Does ctrl-t provide any output when it hangs?
> Does booting verbose give more information?
> If you have networking enabled can you still ping it from another machine?
>
> Can you break to the debugger and see what it is doing? (https://docs.freebsd.org/en/books/developers-handbook/kerneldebug/)
> I'm not sure if a serial console is needed for breaking to the debugger.
>
> Regards,
> Ronald.

Hi Ronald,

ctrl+t does not function when it hangs. I've done verbose boot and
there's no extra details.

When it boot hangs, it's pre-network.

If I boot the SSD, it hangs shortly after fsck. But fsck can finish
fully and successfully (UFS with SU.)

If I boot the installer, it hangs before it gets to the ncurses
interface.

In single user mode it will hang a few to several seconds after the
shell prompt. So I'm able to run /bin/sh very briefly or not at all.

I suspect that if ctrl+t doesn't work and there's no messages in
verbose, the debugger won't work?

The only solution is safe mode. Which works well other than another hang
(no network, no video, caps lock, etc) after idling with sway running
for a little while. I assume that is an unrelated issue, but not one I
had with 14.1-RELEASE. It's never hung on me while using it, but hangs
pretty reliably within hours or less of the system being "idle" from
desktop interaction. If I don't have sway running, it appears to not
hang. No messages in /var/log/messages about it.

Thank you for your help!

-Henrich