[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <4599CAE3.1070103@shaw.ca>
Date: Mon, 01 Jan 2007 21:00:51 -0600
From: Robert Hancock <hancockr@...w.ca>
To: "Rafael J. Wysocki" <rjw@...k.pl>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Pavel Machek <pavel@....cz>, Dave Jones <davej@...hat.com>
Subject: Re: Suspend problems on 2.6.20-rc2-git1
Rafael J. Wysocki wrote:
>>>> Secondly, if you try and suspend manually it claims there is no swap
>>>> device available when there clearly is:
>>>>
>>>> [root@...alhost rob]# cat /proc/swaps
>>>> Filename Type Size Used
>>>> Priority
>>>> /dev/mapper/VolGroup00-LogVol01 partition 1048568 0 -1
>>>> [root@...alhost 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@...pamshaw.ca
Home Page: http://www.roberthancock.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists