[LENOVO ThinkServer TS140] hibernate/resume failure

Bug #1443762 reported by Dan Kegel
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

I tried pm-hibernate, and turned the computer back on after it shut down. My apps weren't there after startup.

ProblemType: KernelOops
DistroRelease: Ubuntu 15.04
Package: linux-image-3.19.0-12-generic 3.19.0-12.12
ProcVersionSignature: Ubuntu 3.19.0-12.12-generic 3.19.3
Uname: Linux 3.19.0-12-generic x86_64
Annotation: This occured during a previous hibernate and prevented it from resuming properly.
ApportVersion: 2.17-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: lightdm 1292 F.... pulseaudio
                      dank 1942 F.... pulseaudio
 /dev/snd/controlC0: lightdm 1292 F.... pulseaudio
                      dank 1942 F.... pulseaudio
Date: Mon Apr 13 22:28:14 2015
DuplicateSignature: hibernate/resume:LENOVO ThinkServer TS140:FBKT92AUS
ExecutablePath: /usr/share/apport/apportcheckresume
Failure: hibernate/resume
HibernationDevice: RESUME=UUID=164b5c15-46f8-47a4-bd48-62047c851e37
InstallationDate: Installed on 2015-04-04 (9 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150326)
InterpreterPath: /usr/bin/python3.4
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
MachineType: LENOVO ThinkServer TS140
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-3.19.0-12-generic root=UUID=ddf8fcf8-5870-4a32-afc2-b54de9d66128 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-3.19.0-12-generic N/A
 linux-backports-modules-3.19.0-12-generic N/A
 linux-firmware 1.143
RfKill:

SourcePackage: linux
Title: [LENOVO ThinkServer TS140] hibernate/resume failure
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

dmi.bios.date: 07/22/2014
dmi.bios.vendor: LENOVO
dmi.bios.version: FBKT92AUS
dmi.board.name: ThinkServer TS140
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.type: 3
dmi.chassis.vendor: LENOVO
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnLENOVO:bvrFBKT92AUS:bd07/22/2014:svnLENOVO:pnThinkServerTS140:pvr70A4000HUX:rvnLENOVO:rnThinkServerTS140:rvrNotDefined:cvnLENOVO:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: ThinkServer TS140
dmi.product.version: 70A4000HUX
dmi.sys.vendor: LENOVO

Revision history for this message
Dan Kegel (dank) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
penalvch (penalvch)
tags: added: bios-outdated-99a
Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Dan Kegel (dank) wrote :

I updated the BIOS as described. No change -- it still fails to resume from hibernate; I get a fresh boot and an apport problem report prompt as before.

sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
now outputs
FBKT99AUS
09/19/2014

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
tags: added: latest-bios-99a
removed: bios-outdated-99a
Changed in linux (Ubuntu):
importance: Low → Medium
status: Confirmed → Incomplete
Revision history for this message
Dan Kegel (dank) wrote :

Installed
linux-headers-4.0.0-040000_4.0.0-040000.201504121935_all.deb
linux-headers-4.0.0-040000-generic_4.0.0-040000.201504121935_amd64.deb
linux-image-4.0.0-040000-generic_4.0.0-040000.201504121935_amd64.deb
uname -a reports
Linux library 4.0.0-040000-generic #201504121935 SMP Sun Apr 12 23:36:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Problem still present; started xclock, then ran 'pm-hibernate'. When system shut down, pressed power button.
When system came up, logged in as usual. No xclock.

tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-4.0
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Dan Kegel (dank) wrote :

"Please advise on how you suspended, and resumed specifically. "
- Executing at a terminal pm-hibernate

"While booted into the latest non-daily mainline kernel, please attach to your report:
cat /proc/acpi/wakeup > wakeup"
- Attached

"While booted into the latest non-daily mainline kernel, please attach to your report the resume trace mentioned below."

sudo sh -c "sync && echo 1 > /sys/power/pm_trace && pm--hibernate"
power up, log in, notice system did not resume from hibernate but rather did a fresh boot?
dmesg > dmesg.txt

Revision history for this message
Dan Kegel (dank) wrote :
Revision history for this message
Dan Kegel (dank) wrote :

I have not tested on this computer with a release prior to Vivid, but in general, I have never found hibernate or suspend to be useful or stable on any computer I've tested with any version of Ubuntu. Windows 7 does suspend ok on the two similar computers I've tested it on.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Dan Kegel (dank) wrote :

Since this is a hibernate failure, adding info from https://wiki.ubuntu.com/DebuggingKernelHibernate

dank@library:~$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.0.0-040000-generic root=UUID=ddf8fcf8-5870-4a32-afc2-b54de9d66128 ro quiet splash vt.handoff=7
dank@library:~$ cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=164b5c15-46f8-47a4-bd48-62047c851e37
dank@library:~$ cat /sys/power/pm_test
[none] core processors platform devices freezer
dank@library:~$ cat /sys/power/disk
[shutdown] reboot suspend

More soon.

Revision history for this message
Dan Kegel (dank) wrote :

Tried this:

echo core > /sys/power/pm_test
echo reboot > /sys/power/disk
echo disk > /sys/power/state
dmesg > /tmp/dmesg-core-reboot.txt

Result attached.

Revision history for this message
Dan Kegel (dank) wrote :
Revision history for this message
penalvch (penalvch) wrote :

Dan Kegel, just to clarify, does the machine allow you to suspend (not hibernate)?

Also, for regression testing purposes, could you please test 14.04.1 (not 14.04.2+) and advise to the results?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Dan Kegel (dank) wrote :

The Thinkserver TS140 by design does not support suspend. Should still support hibernate, though.

I'll try 14.04.1.

Revision history for this message
Dan Kegel (dank) wrote :

14.04.1 hibernates and resumes like a champ on this machine. On first try, it resumed a hibernated session with two terminals, an xclock, firefox, and amoeba. Did not test resume of wireless, but wired ethernet was fine.

So this appears to be a regression in ubuntu 15.04 beta 2 relative to 14.04.1. w00t!

(To test 14.04.1, I let it install side-by-side on my 2nd disk.
15.04 is installed on my 1st disk, an ssd.
When resuming from hibernate, one goes through the grub prompt first evidently, but no other surprises.
This machine uses the i3's built-in intel graphics with default drivers.)

tags: added: regression-proposed
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Dan Kegel, the next step is to fully commit bisect from kernel 3.13 to 3.19 in order to identify the last good kernel commit, followed immediately by the first bad one. This will allow for a more expedited analysis of the root cause of your issue. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection ?

Please note, finding adjacent kernel versions is not fully commit bisecting.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

tags: added: needs-bisect regression-release
removed: regression-proposed
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Dan Kegel (dank) wrote :

Tested kernel 4.0 on 14.04.1. Hibernated fine. Thus problem not in kernel.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
tags: added: needs-reassignment
Revision history for this message
Akeem McLennon (akeem-f) wrote :

Hibernate and suspend are intentionally disabled on a hardware / BIOS level for the ThinkServer TS140.

I ended up getting around this by installing uswsusp to emulate hibernation using the swapfile.

See https://support.lenovo.com/us/en/documents/ht079445 and https://help.ubuntu.com/community/PowerManagement/Hibernate 

Revision history for this message
Dan Kegel (dank) wrote :

Hibernate worked fine on this computer with ubuntu 14.04.
I agree suspend is intentionally disabled by hardware/BIOS.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.