On Tue, Aug 17, 2010 at 09:48:47AM +0200, Michael Biebl wrote: > On 17.08.2010 05:51, David Fries wrote: > > Package: pm-utils > > Version: 1.3.0-2 > > Severity: normal > > > > > > I'm trying to increase the suspend/resume time. This Acer Aspire 5100 > > suspends and resumes just fine as far as video goes, with just the > > 2.6.35 kernel > > `echo mem > /sys/power/state` and also switching to --quirk-none. > > > > Hi David, > > have you also tested the currrent default Debian kernel 2.6.32?
installing, linux-image-2.6.32-5-amd64 2.6.32-18 suspend to memory and resumed without any problems X reported, Kernel modesetting enabled. it is using the graphical frame buffer for console log: Initial commandline parameters: Wed Aug 18 11:21:28 CDT 2010: Running hooks for suspend. /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend:success. /usr/lib/pm-utils/sleep.d/00logging suspend suspend:Linux Pulsar 2.6.32-5-amd64 #1 SMP Sat Jul 24 01:47:24 UTC 2010 x86_64 GNU/Linux total used free shared buffers cached Mem: 1928880 234216 1694664 0 12100 115088 -/+ buffers/cache: 107028 1821852 Swap: 4008208 0 4008208 success. /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:success. /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:not applicable. /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:not applicable. /usr/lib/pm-utils/sleep.d/70action_wpa suspend suspend:success. /usr/lib/pm-utils/sleep.d/75modules suspend suspend:not applicable. /usr/lib/pm-utils/sleep.d/90clock suspend suspend:not applicable. /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:success. /usr/lib/pm-utils/sleep.d/95anacron suspend suspend:success. /usr/lib/pm-utils/sleep.d/95led suspend suspend:not applicable. /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:success. /etc/pm/sleep.d/99hdparm suspend suspend:not applicable. /usr/lib/pm-utils/sleep.d/99video suspend suspend:kernel.acpi_video_flags = 0 success. Wed Aug 18 11:21:29 CDT 2010: performing suspend Wed Aug 18 11:21:38 CDT 2010: Awake. Wed Aug 18 11:21:38 CDT 2010: Running hooks for resume /usr/lib/pm-utils/sleep.d/99video resume suspend:success. /etc/pm/sleep.d/99hdparm resume suspend:Setting parameters of disc: /dev/sda . success. /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:success. /usr/lib/pm-utils/sleep.d/95led resume suspend:not applicable. /usr/lib/pm-utils/sleep.d/95anacron resume suspend:success. /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:success. /usr/lib/pm-utils/sleep.d/90clock resume suspend:not applicable. /usr/lib/pm-utils/sleep.d/75modules resume suspend:success. /usr/lib/pm-utils/sleep.d/70action_wpa resume suspend:success. /usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend:not applicable. /usr/lib/pm-utils/sleep.d/49bluetooth resume suspend:not applicable. /usr/lib/pm-utils/sleep.d/00powersave resume suspend:success. /usr/lib/pm-utils/sleep.d/00logging resume suspend:success. /usr/lib/pm-utils/sleep.d/000kernel-change resume suspend:success. Wed Aug 18 11:21:39 CDT 2010: Finished. hibernate to disk and resume without any problems X reported, Kernel modesetting enabled. it is using the graphical frame buffer for console log: Initial commandline parameters: Wed Aug 18 11:26:51 CDT 2010: Running hooks for hibernate. /usr/lib/pm-utils/sleep.d/000kernel-change hibernate hibernate:success. /usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:Linux Pulsar 2.6.32-5-amd64 #1 SMP Sat Jul 24 01:47:24 UTC 2010 x86_64 GNU/Linux total used free shared buffers cached Mem: 1928880 239448 1689432 0 12528 115704 -/+ buffers/cache: 111216 1817664 Swap: 4008208 0 4008208 success. /usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:success. /usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:not applicable. /usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate:not applicable. /usr/lib/pm-utils/sleep.d/70action_wpa hibernate hibernate:success. /usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:not applicable. /usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:not applicable. /usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:success. /usr/lib/pm-utils/sleep.d/95anacron hibernate hibernate:success. /usr/lib/pm-utils/sleep.d/95led hibernate hibernate:not applicable. /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:success. /etc/pm/sleep.d/99hdparm hibernate hibernate:not applicable. /usr/lib/pm-utils/sleep.d/99video hibernate hibernate:success. Wed Aug 18 11:26:52 CDT 2010: performing hibernate Wed Aug 18 11:27:40 CDT 2010: Awake. Wed Aug 18 11:27:40 CDT 2010: Running hooks for thaw /usr/lib/pm-utils/sleep.d/99video thaw hibernate:success. /etc/pm/sleep.d/99hdparm thaw hibernate:Setting parameters of disc: /dev/sda . success. /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler thaw hibernate:success. /usr/lib/pm-utils/sleep.d/95led thaw hibernate:not applicable. /usr/lib/pm-utils/sleep.d/95anacron thaw hibernate:success. /usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate:success. /usr/lib/pm-utils/sleep.d/90clock thaw hibernate:not applicable. /usr/lib/pm-utils/sleep.d/75modules thaw hibernate:success. /usr/lib/pm-utils/sleep.d/70action_wpa thaw hibernate:success. /usr/lib/pm-utils/sleep.d/55NetworkManager thaw hibernate:not applicable. /usr/lib/pm-utils/sleep.d/49bluetooth thaw hibernate:not applicable. /usr/lib/pm-utils/sleep.d/00powersave thaw hibernate:success. /usr/lib/pm-utils/sleep.d/00logging thaw hibernate:success. /usr/lib/pm-utils/sleep.d/000kernel-change thaw hibernate:success. Wed Aug 18 11:27:46 CDT 2010: Finished. removing radeon.ko so it isn't found so it stays with the VGA text console (testing without kernel modesetting for completeness) [KMS] drm report modesetting isn't supported. suspended to ram and back without any problems Initial commandline parameters: Wed Aug 18 11:35:48 CDT 2010: Running hooks for suspend. /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend:success. /usr/lib/pm-utils/sleep.d/00logging suspend suspend:Linux Pulsar 2.6.32-5-amd64 #1 SMP Sat Jul 24 01:47:24 UTC 2010 x86_64 GNU/Linux total used free shared buffers cached Mem: 1928880 223244 1705636 0 10068 113844 -/+ buffers/cache: 99332 1829548 Swap: 4008208 0 4008208 success. /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:success. /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:not applicable. /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:not applicable. /usr/lib/pm-utils/sleep.d/70action_wpa suspend suspend:success. /usr/lib/pm-utils/sleep.d/75modules suspend suspend:not applicable. /usr/lib/pm-utils/sleep.d/90clock suspend suspend:not applicable. /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:success. /usr/lib/pm-utils/sleep.d/95anacron suspend suspend:success. /usr/lib/pm-utils/sleep.d/95led suspend suspend:not applicable. /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:success. /etc/pm/sleep.d/99hdparm suspend suspend:not applicable. /usr/lib/pm-utils/sleep.d/99video suspend suspend:kernel.acpi_video_flags = 0 success. Wed Aug 18 11:35:49 CDT 2010: performing suspend Wed Aug 18 11:35:58 CDT 2010: Awake. Wed Aug 18 11:35:58 CDT 2010: Running hooks for resume /usr/lib/pm-utils/sleep.d/99video resume suspend:success. /etc/pm/sleep.d/99hdparm resume suspend:Setting parameters of disc: /dev/sda . success. /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:success. /usr/lib/pm-utils/sleep.d/95led resume suspend:not applicable. /usr/lib/pm-utils/sleep.d/95anacron resume suspend:success. /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:success. /usr/lib/pm-utils/sleep.d/90clock resume suspend:not applicable. /usr/lib/pm-utils/sleep.d/75modules resume suspend:success. /usr/lib/pm-utils/sleep.d/70action_wpa resume suspend:success. /usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend:not applicable. /usr/lib/pm-utils/sleep.d/49bluetooth resume suspend:not applicable. /usr/lib/pm-utils/sleep.d/00powersave resume suspend:success. /usr/lib/pm-utils/sleep.d/00logging resume suspend:success. /usr/lib/pm-utils/sleep.d/000kernel-change resume suspend:success. Wed Aug 18 11:35:59 CDT 2010: Finished. hibernate to disk, console was messed when X went to console to suspend, resume failed, but I'll blame that on accidently booting 2.6.35 and try to do alt-control-delete and try again with 2.6.32-5-amd64 the next hibernate to disk with 2.6.32-5-amd64 had a clean X to console, hiberante, and resume to X without any issues log: Initial commandline parameters: Wed Aug 18 11:39:39 CDT 2010: Running hooks for hibernate. /usr/lib/pm-utils/sleep.d/000kernel-change hibernate hibernate:success. /usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:Linux Pulsar 2.6.32-5-amd64 #1 SMP Sat Jul 24 01:47:24 UTC 2010 x86_64 GNU/Linux total used free shared buffers cached Mem: 1928880 227140 1701740 0 13748 112564 -/+ buffers/cache: 100828 1828052 Swap: 4008208 0 4008208 success. /usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:success. /usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:not applicable. /usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate:not applicable. /usr/lib/pm-utils/sleep.d/70action_wpa hibernate hibernate:success. /usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:not applicable. /usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:not applicable. /usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:success. /usr/lib/pm-utils/sleep.d/95anacron hibernate hibernate:success. /usr/lib/pm-utils/sleep.d/95led hibernate hibernate:not applicable. /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:success. /etc/pm/sleep.d/99hdparm hibernate hibernate:not applicable. /usr/lib/pm-utils/sleep.d/99video hibernate hibernate:success. Wed Aug 18 11:39:40 CDT 2010: performing hibernate Wed Aug 18 11:40:27 CDT 2010: Awake. Wed Aug 18 11:40:28 CDT 2010: Running hooks for thaw /usr/lib/pm-utils/sleep.d/99video thaw hibernate:success. /etc/pm/sleep.d/99hdparm thaw hibernate:Setting parameters of disc: /dev/sda . success. /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler thaw hibernate:success. /usr/lib/pm-utils/sleep.d/95led thaw hibernate:not applicable. /usr/lib/pm-utils/sleep.d/95anacron thaw hibernate:success. /usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate:success. /usr/lib/pm-utils/sleep.d/90clock thaw hibernate:not applicable. /usr/lib/pm-utils/sleep.d/75modules thaw hibernate:success. /usr/lib/pm-utils/sleep.d/70action_wpa thaw hibernate:success. /usr/lib/pm-utils/sleep.d/55NetworkManager thaw hibernate:not applicable. /usr/lib/pm-utils/sleep.d/49bluetooth thaw hibernate:not applicable. /usr/lib/pm-utils/sleep.d/00powersave thaw hibernate:success. /usr/lib/pm-utils/sleep.d/00logging thaw hibernate:success. /usr/lib/pm-utils/sleep.d/000kernel-change thaw hibernate:success. Wed Aug 18 11:40:35 CDT 2010: Finished. Ran the same hibernate to disk and back without any issues. From console (without radeon.ko and with a VGA text console), suspend to memory and back while at console leaves the console blank, going to X is fine, but returning to console displays garbage graphics not the VGA text console. hibernate to disk, and back while at the messed up console, restores the console to a working text mode add 'addquirk --quirk-vbestate-restore' same result /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:success. /usr/lib/pm-utils/sleep.d/99video suspend suspend:kernel.acpi_video_flags = 0 success. /usr/lib/pm-utils/sleep.d/99video resume suspend:success. /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:success. hibernate to disk and back for a working console add 'addquirk --quirk-vbe-post' suspend to memory and back, blank console, X and back, messed up console hibernate to disk and back, good text console enter X, suspend to memory and back, X is fine, text console isn't reboot with the two quirks in place, suspend to memory from console, and back, blank console, to X, to console and a messed up console wierd, I left the messed up console while I was typing this and I can see that the pixels are degrading, it started out as vertical white black white strips in three bands, I'm not sure if it's slowly going to static or just white, but something's clearly not updating it. The only broken part I found was VGA text console when suspending to memory and adding the quirks in that situation didn't change the outcome. Any other tests you would like me to run? > What video driver are you using? /usr/lib/xorg/modules/drivers/radeon_drv.so compiled for 1.7.7, module version = 6.13.1 (II) [KMS] Kernel modesetting enabled. [ at least for 2.6.35 ] (--) RADEON(0): Chipset: "ATI Radeon XPRESS 200M 5975 (PCIE)" (ChipID = 0x5975) > Do you use KMS? If so, that particular quirk should not be necessary > as pm-utils automatically does not apply any quirks if KMS is used. > > Could you please also attach the log file /var/log/pm-suspend.log. > > Thanks, > Michael -- David Fries <da...@fries.net> http://fries.net/~david/ (PGP encryption key available)
signature.asc
Description: Digital signature