public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: swsusp list
       [not found] ` <20020228094035.GB4760@atrey.karlin.mff.cuni.cz>
@ 2002-03-01 23:17   ` Shaun Jackman
  2002-03-04 18:35     ` Pavel Machek
  2002-03-03 23:33   ` swsusp: Unable to find swap-space signature Shaun Jackman
  1 sibling, 1 reply; 4+ messages in thread
From: Shaun Jackman @ 2002-03-01 23:17 UTC (permalink / raw)
  To: Pavel Machek; +Cc: linux-kernel

> 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).

/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 
get suspend working.
I know at one point 128MB was the limit on a swap partition. Is this limit 
gone now?
How technically difficult is it to make swsusp work with multiple swap 
partitions?

Cheers,
Shaun

[entire thread follows for the linux-kernel mailing list]
On Thu February 28, 2002 01h40, you wrote:
> Hi!
>
> > I've been trying to reach the swsusp mail list, but the webpage seems to
> > be down (I cannot access it).
> > http://lister.fornax.hu/mailman/listinfo/swsusp
> >
> > Is this site/list active? Where should I send technical questions?
>
> Well, don't know, probably linux-kernel@vger.kernel.org.
>
> > In any case, here's my Q. I patched my 2.4.17 kernel with the 2.5.1 patch
> > available on the web site. There were only minor rejects that I fixed
> > manually. I compiled and installed the kernel. Then I tried a SysRq-d and
> > got the following output (this was recorded by hand, so it may not be
> > perfect, but it should be close).
> >
> > Stopping Processes
> > Waiting... ok
> > Freeing...
> > Syncing disks before copy
> > /critical section: Counting pages to copy[nosave]
> >   (pages needed: 13251+512=13763 free:19500)
> > Alloc pagedir
> > [nosave] critical section/: done (13251 pages copied)
> > writing data to swap (13251 pages):... done
> > Writing pagedir (52 pages):...,header,signature<0>
> > Kernel panic: Need just one swapfile
> >
> > Pentium III 450 w/ 128 MB ram
> > 128 MB swap partition on each ide disk (256 MB total)
>
> You have to have just one swap partition. Disable one of them.
>
> 							Pavel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* swsusp: Unable to find swap-space signature
       [not found] ` <20020228094035.GB4760@atrey.karlin.mff.cuni.cz>
  2002-03-01 23:17   ` swsusp list Shaun Jackman
@ 2002-03-03 23:33   ` Shaun Jackman
  2002-03-07 19:31     ` Pavel Machek
  1 sibling, 1 reply; 4+ messages in thread
From: Shaun Jackman @ 2002-03-03 23:33 UTC (permalink / raw)
  To: Pavel Machek; +Cc: linux-kernel

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.

Thanks,
Shaun

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: swsusp list
  2002-03-01 23:17   ` swsusp list Shaun Jackman
@ 2002-03-04 18:35     ` Pavel Machek
  0 siblings, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2002-03-04 18:35 UTC (permalink / raw)
  To: Shaun Jackman; +Cc: linux-kernel

Hi!

> > 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).
> 
> /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.

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

Yep.

> 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
-- 
(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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: swsusp: Unable to find swap-space signature
  2002-03-03 23:33   ` swsusp: Unable to find swap-space signature Shaun Jackman
@ 2002-03-07 19:31     ` Pavel Machek
  0 siblings, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2002-03-07 19:31 UTC (permalink / raw)
  To: Shaun Jackman; +Cc: linux-kernel

Hi!

> 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
-- 
(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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-03-07 20:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E16gLkD-0000KR-00@quince.jackman>
     [not found] ` <20020228094035.GB4760@atrey.karlin.mff.cuni.cz>
2002-03-01 23:17   ` swsusp list Shaun Jackman
2002-03-04 18:35     ` Pavel Machek
2002-03-03 23:33   ` swsusp: Unable to find swap-space signature Shaun Jackman
2002-03-07 19:31     ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox