Package: hibernate
Version: 1.07-1
Severity: important
Tags: patch

There is a bug in the kernel scheduler that kills the program that put it
into sleep mode with a message:

* error: scheduling while atomic

Thus the hibernate script dies just after the reboot of the machine. An
easy workaround to this problem is to use /bin/echo instead of shell's
builtin when dealing with /proc/acpi/sleep, /sys/power/state,
/sys/power/disk and similar.

The /bin/echo executable will be killed but hibernate will continue his
work (reload kernel modules, services, etc.) and will be more robust to
kernel bugs.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.7-unicode
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

-- no debconf information

Attachment: hibernate.patch.gz
Description: Binary data

Reply via email to