Package: hibernate Version: 1.94-1 Severity: normal Since hibernate now ships with default conf files that make extensive use of TryMethod, hooking functions need to beware being called twice. I've specifically seen ClockSave and ModulesUnloadBlacklist both get hooked in multiple times. Also note in the last part below how because line 318 sits outside the test for whether the hook has already been called, "auto" gets added to the modules to load list twice and thus the previously unloaded modules are loaded (or at least tried to be loaded) twice.
Here's an example log excerpt... ceruleancity:~# hibernate -v3 hibernate: Trying method in suspend2.conf... hibernate: Trying method in disk.conf... hibernate: Trying method in ususpend-disk.conf... hibernate: Including configuration from common.conf Using '/etc/init.d' as init.d directory. hibernate: Trying method in sysfs-disk.conf... hibernate: Including configuration from common.conf hibernate: [01] Executing CheckLastResume ... ... hibernate: [60] Executing XStatusProgress ... hibernate: [70] Executing ClockSave ... hibernate: [70] Executing ClockSave ... hibernate: [70] Executing XStatusProgress ... hibernate: [80] Executing XStatusProgress ... hibernate: [89] Executing SaveKernelModprobe ... Saved /proc/sys/kernel/modprobe is /sbin/modprobe hibernate: [90] Executing XStatusProgress ... hibernate: [91] Executing ModulesUnloadBlacklist ... Unloading blacklisted modules listed /etc/hibernate/blacklisted-modules Module version for ipw2100 is 2 Module version for ipw2200 is 2 Unloading blacklisted module psmouse (and dependencies) Unloading psmouse ... Unloading blacklisted module button (and dependencies) Unloading button ... Module version for ndiswrapper is hibernate: [91] Executing ModulesUnloadBlacklist ... Unloading blacklisted modules listed /etc/hibernate/blacklisted-modules Module version for ipw2100 is 2 Module version for ipw2200 is 2 Module version for ndiswrapper is hibernate: [95] Executing XStatusProgress ... ... hibernate: [90] Executing XStatusProgress ... hibernate: [90] Executing ModulesLoad ... Loading module psmouse (from auto)... Loading module button (from auto)... Loading module psmouse (from auto)... Loading module button (from auto)... hibernate: [89] Executing RestoreKernelModprobe ... -- Package-specific info: --- configuration ==> /etc/hibernate/common.conf <== Verbosity 0 LogFile /var/log/hibernate.log LogVerbosity 1 Distribution debian SaveClock yes UnloadBlacklistedModules yes LoadModules auto DownInterfaces auto UpInterfaces auto RestartServices avahi-daemon ntp laptop-mode XStatus x XmessageDisable yes ==> /etc/hibernate/disk.conf <== ChangeGrubMenu yes GrubMenuFile /boot/grub/menu.lst IbmAcpi yes TryMethod ususpend-disk.conf TryMethod sysfs-disk.conf ==> /etc/hibernate/hibernate.conf <== TryMethod suspend2.conf TryMethod disk.conf TryMethod ram.conf ==> /etc/hibernate/ram.conf <== TryMethod ususpend-ram.conf TryMethod sysfs-ram.conf ==> /etc/hibernate/suspend2.conf <== UseSuspend2 yes Reboot no EnableEscape yes DefaultConsoleLevel 1 Compressor lzf Encryptor none FullSpeedCPU yes Include common.conf ==> /etc/hibernate/sysfs-disk.conf <== UseSysfsPowerState disk PowerdownMethod platform Include common.conf ==> /etc/hibernate/sysfs-ram.conf <== UseSysfsPowerState mem Include common.conf ==> /etc/hibernate/ususpend-both.conf <== USuspendMethod both Include common.conf ==> /etc/hibernate/ususpend-disk.conf <== USuspendMethod disk Include common.conf ==> /etc/hibernate/ususpend-ram.conf <== USuspendMethod ram Include common.conf --- /sys/power ==> /sys/power/disk <== platform ==> /sys/power/image_size <== 524288000 ==> /sys/power/resume <== 3:5 ==> /sys/power/state <== mem disk --- log hibernate.log file not readable. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-1-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages hibernate depends on: ii console-tools 1:0.2.3dbs-65 Linux console and font utilities Versions of packages hibernate recommends: pn dash <none> (no description available) ii hdparm 6.7-1 tune hard disk parameters for high pn uswsusp <none> (no description available) pn vbetool <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]