• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] Suspend to Ram Problem Opensuse 11.0 Acer 5652.

Kaukasus

Newbie
HAllo

ich lese hier schon den ganzen abend Artikel, wie ich das Suspend to Ram Problem lösen kann. Finde aber nichts...
Ich habe mittlerweile herausgefunden, dass mein Laptop Acer5652 AWLMI mit KDE 3, Opensuse 11 (Kernel Linux 2.6.25.11-0.1-pae i686) und 3D Desktop auf den Befehl
Code:
s2ram -f
genauso reagiert wie man es erwarten würde..... Also perfekt. Naja ok der Knetworkmanager kann sich danach manchmal nicht mehr verbinden..... Aber damit kann ich ersteinmal leben.....

Was ich allerdings bisher nicht herausgefunden habe ist, wie ich diesen Befehl entweder dem Schalter des Deckels oder der Tastenkombination FN und Sleep zuordne.
Ich habe in der Konfigurationsdatei von KPowersafe rumgebastelt und auch KPowersave deaktiviert, weil dann wohl andere Scripts ausgeführt werden (/usr/lib/pm-utils)....
Funktioniert hat nichts, außer eben in der Shell (als root) den oben genannten Befehl einzugeben......
Mein Rechner reagiert zwar wenn ich den Deckel schließe, steigt aber mit dem folgendem Fehler aus::

Ein unbekannter Fehler ist aufgetreten während Suspend to RAM. Der Fehlercode ist: '127'
Wollen Sie die Log Datei anschauen?

Die LOG Datei sieht so aus:

Thu Aug 14 21:39:55 CEST 2008: running suspend hooks.
===== Thu Aug 14 21:39:55 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/00clear =====
===== Thu Aug 14 21:39:55 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/01logging =====
suspend initiated: Thu Aug 14 21:39:55 CEST 2008

Module Size Used by
st 53660 0
ide_disk 31616 0
ide_cd_mod 51460 0
ide_core 131104 2 ide_disk,ide_cd_mod
aes_i586 24704 1
aes_generic 44072 1 aes_i586
ip6t_LOG 23428 7
xt_tcpudp 19584 2
xt_pkttype 18304 3
ipt_LOG 22788 8
xt_limit 19076 15
af_packet 38656 4
ip6t_REJECT 21376 3
nf_conntrack_ipv6 33528 4
ipt_REJECT 20352 3
snd_pcm_oss 64256 0
xt_state 18944 8
snd_mixer_oss 33408 1 snd_pcm_oss
snd_seq 73664 0
snd_seq_device 25100 1 snd_seq
iptable_mangle 19712 0
iptable_nat 23688 0
nf_nat 35736 1 iptable_nat
iptable_filter 19840 1
cpufreq_conservative 24456 0
ip6table_mangle 19584 0
cpufreq_userspace 22660 0
nf_conntrack_netbios_ns 19200 0
cpufreq_powersave 18176 0
nf_conntrack_ipv4 27652 7 iptable_nat,nf_nat
acpi_cpufreq 26380 1
nf_conntrack 79188 6 nf_conntrack_ipv6,xt_state,iptable_nat,nf_nat,nf_conntrack_netbios_ns,nf_conntrack_ipv4
speedstep_lib 21508 0
ip_tables 30224 3 iptable_mangle,iptable_nat,iptable_filter
ip6table_filter 19712 1
ip6_tables 31376 3 ip6t_LOG,ip6table_mangle,ip6table_filter
x_tables 33668 11 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,ipt_REJECT,xt_state,iptable_nat,ip_tables,ip6_tables
ipv6 281064 19 ip6t_REJECT,nf_conntrack_ipv6,ip6table_mangle
binfmt_misc 28040 1
microcode 30608 0
fuse 66332 1
loop 35332 0
dm_mod 78676 0
arc4 18432 2
ecb 20096 2
snd_hda_intel 386588 4
crypto_blkcipher 36356 1 ecb
pcmcia 55924 0
rtc_cmos 27168 0
snd_pcm 100100 3 snd_pcm_oss,snd_hda_intel
rtc_core 37148 1 rtc_cmos
iwl3945 106332 0
acer_wmi 27572 0
snd_timer 40712 3 snd_seq,snd_pcm
snd_page_alloc 27400 2 snd_hda_intel,snd_pcm
irda 142984 0
video 39312 21
rtc_lib 19328 1 rtc_core
firmware_class 25984 3 microcode,pcmcia,iwl3945
serio_raw 23428 0
ohci1394 48432 0
yenta_socket 43020 1
mac80211 190612 1 iwl3945
sdhci 33676 0
sr_mod 33320 0
joydev 28224 0
iTCO_wdt 28580 0
crc_ccitt 18432 1 irda
snd_hwdep 26372 1 snd_hda_intel
led_class 21764 1 acer_wmi
i2c_i801 26128 0
output 20224 1 video
rsrc_nonstatic 29696 1 yenta_socket
nvidia 7148480 40
container 21504 0
intel_agp 43460 0
cdrom 50588 2 ide_cd_mod,sr_mod
iTCO_vendor_support 20228 1 iTCO_wdt
ac 22916 0
ieee1394 107016 1 ohci1394
snd 79544 14 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
battery 31108 0
sg 52020 0
wmi 24488 1 acer_wmi
pcmcia_core 55188 3 pcmcia,yenta_socket,rsrc_nonstatic
mmc_core 65564 1 sdhci
tg3 128516 0
i2c_core 41108 2 i2c_i801,nvidia
button 25360 0
agpgart 50868 2 nvidia,intel_agp
soundcore 24264 1 snd
cfg80211 35592 1 mac80211
uhci_hcd 40848 0
ehci_hcd 52492 0
sd_mod 45208 4
usbcore 164812 3 uhci_hcd,ehci_hcd
edd 26440 0
ext3 155912 2
mbcache 25348 1 ext3
jbd 73504 1 ext3
fan 22660 0
ata_piix 38532 3
libata 176604 1 ata_piix
scsi_mod 168436 5 st,sr_mod,sg,sd_mod,libata
dock 27536 1 libata
thermal 40348 0
processor 67504 4 acpi_cpufreq,thermal

