BACK
Doc
Incrementals
Index
Official
OldStuff

Software suspend

As usual, the following informations are provided as is, with no warranty of any kind. Use this at your own risk.

For hackers that want to follow swsusp development, here are the incremental patches from one version to another.

Incremental patches

2.4.20 kernel

Version File Date and size Change Log
v19beta-beta18 .GZ 17/08/2012 12:41
5065 octets
This is an incremental patch from beta18. Changelog is below:
  • Add beep signals during suspend and resume
  • Merge with Nigel patch of eat_memory (sent 2003/02/21)
  • Correct a regression in mtrr debug fix
v18beta-beta17 .GZ 17/08/2012 12:41
24974 octets
This is an incremental patch from beta17. Changelog is below:
  • Merge with Nigel's bigpatch v9
  • Fix lock_swapdevices bug in v9
  • Fix relocate pagedir out of memory bug
  • Fix usb bug in acpi patch (re-synchronize source trees)
v17beta-beta16 .GZ 17/08/2012 12:41
12999 octets
This is an incremental patch from beta16. Changelog is below:
  • Merge with Nigel's patches 16A, 16B and 16C
  • Modify agpgart file to suppress Athlon's bug correction that appears incompatible with SOFTWARE_SUSPEND
  • Suppress printing of ide_disks_busy messages unless a huge amount of such warnings suggesting an endless loop occurs.
  • Add eat_memory setting feature as a fourth field in /proc/sys/kernel/swsusp. This implies that the fourth field of Nigel's patch becomes the fifth one ;-) This makes suspending a little faster as we don't wait too long for swapping.
  • Move pageset functions inside suspend.c, making them static.
  • Display correct eat_memory progress bar
  • Add a swsusp_dbg boot parameter that allows to fix the third field of /proc/sys/kernel/swsusp. This makes resuming displays its debug messages.

2.4.19 kernel

Version File Date and size Change Log
v16beta-beta15 .GZ 17/08/2012 12:41
7705 octets
This is an incremental patch from beta15. Changelog is below:
  • Merge with Nigel's patch to let swsusp less panicking in case of error
  • Add a SOFTWARE_SUSPEND_MTRR config option in suspend.h to allow disabling that feature
v15beta-beta14 .GZ 17/08/2012 12:41
2983 octets
This is an incremental patch from beta14. Changelog is below:
  • Fix a few typos in display
  • Try to extract apm asm code to properly halt the machine even if there is no apm nor acpi support (experimental)
v14beta-alpha1 .GZ 17/08/2012 12:41
12122 octets
This is an incremental patch from alpha1. This patch is considered beta again. Hence, there is no beta13 version ;-) Changelog is below:
  • Restore mtrr values upon resume.
  • Incorporate agp optional patch that appears useful for resuming under X with i8xx chipsets.
  • Add pse36 to swsusp check and suppress the panic which is not useful in this case: now just disabling suspend if pse isn't present.
  • Replace the SCSI #error check by a smooth check on initializing swsusp.
  • Merge with first Nigel's patch: improve page counting upon suspension.
  • Merge with second Nigel's patch: introduce a nice display that can be activated through 2nd bit of third state variable, namely echo 1 0 2 > /proc/sys/kernel/swsusp
v1alpha-alpha0 .GZ 17/08/2012 12:41
3659 octets
This is an incremental patch from alpha0 (aka 2.4.18-swsusp12) fixing the page_alloc bug.

2.4.18 kernel

Version File Date and size Change Log
v12beta-beta11 .GZ 17/08/2012 12:41
2340 octets

This is an incremental patch from beta11. Changelog is below:

  • Added Nathan Friess patch for RAID (not fully tested yet)
  • Fix obsoletes sizes in suspend_header, so that sanity check will work even if the only difference between two kernels is compilation time.

v11beta-beta10 .GZ 17/08/2012 12:41
1695 octets

This is an incremental patch from beta10. The main purpose of this release was to update acpi, since previous version of acpi had some incompatibilities with swsusp. Changelog is below:

  • Cosmetic changes in kernel/suspend.c
  • The freemem parameter now is tunable at user level. In order to use freemem instead of eatmem use echo '0 2' > /proc/sys/kernel/swsusp

v10beta-beta9 .GZ 17/08/2012 12:41
8612 octets

