* Bug#354254: hibernate: Suspend to disk doesn't work: cannot find swap device
@ 2006-02-24 19:17 Victor Porton
0 siblings, 0 replies; 4+ messages in thread
From: Victor Porton @ 2006-02-24 19:17 UTC (permalink / raw)
To: Debian Bug Tracking System
[-- Attachment #1: Type: text/plain, Size: 1394 bytes --]
Package: hibernate
Version: 1.12-1
Severity: normal
X-Debbugs-CC: pavel@suse.cz, linux-pm@osdl.org
Suspend to disk does not work for me with the following dmesg message:
PM: writing image.
swsusp: cannot find swap device, try swapon -a.
Yes, my swap was turned on and I checked it again. I HAVE run swapon -a.
$ swapon -s
Filename Type Size Used
Priority
/dev/hda2 partition 254008 0 -1
I run 2.6.15.4 kernel (not from Debian distribution).
Here is my approximate digits of memory usage during testing:
$free
total used free shared buffers cached
Mem: 248264 17088 231176 0 1528 9068
-/+ buffers/cache: 6492 241772
Swap: 254008 48 253960
I deem that there are enough swap space to save all my memory except
of free memory.
I have also checked that there are no "swapoff" string in files of hibernate
package except of /etc/init.d/hibernate (which runs only on boot, not on
suspend).
Attached are my kernel configuration and hibernate configuration.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.15.4not-debian-release
Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R
-- no debconf information
[-- Attachment #2: hibernate.conf.gz --]
[-- Type: application/octet-stream, Size: 2180 bytes --]
[-- Attachment #3: config.gz --]
[-- Type: application/octet-stream, Size: 9656 bytes --]
[-- Attachment #4: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug#354254: hibernate: Suspend to disk doesn't work: cannot find swap device
[not found] <E1FCiR6-0002no-00@porton.narod.ru>
@ 2006-02-24 19:42 ` Rafael J. Wysocki
2006-02-25 0:39 ` Victor Porton
0 siblings, 1 reply; 4+ messages in thread
From: Rafael J. Wysocki @ 2006-02-24 19:42 UTC (permalink / raw)
To: linux-pm, Victor Porton, 354254; +Cc: Debian Bug Tracking System
[-- Attachment #1: Type: text/plain, Size: 789 bytes --]
Hi,
On Friday 24 February 2006 20:17, Victor Porton wrote:
> Package: hibernate
> Version: 1.12-1
> Severity: normal
> X-Debbugs-CC: pavel@suse.cz, linux-pm@osdl.org
>
> Suspend to disk does not work for me with the following dmesg message:
>
> PM: writing image.
> swsusp: cannot find swap device, try swapon -a.
>
> Yes, my swap was turned on and I checked it again. I HAVE run swapon -a.
> $ swapon -s
> Filename Type Size Used
> Priority
> /dev/hda2 partition 254008 0 -1
>
> I run 2.6.15.4 kernel (not from Debian distribution).
I think you haven't used the "resume=<your_swap_partition>" kernel command
line argument, which is mandatory for suspend with this kernel.
Greetings,
Rafael
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug#354254: hibernate: Suspend to disk doesn't work: cannot find swap device
2006-02-24 19:42 ` Bug#354254: hibernate: Suspend to disk doesn't work: cannot find swap device Rafael J. Wysocki
@ 2006-02-25 0:39 ` Victor Porton
2006-02-25 1:02 ` Rafael J. Wysocki
0 siblings, 1 reply; 4+ messages in thread
From: Victor Porton @ 2006-02-25 0:39 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: Debian Bug Tracking System, 354254, linux-pm
[-- Attachment #1: Type: text/plain, Size: 473 bytes --]
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=<your_swap_partition>" 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
--
Victor Porton (porton@ex-code.com) - http://porton.ex-code.com
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug#354254: hibernate: Suspend to disk doesn't work: cannot find swap device
2006-02-25 0:39 ` Victor Porton
@ 2006-02-25 1:02 ` Rafael J. Wysocki
0 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2006-02-25 1:02 UTC (permalink / raw)
To: Victor Porton; +Cc: Debian Bug Tracking System, linux-pm
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=<your_swap_partition>" 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-02-25 1:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1FCiR6-0002no-00@porton.narod.ru>
2006-02-24 19:42 ` Bug#354254: hibernate: Suspend to disk doesn't work: cannot find swap device Rafael J. Wysocki
2006-02-25 0:39 ` Victor Porton
2006-02-25 1:02 ` Rafael J. Wysocki
2006-02-24 19:17 Victor Porton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox