So, a strange thing happened. In order to mitigate the problem, I
decided to switch to having the computer hibernate instead of suspend (I
outline below the steps I did to do that). And then, on a whim, I tried
suspending again. And it stopped crashing, even after I switched back to
suspend completely. I didn't do any software updates or, as far as I
know, anything else in the interim. So right now, I have my computer set
to suspend and it seems to work fine. I was waiting a few days to see if
the problem reemered but right now, I can't reproduce it at all.
For your edification (and maybe for other people), here were the steps I
followed:
$ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type
'hibernate'
$ gsettings set org.gnome.settings-daemon.plugins.power \
lid-close-ac-action 'hibernate' \
&& gsettings set org.gnome.settings-daemon.plugins.power \
lid-close-battery-action 'hibernate'
- In /etc/systemd/logind.conf, make sure '#HandleLidSwitch=suspend' is
commented out, and add HandleLidSwitch=hibernate
- And then I saved the attached file to
/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
To switch back, I reran the shell commands with 'suspend' instead of
hibernate and then removed the changes to the config files.
** Attachment added: "com.ubuntu.enable-hibernate.pkla.disabled"
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1661741/+attachment/4814420/+files/com.ubuntu.enable-hibernate.pkla.disabled
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1661741
Title:
[Dell Inc. Latitude E5470] suspend/resume failure
Status in linux package in Ubuntu:
Incomplete
Bug description:
To generate the crash:
1) Suspend the system (e.g. choose suspend from the top menu).
2) At any point, unplug the cord (the bug happens if I unplug at any point
after suspend, even if I then replug before I resume)
3) Try to resume (pressing power button). Computer reboots.
What should happen: Regular resume from suspend.
(If I leave the computer plugged in, resume works fine.)
I have performed the tests at
https://wiki.ubuntu.com/DebuggingKernelSuspend and included the
results. Note that the computer never crashes during any of the tests
except when /sys/power/pm_test is 'none'.
This appears the same/similar to #bug #1645758 but I dont't know how
to add to the apport info to that bug instead of filing my own.
ProblemType: KernelOops
DistroRelease: Ubuntu 16.10
Package: linux-image-4.8.0-37-generic 4.8.0-37.39
ProcVersionSignature: Ubuntu 4.8.0-37.39-generic 4.8.16
Uname: Linux 4.8.0-37-generic x86_64
Annotation: This occurred during a previous suspend, and prevented the system
from resuming properly.
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ganc 2892 F.... pulseaudio
Date: Thu Dec 22 07:09:27 2016
DuplicateSignature: suspend/resume:Dell Inc. Latitude E5470:1.11.4
ExecutablePath: /usr/share/apport/apportcheckresume
Failure: suspend/resume
HibernationDevice: RESUME=UUID=a7e5c256-744c-41e6-823b-befb5f5c63f6
InstallationDate: Installed on 2017-01-31 (-39 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
InterpreterPath: /usr/bin/python3.5
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:0a2b Intel Corp.
Bus 001 Device 004: ID 0bda:5686 Realtek Semiconductor Corp.
Bus 001 Device 003: ID 0a5c:5832 Broadcom Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. Latitude E5470
ProcCmdline: /usr/bin/python3 /usr/share/apport/apportcheckresume
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.8.0-37-generic.efi.signed
root=UUID=1eb743a3-00e0-430e-be35-9748390e53f3 ro quiet splash vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No
PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
linux-restricted-modules-4.8.0-37-generic N/A
linux-backports-modules-4.8.0-37-generic N/A
linux-firmware 1.161.1
SourcePackage: linux
Title: [Dell Inc. Latitude E5470] suspend/resume failure
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
dmi.bios.date: 12/22/2016
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.11.4
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias:
dmi:bvnDellInc.:bvr1.11.4:bd12/22/2016:svnDellInc.:pnLatitudeE5470:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E5470
dmi.sys.vendor: Dell Inc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1661741/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp