All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: rasmit.ranjan@wipro.com
Cc: linux-pm@lists.osdl.org
Subject: Re: suspend to disk not working due to swap space failure
Date: Tue, 8 Aug 2006 15:45:02 +0200	[thread overview]
Message-ID: <200608081545.02774.rjw@sisk.pl> (raw)
In-Reply-To: <380D9721A8E2114485644D71E87C6AB20250B425@PNE-HJN-MBX01.wipro.com>

On Tuesday 08 August 2006 15:13, rasmit.ranjan@wipro.com wrote:
> Hi all,
>     In my laptop, suspend to disk was working properly.But after so many
> days I tried it today.But it failed. First time i tried it showed " Not
> enough space, Error -12 suspending".But i tried once more. Then it
> failed  showing "error: can not find swap device, try swapon -a ".This
> seems my swap partition is not active. So I tried "swapon -a" but it did
> not work. Also the output of "swapon -s " shows nothing. I tried "cat
> /proc/swaps" but this shows nothing as well. So i tried creating a new
> swap space by the command " mkswap". But still my swap partition does
> not come up. I reboot my system but that did not work as well. What
> might be the problem? 

The header of your swap partition got lost.  Please try
"mkswap <your_swap_partition_name>" and then swapon -a.  If it works, the
suspend should work either.

Greetings,
Rafael

  reply	other threads:[~2006-08-08 13:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-08 13:13 suspend to disk not working due to swap space failure rasmit.ranjan
2006-08-08 13:45 ` Rafael J. Wysocki [this message]
2006-08-08 13:53 ` Johannes Berg
  -- strict thread matches above, loose matches on Subject: below --
2006-08-09  3:05 rasmit.ranjan
2006-08-09  3:05 rasmit.ranjan
2006-08-09  6:04 ` Rafael J. Wysocki
2006-08-10  6:23 rasmit.ranjan
2006-08-10 20:57 ` Rafael J. Wysocki
2006-08-11  4:51 rasmit.ranjan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200608081545.02774.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=linux-pm@lists.osdl.org \
    --cc=rasmit.ranjan@wipro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.