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

Bug#343440: linux-image-2.6.14-2-686: Resuming from suspend to RAM with 2.6.14-5 fails significantly more often than with 2.6.14-4



Package: linux-image-2.6.14-2-686
Version: 2.6.14-5
Severity: normal

*** Please type your report below this line ***

For me, personally, this is a critical bug as I use Linux on a notebook,
but I did not want to boost up the priority too much.

The "new" kernel (2.6.14-5) suspends (to RAM) as fine as the "old" one
(2.6.14-4), but resuming leaves me with a frozen sytem very often.  Not
always, though, which will probably make it almost impossible to debug.
I usually resume twice or thrice a day.  The old one failed to resume
about once every week or two.  The new one failed every day (for three
or four days), so I will downgrade to the old one because I need a
working system over Christmas.

reportbug told me the following:

Getting status for linux-image-2.6.14-2-686...
Verifying package integrity...
There may be a problem with your installation of linux-image-2.6.14-2-686;
the following files appear to be missing or changed:
debsums: checksum mismatch linux-image-2.6.14-2-686 file /lib/modules/2.6.14-2-686/modules.usbmap
debsums: checksum mismatch linux-image-2.6.14-2-686 file /lib/modules/2.6.14-2-686/modules.inputmap
debsums: checksum mismatch linux-image-2.6.14-2-686 file /lib/modules/2.6.14-2-686/modules.symbols
debsums: checksum mismatch linux-image-2.6.14-2-686 file /lib/modules/2.6.14-2-686/modules.isapnpmap
debsums: checksum mismatch linux-image-2.6.14-2-686 file /lib/modules/2.6.14-2-686/modules.alias
debsums: checksum mismatch linux-image-2.6.14-2-686 file /lib/modules/2.6.14-2-686/modules.dep
debsums: checksum mismatch linux-image-2.6.14-2-686 file /lib/modules/2.6.14-2-686/modules.ieee1394map
debsums: checksum mismatch linux-image-2.6.14-2-686 file /lib/modules/2.6.14-2-686/modules.seriomap
debsums: checksum mismatch linux-image-2.6.14-2-686 file /lib/modules/2.6.14-2-686/modules.pcimap

I have not touched these files.  I installed
linux-wlan-ng-modules-2.6.14-2-686 and loop-aes-2.6.14-2-686.  Does this
modify those files?  However, I have not used any of those modules, yet,
and while suspending, they were not loaded.

I use the hibernate script (package hibernate) to suspend.  I include
package info and config file below.

Regards, Thomas.


-- package infos:

> dpkg -s linux-wlan-ng-modules-2.6.14-2-686
Package: linux-wlan-ng-modules-2.6.14-2-686
Status: install ok installed
Priority: extra
Section: admin
Installed-Size: 540
Maintainer: Victor Seva <linuxmaniac@torreviejawireless.org>
Architecture: i386
Source: linux-wlan-ng
Version: 0.2.2+dfsg-7
Provides: linux-wlan-ng-0.2.2+dfsg-7-modules
Depends: linux-wlan-ng (>= 0.2.2+dfsg-7), linux-image-2.6.14-2-686
Description: [...]

> dpkg -s loop-aes-2.6.14-2-686
Package: loop-aes-2.6.14-2-686
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 296
Maintainer: Max Vozeler <xam@debian.org>
Architecture: i386
Source: loop-aes-modules
Version: 3.1b+8
Replaces: loop-aes-ciphers-2.6.14-2-686
Provides: loop-aes-modules
Depends: linux-image-2.6.14-2-686, loop-aes-utils (>= 2.12p-1)
Conflicts: loop-aes-ciphers-2.6.14-2-686
Description: [...]

> dpkg -s hibernate
Package: hibernate
Status: install ok installed
Priority: extra
Section: utils
Installed-Size: 328
Maintainer: Cameron Patrick <cameron@patrick.wattle.id.au>
Architecture: all
Version: 1.12-1
Replaces: suspend-script (<= 0.94-1)
Recommends: console-tools, vlock, hdparm
Suggests: dash, kernel-patch-suspend2
Conflicts: suspend-script (<= 0.94-1)
Conffiles:
 /etc/hibernate/hibernate.conf 22aeaeb4c38fcb571092b42aea2ba307
 /etc/hibernate/ram.conf a481debfb6ca12e21a3e6cf060024ab1
 /etc/hibernate/blacklisted-modules 993850492860084b39aaa82a0b19cfe2
 /etc/logrotate.d/hibernate 2e80912bbfb0ef68e8b17e36dbe0af0c
 /etc/init.d/hibernate 8486dd47f75b0580ba7028323b4c3c33
Description: [...]

-- hibernate config file 1:

> cat /etc/hibernate/thm-suspend-to-ram.conf
Include /etc/hibernate/thm-suspend-common.conf

UseSysfsPowerState mem

### hardware_tweaks
RadeonTool yes

### xstatus
## This can be set to gnome, kde or x:
XStatus gnome
XSuspendText Suspend to RAM...
XResumeText Resuming from suspend to RAM...

-- hibernate config file 2:

> cat /etc/hibernate/thm-suspend-common.conf
# Example hibernate.conf file. Adapt to your own tastes.
# Options are not case sensitive.
#
# Run "hibernate -h" for help on the configuration items.

##############################################################################
### Choose your Suspend method. You currently have 3 choices:
###
###    suspend2            Software Suspend 2 (requires kernel patches from
###                        http://www.suspend2.net/)
###
###    sysfs_power_state   Uses /sys/power/state to suspend (activates pmdisk
###                        on kernels < 2.6.8, or vanilla swsusp otherwise).
###
###    acpi_sleep          Uses /proc/acpi/sleep to activate swsusp, or other
###                        ACPI sleep state supported by your machine.
###
##############################################################################

### suspend2 (for Software Suspend 2)
# UseSuspend2 yes
# Reboot no
# EnableEscape yes
# DefaultConsoleLevel 1
# Compressor lzf
# Encryptor none
# ImageSizeLimit 200
## useful for initrd usage:
# SuspendDevice swap:/dev/hda2
## Powerdown method - 3 for suspend-to-RAM, 4 for ACPI S4 sleep, 5 for poweroff
# PowerdownMethod 5
## Any other /proc/software_suspend setting can be set like so:
# ProcSetting expected_compression 50
## Or traditionally like this:
# Suspend2AllSettings 0 0 2056 65535 5
## Or even from the results of hibernate --save-settings with this:
# Suspend2AllSettingsFile /etc/hibernate/suspend-settings.conf
## For filewriter:
# FilewriterLocation /suspend_file 1000
# VerifyFilewriterResume2 yes
# ProcSetting userui_program /usr/local/sbin/suspend2ui_text

### sysfs_power_state
## To use /sys/power/state to suspend your machine (which may offer
## suspend-to-RAM, suspend-to-disk, standby, etc) comment out all the options
## above for Software Suspend 2, below for acpi_sleep, and uncomment this line.
## You may replace mem with any one of the states from "cat /sys/power/state"
# UseSysfsPowerState mem
# PowerdownMethod shutdown

### acpi_sleep
## To use ACPI to suspend your machine (via /proc/acpi/sleep), comment out
## all the options above for Software Suspend 2 and sysfs, and uncomment this
## line. The number refers to the ACPI sleep state - 3 is suspend-to-RAM and
## 4 is suspend-to-disk.
# UseACPISleep 4

##############################################################################
### Some global settings
##############################################################################

Verbosity 1
LogFile /var/log/hibernate.log
LogVerbosity 3
# AlwaysForce yes
# AlwaysKill yes
# HibernateVT 15
Distribution debian
# XDisplay :0

##############################################################################
### Scriptlets
###   Scriptlets provide support for doing all sorts of things before and after
###   suspending. The defaults settings here should work for most people, but
###   you may wish to edit these to taste. Consult "hibernate -h" for help on
###   the configuration settings.
##############################################################################

### bootsplash
## If you use bootsplash, also enabling SwitchToTextMode is recommended if
## you use X, otherwise you may end up with a garbled X display.
# Bootsplash on
# BootsplashConfig /etc/bootsplash/default/config/bootsplash-1024x768.cfg

### clock
# SaveClock restore-only

### devices
# IncompatibleDevices /dev/dsp /dev/video*

### diskcache
# DisableWriteCacheOn /dev/hda

### fbsplash (enable SwitchToTextMode if you use this)
# FBSplash on
# FBSplashTheme suspend2

### filesystems
# Unmount /nfsshare /windows /mnt/sambaserver
# UnmountFSTypes smbfs nfs
# UnmountGraceTime 1
# Mount /windows

