James Cook <[email protected]> wrote:
> Mike Larkin <[email protected]> wrote:
> > On Fri, Apr 10, 2026 at 04:03:13AM +0000, James Cook wrote:
> > > Mike Larkin <[email protected]> wrote:
> > > > On Wed, Apr 08, 2026 at 06:24:33PM +0000, James Cook wrote:
> > > > > >Synopsis:    7.8 fails to resume after suspend on Lenovo E420s
> > > > > >Category:    amd64
> > > > > >Environment:
> > > > >       System      : OpenBSD 7.8
> > > > >       Details     : OpenBSD 7.8 (GENERIC.MP) #6: Fri Mar 20 10:18:39 
> > > > > MDT 2026
> > > > >                        
> > > > > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > > > >
> > > > >       Architecture: OpenBSD.amd64
> > > > >       Machine     : amd64
> > > > > >Description:
> > > > >       I don't know if it's worth the effort to debug this old laptop, 
> > > > > but
> > > > >       here's a report in case it's helpful.
> > > > >
> > > > >         The computer does not wake from suspend when I open the
> > > > >         lid. Instead, the indicator light (red dot over i in
> > > > >         "Thinkpad" logo) starts flashing with a period of about one
> > > > >         second, and I think I heard the optical drive do something.
> > > > >
> > > > >       I tried once in an X session, leaving it asleep for hours, and 
> > > > > once
> > > > >       in single-user mode, sleeping for a bit more than a minute. 
> > > > > Suspended
> > > > >       by closing lid. Same result both times.
> > > > >
> > > > >         I did not activate rtwn0 (mentioned in my other bug report
> > > > >         about this computer; leads to crashes).
> > > > > >How-To-Repeat:
> > > > >       Close lid. Wait a bit. Open lid. (machdep.lidaction sysctl is 
> > > > > at default
> > > > >       value of 1.)
> > > > > >Fix:
> > > > >       Never sleep.
> > > > >
> > > >
> > > > Can you try this diff and see if it fixes things?
> > > >
> > > > -ml
> > >
> > > No, I get the same result. (Tried in single-user mode.)
> > >
> > > BTW, I had to append whitespace to some of the "-" lines in your
> > > patch before it would apply.
> > >
> > > --
> > > James
> > >
> > 
> > did it ever work at all on a previous version?
> 
> I got started bisecting OpenBSD releases. Results so far:
> 
> 7.6: doesn't work; like with 7.8 and -current
> 
> 6.8 and 7.2: sort-of works. For both, this is the sequence of events:
> - I close the lid, the light starts pulsing slowly.
> - I open the lid, it starts blinking more quickly (like on 7.6,
>   7.8, -current).
> - After a short pause the light pulses slowly again; apparently it
>   fell asleep again.
> - I close and open the lid a second time. Now the computer does
>   wake up. But the text display is messed up: blue kernel messages
>   are mixed with the existing content of the screen, in a strange
>   way. There are some gaps in the blue text where letters are
>   repeated vertically: e.g. in a string of lines that begin with
>   "ugen", most of the "u"s aren't rendered and I instead see the
>   proper content of the console before I put the computer to sleep.
>   I get the impression an algorithm for minimizing updates when
>   text scrolls is involved somehow.
> 
> In all cases I used a fresh install and didn't try X.
> 
> If I find more time I'll keep bisecting, maybe with 7.4, unless I
> get more specific guidance.

7.5 sort-of works, like 6.8 and 7.2. So there was a regression
between 7.5 and 7.6.

-- 
James

Reply via email to