Solved, sorry for the noise. 
A problem existed between keyboard and chair. 

Details on what *not to do* are below...

[email protected] (Sebastien Marie), 2020.06.14 (Sun) 14:23 (CEST):
> On Sun, Jun 14, 2020 at 12:45:46PM +0200, Marcus MERIGHI wrote:
> > Short summary, ahead of the report:
> > 
> > Pcengines APU2, with carp on vlan on aggr, running 
> > pf,dhcpd,ipsec,npppd,nsd,ntpd,relayd,sasync,unbound.
> > 
> > I've seen it hang multiple times. 
> > 
> > >Description:
> >     apu2 hangs in ddb> upon reboot
> 
> [...]
> 
> > ddb{0}> bt
> > db_enter() at db_enter+0x10
> > comintr(ffff8000000cc000) at comintr+0x2af
> > intr_handler(ffff8000225a01e0,ffff800000091080) at intr_handler+0x6e
> > Xintr_ioapic_edge4_untramp() at Xintr_ioapic_edge4_untramp+0x19f
> > cpu_idle_mwait_cycle() at cpu_idle_mwait_cycle+0x61
> > end trace frame: 0x0, count: -5
> 
> Just a guest from your backtrace. I assume you have cable plugged on
> serial, and your system is configured with db.console=1.

Both true!

> Your system seems to detect a BREAK on the serial, and enter on ddb(4).

Is it the "comintr()" line that shows this? (just trying to learn)

The APU2 and the machine that the serial line is connected to, both
reboot at the same time! (after e.g. syspatch/pkg_add -u)

I suppose the BREAK is sent during shutdown of the other machine.

> Thanks.

No, thank *you* for some incredible remote debugging!

Marcus

Reply via email to