Wheezy - hibernace

Založil Josef Pajer, 09. 11. 2012, 20:05:59

Předchozí téma - Další téma

Josef Pajer

Zdravím ..
poradil by někdo, jak zprovoznit hibernaci na Debian Wheezy? Zkoušel jsem návod tady http://wiki.debian.org/Hibernation/Hibernate_Without_Swap_Partition .. a nějak se nedaří. po nastavení všeho podle návodu mi to napíše tuto hlášku .. s2disk: Could not use the resume device (try swapon -a). Reason: No such device
díky
J.

Ota Trkola

Určitě ještě doplň, co máš za HW. tzn výpis například z lspci

Josef Pajer

Jo .. to jsem zapomněl .. je to HP ProBook 5330m

root@nemesis:~# lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation 6 Series/C200 Series Chipset Family KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM67 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
02:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 30)
02:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 30)
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 (rev 34)

Petr Slunský

chybová hláška ukazuje na neexistující swap na zařízení. Podíval bych se na  nastavení:

GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/sda1 quiet" v zavaděči a
The "resume offset = 8288" is where the swapfile actually is, and "resume device" must be the partition and not the swap file.
v /etc/uswsusp.conf

Debian

Josef Pajer

resume device mám nastaveno na root partition, to by tak snad mělo být. Ale kde zjistim hodnotu toho resume offset, to mi nějak není jasné. Co tam mám nastaveno, to se tam nastavilo samo při "dpkg-reconfigure uswsusp".
Swap v systému nemám, proto jsem se to pokoušel nastavit podle toho návodu pro systém bez swap.