### grub
# ChangeGrubMenu yes
# GrubMenuFile /boot/grub/menu.lst
# AlternateGrubMenuFile /boot/grub/menu-suspended.lst
# BackupGrubMenuFile /boot/grub/menu.lst.hibernate.bak

### hardware_tweaks
# IbmAcpi yes
# RadeonTool yes

### lilo
# EnsureLILOResumes yes

### lock (generally you only want one of the following options)
# LockConsoleAs root
LockXScreenSaver yes
# LockKDE yes
# LockXLock yes
# LockXAutoLock yes

### misclaunch
OnSuspend 61 mount / -o remount,sync
OnSuspend 62 sync
OnResume 61  mount / -o remount,async
# OnSuspend 20 echo "Good night!"
# OnResume 20 echo "Good morning!"

### modules
# UnloadModules snd_via82cxxx usb-ohci
# UnloadAllModules yes
# UnloadBlacklistedModules yes
# LoadModules auto
# LoadModulesFromFile /etc/modules

### modules-gentoo
# GentooModulesAutoload yes

### network
# DownInterfaces eth0
# UpInterfaces auto

### pcmcia
# EjectCards yes

### programs
# IncompatiblePrograms xmms

### services
# RestartServices postfix
# StopServices alsasound
# StartServices aumix

### vbetool
# EnableVbetool yes
# RestoreVbeStateFrom /var/lib/vbetool/vbestate
# VbetoolPost yes
# RestoreVCSAData yes

### xhacks
SwitchToTextMode yes
# UseDummyXServer yes

### xstatus
## This can be set to gnome, kde or x:
XStatus gnome
XSuspendText Preparing to suspend...
XResumeText Resuming from suspend...


-- /var/log/hibernate.log (showing a successful suspend/resume-cycle followed by one that failed):
[...]
Starting suspend at Wed Dec 14 17:10:54 CET 2005
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [05] Executing XStatusSuspendBegin ...
hibernate: [10] Executing EnsureSysfsPowerStateCapable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [20] Executing XStatusProgress ...
hibernate: [30] Executing XStatusProgress ...
hibernate: [40] Executing XStatusProgress ...
hibernate: [50] Executing XStatusProgress ...
hibernate: [60] Executing XStatusProgress ...
hibernate: [61] Executing MiscLaunchAuxFunc1 ...
Executing mount / -o remount,sync...
hibernate: [62] Executing MiscLaunchAuxFunc2 ...
Executing sync...
Saved /proc/sys/kernel/modprobe is /sbin/modprobe
hibernate: [70] Executing XStatusProgress ...
hibernate: [80] Executing XStatusProgress ...
hibernate: [89] Executing SaveKernelModprobe ...
Saved /proc/sys/kernel/hotplug is /sbin/udevsend
hibernate: [90] Executing XStatusProgress ...
hibernate: [91] Executing LockXScreensaver ...
Locking thm's xscreensaver on display :0 using authority file /home/thm/.Xauthority
xscreensaver-command: activating and locking.

hibernate: [95] Executing XHacksSuspendHook2 ...
xhacks: changing console from 7 to 15
hibernate: [95] Executing XStatusProgress ...
hibernate: [98] Executing RadeonToolBacklightOff ...
hibernate: [98] Executing XStatusProgressKill ...
hibernate: [99] Executing DoSysfsPowerStateSuspend ...
hibernate: Activating sysfs power state mem ...
hibernate: [98] Executing RadeonToolBacklightOn ...
xhacks: changing console back to 7
hibernate: [95] Executing XStatusResumeBegin ...
hibernate: [90] Executing XStatusProgress ...
hibernate: [89] Executing RestoreKernelModprobe ...
hibernate: [85] Executing XHacksResumeHook2 ...
hibernate: [80] Executing XStatusProgress ...
hibernate: [70] Executing XStatusProgress ...
hibernate: [61] Executing MiscLaunchAuxFunc3 ...
Executing mount / -o remount,async...
hibernate: [60] Executing XStatusProgress ...
hibernate: [50] Executing XStatusProgress ...
hibernate: [40] Executing XStatusProgress ...
hibernate: [30] Executing XStatusProgress ...
hibernate: [30] Executing UnlockXScreensaver ...
Unlocking thm's xscreensaver on display :0 using authority file /home/thm/.Xauthority
xscreensaver-command: deactivating.

