On 2021/07/06 13:08, Lucas wrote: > >Synopsis: Can't unhibernate in -current > >Category: Kernel > >Environment: > System : OpenBSD 6.9 > Details : OpenBSD 6.9-current (GENERIC.MP) #103: Sat Jul 3 > 09:11:45 MDT 2021 > > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 > >Description: > With the -current kernel detailed above, am unable to > successfully unhibernate since Saturday when I fetched it. On "wake up" > it correctly detects that the system hibernated, proceeds to unpack the > image and after a few seconds it reboots. > I also tried performing a reboot after this fake unhibernates > in case that something is still set up weirdly but with no success. I > can try a correct shutdown and cold boot too. > Extra, possible irrelevant info: every now and then this > machine is unable to hibernate with "acpi0: failed to allocate hibernate > memory", so I wouldn't discard something being weird with my hardware. > It's the same laptop as in [0] but I upgraded the RAM since then and it > stopped triggering frequently, but still happens every 6-8 weeks. > > [0]: https://marc.info/?l=openbsd-bugs&m=158622837109003&w=2 > >How-To-Repeat: > Hibernate with /usr/sbin/ZZZ, try to boot again. > >Fix: > No clue. I can try patches tho, and I could try bisecting.
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
