public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Hancock <hancockr@shaw.ca>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	Pavel Machek <pavel@ucw.cz>, Dave Jones <davej@redhat.com>
Subject: Re: Suspend problems on 2.6.20-rc2-git1
Date: Mon, 01 Jan 2007 21:00:51 -0600	[thread overview]
Message-ID: <4599CAE3.1070103@shaw.ca> (raw)
In-Reply-To: <200701020047.02918.rjw@sisk.pl>

Rafael J. Wysocki wrote:
>>>> Secondly, if you try and suspend manually it claims there is no swap 
>>>> device available when there clearly is:
>>>>
>>>> [root@localhost rob]# cat /proc/swaps
>>>> Filename                                Type            Size    Used 
>>>> Priority
>>>> /dev/mapper/VolGroup00-LogVol01         partition       1048568 0       -1
>>>> [root@localhost rob]# echo disk > /sys/power/state
>>>> bash: echo: write error: No such device or address
>>> Hm, at first sight it looks like something broke the suspend to swap
>>> partitions located on LVM.  For now I have no idea what it was.
>> _Or_ something broke your initrd setup.
> 
> No, this is a kernel problem, I think.
> 
> Can you please check if the appended patch fixes the issue?
> 
> Thanks,
> Rafael
> 
> 
> ---
>  include/linux/swap.h |    2 +-
>  kernel/power/swap.c  |    9 +++++----
>  kernel/power/user.c  |    7 ++++---
>  mm/swapfile.c        |    8 +++++++-
>  4 files changed, 17 insertions(+), 9 deletions(-)

Yes, this seems to solve the problem for me..

-- 
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/

  reply	other threads:[~2007-01-02  3:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-31  8:15 Suspend problems on 2.6.20-rc2-git1 Robert Hancock
2006-12-31 13:27 ` Rafael J. Wysocki
2006-12-31 16:24   ` Rafael J. Wysocki
2007-01-01 23:47     ` Rafael J. Wysocki
2007-01-02  3:00       ` Robert Hancock [this message]
2007-01-02 10:31       ` Pavel Machek

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=4599CAE3.1070103@shaw.ca \
    --to=hancockr@shaw.ca \
    --cc=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=rjw@sisk.pl \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox