Report forwarded
to debian-bugs-dist@lists.debian.org, adriano.vilela@yahoo.com, Tim Dijkstra <tim@famdijkstra.org>: Bug#561877; Package pm-utils.
(Sun, 20 Dec 2009 23:21:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Adriano Vilela Barbosa <adriano.vilela@yahoo.com>:
New Bug report received and forwarded. Copy sent to adriano.vilela@yahoo.com, Tim Dijkstra <tim@famdijkstra.org>.
(Sun, 20 Dec 2009 23:21:05 GMT) (full text, mbox, link).
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: pm-utils: Resume from suspend stopped working on Sony Vaio laptop
Date: Sun, 20 Dec 2009 15:18:09 -0800
Package: pm-utils
Version: 1.2.6.1-3
Severity: important
Hello,
Resume from suspend stopped working on my Sony Vaio VGN-NW130D laptop.
Apparently, what caused the problem was an upgrade of the pm-utils
package from version 1.2.6.1-1 to 1.2.6.1-3. After trying all sorts
of things with no success, I decided to uninstall pm-utils and install
uswsusp (which I got from sid, as there's no version currently available
in testing). Using the command s2ram from the uswsusp package, the machine
suspends/resumes with no problems. I would like to downgrade pm-utils to
its previous version to see if that fixes the problem, but I don't know
where I can get the old version from. I'm willing to do some testing in
order to pin this problem down.
Thank you,
Adriano
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=pt_BR (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages pm-utils depends on:
ii console-tools 1:0.2.3dbs-66 Linux console and font utilities
ii powermgmt-base 1.31 Common utils and configs for power
Versions of packages pm-utils recommends:
ii hal 0.5.13-6 Hardware Abstraction Layer
ii radeontool 1.5-5 utility to control ATI Radeon back
ii vbetool 1.1-2 run real-mode video BIOS code to a
Versions of packages pm-utils suggests:
ii cpufrequtils 006-2 utilities to deal with the cpufreq
ii uswsusp 0.8-1.2 tools to use userspace software su
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Tim Dijkstra <tim@famdijkstra.org>: Bug#561877; Package pm-utils.
(Sun, 20 Dec 2009 23:36:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Tim Dijkstra <tim@famdijkstra.org>.
(Sun, 20 Dec 2009 23:36:06 GMT) (full text, mbox, link).
Adriano Vilela Barbosa wrote:
> Resume from suspend stopped working on my Sony Vaio VGN-NW130D laptop.
> Apparently, what caused the problem was an upgrade of the pm-utils
> package from version 1.2.6.1-1 to 1.2.6.1-3. After trying all sorts
> of things with no success, I decided to uninstall pm-utils and install
> uswsusp (which I got from sid, as there's no version currently available
> in testing). Using the command s2ram from the uswsusp package, the machine
> suspends/resumes with no problems. I would like to downgrade pm-utils to
> its previous version to see if that fixes the problem, but I don't know
> where I can get the old version from. I'm willing to do some testing in
> order to pin this problem down.
I've put the old version online at [1]. It would be great if you could test that
version.
Please describe exactly what is happening on resume.
You can run
PM_DEBUG=true pm-suspend
as root to get a more verbose log file at /var/log/pm-suspend.log
Michael
[1] http://debs.michaelbiebl.de/pm-utils_1.2.6.1-1_all.deb
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
Information forwarded
to debian-bugs-dist@lists.debian.org, Tim Dijkstra <tim@famdijkstra.org>: Bug#561877; Package pm-utils.
(Mon, 21 Dec 2009 02:06:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Adriano Vilela Barbosa <adriano.vilela@yahoo.com>:
Extra info received and forwarded to list. Copy sent to Tim Dijkstra <tim@famdijkstra.org>.
(Mon, 21 Dec 2009 02:06:06 GMT) (full text, mbox, link).
----- Original Message ----
From: Michael Biebl <biebl@debian.org>
To: Adriano Vilela Barbosa <adriano.vilela@yahoo.com>; 561877@bugs.debian.org
Sent: Sun, December 20, 2009 3:31:03 PM
Subject: Re: Bug#561877: pm-utils: Resume from suspend stopped working on Sony Vaio laptop
I've put the old version online at [1]. It would be great if you could test that
version.
Please describe exactly what is happening on resume.
You can run
PM_DEBUG=true pm-suspend
as root to get a more verbose log file at /var/log/pm-suspend.log
Michael
[1] http://debs.michaelbiebl.de/pm-utils_1.2.6.1-1_all.deb
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
Hi Michael,
Thank you for your prompt reply. I uninstalled the package uswsusp and then downgraded pm-utils from version 1.2.6.1-3 to 1.2.6.1-1, but that didn't solve the problem. So, I'm afraid I filed the bug against the wrong package.
You asked what happens on resume. Afaict, the machine is frozen. The hard disk spins, the sleeping light (an LED which blinks when the machine is sleeping) goes back off, and the power light (which goes off when the machine is sleeping) goes back on. The wireless LED doesn't go back on. The screen is black. Trying to switch to a terminal has no effect. Pinging the machine gets no response (even when using a wired connection before suspending).
I ran the pm-suspend as you instructed (PM_DEBUG=true pm-suspend). The log file (/var/log/pm-suspend.log) is attached.
Even if this issue is not directly related to the pm-utils package, I would greatly appreciate any advice in trying to find a solution. I suspect the problem was caused by some package upgrade, since I haven't changed anything in my configuration.
Thank you very much,
Adriano
__________________________________________________________________
Make your browsing faster, safer, and easier with the new Internet Explorer® 8. Optimized for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/
Information forwarded
to debian-bugs-dist@lists.debian.org, Tim Dijkstra <tim@famdijkstra.org>: Bug#561877; Package pm-utils.
(Thu, 24 Dec 2009 05:27:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Adriano Vilela Barbosa <adriano.vilela@yahoo.com>:
Extra info received and forwarded to list. Copy sent to Tim Dijkstra <tim@famdijkstra.org>.
(Thu, 24 Dec 2009 05:27:02 GMT) (full text, mbox, link).
To: Michael Biebl <biebl@debian.org>, 561877@bugs.debian.org
Subject: Re: Bug#561877: pm-utils: Resume from suspend stopped working on Sony Vaio laptop
Date: Wed, 23 Dec 2009 21:24:26 -0800 (PST)
----- Original Message ----
From: Michael Biebl <biebl@debian.org>
To: Adriano Vilela Barbosa <adriano.vilela@yahoo.com>; 561877@bugs.debian.org
Sent: Sun, December 20, 2009 3:31:03 PM
Subject: Re: Bug#561877: pm-utils: Resume from suspend stopped working on Sony Vaio laptop
Adriano Vilela Barbosa wrote:
> Resume from suspend stopped working on my Sony VaioVGN-NW130D laptop.
> Apparently, what caused the problem was an upgrade of the pm-utils
> package from version 1.2.6.1-1 to 1.2.6.1-3. After trying all sorts
> of things with no success, I decided to uninstall pm-utils and install
> uswsusp (which I got from sid, as there's no version currently available
> in testing). Using the command s2ram from the uswsusp package, the machine
> suspends/resumes with no problems. I would like to downgrade pm-utils to
> its previous version to see if that fixes the problem, but I don't know
> where I can get the old version from. I'm willing to do some testing in
> order to pin this problem down.
I've put the old version online at [1]. It would be great if you could test that
version.
Please describe exactly what is happening on resume.
You can run
PM_DEBUG=true pm-suspend
as root to get a more verbose log file at /var/log/pm-suspend.log
Michael
[1] http://debs.michaelbiebl.de/pm-utils_1.2.6.1-1_all.deb
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
Hi Michael,
I've made some progress on this. I can now reliably suspend/resume by running the following in the command line (as root):
pm-suspend --quirk-s3-mode
By creating the file /etc/pm/config.d/defaults with the single line:
ADD_PARAMETERS="--quirk-s3-mode"
I can simply run "pm-suspend" from the command line and everything works. However, if I try to put the computer to sleep by using any "Suspend to RAM" button in KDE, the machine suspends ok but freezes on resume. In the latter case, checking the file /var/log/pm-suspend.log reveals the following line
Initial commandline parameters: --quirk-s3-bios
When pm-suspend is issued from the command line, the same line in the log file is:
Initial commandline parameters:
without any parameters. So, when suspend is triggered by clicking on any "Suspend to RAM" button in kde, somehow the --quirk-s3-bios quirk gets appended to the pm-suspend command, and this prevents the machine from resuming successfully. Indeed, if I run "pm-suspend --quirk-s3-bios" from the command line the machine hangs on resuming.
So, now I have to find out why the --quirk-s3-bios quirk is being added to pm-suspend command, and how to prevent that.
By the way, I wonder if I should contact the guys responsible for the package hal-info and report that the --quirk-s3-mode quirk is necessary for this laptop to suspend/resume successfully. This is what lshal reports:
system.hardware.product = 'VGN-NW130D' (string)
Thank you,
Adriano
__________________________________________________________________
The new Internet Explorer® 8 - Faster, safer, easier. Optimized for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/
Information forwarded
to debian-bugs-dist@lists.debian.org, Tim Dijkstra <tim@famdijkstra.org>: Bug#561877; Package pm-utils.
(Thu, 24 Dec 2009 20:12:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Adriano Vilela Barbosa <adriano.vilela@yahoo.com>:
Extra info received and forwarded to list. Copy sent to Tim Dijkstra <tim@famdijkstra.org>.
(Thu, 24 Dec 2009 20:12:02 GMT) (full text, mbox, link).
To: Michael Biebl <biebl@debian.org>, 561877@bugs.debian.org
Subject: Re: Bug#561877: pm-utils: Resume from suspend stopped working on Sony Vaio laptop
Date: Thu, 24 Dec 2009 12:09:08 -0800 (PST)
----- Original Message ----
From: Michael Biebl <biebl@debian.org>
To: Adriano Vilela Barbosa <adriano.vilela@yahoo.com>; 561877@bugs.debian.org
Sent: Sun, December 20, 2009 3:31:03 PM
Subject: Re: Bug#561877: pm-utils: Resume from suspend stopped working on Sony Vaio laptop
Adriano Vilela Barbosa wrote:
> Resume from suspend stopped working on my Sony Vaio VGN-NW130D laptop.
> Apparently, what caused the problem was an upgrade of the pm-utils
> package from version 1.2.6.1-1 to 1.2.6.1-3. After trying all sorts
> of things with no success, I decided to uninstall pm-utils and install
> uswsusp (which I got from sid, as there's no version currently available
> in testing). Using the command s2ram from the uswsusp package, the machine
> suspends/resumes with no problems. I would like to downgrade pm-utils to
> its previous version to see if that fixes the problem, but I don't know
> where I can get the old version from. I'm willing to do some testing in
> order to pin this problem down.
I've put the old version online at [1]. It would be great if you could test that
version.
Please describe exactly what is happening on resume.
You can run
PM_DEBUG=true pm-suspend
as root to get a more verbose log file at /var/log/pm-suspend.log
Michael
[1] http://debs.michaelbiebl.de/pm-utils_1.2.6.1-1_all.deb
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
Ok, problem solved. The problem was that I had "quirk.s3_bios" enabled
by default. Doing "lshal | grep quirk" produced:
power_management.quirk.s3_bios = true (bool)
In order to have suspend/resume working correctly, I needed to disable
"quirk.s3_bios" and enable "quirk.s3_mode". I did that by creating the
file /etc/hal/fdi/information/99local-pm-utils-quirks.fdi with the
following contents:
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<!-- Created by pm-utils -->
<deviceinfo version="0.2">
<device>
<match key="system.hardware.vendor" string="Sony Corporation">
<match key="system.hardware.product" string="VGN-NW130D">
<match key="system.firmware.version" string="R0170Y4">
<match key="system.hardware.primary_video.vendor" int="0x1002">
<match key="system.hardware.primary_video.product" int="0x9553">
<merge key="power_management.quirk.s3_bios" type="bool">false</merge>
<merge key="power_management.quirk.s3_mode" type="bool">true</merge>
</match>
</match>
</match>
</match>
</match>
</device>
</deviceinfo>
The file was created by running (as root):
pm-suspend --quirk-s3-mode --store-quirks-as-fdi
and later editing it (as the original file enabled "quirk-s3-mode" but
didn't disable "quirk-s3-bios"). After restarting the hal daemon,
"lshal | grep quirk" produces
power_management.quirk.s3_bios = false (bool)
power_management.quirk.s3_mode = true (bool)
As I said before, I suspect some package upgrade broke things up,
as everything was working fine until about two weeks ago. Here
are some suspects:
adriano@vaio:/var/log$ less dpkg.log | grep upgrade | grep hal
2009-12-05 09:47:24 upgrade libkephal4 4:4.3.1-1 4:4.3.2-2
2009-12-07 06:46:47 upgrade libhal1 0.5.13-4 0.5.13-6
2009-12-07 06:46:47 upgrade libhal-storage1 0.5.13-4 0.5.13-6
2009-12-07 06:46:47 upgrade hal 0.5.13-4 0.5.13-6
2009-12-11 20:46:12 upgrade hal-info 20090716-1 20091130-1
adriano@vaio:/var/log$ less dpkg.log | grep upgrade | grep udev
2009-12-14 06:58:30 upgrade udev 146-5 149-1
2009-12-14 06:58:31 upgrade libudev0 146-5 149-1
2009-12-14 06:58:38 upgrade libgudev-1.0-0 146-5 149-1
So, I guess you can close this bug. Should I report this
to the hal-info maintainers so that they can update their
database with my laptop model (Sony Vaio VGN-NW130D)?
Thanks,
Adriano
__________________________________________________________________
Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com
Information forwarded
to debian-bugs-dist@lists.debian.org, Tim Dijkstra <tim@famdijkstra.org>: Bug#561877; Package pm-utils.
(Fri, 26 Feb 2010 18:27:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Francois Mescam <Francois.Mescam@onera.fr>:
Extra info received and forwarded to list. Copy sent to Tim Dijkstra <tim@famdijkstra.org>.
(Fri, 26 Feb 2010 18:27:03 GMT) (full text, mbox, link).
Subject: Re: Bug#561877: pm-utils: Resume from suspend stopped working on
Sony Vaio laptop
Date: Fri, 26 Feb 2010 19:23:39 +0100
I observe the same bug with a Sony VAIO VPCW12M1E and the same solution works fine.
--
Francois Mescam
Information forwarded
to debian-bugs-dist@lists.debian.org, Tim Dijkstra <tim@famdijkstra.org>: Bug#561877; Package pm-utils.
(Wed, 24 Aug 2011 16:09:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Yan Li <yanli@gnome.org>:
Extra info received and forwarded to list. Copy sent to Tim Dijkstra <tim@famdijkstra.org>.
(Wed, 24 Aug 2011 16:09:03 GMT) (full text, mbox, link).
found 561877 1.4.1-8
tags 561877 + patch
thanks
I studied this problem on latest pm-utils in testing. pm-utils has now
obsoleted HAL and ship quirks db by itself. There is a typo in
20-video-quirk-pm-sony.quirkdb that adds ``--quirk-s3-bios'' to all
machines. That option causes hard freeze on nearly all later models of
SONY Vaio and I believe this is the cause for those problems reported
here.
A patch is attached for your reference. This is a very serious bug
because it breaks suspend / resume on all SONY Vaio models so please
consider fixing it a.s.a.p. Thanks.
Bug Marked as found in versions pm-utils/1.4.1-8.
Request was from Yan Li <yanli@gnome.org>
to control@bugs.debian.org.
(Wed, 24 Aug 2011 16:09:06 GMT) (full text, mbox, link).
Added tag(s) patch.
Request was from Yan Li <yanli@gnome.org>
to control@bugs.debian.org.
(Wed, 24 Aug 2011 16:09:07 GMT) (full text, mbox, link).
Added tag(s) pending.
Request was from Martin Pitt <martin.pitt@ubuntu.com>
to control@bugs.debian.org.
(Mon, 01 Jul 2013 05:45:04 GMT) (full text, mbox, link).
Reply sent
to Martin Pitt <mpitt@debian.org>:
You have taken responsibility.
(Mon, 01 Jul 2013 06:21:08 GMT) (full text, mbox, link).
Notification sent
to Adriano Vilela Barbosa <adriano.vilela@yahoo.com>:
Bug acknowledged by developer.
(Mon, 01 Jul 2013 06:21:08 GMT) (full text, mbox, link).
Source: pm-utils
Source-Version: 1.4.1-10
We believe that the bug you reported is fixed in the latest version of
pm-utils, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 561877@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin Pitt <mpitt@debian.org> (supplier of updated pm-utils package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 01 Jul 2013 07:46:04 +0200
Source: pm-utils
Binary: pm-utils
Architecture: source all
Version: 1.4.1-10
Distribution: unstable
Urgency: low
Maintainer: Tim Dijkstra <tim@famdijkstra.org>
Changed-By: Martin Pitt <mpitt@debian.org>
Description:
pm-utils - utilities and scripts for power management
Closes: 561877
Changes:
pm-utils (1.4.1-10) unstable; urgency=low
.
* debian/rules: Stop installing sleep.d/55NetworkManager. Current
NetworkManager does not even expose this API any more, so the
sleep()/wake() calls just always fail. As NM is apparently able to deal
with suspends just fine, no need to waste cycles on this.
* Drop 90-nm-proper-wakeup.patch: Obsolete with above change.
* Add debian/time-hook-execution.patch: Measure time that hooks take and
print them in the log. Also, disable actual suspend call to make hook
optimization/measure turnarounds more convenient. This is not applied by
default as the date calls themselves add overhead; just keep it in the
source package for future use.
* Add 15-video_quirks_on_x86_only.patch: Only run the video quirk handlers
on x86 and x86_64, as they are quite expensive.
* Add 16-no-powersave-before-suspend.patch: Calling pm-powersave before
pm-suspend is very slow, it. e. g. takes > 1.5 seconds on a Nexus 7. This
does not nearly compensate the potentially slightly slower suspend
operation in low power mode, so disable it.
* Drop the "shopt" bashism from 15-video_quirks_on_x86_only.patch which
somehow slipped in there. (LP: #1091824)
* Lift ethtool suggests to recommends, to make disable_wol work in a default
installation. (LP: #1081785)
* 20-video-quirk-pm-sony.quirkdb: Fix '||' typo, leading to suspend failure
on Vaios. (Closes: #561877)
Checksums-Sha1:
432f7459da3f210cb541eb1cb242be56da3ccf27 1934 pm-utils_1.4.1-10.dsc
d710ddf57238a238d73a44de85abdcb8570096ac 28926 pm-utils_1.4.1-10.debian.tar.gz
cb8afd17d5745556b604e1954d4a8b7043de353f 124834 pm-utils_1.4.1-10_all.deb
Checksums-Sha256:
913fa010dbc38ec60d2136328b3b630acd7f049830897b6e6db92071ad9ec0af 1934 pm-utils_1.4.1-10.dsc
ca38763989f6a9c7fc017b28740f0155b2d314d2f72e43bcac338d0ac9bb8c32 28926 pm-utils_1.4.1-10.debian.tar.gz
e6c49654db3ccfe26e15827c54e6bbc99e921761369e7fa9a2763c39cea46467 124834 pm-utils_1.4.1-10_all.deb
Files:
4916569b008c93f1f206cc225471bb31 1934 admin optional pm-utils_1.4.1-10.dsc
3b758357639d811babb4a7a610f10845 28926 admin optional pm-utils_1.4.1-10.debian.tar.gz
57cc2f4c203fa38e3f873490b76f8367 124834 admin optional pm-utils_1.4.1-10_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJR0RgSAAoJENFO8V2v4RNHr5wP/0cGlJ+gat58OtY9o2LyDnEq
Wkw1OguUnMMiWdbo57mu4hCGdlaM0prhVuEYerwg529+X5PN7WL5ydn6fhLr/qvx
yV9SbLjKIVkeY5+By/qgPZHR5fP813LUdPlWcLYk/LkqTs1Q9GuJSqZo68+9ZcUM
4ecobpV2YxEsPSOSLxXyQjrxUK4fmiFNqk+1ZA7qf8U9sbBEkzXv1B9HwQAa0BU7
4mjTWBacdgyfWtkO5Ki6MQUS9NJ1gxDmaqxyYzUfW577ISWnuZi0P8Z1+ITou6lw
IVeezXJ6gCE044UGqLkekqxFIYuKKdt+PI/dOuVhhcVgaZMsgNteZpPvpKJn4Atk
H17uXqw6MVLILfklm2xhPu//Jir0bQP8vppD4jg0yTBLzu2vrAmmzSr5Sw89fgTU
+h29Zd/pm2wug6BF3oDuuwexH+qYVd4VWRPTbVcbwcwjEyrtv03BVaw8swH013QM
t4tOpmDdtMvnhfAuwyeZxD8QWzOLuB5FP2pwpe+I2/egbslWG3U5lhUOrH4p54Tl
OkTurUMjEvsJGLCB+c3+aoyZXrtq6nMYJpWCxTl/XWgYQoeIXbw8mtTRxvjqSHtA
RpDZ5PF228Rs4HIrG/A8Usba+esBFfsEQNUKmm+qR++UqwSdchDlwVlVLFGjmb9F
QMbdpjCxL9qT70h2IzYT
=yg2W
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 30 Jul 2013 07:33:38 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.