From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: Bug#354254: hibernate: Suspend to disk doesn't work: cannot find swap device Date: Sat, 25 Feb 2006 02:02:07 +0100 Message-ID: <200602250202.08033.rjw@sisk.pl> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: Victor Porton Cc: Debian Bug Tracking System , linux-pm@lists.osdl.org List-Id: linux-pm@vger.kernel.org On Saturday 25 February 2006 01:39, Victor Porton wrote: > On 24-Feb-2006 Rafael J. Wysocki wrote: > >> Suspend to disk does not work for me with the following dmesg message: > >> > >> PM: writing image. > >> swsusp: cannot find swap device, try swapon -a. > >> > > I think you haven't used the "resume=" kernel command > > line argument, which is mandatory for suspend with this kernel. > > I have used resume=/dev/swap > > /dev/swap is a symlink to /dev/hda2 I don't think the code that uses this argument is capable of following symlinks. Please use resume=/dev/hda2 and see if that helps. Greetings, Rafael