Hi all, i upgraded from suse 10.1 to opensuse 10.2. Now suspend2ram doesn't work properly. 90% of the tries ends up in my laptop going to sleep, but when trying to wake up I get a blank screen with serious crash (I have to plug out all power then replug to get laptop to boot again). Sometimes s2ram works though. I have been trying to find out what the reason is without any success. My computer is in the powersave whitelist. My System: Asus M6N,opensuse 10.2, gnome Can anyone help me debug. Thanx. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-mobile+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mobile+help@opensuse.org
Hi Dennis, I had the same problem here. Suspend2ram worked fine until I installed my ISDN-pcmcia-Card (FritzCard PCMCIA). I found out, that suspend works fine, when I eject the card before going to suspend and wait until service isdn has ended. After resume the smpppd was not alive anymore. So I did some work in /etc/pm/hooks: original file-list: 00clear 01logging 05led 06autofs 10NetworkManager 23dock 30s2disk-check 45pcmcia 50modules ... NEW ordered (!!!) file list: 00clear 00smppd <<<< new file 01led 02pcmcia <<<< modified file 03logging 06autofs 10NetworkManager 23dock 30s2disk-check 50modules ... I modified the pcmcia-file to wait until the service isdn has ended - otherwise the machine freezes when resuming: ---snip--- #!/bin/bash case "$1" in hibernate|suspend) if [ -x "/sbin/pccardctl" ]; then echo "ejecting PCMCIA cards..." /sbin/pccardctl eject # HERE STARTS THE MODIFIED PART while [ X$x = X ] do /etc/init.d/isdn status if [ $? -eq 3 ] then x=x else sleep 1 fi done sleep 2 # HERE ENDS THE MODIFIED PART fi ;; thaw|resume) if [ -x "/sbin/pccardctl" ]; then echo "inserting PCMCIA cards..." /sbin/pccardctl insert fi ;; *) ;; esac exit 0 ---snap--- Here is the content of the file 00smppd to start the service smpppd on resume: ---snip--- #!/bin/bash case "$1" in thaw|resume) if [ -x /etc/init.d/smpppd ] then /etc/init.d/smpppd start fi ;; *) ;; esac exit 0 --snap--- I hope this will help you solving your Problem. Mark Dennis Campbell wrote:
Hi all, i upgraded from suse 10.1 to opensuse 10.2. Now suspend2ram doesn't work properly. 90% of the tries ends up in my laptop going to sleep, but when trying to wake up I get a blank screen with serious crash (I have to plug out all power then replug to get laptop to boot again). Sometimes s2ram works though. I have been trying to find out what the reason is without any success. My computer is in the powersave whitelist. My System: Asus M6N,opensuse 10.2, gnome Can anyone help me debug. Thanx. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-mobile+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mobile+help@opensuse.org
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-mobile+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mobile+help@opensuse.org
Thanks Mark, but i don't use my pcmcia port. So no smpppd. What I noticed is that if i use the s2ram command in a console (in X) first, suspend seems to work. If I use the laptops sleep button the first time I suspend -> no wakeup. Where can I find out where the problem lies. I can't see anything suspicious when reading /var/log/pm-suspend.log Thanks for any help. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-mobile+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mobile+help@opensuse.org
On Fri, Jan 12, 2007 at 04:15:45PM +0100, Dennis Campbell wrote:
Thanks Mark, but i don't use my pcmcia port. So no smpppd. What I noticed is that if i use the s2ram command in a console (in X) first, suspend seems to work. If I use the laptops sleep button the
"seems to work" means "it looks like it works, but doesn't"?
first time I suspend -> no wakeup. Where can I find out where the problem lies. I can't see anything suspicious when reading /var/log/pm-suspend.log
What modules were loaded? (should be in pm-suspend.log) Does it work if you call "pm-suspend" as root? (the sleep button should trigger calling the same script, so it should not be different, but you never know) -- Stefan Seyfried | "Please, just tell people QA / R&D Team Mobile Devices | to use KDE." SUSE LINUX Products GmbH, Nürnberg | -- Linus Torvalds --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-mobile+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mobile+help@opensuse.org
OK. I have been trying to find out a reproducable way to suspend2ram without success. I tried doing it from runlevel 3. Sometimes worked sometimes didn't work. Tried from runlevel 5 as root. Same thing. I really don't know how to track this bug down. My pm-suspend.log: Successfull suspend and resume: Sat Jan 13 01:22:21 CET 2007: running suspend hooks. ===== Sat Jan 13 01:22:21 CET 2007: running hook: /etc/pm/hooks/00clear ===== ===== Sat Jan 13 01:22:21 CET 2007: running hook: /etc/pm/hooks/01logging ===== suspend initiated: Sat Jan 13 01:22:21 CET 2007 Module Size Used by arc4 6272 1 ieee80211_crypt_wep 9344 1 af_packet 29320 4 fglrx 525104 37 ipv6 263584 16 ircomm_tty 28296 0 ircomm 18308 1 ircomm_tty snd_pcm_oss 53376 0 snd_mixer_oss 21248 1 snd_pcm_oss snd_seq 60272 0 snd_seq_device 12812 1 snd_seq cpufreq_conservative 11912 0 cpufreq_ondemand 10892 1 cpufreq_userspace 9088 0 cpufreq_powersave 5888 0 speedstep_centrino 12832 1 freq_table 8832 1 speedstep_centrino asus_acpi 21148 0 button 10896 0 battery 14340 0 ac 9476 0 apparmor 55572 0 aamatch_pcre 18304 1 apparmor nls_iso8859_1 8320 2 nls_cp437 9984 2 vfat 16640 2 fat 55324 1 vfat reiserfs 237312 1 loop 20488 0 dm_mod 60184 0 usbhid 52192 0 pcmcia 40892 0 tg3 104580 0 ipw2100 73520 0 ieee80211 34632 1 ipw2100 ieee80211_crypt 10112 2 ieee80211_crypt_wep,ieee80211 firmware_class 14080 2 pcmcia,ipw2100 ohci1394 37040 0 yenta_socket 30348 2 ieee1394 102584 1 ohci1394 rsrc_nonstatic 17024 1 yenta_socket pcmcia_core 43412 3 pcmcia,yenta_socket,rsrc_nonstatic ide_cd 42272 0 cdrom 38432 1 ide_cd nsc_ircc 22544 0 shpchp 40224 0 irda 132152 3 ircomm_tty,ircomm,nsc_ircc ehci_hcd 34696 0 intel_agp 27804 1 uhci_hcd 26892 0 crc_ccitt 6272 1 irda agpgart 35528 2 fglrx,intel_agp usbcore 114896 3 usbhid,ehci_hcd,uhci_hcd i8xx_tco 11160 0 pci_hotplug 35136 1 shpchp snd_intel8x0 36764 1 snd_ac97_codec 95648 1 snd_intel8x0 snd_ac97_bus 6400 1 snd_ac97_codec snd_pcm 86916 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec snd_timer 27908 2 snd_seq,snd_pcm snd 61188 10 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer soundcore 13792 1 snd snd_page_alloc 14472 2 snd_intel8x0,snd_pcm lp 15652 0 parport 39752 1 lp ext3 141192 1 mbcache 12804 1 ext3 jbd 70324 1 ext3 edd 13892 0 fan 8964 0 piix 13700 0 [permanent] thermal 18568 0 processor 34664 2 speedstep_centrino,thermal ide_disk 20480 6 ide_core 129992 3 ide_cd,piix,ide_disk total used free shared buffers cached Mem: 515520 474768 40752 0 40156 128756 -/+ buffers/cache: 305856 209664 Swap: 819272 40 819232 ===== Sat Jan 13 01:22:21 CET 2007: running hook: /etc/pm/hooks/05led ===== ===== Sat Jan 13 01:22:21 CET 2007: running hook: /etc/pm/hooks/06autofs ===== ===== Sat Jan 13 01:22:22 CET 2007: running hook: /etc/pm/hooks/10NetworkManager ===== ===== Sat Jan 13 01:22:24 CET 2007: running hook: /etc/pm/hooks/23dock ===== Sat Jan 13 01:22:24 CET 2007: running misc hooks for event undock. ===== Sat Jan 13 01:22:24 CET 2007: running hook: /etc/pm/hooks/30s2disk-check ===== ===== Sat Jan 13 01:22:24 CET 2007: running hook: /etc/pm/hooks/45pcmcia ===== ejecting PCMCIA cards... ===== Sat Jan 13 01:22:24 CET 2007: running hook: /etc/pm/hooks/49bluetooth ===== ===== Sat Jan 13 01:22:25 CET 2007: running hook: /etc/pm/hooks/50modules ===== trying to unload: button ===== Sat Jan 13 01:22:25 CET 2007: running hook: /etc/pm/hooks/80acpi-fan ===== ===== Sat Jan 13 01:22:25 CET 2007: running hook: /etc/pm/hooks/80videobios ===== ===== Sat Jan 13 01:22:25 CET 2007: running hook: /etc/pm/hooks/94cpufreq ===== ===== Sat Jan 13 01:22:25 CET 2007: running hook: /etc/pm/hooks/95led =====https://creativeproxy.web.de/?p=c2l0ZT1mcmVlbWFpbCZwZz1tJnBhPTMzJnBwPURfXzc2... ===== Sat Jan 13 01:22:25 CET 2007: running hook: /etc/pm/hooks/99Zgrub ===== ===== Sat Jan 13 01:22:25 CET 2007: running hook: /etc/pm/hooks/99info ===== Switching from vt63 to vt1 switching back to vt63 Sat Jan 13 02:13:17 CET 2007: running resume hooks. ===== Sat Jan 13 02:13:17 CET 2007: running hook: /etc/pm/hooks/99info ===== ===== Sat Jan 13 02:13:17 CET 2007: running hook: /etc/pm/hooks/99Zgrub ===== ===== Sat Jan 13 02:13:17 CET 2007: running hook: /etc/pm/hooks/95led ===== ===== Sat Jan 13 02:13:17 CET 2007: running hook: /etc/pm/hooks/94cpufreq ===== ===== Sat Jan 13 02:13:17 CET 2007: running hook: /etc/pm/hooks/80videobios ===== ===== Sat Jan 13 02:13:17 CET 2007: running hook: /etc/pm/hooks/80acpi-fan ===== ===== Sat Jan 13 02:13:17 CET 2007: running hook: /etc/pm/hooks/50modules ===== trying to reload: button trying to reload: ohci1394 ===== Sat Jan 13 02:13:17 CET 2007: running hook: /etc/pm/hooks/49bluetooth ===== ===== Sat Jan 13 02:13:17 CET 2007: running hook: /etc/pm/hooks/45pcmcia ===== inserting PCMCIA cards... ===== Sat Jan 13 02:13:18 CET 2007: running hook: /etc/pm/hooks/30s2disk-check ===== ===== Sat Jan 13 02:13:18 CET 2007: running hook: /etc/pm/hooks/23dock ===== Sat Jan 13 02:13:18 CET 2007: running misc hooks for event dock. ===== Sat Jan 13 02:13:18 CET 2007: running hook: /etc/pm/hooks/10NetworkManager ===== ===== Sat Jan 13 02:13:18 CET 2007: running hook: /etc/pm/hooks/06autofs ===== ===== Sat Jan 13 02:13:18 CET 2007: running hook: /etc/pm/hooks/05led ===== ===== Sat Jan 13 02:13:18 CET 2007: running hook: /etc/pm/hooks/01logging ===== ===== Sat Jan 13 02:13:18 CET 2007: running hook: /etc/pm/hooks/00clear ===== Unsuccessfull suspend: Tue Jan 16 19:00:27 CET 2007: running suspend hooks. ===== Tue Jan 16 19:00:27 CET 2007: running hook: /etc/pm/hooks/00clear ===== ===== Tue Jan 16 19:00:28 CET 2007: running hook: /etc/pm/hooks/01logging ===== suspend initiated: Tue Jan 16 19:00:28 CET 2007 Module Size Used by fglrx 525104 31 af_packet 29320 0 ipv6 263584 16 ircomm_tty 28296 0 ircomm 18308 1 ircomm_tty snd_pcm_oss 53376 0 snd_mixer_oss 21248 1 snd_pcm_oss snd_seq 60272 0 snd_seq_device 12812 1 snd_seq cpufreq_conservative 11912 0 cpufreq_ondemand 10892 1 cpufreq_userspace 9088 0 cpufreq_powersave 5888 0 speedstep_centrino 12832 1 freq_table 8832 1 speedstep_centrino asus_acpi 21148 0 button 10896 0 battery 14340 0 ac 9476 0 apparmor 55572 0 aamatch_pcre 18304 1 apparmor nls_iso8859_1 8320 2 nls_cp437 9984 2 vfat 16640 2 fat 55324 1 vfat reiserfs 237312 1 loop 20488 0 dm_mod 60184 0 pcmcia 40892 0 usbhid 52192 0 ipw2100 73520 0 ieee80211 34632 1 ipw2100 ohci1394 37040 0 ieee80211_crypt 10112 1 ieee80211 yenta_socket 30348 2 ide_cd 42272 0 rsrc_nonstatic 17024 1 yenta_socket ieee1394 102584 1 ohci1394 cdrom 38432 1 ide_cd tg3 104580 0 pcmcia_core 43412 3 pcmcia,yenta_socket,rsrc_nonstatic firmware_class 14080 2 pcmcia,ipw2100 snd_intel8x0 36764 1 snd_ac97_codec 95648 1 snd_intel8x0 snd_ac97_bus 6400 1 snd_ac97_codec snd_pcm 86916 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec snd_timer 27908 2 snd_seq,snd_pcm snd 61188 10 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer soundcore 13792 1 snd nsc_ircc 22544 0 snd_page_alloc 14472 2 snd_intel8x0,snd_pcm intel_agp 27804 1 irda 132152 3 ircomm_tty,ircomm,nsc_ircc crc_ccitt 6272 1 irda agpgart 35528 2 fglrx,intel_agp shpchp 40224 0 uhci_hcd 26892 0 ehci_hcd 34696 0 pci_hotplug 35136 1 shpchp i8xx_tco 11160 0 usbcore 114896 3 usbhid,uhci_hcd,ehci_hcd lp 15652 0 parport 39752 1 lp ext3 141192 1 mbcache 12804 1 ext3 jbd 70324 1 ext3 edd 13892 0 fan 8964 0 piix 13700 0 [permanent] thermal 18568 0 processor 34664 2 speedstep_centrino,thermal ide_disk 20480 6 ide_core 129992 3 ide_cd,piix,ide_disk total used free shared buffers cached Mem: 515520 409448 106072 0 14344 197820 -/+ buffers/cache: 197284 318236 Swap: 819272 0 819272 ===== Tue Jan 16 19:00:28 CET 2007: running hook: /etc/pm/hooks/05led ===== ===== Tue Jan 16 19:00:28 CET 2007: running hook: /etc/pm/hooks/06autofs ===== ===== Tue Jan 16 19:00:28 CET 2007: running hook: /etc/pm/hooks/10NetworkManager ===== ===== Tue Jan 16 19:00:30 CET 2007: running hook: /etc/pm/hooks/23dock ===== Tue Jan 16 19:00:30 CET 2007: running misc hooks for event undock. ===== Tue Jan 16 19:00:30 CET 2007: running hook: /etc/pm/hooks/30s2disk-check ===== ===== Tue Jan 16 19:00:30 CET 2007: running hook: /etc/pm/hooks/45pcmcia ===== ejecting PCMCIA cards... ===== Tue Jan 16 19:00:30 CET 2007: running hook: /etc/pm/hooks/49bluetooth ===== ===== Tue Jan 16 19:00:30 CET 2007: running hook: /etc/pm/hooks/50modules ===== trying to unload: button ===== Tue Jan 16 19:00:30 CET 2007: running hook: /etc/pm/hooks/80acpi-fan ===== ===== Tue Jan 16 19:00:30 CET 2007: running hook: /etc/pm/hooks/80videobios ===== ===== Tue Jan 16 19:00:30 CET 2007: running hook: /etc/pm/hooks/94cpufreq ===== ===== Tue Jan 16 19:00:30 CET 2007: running hook: /etc/pm/hooks/95led ===== ===== Tue Jan 16 19:00:30 CET 2007: running hook: /etc/pm/hooks/99Zgrub ===== ===== Tue Jan 16 19:00:30 CET 2007: running hook: /etc/pm/hooks/99info ===== Thanx for any help. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-mobile+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mobile+help@opensuse.org
On Tue, Jan 16, 2007 at 07:09:44PM +0100, Dennis Campbell wrote:
OK. I have been trying to find out a reproducable way to suspend2ram without success. I tried doing it from runlevel 3. Sometimes worked sometimes didn't work. Tried from runlevel 5 as root. Same thing. I really don't know how to track this bug down. My pm-suspend.log: Successfull suspend and resume: Sat Jan 13 01:22:21 CET 2007: running suspend hooks. ===== Sat Jan 13 01:22:21 CET 2007: running hook: /etc/pm/hooks/00clear ===== ===== Sat Jan 13 01:22:21 CET 2007: running hook: /etc/pm/hooks/01logging ===== suspend initiated: Sat Jan 13 01:22:21 CET 2007
Module Size Used by arc4 6272 1 ieee80211_crypt_wep 9344 1 af_packet 29320 4 fglrx 525104 37
The first thing i'd try would be to get rid of the binary only ati module. -- Stefan Seyfried QA / R&D Team Mobile Devices | "Any ideas, John?" SUSE LINUX Products GmbH, Nürnberg | "Well, surrounding them's out." --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-mobile+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mobile+help@opensuse.org
The first thing i'd try would be to get rid of the binary only ati module. OK, this seems to be the problem. I am not using the fglrx module anymore and suspend works (3 tries). Thanks stefan. But X (with Beryl) is not as snappy as with the fglrx module (but works) :-).
To unsubscribe, e-mail: opensuse-mobile+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mobile+help@opensuse.org
I've been using the free radeon driver and in comparison to the fglrx (ati) driver it is slower. So i am thinking of using the fglrx driver. But I need suspend2ram! So i tried to put the fglrx in SUSPEND_MODULES in /etc/pm/config. But when i try to suspend the log says it couldn't unload the module --> crash on resume. Is it possible at all to unload the module before suspend? Thanks for any help. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-mobile+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mobile+help@opensuse.org
On Sat, Jan 27, 2007 at 05:30:31PM +0100, Dennis Campbell wrote:
I've been using the free radeon driver and in comparison to the fglrx (ati) driver it is slower. So i am thinking of using the fglrx driver. But I need suspend2ram! So i tried to put the fglrx in SUSPEND_MODULES in /etc/pm/config. But when i try to suspend the log says it couldn't unload the module --> crash on resume. Is it possible at all to unload the module before suspend? Thanks for any help.
Probably yes. IIRC if you switch to runlevel 3, you should be able to unload fglrx. -- Stefan Seyfried QA / R&D Team Mobile Devices | "Any ideas, John?" SUSE LINUX Products GmbH, Nürnberg | "Well, surrounding them's out." --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-mobile+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mobile+help@opensuse.org
Does that mean if i use the fglrx module and want to suspend then I have to switch to init 3, suspend, resume, init 5 and login again? :-( Then rather stick to radeon. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-mobile+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-mobile+help@opensuse.org
participants (3)
-
Dennis Campbell
-
Mark Wenzel
-
Stefan Seyfried