Bug#939558: System powers off or crashes when asking "suspend to ram" via GUI

2019-09-06 Thread Mattia Rizzolo
Control: reassign -1 src:linux 5.2.9-2
Control: severity -1 serious

Hi,

On Fri, Sep 06, 2019 at 09:56:36AM +, Pavel Emelianov wrote:
> Package: linux-image
> Version: 4.19.0-5-amd64

I'm also affected by this.
In particular, 5.2.9-2 and 5.3~rc5-1~exp2 showed this issue, I didn't
try 5.2.9-1.
Reverting to 5.2.0-2 everything works alright.

> When I suspend my Lenovo x240 laptop via xfce UI, the screen goes dark as if 
> it
> goes to sleep, but the power button LED doesn't start to "blink" as it 
> normally does,
> it just turns of. If I close and open the lid to wake it up, it doesn't. 
> Pressing
> the power button (a short press, which ... shouldn't power down it) turns on 
> the
> laptop and the normal boot process starts.

At least here, the same also happens with `shutdown -h now` and
`systemctl suspend`, it just stalls at the end of the shutdown/suspend
routine without actually shutting down and suspending the computer.
In my case, this is a Lenovo X1 Carbon 4th gen.

> Here's what I have in /var/log/messages around that time:
> Sep  6 00:51:44 xemulnb NetworkManager[660]:   [1567720304.3207] 
> manager: sleep: sleep requested (sleeping: no  enabled: yes)
> Sep  6 00:51:44 xemulnb NetworkManager[660]:   [1567720304.3209] 
> manager: NetworkManager state is now ASLEEP
> ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
> ^@^@^@^@^@Sep  6 10:48:50 xemulnb kernel: [0.00] Linux version 
> 4.19.0-5-amd64 (debian-ker...@lists.debian.org) (gcc version 8.3.0 (Debian 
> 8.3.0-6)) #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08)

Here I have something similar, i.e. nothing interesting at all.  But I
don't see those ^@ (that I assume are some kind of file corruption, most
likely due to the file system not being cleaning umounted).

> Here's the /var/log/syslog contents:
> Sep  6 00:51:44 xemulnb NetworkManager[660]:   [1567720304.3207] 
> manager: sleep: sleep requested (sleeping: no  enabled: yes)
> Sep  6 00:51:44 xemulnb NetworkManager[660]:   [1567720304.3209] 
> manager: NetworkManager state is now ASLEEP
> Sep  6 00:51:44 xemulnb systemd[1]: Reached target Sleep.
> Sep  6 00:51:44 xemulnb systemd[1]: Starting Suspend...

FTR, likewise I also get something like that as well, also for shutdown
(i.e. "Reached target Shutdown" for systemd, etc).

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Bug#939558: System powers off or crashes when asking "suspend to ram" via GUI

2019-09-06 Thread Pavel Emelianov
Package: linux-image
Version: 4.19.0-5-amd64

When I suspend my Lenovo x240 laptop via xfce UI, the screen goes dark as if it
goes to sleep, but the power button LED doesn't start to "blink" as it normally 
does,
it just turns of. If I close and open the lid to wake it up, it doesn't. 
Pressing
the power button (a short press, which ... shouldn't power down it) turns on the
laptop and the normal boot process starts.



Here's what I have in /var/log/messages around that time:
Sep  6 00:51:44 xemulnb NetworkManager[660]:   [1567720304.3207] manager: 
sleep: sleep requested (sleeping: no  enabled: yes)
Sep  6 00:51:44 xemulnb NetworkManager[660]:   [1567720304.3209] manager: 
NetworkManager state is now ASLEEP
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@Sep  6 10:48:50 xemulnb kernel: [0.00] Linux version 
4.19.0-5-amd64 (debian-ker...@lists.debian.org) (gcc version 8.3.0 (Debian 
8.3.0-6)) #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08)
Sep  6 10:48:50 xemulnb kernel: [0.00] Command line: 
BOOT_IMAGE=/vmlinuz-4.19.0-5-amd64 root=/dev/mapper/xemulnb--vg-root ro quiet

Here's the /var/log/syslog contents:
Sep  6 00:51:44 xemulnb NetworkManager[660]:   [1567720304.3207] manager: 
sleep: sleep requested (sleeping: no  enabled: yes)
Sep  6 00:51:44 xemulnb NetworkManager[660]:   [1567720304.3209] manager: 
NetworkManager state is now ASLEEP
Sep  6 00:51:44 xemulnb systemd[1]: Reached target Sleep.
Sep  6 00:51:44 xemulnb systemd[1]: Starting Suspend...
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@Sep  6 10:48:50 xemulnb kernel: [0.00] Linux version 
4.19.0-5-amd64 (debian-ker...@lists.debian.org) (gcc version 8.3.0 (Debian 
8.3.0-6)) #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08)

-- Pavel