hibernate: [20] Executing XStatusProgress ...
hibernate: [15] Executing XStatusProgress ...
hibernate: [11] Executing XHacksResumeHook1 ...
hibernate: [05] Executing XStatusProgressKill ...
hibernate: [01] Executing XStatusReportErrors ...
hibernate: [01] Executing NoteLastResume ...
hibernate: [01] Executing LockFilePut ...
Resumed at Wed Dec 14 18:48:52 CET 2005
Starting suspend at Thu Dec 15 01:12:30 CET 2005
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [05] Executing XStatusSuspendBegin ...
hibernate: [10] Executing EnsureSysfsPowerStateCapable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [20] Executing XStatusProgress ...
hibernate: [30] Executing XStatusProgress ...
hibernate: [40] Executing XStatusProgress ...
hibernate: [50] Executing XStatusProgress ...
hibernate: [60] Executing XStatusProgress ...
hibernate: [61] Executing MiscLaunchAuxFunc1 ...
Executing mount / -o remount,sync...
hibernate: [62] Executing MiscLaunchAuxFunc2 ...
Executing sync...
Saved /proc/sys/kernel/modprobe is /sbin/modprobe
hibernate: [70] Executing XStatusProgress ...
hibernate: [80] Executing XStatusProgress ...
hibernate: [89] Executing SaveKernelModprobe ...
Saved /proc/sys/kernel/hotplug is /sbin/udevsend
hibernate: [90] Executing XStatusProgress ...
hibernate: [91] Executing LockXScreensaver ...
Locking thm's xscreensaver on display :0 using authority file /home/thm/.Xauthority
xscreensaver-command: activating and locking.

hibernate: [95] Executing XHacksSuspendHook2 ...
xhacks: changing console from 7 to 15
hibernate: [95] Executing XStatusProgress ...
hibernate: [98] Executing RadeonToolBacklightOff ...
hibernate: [98] Executing XStatusProgressKill ...



-- 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.2-1    tools for managing Linux kernel mo
ii  yaird [linux-initramfs-tool]  0.0.11-12  Yet Another mkInitRD

Versions of packages linux-image-2.6.14-2-686 recommends:
pn  libc6-i686                    <none>     (no description available)

-- debconf information:
  linux-image-2.6.14-2-686/preinst/initrd-2.6.14-2-686:
  linux-image-2.6.14-2-686/preinst/bootloader-initrd-2.6.14-2-686: true
  linux-image-2.6.14-2-686/postinst/old-system-map-link-2.6.14-2-686: true
  linux-image-2.6.14-2-686/preinst/failed-to-move-modules-2.6.14-2-686:
  linux-image-2.6.14-2-686/preinst/elilo-initrd-2.6.14-2-686: true
  linux-image-2.6.14-2-686/preinst/abort-install-2.6.14-2-686:
  linux-image-2.6.14-2-686/preinst/lilo-initrd-2.6.14-2-686: true
  linux-image-2.6.14-2-686/postinst/depmod-error-2.6.14-2-686: false
  linux-image-2.6.14-2-686/postinst/bootloader-test-error-2.6.14-2-686:
  linux-image-2.6.14-2-686/postinst/bootloader-error-2.6.14-2-686:
  linux-image-2.6.14-2-686/preinst/abort-overwrite-2.6.14-2-686:
* linux-image-2.6.14-2-686/preinst/already-running-this-2.6.14-2-686:
  linux-image-2.6.14-2-686/preinst/lilo-has-ramdisk:
  linux-image-2.6.14-2-686/postinst/create-kimage-link-2.6.14-2-686: true
  linux-image-2.6.14-2-686/postinst/depmod-error-initrd-2.6.14-2-686: false
  linux-image-2.6.14-2-686/postinst/old-dir-initrd-link-2.6.14-2-686: true
  linux-image-2.6.14-2-686/prerm/would-invalidate-boot-loader-2.6.14-2-686: true
  linux-image-2.6.14-2-686/preinst/overwriting-modules-2.6.14-2-686: true
  linux-image-2.6.14-2-686/postinst/kimage-is-a-directory:
  linux-image-2.6.14-2-686/prerm/removing-running-kernel-2.6.14-2-686: true
  linux-image-2.6.14-2-686/postinst/old-initrd-link-2.6.14-2-686: true





Reply to: