Package: uswsusp Version: 0.2-1 Severity: important
Two of the three swsusp methods fail, and segfault when attempting to read the configuration file. The configuration file was created with dpkg-reconfigure, and contains: # /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both resume device = /dev/sda1 compress = y early writeout = y checksum = y Regarding the other bug listed, I've tried it as both "resume device" and "resume_device" but it seems to make no difference as far as the segfault issue goes, although removing everything but "resume device" does allow the system to hang at "Snapshotting system" instead of just segfaulting. :) I am attaching an strace of the problem. Please note that it makes no different if run as root, or under sudo; the problem remains the same. It is worth noting that s2ram does not segfault, although it has other issues which aren't relevent to this particular bug. Here is the strace: $ sudo strace s2disk execve("/usr/sbin/s2disk", ["s2disk"], [/* 14 vars */]) = 0 uname({sys="Linux", node="raven", ...}) = 0 brk(0) = 0x8059000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x6ff10000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=91722, ...}) = 0 mmap2(NULL, 91722, PROT_READ, MAP_PRIVATE, 3, 0) = 0x6fef9000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\317"..., 512) = 512fstat64(3, {st_mode=S_IFREG|0755, st_size=1269812, ...}) = 0 mmap2(0x4e328000, 1276892, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4e328000 mmap2(0x4e456000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12d) = 0x4e456000 mmap2(0x4e45e000, 7132, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4e45e000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x6fef8000 mprotect(0x4e456000, 20480, PROT_READ) = 0 set_thread_area({entry_number:-1 -> 6, base_addr:0x6fef88e0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 munmap(0x6fef9000, 91722) = 0 open("/dev/null", O_RDWR) = 3 close(3) = 0 stat64("/etc/uswsusp.conf", {st_mode=S_IFREG|0644, st_size=135, ...}) = 0 brk(0) = 0x8059000 brk(0x807a000) = 0x807a000 open("/etc/uswsusp.conf", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=135, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x6ff0f000 read(3, "# /etc/uswsusp.conf(8) -- Config"..., 4096) = 135 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Process 9711 detached Also, here are some interesting factoids from the s2disk/s2ram -n flags: $ sudo s2disk -n suspend: Could not stat the resume device file $ sudo s2ram -n Machine matched entry 182: sys_vendor = 'IBM' sys_product = '2528*' sys_version = '' bios_version = '' Fixes: 0x2c VBE_SAVE VBE_POST Machine is in the whitelist but perhaps using vbetool unnecessarily. Please try to find minimal options. This machine can be identified by: sys_vendor = "IBM" sys_product = "25285FU" sys_version = "ThinkPad X41" bios_version = "74ET48WW (1.17a)" See http://en.opensuse.org/S2ram for details. Hope this all helps. :) -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17.tjacobs Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages uswsusp depends on: ii debconf [debconf-2.0] 1.5.2 Debian configuration management sy ii libc6 2.3.6-15 GNU C Library: Shared libraries Versions of packages uswsusp recommends: ii initramfs-tools 0.69b tools for generating an initramfs -- debconf information: uswsusp/no_swap: * uswsusp/early_writeout: true * uswsusp/image_size: * uswsusp/snapshot_device: * uswsusp/loglevel: uswsusp/encrypt: false * uswsusp/checksum: true * uswsusp/compress: true * uswsusp/resume_device: /dev/sda1 uswsusp/splash: false -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]