View previous topic :: View next topic |
Author |
Message |
Treborius Guru
Joined: 18 Oct 2005 Posts: 585 Location: Berlin
|
Posted: Tue Feb 02, 2016 10:52 am Post subject: [S] hibernate will nicht |
|
|
ich versuche hier s2disk zum Laufen zu bekommen
es wird auch ein snapshot geschrieben,
während des boot-Vorgangs bekomme ich sogar irgendwo die meldung, das die swap-partion ein suspend image enthält
aber es wird einfach ein normaler boot durchgeführt
swap partion ist /dev/sda3 aber weder mit resume=/dev/sda3 noch über UUID bekomme ich das system dazu gebracht ordentlich wieder aufzuwachen
hier mal ein Ausschnitt aus dmesg, nach erfolglosem Aufwachen
Code: |
[Di Feb 2 11:38:45 2016] Command line: BOOT_IMAGE=/vmlinuz-4.1.12-gentoo root=/dev/sda4 ro resume=UUID=b89dfa72-07fd-431b-8339-e1cc0b7c31c7
....
[Di Feb 2 11:38:45 2016] PM: Checking hibernation image partition UUID=b89dfa72-07fd-431b-8339-e1cc0b7c31c7
....
[Di Feb 2 11:38:45 2016] sda: sda1 sda2 sda3 sda4
[Di Feb 2 11:38:45 2016] sd 0:0:0:0: [sda] Attached SCSI disk
...
[Di Feb 2 11:38:45 2016] PM: Hibernation image not present or could not be loaded.
|
für /dev/sda3 sieht die meldung genauso aus
Wenn ich die Sequenz richtig lese, sucht er auch nach dem Image, ehe der kernel die harddisk überhaupt gefunden hat
hat jemand eine Ahnung wo ich noch nachschauen könnte? _________________ Systems running gentoo :
Desktop, Laptop, ZOTAC AD-10 media-center, odroid-xu4 server / wLan-router
Last edited by Treborius on Wed Feb 03, 2016 2:13 pm; edited 1 time in total |
|
Back to top |
|
|
Klaus Meier Advocate
Joined: 18 Apr 2005 Posts: 2908 Location: Bozen
|
Posted: Tue Feb 02, 2016 11:19 am Post subject: |
|
|
Hast du im Kernel die Variable "CONFIG_PM_STD_PARTITION" auf /dev/sda3 gesetzt?
Welchen Typ hat denn /dev/sda3? Mach mal ein "mkswap /dev/sda3" |
|
Back to top |
|
|
Treborius Guru
Joined: 18 Oct 2005 Posts: 585 Location: Berlin
|
Posted: Tue Feb 02, 2016 2:36 pm Post subject: |
|
|
Klaus Meier wrote: | Hast du im Kernel die Variable "CONFIG_PM_STD_PARTITION" auf /dev/sda3 gesetzt?
Welchen Typ hat denn /dev/sda3? Mach mal ein "mkswap /dev/sda3" |
#kernel -config
Code: |
CONFIG_PM_STD_PARTITION="/dev/sda3"
|
#blkid
Code: |
/dev/sda3: UUID="b89dfa72-07fd-431b-8339-e1cc0b7c31c7" TYPE="swap" PARTLABEL="swap" PARTUUID="62638867-6639-475a-b166-62490d4b7f6d"
|
edit : zu klein ist die swap partion imho auch nicht :
Code: |
free -h
total used
Mem: 3,8G 581M
Swap: 7,8G 0B
|
_________________ Systems running gentoo :
Desktop, Laptop, ZOTAC AD-10 media-center, odroid-xu4 server / wLan-router |
|
Back to top |
|
|
Klaus Meier Advocate
Joined: 18 Apr 2005 Posts: 2908 Location: Bozen
|
Posted: Wed Feb 03, 2016 6:27 am Post subject: |
|
|
Wirf doch mal das ganze Resume-Geraffel aus deiner Startzeile. Wenn du es im Kernel eingetragen hast, dann brauchst du sonst nichts mehr. Bei mir wurde der Eintrag von grub2-mkconfig generiert und nicht verändert. Er sieht so aus: Code: | /boot/vmlinuz-4.4.1-gentoo root=/dev/sda1 ro | Reicht. Mehr braucht man nicht und es funktioniert damit. |
|
Back to top |
|
|
Treborius Guru
Joined: 18 Oct 2005 Posts: 585 Location: Berlin
|
Posted: Wed Feb 03, 2016 2:12 pm Post subject: |
|
|
ach irgendwie will s2disk bei mir nicht mit
Code: |
SLEEP_MODULE="kernel"
|
in /etc/pm/config.d/gentoo funzt es nun,
ein einfaches
tuts wohl auch (ungetestet)
==> solved _________________ Systems running gentoo :
Desktop, Laptop, ZOTAC AD-10 media-center, odroid-xu4 server / wLan-router |
|
Back to top |
|
|
|