On Tue, Aug 13, 2024 at 08:33:05PM -0700, Greg Steuck wrote: > "Theo de Raadt" <dera...@openbsd.org> writes: > > > Here's more, but some of it is S3 related, or won't matter on your machine. > > > > it would be nice to see printf's in your subr_suspend.c to see where it > > stops > > the next time. > > > > I suspect around wsdisplay_suspend() and wsdisplay_resume(); I've recently > > discovered that the mux aspects are insane. > > I applied the patches below and added a bunch of tracing to > subr_suspend. First zzz: >
... > If I'm reading this right, config_suspend_all doesn't return. > > Not sure which ps flags are useful, so I threw in a few. I don't know > how to turn WCHAN into anything meaningful. ps at this point (display > is off, ssh works): You want to use -O wchan and not -o nwchan. Another option is to use ps alx. > USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND > WCHAN > root 39835 0.0 0.0 0 0 ?? DK 8:05PM 0:00.46 (drmwq) > ffff80000021ce80 > root 89111 0.0 0.0 0 0 ?? DK 8:05PM 0:00.60 (drmwq) > ffff80000021ce80 > root 14653 0.0 0.0 0 0 ?? DK 8:05PM 0:00.54 (drmwq) > ffff80000021ce80 -- :wq Claudio