LINUX.ORG.RU

Помогите настроить tuxonice на работу без swap'а

 , ,


0

1

Сделал так:

echo TuxOnIce > /var/tuxonice_image
dd if=/dev/zero bs=1M count=8192 >> /var/tuxonice_image
echo /var/tuxonice_image > /sys/power/tuxonice/file/target
UUID=a9041c486b894e39b32b9bcaa66dda78:0x27041000
и в конфиге ядра прописал(CONFIG_PM_STD_PARTITION): file:/dev/sda1:0x27041000
В итоге получаю:
[  723.361721] TuxOnIce 3.3, with support for usm, compression, block i/o, swap storage, file storage, userui.
[  723.418486] Initiating a hibernation cycle.
[  723.420836] Console is 48x170.
[  723.426061] Starting other threads.Freezing user space processes ... (elapsed 0.08 seconds) done.
[  723.514581] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[  723.525619] No storage available. Didn't try to prepare an image.
[  723.525625] Failed to prepare the image because...
[  723.525626] - You need some storage available to be able to hibernate.
[  723.525649] Restarting tasks ... done.
[  723.607999] video LNXVIDEO:00: Restoring backlight state
[  723.608005] video LNXVIDEO:01: Restoring backlight state
[  723.608866] TuxOnIce debugging info:
- TuxOnIce core  : 3.3
- Kernel Version : 3.8.10-geek.deylix.33
- Compiler vers. : 4.7
- Attempt number : 3
- Parameters     : 5 667648 0 0 -2 5
- Overall expected compression percentage: 0.
- Compressor is 'lzo'.
- Block I/O active.
- Max outstanding reads 1. Max writes 0.
  Memory_needed: 1024 x (4096 + 344 + 104) = 4653056 bytes.
  Free mem throttle point reached 0.
- Swap Allocator enabled.
  Swap available for image: 0 pages.
- File Allocator active.
  Storage available for image: 0 pages.
- No I/O speed stats available.
- Extra pages    : 0 used/2000.
- Result         : Hibernation was aborted.
                 : No storage was available.
Как правильно ему указать файл этот?

★★★★★

Ответ на: комментарий от ubiquitine

Настроил на работу с файлом через hibernate-script.

deterok ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.