[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#347886: linux-image-2.6.15-1-k7: Software Suspend: "Unable to find swap device"



On Fri, 13 Jan 2006, Johannes Rohr wrote:

> Package: linux-image-2.6.15-1-k7
> Version: 2.6.15-1
> Severity: normal
> 
> Hi, I've been trying to use software suspend which is enabled in this
> kernel version. Strangely, software suspend complains:
> 
> "unable to find swap device. Try swapon -a"

please tell which initramfs generator you use?
it's the business of the initramfs to hand hove to the swsusp image.

please try initramfs-tools, works fine here.
 
> This is the contents of /proc/cmdline
> 
> root=/dev/hdb5 ro resume=/dev/hda6 resume2=file:/dev/hdb5:0x18a5d
> 
> (resume2 is intendend for other, home compiled kernels and should be
> ignored by this one)
> 
> this is the output of "swapon -s"
> 
> Filename                                Type            Size    Used    Priority
> /dev/hda6                               partition       1052216 149524  -1
> 
> This is the result of "grep swap /etc/fstab":
> 
> /dev/hda6       none            swap    sw              0       0

that looks sane.
 
> Finally, I should say that the same problem occurs with Software
> Suspend2 - unless I use the file writer backend instead of suspending
> to a swap partition, see bug #312218.
> 
> The only thing special about my box that I can think of is, that I
> have two hard disks which Debian being installed on the second one.

suspend2 is another biest, never used it..

-- 
maks



Reply to: