On 11/2/25 20:24, Stuart Longland VK4MSL wrote:
Hi all,

I have a PC Engines APU3 running OpenBSD 7.6 which seems to have had a process run away, to the point that `sshd` is not accepting connections and serial console accepts a username at the `login:` prompt then hangs.

Obviously with the machine in this condition, it is not possible to provide a `dmesg` because I can't log in right now to issue that command.

On Linux, it's possible to trigger a remote reboot using BREAK-b.

Is this possible on OpenBSD?

Seems this is done via `ddb`; with `BREAK` triggering `ddb` and a `reboot` command doing what I'm after.

https://man.openbsd.org/ddb

It may be invoked from the console when the sysctl ddb.console is set to 1, 
using any of the following methods:

    Using the key sequence Ctrl-Alt-Esc.
    Sending a BREAK when using a serial console.
    Writing to the sysctl ddb.trigger.
    For i386 and amd64 architectures, using the key sequence Ctrl-Alt-Delete 
when the sysctl machdep.kbdreset is set to 2.

I'm guessing it's not working because `ddb.console` is not set to 1 by default (likely for security reasons).

Might see if I can get someone on site to yank the power for a few seconds.
--
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.

Reply via email to