[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#850059: linux-image-4.8.0-2-amd64: After suspend, the power button powers off the laptop instead of resuming



On 2017-01-11 17:40:09 +0000, Ben Hutchings wrote:
> On Wed, 2017-01-11 at 16:20 +0100, Vincent Lefevre wrote:
> > On 2017-01-11 15:09:49 +0000, Ben Hutchings wrote:
> > > Unless you can show that some data had been written *and flushed* to
> > > disk by the application, but was not readable afterward - this does not
> > > count.  Writes are buffered, and user space has to deal with that.
> > 
> > If I understand the journalctl log correctly, the system does
> > a power off without a clean shutdown:
> 
> Sorry, I didn't understand what you were trying to point out in the
> system log.  I had thought that pressing the power button was causing
> an immediate power-off, but you're showing me that it results in a
> resume immediately followed by a software-controlled shutdown.  Right?

Yes, this is what seems to appear from the logs.

> It seems like there are two separate bugs:
> 
> 1. Power button resumes and also generates a power-off input event
> (kernel bug)
> 2. Some writes not flushed to disk during shutdown (probably a kernel
> bug, but systemd could potentially break this)

Bug 850959. Hmm... no shutdown or the journald log is truncated
for the same reason.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: