Bug#340593: linux-image-2.6.14-2-686: swsusp does not suspend (swsusp: cannot find swap device, try swapon -a.)
Package: linux-image-2.6.14-2-686
Version: 2.6.14-3
Severity: normal
When I try to suspend to disk, swsusp answers:
swsusp: cannot find swap device, try swapon -a.
I use the hibernate script (package hibernate) configured to use
### sysfs_power_state
UseSysfsPowerState disk
but the same happens when I echo disk to /sys/power/state.
I have googled a while and it seems to me swsusp is complaining about
IDE being compiled as modules (begging for a bug report to the swsusp
maintainer for the misleading output), see LKML, thread
http://marc.theaimsgroup.com/?t=110789542400001&r=1&w=2
However, this thread is quite old and may be out of date.
The start of this discussion happened on bug #267600.
Maximilian Attems asked for the following information:
> cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/hda7 / reiserfs rw 0 0
proc /proc proc rw,nodiratime 0 0
sysfs /sys sysfs rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
/dev/hda7 /dev/.static/dev reiserfs rw 0 0
tmpfs /dev tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
/dev/hda1 /media/win ntfs ro,nosuid,nodev,uid=0,gid=100,fmask=0337,dmask=0227,nls=utf8,errors=continue,mft_zone_multiplier=1 0 0
/dev/hda5 /media/data vfat rw,nodiratime,nosuid,nodev,uid=1002,gid=1002,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,utf8 0 0
> cat /proc/swaps
Filename Type Size Used Priority
/dev/hda6 partition 1261060 944 -1
> cat /etc/fstab
# /etc/fstab: filesystem table.
# filesystem mountpoint type options dump pass
/dev/hda7 / reiserfs defaults 0 1
/dev/hda6 none swap sw 0 0
proc /proc proc defaults 0 0
sys /sys sysfs defaults 0 0
usbfs /proc/bus/usb usbfs auto 0 0
/dev/hda1 /media/win ntfs noauto,users,exec,gid=users,dmask=0227,fmask=0337,nls=utf8,ro 0 0
/dev/hda5 /media/data auto noauto,users,exec,utf8=true 0 0
# This should be handled by gvm, too, but it seems my cdrom is crap. Or dbus/hal/whatever.
# Update: with some new software versions (30.Nov.2004) it works
# When I comment the line, it gets mounted as "/dev/hdc/ on /media/hdc" and Nautilus displays an "hdc" icon.
# When I leave the line, it gets mounted as "/dev/hdc on /media/cdrom" and Nautilus displays the volume label. Strange
# /dev/cdrom /media/cdrom auto defaults,,noauto,ro,user,noexec,nosuid,nodev 0 0
/dev/hdc /media/cdrom auto defaults,,noauto,ro,user,noexec,nosuid,nodev 0 0
I passed a resume=/dev/hda6 parameter with grub.
> cat /proc/cmdline
root=/dev/hda7 hdb=none hdd=none apm=off vga=775 ydebug resume=/dev/hda6
This is my first (Debian) bug report, hooray :).
Thomas
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-686
Locale: LANG=de_DE.UTF-8@euro, LC_CTYPE=de_DE.UTF-8@euro (charmap=UTF-8)
Versions of packages linux-image-2.6.14-2-686 depends on:
ii module-init-tools 3.2-pre9-4 tools for managing Linux kernel mo
ii yaird [linux-initramfs-tool] 0.0.11-12 Yet Another mkInitRD
linux-image-2.6.14-2-686 recommends no packages.
-- no debconf information
Reply to: