On Monday 30 October 2006 05:23, Michael Biebl wrote: > tags 396144 moreinfo > thanks > > Arnout Boelens wrote: > > Package: powersaved > > Version: 0.14.0-3 > > Severity: normal > > > > Suspend2 does not work in combination with powersaved. According to > > /etc/powersave/events powersaved looks for /proc/suspend2 to detect whether > > the > > kernel is suspend2 enabled. However, this should be /sys/power/suspend2 > > > > The documentation in /etc/powersave/sleep is not complete in that > regard, powersave checks for /proc/suspend2 and /sys/power/suspend2 and > only fails if neither of the two exists. > So, the problem must be somewhere else. Could you please send me > /var/log/suspend2disk.log. > Just to be sure: Do you have the hibernate package installed? Without, > suspend2 will not work.
I have the hibernate package installed and with klaptopdaemon I actually have a working setup. It is just that I heard good things about kpowersave and wanted to give it a try. I attached /var/log/suspend2disk.log to this email. Cheers, Arnout > And last but not least, why do you use suspend2 at all? I'd recommend > uswsusp (if you use a kernel with an initrd) or the in kernel swsusp. > It's much less hassle and better supported by powersave. > The suspend2 support is bolted on powersave and not properly integrated. > > Cheers, > Michael >
suspend2ram initiated: 2006-10-31 12:48:06 Debug info follows here, please include in your bug reports. Thanks. -------------------------------------------------------------------- Loaded modules: Module Size Used by sbp2 20840 0 uhci_hcd 21032 0 ohci1394 30800 0 r8169 28136 0 cpufreq_ondemand 6636 2 ipt_REJECT 5248 0 fglrx 396908 8 rfcomm 34616 6 l2cap 21696 5 rfcomm ipv6 226016 20 ppdev 8676 0 parport_pc 32132 0 lp 11012 0 parport 33256 3 ppdev,parport_pc,lp thermal 13608 0 fan 4804 0 button 6672 0 ac 5188 0 battery 9636 0 ipt_LOG 6112 39 ipt_TOS 2304 51 ipt_TCPMSS 4096 4 xt_tcpudp 3136 93 ipt_tos 1760 0 xt_tcpmss 2336 0 iptable_mangle 2880 1 iptable_nat 7044 0 ip_nat 16876 1 iptable_nat xt_multiport 3264 0 xt_state 2272 16 xt_limit 2752 41 xt_conntrack 2624 0 ip_conntrack_ftp 7760 0 ip_conntrack 49088 5 iptable_nat,ip_nat,xt_state,xt_conntrack,ip_conntrack_ftp nfnetlink 6680 2 ip_nat,ip_conntrack sha256 11104 0 aes 28160 2 dm_crypt 10824 1 dm_snapshot 15520 0 dm_mirror 19152 0 dm_mod 50232 5 dm_crypt,dm_snapshot,dm_mirror iptable_filter 3104 1 ip_tables 12964 3 iptable_mangle,iptable_nat,iptable_filter x_tables 13316 13 ipt_REJECT,ipt_LOG,ipt_TOS,ipt_TCPMSS,xt_tcpudp,ipt_tos,xt_tcpmss,iptable_nat,xt_multiport,xt_state,xt_limit,xt_conntrack,ip_tables mmc_block 7688 0 cpufreq_userspace 4448 0 cpufreq_powersave 1920 0 cpufreq_conservative 7304 0 speedstep_centrino 8384 1 freq_table 4576 1 speedstep_centrino processor 28840 2 thermal,speedstep_centrino asus_acpi 15320 0 sr_mod 15876 0 scsi_mod 124168 2 sbp2,sr_mod ide_generic 1408 0 [permanent] hci_usb 16028 5 bluetooth 45732 13 rfcomm,l2cap,hci_usb eth1394 18212 0 snd_hda_intel 17332 0 snd_hda_codec 137856 1 snd_hda_intel snd_pcm_oss 38368 0 snd_mixer_oss 15200 1 snd_pcm_oss snd_pcm 68676 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss snd_timer 20996 1 snd_pcm joydev 9088 0 pcmcia 34108 0 ipw3945 179524 1 ide_cd 36064 0 cdrom 32544 2 sr_mod,ide_cd snd 47012 6 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer tsdev 7520 0 ehci_hcd 28136 0 ieee80211 29416 1 ipw3945 ieee80211_crypt 5952 1 ieee80211 soundcore 9248 1 snd intel_agp 21148 1 firmware_class 9600 2 pcmcia,ipw3945 snd_page_alloc 9640 2 snd_hda_intel,snd_pcm r1000 16640 0 agpgart 29896 2 fglrx,intel_agp sdhci 16844 0 mmc_core 23168 2 mmc_block,sdhci rtc 12372 0 usbcore 112580 4 uhci_hcd,hci_usb,ehci_hcd ieee1394 86904 3 sbp2,ohci1394,eth1394 psmouse 35016 0 yenta_socket 24460 1 rsrc_nonstatic 11840 1 yenta_socket pcmcia_core 36852 3 pcmcia,yenta_socket,rsrc_nonstatic serio_raw 6660 0 pcspkr 3072 0 ext3 119048 2 jbd 52456 1 ext3 mbcache 8356 1 ext3 ide_disk 14848 4 generic 5028 0 [permanent] piix 9444 0 [permanent] ide_core 110504 5 ide_generic,ide_cd,ide_disk,generic,piix lzf 3200 0 evdev 9088 2 Memory info: total used free shared buffers cached Mem: 1036412 615260 421152 0 27328 431768 -/+ buffers/cache: 156164 880248 Swap: 1951856 0 1951856 /proc/cmdline: root=/dev/hda2 ro acpi_sleep=s3_bios resume2=swap:/dev/hda5 ------------------------------------------------------------------------------ ========we are going to sleep, preparing.======== == checking runlevel == no shutdown/reboot in progress, good. Stopping services: ('slmodemd irda upsd apcupsd' configured) stopping slmodemd: ## /usr/lib/powersave/scripts//sleep_helper_functions: line 372: /etc/init.d/slmodemd: No such file or directory stopping irda: ## /usr/lib/powersave/scripts//sleep_helper_functions: line 372: /etc/init.d/irda: No such file or directory stopping upsd: ## /usr/lib/powersave/scripts//sleep_helper_functions: line 372: /etc/init.d/upsd: No such file or directory stopping apcupsd: ## /usr/lib/powersave/scripts//sleep_helper_functions: line 372: /etc/init.d/apcupsd: No such file or directory ------------------------------------------------------------------------------ Unloading modules: ('usb_storage sbp2 ohci_hcd uhci_hcd stir4200 ohci1394 rt2500 prism54 ath_pci r8169 lt_modem Intel536 Intel537 ndiswrapper' configured) checking usb_storage checking sbp2 # trying to unload: sbp2 unloaded: sbp2 checking ohci_hcd checking uhci_hcd # trying to unload: uhci_hcd unloaded: uhci_hcd checking stir4200 checking ohci1394 # trying to unload: ohci1394 unloaded: ohci1394 checking rt2500 checking prism54 checking ath_pci checking r8169 # trying to unload: r8169 unloaded: r8169 checking lt_modem checking Intel536 checking Intel537 checking ndiswrapper ------------------------------------------------------------------------------ prepare_sleep finished for suspend2ram ------------------------------------------------------------------------------ SUSPEND2RAM_FORCE is set to yes. Good luck... S2RAM_OPTS are set to: '--force' Executing '/usr/sbin/s2ram --force' s2ram_do: Device or resource busy Switching from vt7 to vt1 switching back to vt7 ==== finished, return code 16 ==== ========we are back from suspend, cleaning up.======== == restore_after_sleep: restart and reload everything == Resuming: --------- reactivating ACPI fan FN00 Reloading modules: r8169 ohci1394 uhci_hcd sbp2 Restarting services: starting apcupsd: ## /usr/lib/powersave/scripts//sleep_helper_functions: line 503: /etc/init.d/apcupsd: No such file or directory starting upsd: ## /usr/lib/powersave/scripts//sleep_helper_functions: line 503: /etc/init.d/upsd: No such file or directory starting irda: ## /usr/lib/powersave/scripts//sleep_helper_functions: line 503: /etc/init.d/irda: No such file or directory starting slmodemd: ## /usr/lib/powersave/scripts//sleep_helper_functions: line 503: /etc/init.d/slmodemd: No such file or directory Remounting filesystems: not necessary. ====================================== restore_after_suspend_to_ram: finished