pm-utils - reboot instead of resume from suspend after 2.6.34 because NVS saving

Bug #648832 reported by Vladimir Hidalgo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
acpi
New
Undecided
Unassigned
pm-utils
Fix Released
Unknown
pm-utils (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: pm-utils

Fresh 10.04 install does suspend on this VAIO VPCEB15EL, after an upgrade to 10.10 suspend works no more.

Laptop does suspend, but reboots when I try to wake it up, losing anything I was working on.

Now I can't close the lid without shutting it down first!

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: pm-utils 1.4.1-3
Uname: Linux 2.6.35-020635-generic i686
Architecture: i386
Date: Mon Sep 27 06:45:27 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100224.1)
PackageArchitecture: all
ProcEnviron:
 LANG=es_SV.UTF-8
 SHELL=/bin/bash
SourcePackage: pm-utils

Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :
Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :

Looks like i'm not alone:
https://bbs.archlinux.org/viewtopic.php?pid=832408
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561877

Tried the pm-suspend --quirk-s3-mode but laptop still restarts after resume.

Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :

pm-suspend.log

Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :

Curiosity: if I switch to TTY1 with Ctrl+Alt+F1 and close the lid, lid turn off, and the laptop can wake up sucessfully

I don't know if it's not doing full suspend hence avoiding the error :\

Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :

Installed Kernel: Linux 2.6.34-020634-generic #020634 SMP Mon May 17 20:34:55 UTC 2010

Suspend does work.

I'll attach suspend log for 2.6.34 and 2.6.35

Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :
Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :
Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :

I don't mind using 2.6.34 ('cause it works better than 2.6.35 for me anyway, compat-wireless is broken with 2.6.35) but I think it's going to break suspend on more laptop models than my VAIO VPCEB15EL.

Please review this bug!

Changed in pm-utils:
status: Unknown → New
Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :

It's any way I can make pm-utils more verbose?

Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :

Just updated to Natty today and this is fixed.

Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :

My previous comment was wrong, this is still a bug in 2.6.38 kernel.

I think this is critical because: if a person closes the laptop lid then laptop won't enter stand-by mode, thus getting really hot and a non techie person would not notice this, probably burning his laptop.

Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :

BTW last working kernel was:
Linux protecsal 2.6.34-020634-generic #020634 SMP Mon May 17 20:34:55 UTC 2010 i686 i686 i386 GNU/Linux

Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :

Finally, took me almost 1 year, but Arch developers found it.
https://wiki.archlinux.org/index.php/Pm-utils#Reboot_instead_of_resume_from_suspend

[quote]
Reboot instead of resume from suspend

This problem started when saving NVS area during suspend was introduced (in 2.6.35-rc4) (mailing list post). However, it is known that this mechanism does not work on all machines, so the kernel developers allow the user to disable it with the help of the acpi_sleep=nonvs kernel command line option. This option could be pass to the kernel through GRUB options by editing the file /boot/grub/menu.lst (GRUB 0.97) on the kernel line.
Resume from suspend shuts down instead of wake up

On an Acer Aspire AS3810TG, resuming from suspend shuts down the computer instead of waking it up. If you experience a similar issue, try passing the parameter i8042.reset=1 to your kernel. In GRUB, the line in /boot/grub/menu.lst should be something like this:

kernel /vmlinuz26 root=/dev/vg00/root resume=/dev/vg00/swap i8042.reset=1 ro

Although I have not tested this, you could also set this parameter live without having to restart by doing:

# sysctl -e -w i8042.reset=1
[/quote]

It works like a charm and I can finally use newer Kernel than 2.6.34

On Ubuntu 11.10 you need to edit /etc/default/grub and change this line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_sleep=nonvs"

And then refresh grub2:

sudo update-grub2

This may affect all VAIO Serie E and other similar devices.

summary: - pm-utils fails to suspend VAIO VPCEB15EL
+ pm-utils - reboot instead of resume from suspend after 2.6.34 because
+ NVS saving
Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :

Maybe CONFIG_SONY_LAPT (sony-laptop driver) may turn this off?

Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :

Keng-Yu Lin, sorry for adding you to this bug, but I saw this in Kernel changes:

Keng-Yu Lin (1):
      ACPI / PM: Do not save/restore NVS on Asus K54C/K54HR

I hope you could do the same for this VAIO model.

Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :

I've just installed daily 11.04 x86_64 from ISO image (downloaded today) and still needs the "acpi_sleep=nonvs" hack.

This is a fairly common laptop (because it's cheap) so there's potentially a lot of users of ubuntu who can't suspend/hibernate by default, it took me to solve it from 2010-09-27 to 2012-01-08 acording this bug report.

1 Year and a half has passed since reported and seems nobody cares, it's not I'm demanding anybody to fix it as I'm not paying anyone to do it, but this make bug reporting an useless tool, I've been reporting bugs in the past, but seems nobody really cares about it, so from now on I will just fix what is wrong without "bug reporting it".

Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :

Raring Ringtail: bug still present.

Kernel: 3.8.0-2-generic #6-Ubuntu SMP Fri Jan 25 22:03:57 UTC 2013 x86_64

Changed in pm-utils:
status: New → Fix Released
Revision history for this message
James Page (james-page) wrote :

Fixed in version pm-utils/1.4.1-10

Changed in pm-utils (Ubuntu):
status: New → Fix Released
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.