Package: uswsusp Version: 0.3~cvs20060928-7 Severity: normal
Attemtping s2disk on an IBM Thinkpad T31 using a swap partition as the resume device fails: # s2disk suspend: Could not stat the resume device file A strace shows the following at the end of the process: mmap2(NULL, 147456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7de8000 mlockall(MCL_CURRENT|MCL_FUTURE) = 0 stat64("/dev/hda5,", 0xbf94d4b0) = -1 ENOENT (No such file or directory) write(2, "suspend: Could not stat the resu"..., 47suspend: Could not stat the resume device file ) = 47 exit_group(19) = ? Process 5240 detached Kernel: Linux lnx-kself 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux Partition table: # fdisk -l /dev/hda Disk /dev/hda: 80.0 GB, 80026361856 bytes 16 heads, 63 sectors/track, 155061 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 81270 40960048+ 83 Linux Partition 1 does not end on cylinder boundary. /dev/hda2 81282 81473 96390 83 Linux Partition 2 does not end on cylinder boundary. /dev/hda3 81473 153016 36057892+ 83 Linux Partition 3 does not end on cylinder boundary. /dev/hda4 153016 155056 1028160 5 Extended Partition 4 does not end on cylinder boundary. /dev/hda5 153017 155040 1020096 82 Linux swap / Solaris (System was originally dual-boot Windows XP / RHEL4, is now dual Debian / RHEL4, partitioning presumably done under Windows. I'm looking at repartitioning to clean up partition boundaries. Note that I *can* run /usr/bin/stat: # /usr/bin/stat /dev/hda5 File: `/dev/hda5' Size: 0 Blocks: 0 IO Block: 4096 block special file Device: dh/13d Inode: 3072 Links: 1 Device type: 3,5 Access: (0660/brw-rw----) Uid: ( 0/ root) Gid: ( 6/ disk) Access: 2007-05-31 12:40:18.138529327 -0700 Modify: 2007-05-31 12:39:54.912228504 -0700 Change: 2007-05-31 12:39:59.420510254 -0700 I've noted several other reports of this problem in Google searches but no resolution. s2ram _does_ work on this system (as well as resume). -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (950, 'testing'), (750, 'stable'), (500, 'oldstable'), (400, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages uswsusp depends on: ii debconf [debconf-2.0] 1.5.13 Debian configuration management sy ii libc6 2.5-8 GNU C Library: Shared libraries ii libgcrypt11 1.2.4-2 LGPL Crypto library - runtime libr ii libgpg-error0 1.4-2 library for common error values an ii zlib1g 1:1.2.3-13 compression library - runtime Versions of packages uswsusp recommends: ii initramfs-tools 0.87b tools for generating an initramfs -- debconf information: uswsusp/suspend_loglevel: uswsusp/no_swap: uswsusp/early_writeout: true uswsusp/image_size: 488084111 uswsusp/snapshot_device: uswsusp/max_loglevel: uswsusp/shutdown_method: platform * uswsusp/encrypt: false uswsusp/RSA_key_bits: 1024 * uswsusp/continue_without_swap: true uswsusp/compute_checksum: false uswsusp/no_snapshot: uswsusp/compress: true uswsusp/create_RSA_key: false uswsusp/RSA_key_file: /etc/uswsusp.key * uswsusp/resume_device: /dev/hda5, uswsusp/splash: false -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]