This is an incremental patch from beta9:

  • Insert the software suspend configuration option in Power Management section instead of kernel hacking.
  • Modify 8139too driver in order to try suspension while network is active.
  • Manage bdflush as the other kernel threads, suppressing PF_IOTHREAD flag and using refrigerator, since kswsuspd is now our own kernel thread.
  • Fix some compilation warnings.
  • Simplification of DEBUG activation in kernel/suspend.c.
  • Merge with Pavel's changes.

v9beta-beta8 .GZ 17/08/2012 12:41
8257 octets

This is an incremental patch from beta8:

  • Fix CREDITS (Gabor was there twice)
  • Fix Documentation according to new features (see below)
  • Implement a kswsuspd kernel thread that can be activated at user level using software_suspend_pending(void)
  • Fix compilation warnings and errors
  • Fix USB hangings on suspension
  • Fix NFS patch again
  • Add a /proc/sys/kernel/swsusp interface to activate software suspension and dynamically set some parameters
  • Add '_' characters displayed during memeat. (This should help to see where some hangs occur on some architectures)

v8beta-beta7 .GZ 17/08/2012 12:41
1300 octets

This is an incremental patch from beta7 (not many modifications because in fact beta7 testing seems to be OK):

  • fix via-rhine driver modification for suspending
  • Fix NFS patch

v7beta-beta6 .GZ 17/08/2012 12:41
10853 octets
THIS PATCH IS BROKEN... DO NOT USE!... well maybe not after all, I was too pessimistic :-)

This is an incremental patch from beta6:

  • Merge modifications by Pavel
  • Fix some compilation problems
  • Kill SysRQ feature
  • via-rhine driver modification for suspending
  • Cleanup of all _print macros
  • Add a delay before power halting to let hardware cache of some disks be flushed
  • Deal with NFS using Wilmer van der Gaast patch

v6beta-beta5 .GZ 17/08/2012 12:41
5842 octets
This is an incremental patch from beta5:
  • Merge modifications by Pavel
  • Fix possible endless loop in ide_disk_suspend function

v5beta-beta4 .GZ 17/08/2012 12:41
9704 octets
This is an incremental patch from beta4:
  • Add swsusp kernel parameters in documentation
  • Simplify the ide_disk_(un)suspend procedure since it appears unnecessary to save the handler
  • Use memeat by default. The trick in page_allock is still unelegant. However it no more interferes with kernel using a newly added __GFP_FAST flag.
  • Fix a memory leak in memeat.
  • Reactivate the suspend console feature, making the whole process a lot prettier.
  • Cosmetic changes in messages displayed.

v4beta-beta3 .GZ 17/08/2012 12:41
4571 octets
This is an incremental patch from beta3:
  • Fix typos in sm_osl.c, buffer.c, include/linux/bitops.h
  • Possibly fix the ide_disk_suspend endless loop.
  • Fix compilation bug in reiserfs.
  • Merge some modifs of 2.4.19-pre8-ac1.
  • Include a TEST_SWSUSP compilation variable for debugging purpose.
  • Fix the swap signatures in noresume case. This indeed was a bug that could lead to pretty bad data corruption if one boots with noresume and forgets to reinitialize swap by mkswap. In such a case the suspended image was resumed on next reboot but filesystems were no more in suspended state.
  • Fix a memory leak of one page on every resume.

v3beta-beta2 .GZ 17/08/2012 12:41
6646 octets
This is an incremental patch from beta2:
  • Incorporate the swsusp.txt documentation file of Alan Cox's kernel.
  • Modify the previous loop fix which may cause problems with encrypted devices.
  • Fix khubd non freezing when USB support is compiled in kernel (it is however better to compile USB as modules and unload them before suspension, see FAQ).
  • Remove flag PF_KERNTHREAD which was used by the two-passes patch. This optional patch should no more be useful.
  • Include reiserfs optional patch.
  • Stopped tasks now can be suspended.
v2beta-beta1 .GZ 17/08/2012 12:41
382 octets
This is an incremental patch fixing some bugs in beta1:
  • Fix compilation problems with refrigerator when CONFIG_SUSPEND is disabled
v1beta-beta0 .GZ 17/08/2012 12:41
1420 octets
This is an incremental patch fixing some bugs in beta0:
  • Should work with loop devices
  • Attempt to correctly handle pcnet32 network driver
  • Fix a double drivers_suspend call in suspend.c


BACK
Doc
Incrementals
Index
Official
OldStuff

Florent Chabaud
E-mail: florent.chabaud@m4x.org
GPG key: KEY