Sie sind nicht angemeldet.

1

18.08.2005, 16:28

Suspend to disk

Hallo,

kann mir jemand sagen wie ich dieses suspend to disk vielleicht zum laufen bekomme...

Habe einen 2.6.12-gentoo-r9 Kernel welcher schon von mir auf Software Suspend gepatched und kompiliert
wurde...
Wenn ich nun:

Quellcode

1
echo 4 > /proc/acpi/sleep

passiert gar nix...

Und das hibernate Skript funktioniert genauso wenig, der Bildschirm wird kurz Schwarz und danach sehen
die Logs so aus:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
euklid redwing # hibernate   
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureSwsusp2Capable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [95] Executing XHacksSuspendHook2 ...
hibernate: [97] Executing ChangeToSwsuspVT ...
hibernate: [99] Executing DoSwsusp2 ...
hibernate: Activating suspend ...
hibernate: Suspend reported the following errors:                #sehr aussagekräftige Fehlermeldung übrigens
 - Suspend was aborted (see dmesg).
Couldn't extract useful information from dmesg. Not logging here.
hibernate: [97] Executing ChangeFromSwsuspVT ...
hibernate: [91] Executing GentooModulesAutoload ...
Loading modules listed /etc/modules.autoload.d/kernel-2.6
Loading snd-intel8x0
Loading snd-ac97-codec
Loading nvidia
hibernate: [89] Executing RestoreKernelModprobe ...
hibernate: [85] Executing XHacksResumeHook2 ...
hibernate: [70] Executing ClockRestore ...
hibernate: [11] Executing XHacksResumeHook1 ...
hibernate: [01] Executing NoteLastResume ...
hibernate: [01] Executing LockFilePut ...


Als Anhang hab ich mal meine hibernate.conf mit bei...

Vielleicht kann mir ja jemand weiterhelfen...

Gruß

RedWing

2

18.08.2005, 16:59

Mal selbst in dmesg geschaut ?
__
Rud

3

18.08.2005, 17:29

Hi,

da steht leider nichts drin...

Nachtrag:
Es steht doch was drin, nur leider kann ich damit nix anfangen, da ich erstens grub verwende,
zweitens ich einen defulat resume2 eintrag im Kernel hab und drittens das hinzufuegen des
Kernelparameters resume2 in grub.conf auch nix bringt:

dmesg:

Quellcode

1
2
3
4
5
6
7
Software Suspend 2.1.9.9: No matching enabled writer found. Suspending disabled.
Software Suspend 2.1.9.9: Software suspend is disabled.
This may be because you haven't put something along the lines of

resume2=swap:/dev/hda1

in lilo.conf or equivalent. (Where /dev/hda1 is your swap partition).

Gruß

RedWing

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »RedWing« (18.08.2005, 17:35)


4

18.08.2005, 18:21

Wo ist denn deine Boot-Partition?nicht zufaellig /dev/hda1?
Wenn ja warum dann /dev/hda1steht als deine Swap Partition ?(

5

18.08.2005, 19:12

Hallo,

meine Bootpartition ist /dev/hdb3 und meine swap ist /dev/hdb2,
das hat damit aber recht wenig zu tun, da das ja nur ne Logmeldung ist und die swap Partition
schon richtig eingetragen ist... Grub ist auf /dev/hda installiert...

Trotzdem danke für deine Antwort.

Nachtrag:
mene grub.conf sieht so aus:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Gruß#
# Sample boot menu configuration file
#

# Boot automatically after 30 secs.
timeout 15

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1

# For booting GNU/Linux
title Gentoo Linux 2.6.12-r6
root (hd1,3) resume2=swap:/dev/hdb2
kernel (hd1,2)/linux-2.6.12-gentoo-r6 root=/dev/hdb4 init=/linuxrc ramdisk=8192 vga=0x31B video=vesafb:mtrr,ywrap
initrd (hd1,2)//initrd-2.6.12-gentoo-r6


RedWing

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »RedWing« (18.08.2005, 19:14)