Stuart Henderson <[email protected]> wrote: > Try building a kernel with most things -current but the zlib update in > the kernel backed out e.g. > > cd /sys > cvs up -PdA > cd /sys/lib/libz > cvs up -D 2021/07/01 > cd /sys/arch/amd64/compile/GENERIC.MP > make obj && make && doas make install
Needed a `make config` between `make obj` and `make`. After that, I got a nice kernel that's able to unhibernate properly. Then, to confirm, I booted /obsd, which is still unable to unhibernate, but fails in a different way: despite detecting an unhibernate, it goes into a normal, cold boot sequence, against the old behaviour of reaching "unpacking image..." and rebooting the laptop. I played it safe: undid the libz rollback, booted the built kernel and unhibernate problems show up again exactly as I first described: as soon as the kernel prints "unpacking image...", the laptop reboots.
