[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-bugs
Subject:    Re: thinkpad x1c9 intel evo hibernation fail
From:       Mike Larkin <mlarkin () nested ! page>
Date:       2021-09-29 16:19:55
Message-ID: YVSSK2LyX2pJiEUp () azathoth ! net
[Download RAW message or body]

On Wed, Sep 29, 2021 at 04:01:27PM +0000, Eric Auge wrote:
> yes, i remember seeing it working, but was it on -current in 6.9,
> since 6.9 was just released.
> IIRC the context, S3 was not working at the time and the inteldrm on
> Iris Xe was experiencing regular freeze, but hibernation worked which
> surprised me, also the BIOS did not have an S3 option yet back then.
> Right after I got it delivered to replace my slowly dying x1c5, I
> think it was around May 2021.
> 
> hth,
> Eric.
> 

Please bisect what commit caused the problem and let us know.

-ml

> On Wed, Sep 29, 2021 at 3:50 PM Mike Larkin <mlarkin@nested.page> wrote:
> > 
> > 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 <mlarkin@nested.page> wrote:
> > > > 
> > > > On Tue, Sep 28, 2021 at 03:59:56PM +0200, eau+obsd@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
> > > > > deraadt@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?
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic