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

KPowerSave - Fehlercode 1 und 127

Hallo,

ich beschäftige mich seit ca. 2 Wochen intensiv mit LinuxOpenSuse 11.0.

Mein Ziel ist es, einen Daten und Webserver einzurichten.
Nachdem ich nun einige Probleme und Einrichtungen tlw. mit Hilfe von Google gelöst habe, bin ich auf einen Fehler gestoßen, dessen bedeutung ich nicht wirklich verstehe.

Über KPowerSave habe ich versucht, meinen HP Compaq-Rechner (Baujahr 2004) in den Ruhuzustand bzw. StandBy-Modus zu versetzen (Suspend to Disk oder Suspent to Ram).

Leider bricht diese "Routine" (?) leider mit einer Fehlercodemeldung ab.
Bei Suspend to Disk Fehlercode 1
Bei Suspend to Ram Fehlercode 127

Nachdem ich mir dann die Logdatei angeschaut habe, bin ich zwar auf eine Fehlermeldung gestoßen, verstehe aber nicht ganz den Sinn, bzw. eine Lösungsmöglichkeit.

Durch Google konnte ich zumindest erfahren, das man ein Biosupdate durchführen soll, um eventuelle Probleme damit zu beheben.
Das habe ich dann auch getan, jedoch ergibt sich keine Verbesserung des Problem.

Auch das Umstellen von Parametern im Bios hat micr nicht weitergeholfen.

Hier mal der Auszug aus der Fehlerprotokollierung (Despent to Disk):

Code:
Sun Sep  7 20:28:06 CEST 2008: running hibernate hooks.
===== Sun Sep  7 20:28:06 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/00clear =====
===== Sun Sep  7 20:28:06 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/01logging =====
hibernate initiated: Sun Sep  7 20:28:06 CEST 2008

Module                  Size  Used by
ip6t_LOG               23428  11 
xt_tcpudp              19584  26 
xt_pkttype             18304  5 
ipt_LOG                22788  12 
xt_limit               19076  23 
i915                   46464  2 
drm                    98200  3 i915
binfmt_misc            28040  1 
snd_pcm_oss            64256  0 
snd_mixer_oss          33408  1 snd_pcm_oss
snd_seq                73664  0 
snd_seq_device         25100  1 snd_seq
edd                    26440  0 
microcode              30608  0 
firmware_class         25984  1 microcode
ip6t_REJECT            21376  3 
nf_conntrack_ipv6      33272  5 
ipt_REJECT             20352  3 
xt_state               18944  10 
iptable_mangle         19712  0 
iptable_nat            23688  0 
nf_nat                 35736  1 iptable_nat
iptable_filter         19840  1 
ip6table_mangle        19584  0 
nf_conntrack_netbios_ns    19200  0 
nf_conntrack_ipv4      27652  8 iptable_nat,nf_nat
nf_conntrack           79188  6 nf_conntrack_ipv6,xt_state,iptable_nat,nf_nat,nf_conntrack_netbios_ns,nf_conntrack_ipv4
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  15 ip6t_REJECT,nf_conntrack_ipv6,ip6table_mangle
fuse                   66332  1 
loop                   35332  0 
dm_mod                 78676  0 
snd_intel8x0           50460  1 
snd_ac97_codec        120868  1 snd_intel8x0
ac97_bus               18304  1 snd_ac97_codec
usbhid                 60260  0 
snd_pcm               100100  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
iTCO_wdt               28580  0 
hid                    53708  1 usbhid
snd_timer              40712  2 snd_seq,snd_pcm
thermal                39452  0 
ppdev                  25348  0 
rtc_cmos               27168  0 
iTCO_vendor_support    20228  1 iTCO_wdt
i2c_i801               26128  0 
rtc_core               37148  1 rtc_cmos
tg3                   128516  0 
snd                    79544  10 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
intel_agp              43460  1 
button                 25360  0 
processor              67504  1 thermal
sr_mod                 33320  1 
ff_memless             21896  1 usbhid
rtc_lib                19328  1 rtc_core
soundcore              24264  1 snd
serio_raw              23428  0 
cdrom                  50588  1 sr_mod
parport_pc             55100  0 
i2c_core               41108  1 i2c_i801
agpgart                50868  3 drm,intel_agp
snd_page_alloc         27400  2 snd_intel8x0,snd_pcm
shpchp                 50196  0 
parport                52948  2 ppdev,parport_pc
pci_hotplug            46116  1 shpchp
sg                     52020  0 
sd_mod                 45208  6 
ehci_hcd               52492  0 
uhci_hcd               40848  0 
usbcore               164684  4 usbhid,ehci_hcd,uhci_hcd
ext3                  155784  4 
mbcache                25348  1 ext3
jbd                    73376  1 ext3
ata_piix               38404  6 
libata                176220  1 ata_piix
scsi_mod              168308  4 sr_mod,sg,sd_mod,libata
dock                   27536  1 libata

             total       used       free     shared    buffers     cached
Mem:        506852     484052      22800          0      15384     283196
-/+ buffers/cache:     185472     321380
Swap:       763048         16     763032

===== Sun Sep  7 20:28:06 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/05led =====
===== Sun Sep  7 20:28:06 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/06autofs =====
===== Sun Sep  7 20:28:06 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
===== Sun Sep  7 20:28:06 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/20reset-bluetooth =====
===== Sun Sep  7 20:28:06 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/30s2disk-check =====
INFO: checking for suspend-to-disk prerequisites...
ERROR: no resume parameter on kernel commandline, can not suspend
WARNING: /var/run/pm-utils.inhibit will be created to prevent suspending!
===== Sun Sep  7 20:28:06 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/45pcmcia =====
===== Sun Sep  7 20:28:06 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/50modules =====
===== Sun Sep  7 20:28:06 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/55battery =====
===== Sun Sep  7 20:28:06 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/80acpi-fan =====
===== Sun Sep  7 20:28:06 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/80videobios =====
===== Sun Sep  7 20:28:06 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
===== Sun Sep  7 20:28:06 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/95led =====
===== Sun Sep  7 20:28:06 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/99Zgrub =====
INFO: running prepare-grub
  Skipping grub entry #1, because it has the noresume option
  running kernel is grub menu entry 0 (vmlinuz)
  preparing boot-loader: selecting entry 0, kernel /boot/2.6.25.5-1.1-pae
  grub-once:   running '/usr/sbin/grubonce 0'
Using entry #0: openSUSE 11.0
    time needed for sync: 0.8 seconds, time needed for grub: 0.0 seconds.
===== Sun Sep  7 20:28:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/99info =====
Sun Sep  7 20:28:07 CEST 2008: done running hibernate hooks.
Sun Sep  7 20:28:07 CEST 2008: running thaw hooks.
===== Sun Sep  7 20:28:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/99info =====
===== Sun Sep  7 20:28:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/99Zgrub =====
INFO: running grub-once-restore
===== Sun Sep  7 20:28:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/95led =====
===== Sun Sep  7 20:28:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
===== Sun Sep  7 20:28:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/80videobios =====
===== Sun Sep  7 20:28:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/80acpi-fan =====
===== Sun Sep  7 20:28:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/55battery =====
===== Sun Sep  7 20:28:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/50modules =====
===== Sun Sep  7 20:28:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/45pcmcia =====
===== Sun Sep  7 20:28:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/30s2disk-check =====
===== Sun Sep  7 20:28:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/20reset-bluetooth =====
===== Sun Sep  7 20:28:07 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
===== Sun Sep  7 20:28:08 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/06autofs =====
===== Sun Sep  7 20:28:08 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/05led =====
===== Sun Sep  7 20:28:08 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/01logging =====
===== Sun Sep  7 20:28:08 CEST 2008: running hook: /usr/lib/pm-utils/sleep.d/00clear =====
Sun Sep  7 20:28:08 CEST 2008: done running thaw hooks.

Weiß jemand Rat?

Merlin der Zauberer
 
Hallo,

mittlerweile habe ich einige Dinge herrausgefunden.

Für das "Suspend per Disk" habe ich scheinbar die Swap-Partion zu klein gewählt. Dabei war das der Standartwert. Bei einer Arbeitsspeichergröße von 512MByte und einer Swap-Partion von 2GB funktionert dies wunderbar.

Beim "Suspend per RAM" liegt es daran, das mein Computersystem unbekannt ist, somit KPowerSave nicht weiß, welcher Parameter verwendet werden soll.
Über die Konsole mit dem Befehl "s2ram -f" funktioniert dann auch dieses. Die Entwickler bitten bei solchen Fällen darum, eine Mitteilung mit den Systeminformationen mittels "s2ram -i" zu zusenden.

Das alles habe ich übrigens nach einigen Suchen in der Online-Referenz von OpenSuse gefunden.

Wer lesen kann, ist schwer im Vorteil :( :lol: :eek:
 
Oben