Skip to contentSkip to conversation

swsusp list

DISCUSSION Pavel Machek 1 participant 2 messages Mar 4, 2002 – Mar 7, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi!

Quoted 4 lines
Quoted 1 line

You have to have just one swap partition. Disable one of them.

Ok, I did that. Now I'm getting an error there's not enough swap space (logical enough I think).

Quoted 8 lines

/critical section: Counting pages to copy[nosave] (pages needed :18062+152=18574 free 14689)
Couldn't get enough free pages, on 3885 pages short.

Kernel panic: Not enough free pages

If both swap partitions is disallowed, and one swap partition isn't enough space, is there anything I can do now to make this work? I'd really like to

This is not enough RAM, there's enough swap. You may try quitting some applications.

Quoted 3 lines

get suspend working.
I know at one point 128MB was the limit on a swap partition. Is this limit gone now?

Yep.

Quoted 2 lines

How technically difficult is it to make swsusp work with multiple swap partitions?

Should not be that hard. But you'd have to pass both partitions on command line, etc.
Pavel

Signature · 2 lines
(about SSSCA) "I don't say this lightly.  However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa
#2 lore raw

Re: swsusp: Unable to find swap-space signature

In reply to a message not in the archive

Hi!

Quoted 11 lines

I think I'm making progress.
I have 128 MB RAM, and a single 256 MB swap partition.
I pressed SysRq-D, swsusp displayed all sorts of successful messages, and then rebooted my computer. (can I get it to poweroff my computer instead of reboot it?)

When it started up again, the kernel displayed the message "Unable to find swap-space signature" and went on to fsck. The swap partition seemed dead. I ran mkswap and swapon to get my swap partition back.

Any idea what went wrong? I'd love to get swsusp working.

Yep, you need to pass resume=/dev/hda3 to resume (on kernel command line).

Pavel

Signature · 2 lines
(about SSSCA) "I don't say this lightly.  However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa