You are not logged in.

#1 2006-12-04 11:25:29

eNTi
Member
Registered: 2006-04-30
Posts: 108

[SOLVED]suspend-to-disk with kernel26suspend2

i've recently switched from my self compiled kernel (vanilla+suspend2 patches) to kernel26suspend2 and found that i can no longer hibernate. first it dmesg said that the support wasn't in the kernel and the last time i tried i got a kernel dump.

after that the console spammed:

serio: Not enough memory to queue event 0

usually i get:

Suspend2 FileAllocator: Testing whether you can resume:
Suspend2 2.2.9: FileAllocator: File signature found.
Resuming enabled.
Suspend2 2.2.9: Resuming enabled.
Suspend2 2.2.9: Initiating a software suspend cycle.
suspend_userui: program not configured. suspend_userui disabled.
Freezing cpus ...
Freezing processes
Stopping tasks... done.
Preparing Image.
Free:179527(179422). Sets:38693(24058),43748(25813). Header:10. Nosave:2-0=2. Storage:0/82951(2441880). Needed:-168380|-2358929|0.
Restarting tasks...done.
Stopping tasks... done.
Free:179527(179422). Sets:38693(24058),43748(25813). Header:10. Nosave:2-0=2. Storage:0/82951(2441880). Needed:-168380|-2358929|0.
Restarting tasks...done.
Block chain size (0) < header pages (0) + main pages (82941) (=82941).
Stopping tasks... done.
Preparing Image.
Free:166147(166042). Sets:38693(24058),43748(25813). Header:10. Nosave:13382-13380=2. Storage:82941/82951(2441880). Needed:-161690|-2358929|0.
Restarting tasks...done.
Stopping tasks... done.
Free:166159(166054). Sets:38681(24046),43748(25813). Header:10. Nosave:13382-13380=2. Storage:82941/82939(2441880). Needed:-161702|-2358941|0.
Restarting tasks...done.
Block chain size (0) < header pages (0) + main pages (82929) (=82929).
Stopping tasks... done.
Preparing Image.
Free:166159(166054). Sets:38681(24046),43748(25813). Header:10. Nosave:13382-13380=2. Storage:82929/82939(2441880). Needed:-161702|-2358941|0.
Restarting tasks...done.
Stopping tasks... done.
Free:166159(166054). Sets:38681(24046),43748(25813). Header:10. Nosave:13382-13380=2. Storage:82929/82939(2441880). Needed:-161702|-2358941|0.
Restarting tasks...done.
Block chain size (0) < header pages (0) + main pages (82929) (=82929).
Stopping tasks... done.
Preparing Image.
Free:166159(166054). Sets:38681(24046),43748(25813). Header:10. Nosave:13382-13380=2. Storage:82929/82939(2441880). Needed:-161702|-2358941|0.
Restarting tasks...done.
Stopping tasks... done.
Free:166159(166054). Sets:38681(24046),43748(25813). Header:10. Nosave:13382-13380=2. Storage:82929/82939(2441880). Needed:-161702|-2358941|0.
Restarting tasks...done.
Block chain size (0) < header pages (0) + main pages (82929) (=82929).
Stopping tasks... done.
Unable to successfully prepare the image.

Free:166159(166054). Sets:38681(24046),43748(25813). Header:10. Nosave:13382-13380=2. Storage:82929/82939(2441880). Needed:-161702|-2358941|0.
Restarting tasks...done.
Suspend2 debugging info:
- SUSPEND core   : 2.2.9
- Kernel Version : 2.6.18-suspend2
- Compiler vers. : 4.1
- Attempt number : 1
- Parameters     : 1 16400 0 1 0 0
- Overall expected compression percentage: 0.
- Compressor is 'lzf'.
- SwapAllocator inactive.
- FileAllocator active.
  Storage available for image: 82929 pages.
- No I/O speed stats available.
- Extra pages    : 0 used/500.
Thawing cpus ...
Synaptics Touchpad, model: 1, fw: 6.1, id: 0xa3a0b3, caps: 0xa04713/0x10008
input: SynPS/2 Synaptics TouchPad as /class/input/input4
 $ dmesg |grep -i susp
Linux version 2.6.18-suspend2 (root@architect) (gcc version 4.1.2 20061027 (prerelease)) #1 SMP PREEMPT Fri Nov 24 17:02:13 CET 2006
Suspend2 Core.
Suspend2 Userspace UI Support module loaded.
Suspend2 Checksumming module loaded.
Suspend2 Userspace Storage Manager module loaded.
Suspend2 Compressor module loaded.
Suspend2 Encryptor module loaded.
Suspend2 Block I/O module loaded.
Suspend2 Swap Allocator module loaded.
Suspend2 File Allocator module loaded.
Suspend2 FileAllocator: Testing whether you can resume:
Suspend2 2.2.9: FileAllocator: File signature found.
Suspend2 2.2.9: Resuming enabled.
Suspend2 2.2.9: Initiating a software suspend cycle.
suspend_userui: program not configured. suspend_userui disabled.
Suspend2 debugging info:
- SUSPEND core   : 2.2.9
- Kernel Version : 2.6.18-suspend2

i was actually lacking hibernate-script. didn't know, that i can suspend-to-ram without it. well, now i know.

Offline

Board footer

Powered by FluxBB