total used free shared buffers cached
Mem: 2073708 844348 1229360 0 25664 405852
-/+ buffers/cache: 412832 1660876
Swap: 2104472 24 2104448

===== Thu Aug 14 21:39:55 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/05led =====
===== Thu Aug 14 21:39:55 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/06autofs =====
===== Thu Aug 14 21:39:55 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
===== Thu Aug 14 21:39:55 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/20reset-bluetooth =====
===== Thu Aug 14 21:39:55 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/30s2disk-check =====
===== Thu Aug 14 21:39:55 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/45pcmcia =====
ejecting PCMCIA cards...
===== Thu Aug 14 21:39:55 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/50modules =====
===== Thu Aug 14 21:39:55 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/55battery =====
===== Thu Aug 14 21:39:55 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/80acpi-fan =====
===== Thu Aug 14 21:39:55 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/80videobios =====
===== Thu Aug 14 21:39:55 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
===== Thu Aug 14 21:39:55 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/95led =====
===== Thu Aug 14 21:39:55 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/99Zgrub =====
===== Thu Aug 14 21:39:55 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/99info =====
Thu Aug 14 21:39:55 CEST 2008: done running suspend hooks.
+ /usr/sbin/s2ram
Machine is unknown.
This machine can be identified by:
sys_vendor = "Acer "
sys_product = "Aspire 5650 "
sys_version = "V3.50"
bios_version = "V3.50"
See http://en.opensuse.org/S2ram for details.

If you report a problem, please include the complete output above.
If you report success, please make sure you tested it from both X and
the text console and preferably without proprietary drivers.
+ RET=127
+ set +x
Thu Aug 14 21:39:57 CEST 2008: running resume hooks.
===== Thu Aug 14 21:39:57 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/99info =====
===== Thu Aug 14 21:39:57 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/99Zgrub =====
===== Thu Aug 14 21:39:57 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/95led =====
===== Thu Aug 14 21:39:57 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
===== Thu Aug 14 21:39:57 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/80videobios =====
===== Thu Aug 14 21:39:57 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/80acpi-fan =====
===== Thu Aug 14 21:39:57 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/55battery =====
method return sender=:1.2 -> dest=:1.1482 reply_serial=2
boolean false
===== Thu Aug 14 21:39:57 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/50modules =====
===== Thu Aug 14 21:39:57 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/45pcmcia =====
inserting PCMCIA cards...
===== Thu Aug 14 21:39:57 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/30s2disk-check =====
===== Thu Aug 14 21:39:57 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/20reset-bluetooth =====
===== Thu Aug 14 21:39:57 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
===== Thu Aug 14 21:39:57 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/06autofs =====
===== Thu Aug 14 21:39:57 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/05led =====
===== Thu Aug 14 21:39:57 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/01logging =====
===== Thu Aug 14 21:39:57 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/00clear =====
Thu Aug 14 21:39:57 CEST 2008: done running resume hooks.

Vielen Dank im voraus
 

achim0815

Member
Hallo,

hatt bei meinen Maxdata genau die gleiche Fehlermeldung.

Habe im Verzeichniss:
/usr/lib/pm-utils/
die Datei " defaults " mit einem Editor geöffnet, und den Eintrag

# what options should be passed to s2ram?
# see http://en.opensuse.org/S2ram for more information
S2RAM_OPTS=""
geändert zu
S2RAM_OPTS="-f"

seither klappt es auch mit Suspend 2 Ram ohne Probleme.

Gruß Achim
 
OP
K

Kaukasus

Newbie
Hallo,

habe gerade gelesen, dass die Dateie in /usr/lib/pm-utils nur angearbeitet werden, wenn KPowersave nicht aktiv ist.
Ich kann das irgendwie nicht bestätigen. Auch nach dem Beenden von KPowersave gehts bei mir nicht.

Weiere Ideen ?
 
OP
K

Kaukasus

Newbie
Hallo....

Jetzt funktioniert es !!!!!

Ich hatte schon vorher einmal die Datei in /etc/sysconfig/powersafe/events bearbeitet. Als ich jetzt die original Version zurückgeschrieben hatte und den Tipp von oben berücksichtigt hatte ging es !!!

Vielen Dank !!!!

Achso ja ..... Das Problem, dass mein WLAN sich nicht mehr verbinden kann nach dem suoend ist immer noch da !

Für Tipps bin ich weiterhin dankbar !!!!
 
Kaukasus schrieb:
Achso ja ..... Das Problem, dass mein WLAN sich nicht mehr verbinden kann nach dem suoend ist immer noch da !
Fuer jedes Problem bitte einen eigenen Thread aufmachen.
Da wohl das S2RAM Problem geloest ist, bitte den ersten Beitrag entsprechend editieren und ein [gelöst] setzen.
 
Oben