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

Bug#395086: linux-image-2.6.18-1-686: disable suspend to disk on install



Package: linux-image-2.6.18-1-686
Version: 2.6.18-3
Severity: wishlist

When installing a new kernel over the currently running one, and suspend to
disk is enabled, the system will fail to resume with the newer kernel at
resuming time. It would be safer if it was impossible to suspend to disk then.
I guess setting some value to /sys/power/resume would do the trick.

More generally, I think there is something wrong with Linux doing
suspend to disk in S5 instead of S4. It has great advantages, such as
being able to suspend to disk an OS and booting another one, but it very
risky when you use filesystems opened by the suspended OS with another
one. Another issue is that you have to resume with the exact same kernel
that suspended, which is the reason of this bug, but is also a problem
for people having more than one kernel installed... Interaction with the
bootloader may be something to be worked on...

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
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 linux-image-2.6.18-1-686 depends on:
ii  initramfs-tools [linux-initra 0.84       tools for generating an initramfs
ii  module-init-tools             3.2.2-3    tools for managing Linux kernel mo
ii  yaird [linux-initramfs-tool]  0.0.12-18  Yet Another mkInitRD

Versions of packages linux-image-2.6.18-1-686 recommends:
ii  libc6-i686                   2.3.6.ds1-7 GNU C Library: Shared libraries [i

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



Reply to: