Thanks, Camaleón, for these suggestions. > Make a quick and easy test: create a new user and try to hibernate/resume > from there and see how it goes.
Ok, here's where I'm at: 1) A new user (pmtest) can indeed hibernate and resume from the console without issue 2) My regular user account (rwl) can hibernate and resume from the console without issue 3) pmtest can hibernate the system from within Gnome in X, but a kernel error results on resume -- though the system recovers. Details below. 4) rwl can hibernate the system from within stumpwm in X. I see no kernel error on resume (though perhaps it's there, but stumpwm doesn't give me a nice dialog box the way Gnome did). I have now seen at least one successful resume after hibernating from stumpwm in X, but my previous failures to resume were always after hibernating from within stumpwm in X. > If you are using "pm-utils" (man pm-action) there must be a log file > under "/var/log/pm-suspend.log" There is indeed. I'm afraid I don't see much of use there, though. Lots of messages indicating that the /hibernate/ was successful. But nothing indicating what the problem is when resume fails. I have included segments of the log below from a successful hibernate/resume cycle. The only difference I can see between successful and unsuccessful runs is that, in the unsuccessful runs, there is no data logged for the "resume" part of the cycle -- which I guess suggests that the problem occurs before pm-utils even gets into the picture, right? One other piece of potentially relevant data: my machine seems to have some sort of hardware quirk that requires about a 35 second "warmup" period between loading GRUB and booting. (Sometimes, this period is accompanied by a fan noise that eventually shuts off, after which experience tells me that the system will boot fine.) If I don't wait the 35 seconds before booting when the machine is cold, a variety of strange things can happen (sometimes I see kernel panic type messages, sometimes nothing at all), but waiting the 35 seconds always allows the machine to boot successfully. The problem only occurs when the machine has been powered off and sitting for a while (e.g., overnight) -- I don't need to wait the 35 seconds when rebooting, for example. I have no idea what this problem is, nor do I have any idea how I might begin to find out. It's one of those things that I have reached an agreement with my machine about: as long as it keeps booting, I'm happy to wait 35 seconds, and not poke around. :) Best, Richard ================================================================================ Kernel error message on resume, after hibernate by pmtest in Gnome: Kernel failure message 1: BUG: unable to handle kernel paging request at a63b404f IP: [<08a5bc0a>] 0x8a5bc0a *pde = 00000000 Oops: 0002 [#1] SMP last sysfs file: /sys/power/state Modules linked in: cpufreq_stats cpufreq_userspace cpufreq_conservative cpufreq_powersave ppdev lp binfmt_misc fuse loop snd_via82xx gameport snd_ac97_codec ac97_bus snd_pcm snd_page_alloc snd_mpu401_uart snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq i2c_viapro snd_timer nouveau snd_seq_device ttm drm_kms_helper drm i2c_algo_bit snd via_ircc soundcore i2c_core shpchp irda pci_hotplug crc_ccitt evdev parport_pc parport processor button psmouse pcspkr serio_raw ext3 jbd mbcache sg sr_mod cdrom sd_mod crc_t10dif ata_generic pata_via fan uhci_hcd libata thermal via_rhine ehci_hcd floppy thermal_sys mii scsi_mod usbcore nls_base [last unloaded: scsi_wait_scan] Pid: 2925, comm: pm-hibernate Not tainted (2.6.32-5-686 #1) KT333-8235 EIP: 0060:[<08a5bc0a>] EFLAGS: 00010296 CPU: 0 EIP is at 0x8a5bc0a EAX: 000004bf EBX: a5bc6000 ECX: eede6800 EDX: 00000108 ESI: 000000c1 EDI: 0030fb08 EBP: a5bc6000 ESP: de02ffcf DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 Process pm-hibernate (pid: 2925, ti=de02e000 task=def92200 task.ti=de02e000) Stack: 00007b00 00007b00 00000000 00003300 00000400 7db42400 000073b7 00024600 <0> eede2800 00007bbf 20200a00 206c6e20 Call Trace: Code: Bad EIP value. EIP: [<08a5bc0a>] 0x8a5bc0a SS:ESP 0068:de02ffcf CR2: 00000000a63b404f ---[ end trace 0e93aec76eafb3ca ]--- ================================================================================ Snippet from /var/log/pm-suspend.log, from a successful hibernate: Fri Feb 25 10:05:16 PST 2011: 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 ludwig 2.6.32-5-686 #1 SMP Wed Jan 12 04:01:41 UTC 2011 i686 GNU/Linux Module Size Used by cpufreq_stats 1940 0 cpufreq_userspace 1480 0 cpufreq_conservative 4018 0 cpufreq_powersave 602 0 ppdev 4058 0 lp 5570 0 binfmt_misc 4907 1 fuse 44033 1 loop 9765 0 snd_via82xx 15256 0 gameport 6061 1 snd_via82xx snd_ac97_codec 79148 1 snd_via82xx ac97_bus 710 1 snd_ac97_codec snd_pcm 47226 2 snd_via82xx,snd_ac97_codec snd_page_alloc 5045 2 snd_via82xx,snd_pcm snd_mpu401_uart 4067 1 snd_via82xx snd_seq_midi 3576 0 snd_seq_midi_event 3684 1 snd_seq_midi snd_rawmidi 12513 2 snd_mpu401_uart,snd_seq_midi snd_seq 35463 2 snd_seq_midi,snd_seq_midi_event i2c_viapro 4419 0 snd_timer 12258 2 snd_pcm,snd_seq nouveau 314892 1 snd_seq_device 3673 3 snd_seq_midi,snd_rawmidi,snd_seq ttm 33386 1 nouveau drm_kms_helper 18309 1 nouveau drm 112088 3 nouveau,ttm,drm_kms_helper i2c_algo_bit 3497 1 nouveau snd 34375 8 snd_via82xx,snd_ac97_codec,snd_pcm,snd_mpu401_uart,snd_rawmidi,snd_seq,snd_timer,snd_seq_device via_ircc 13311 0 soundcore 3450 1 snd i2c_core 12696 5 i2c_viapro,nouveau,drm_kms_helper,drm,i2c_algo_bit shpchp 21220 0 irda 75956 1 via_ircc pci_hotplug 18065 1 shpchp crc_ccitt 1039 1 irda evdev 5609 4 parport_pc 15799 1 parport 22554 3 ppdev,lp,parport_pc processor 26327 1 button 3598 1 nouveau psmouse 44657 0 pcspkr 1207 0 serio_raw 2916 0 ext3 94212 2 jbd 32169 1 ext3 mbcache 3762 1 ext3 sg 15968 0 sr_mod 10770 0 cdrom 26487 1 sr_mod sd_mod 25977 5 crc_t10dif 1012 1 sd_mod ata_generic 2067 0 pata_via 5701 3 fan 2586 0 uhci_hcd 16057 0 libata 115753 2 ata_generic,pata_via thermal 9206 0 via_rhine 14627 0 ehci_hcd 27851 0 floppy 40923 0 thermal_sys 9378 3 processor,fan,thermal mii 2714 1 via_rhine scsi_mod 101429 4 sg,sr_mod,sd_mod,libata usbcore 98453 3 uhci_hcd,ehci_hcd nls_base 4541 1 usbcore total used free shared buffers cached Mem: 774336 257068 517268 0 80512 122152 -/+ buffers/cache: 54404 719932 Swap: 995988 0 995988 success. /usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:success. /etc/pm/sleep.d/10_unattended-upgrades-hibernate 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. /usr/lib/pm-utils/sleep.d/99video hibernate hibernate:success. Fri Feb 25 10:05:18 PST 2011: performing hibernate ================================================================================ Snippet from /var/log/pm-suspend.log (immediately follows previous snippet) from a successful resume. Unsuccessful resumes don't seem to log anything, not even the first two lines here. Fri Feb 25 10:06:45 PST 2011: Awake. Fri Feb 25 10:06:45 PST 2011: Running hooks for thaw /usr/lib/pm-utils/sleep.d/99video thaw hibernate: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. /etc/pm/sleep.d/10_unattended-upgrades-hibernate thaw hibernate:success. /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. Fri Feb 25 10:06:46 PST 2011: Finished. ================================================================================ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/874o7seyed....@berkeley.edu