On Wed, Sep 29, 2021 at 03:16:41PM +0000, Eric Auge wrote:
> Hello Mike,
>
> inlined.
>
> On Tue, Sep 28, 2021 at 7:21 PM Mike Larkin <mlar...@nested.page> wrote:
> >
> > On Tue, Sep 28, 2021 at 03:59:56PM +0200, eau+o...@unix4fun.net wrote:
> > > >Synopsis:    ZZZ, hibernate fails
> > > >Category:    OS / kernel
> > > >Environment:
> > >       System      : OpenBSD 7.0
> > >       Details     : OpenBSD 7.0 (GENERIC.MP) #231: Mon Sep 27 17:23:17 
> > > MDT 2021
> > >                        
> > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > >
> > >       Architecture: OpenBSD.amd64
> > >       Machine     : amd64
> > > >Description:
> > >
> > > trying to hibernate using ZZZ ends up with : /bsd: acpi0: 
> > > hibernate_suspend failed
> > > attempting a second time lead to a system black out / freeze with the 
> > > suspend leds blinking rapidly like (on-going).
> > >
> > > I have tried and logged the same behaviour with a kernel compiled with 
> > > ACPI_DEBUG.. but it seems to have dropped it..:
> > > Sep 28 14:59:40 calcifer apmd: system hibernating
> > > Sep 28 14:59:40 calcifer apmd: battery status: high. external power 
> > > status: connected. estimated battery life 96%
> > > Sep 28 14:59:41 calcifer /bsd: EVALNODE: \\_SI_._SST 194f75
> > > Sep 28 14:59:41 calcifer /bsd: EVALNODE: \\_SI_._SST 194f75
> > > ... some ACPI_DEBUG messages...
> > > Sep 28 14:59:42 calcifer /bsd: ugen1 detached
> > > Sep 28 14:59:43 calcifer /bsd: ugen2 detached
> > > Sep 28 14:59:44 calcifer /bsd: uhub1 detached
> > > Sep 28 15:00:16 calcifer /bsd: klog: dropped 65035 bytes, message buffer 
> > > full
> > > Sep 28 15:00:16 calcifer /bsd: k: 17032 [LNot] alloc return integer = 
> > > 0xffffffffffffffff
> > > Sep 28 15:00:16 calcifer /bsd: parse-if @ 17030
> > > Sep 28 15:00:16 calcifer /bsd: parsename: \\VIGD 5
> > > Sep 28 15:00:16 calcifer /bsd:   read 00 939b8dc1 0001 [\\MNVS]
> > > ... a lot more ACPI_DEBUG kernel messages ...
> > >
> > > logs are available if necessary, using sendbug(1) to report now.
> > >
> > > >How-To-Repeat:
> >>
> > > latest -current and call for hibernation using 'ZZZ' command.
> > >
> > > >Fix:
> > >
> > > no idea (trying to understand for now).
> > >
> > >
> >
> > Nothing special in this machine that would stop hibernate. Try ZZZ right
> > after boot (eg, cold boot, login, then ZZZ).
>
> Not that I know, what could stop a resume? I have no devices plugged,
> just the laptop itself.
> I tried mainly on cold boot (to avoid very long fsck if I have my
> whole session running for hours) as it fails all the time.
>
> The regular S3 suspend/resume seems to work fine for a few weeks on -current.
>
> >
> > If that works, the suspend likely failed because your memory was fragmented
> > before ZZZ.
> >
> > It's also possible this was caused by not having enough swap. What is your
> > 'b' partition sized to?
>
> b: 32.0G 3839888384 swap # none
>
> Let me know if I you know anything else.
>
> hth,
> Eric.
>
> > -ml
>

Did it work before, on an older release?

Reply via email to