|| ||Nigel Cunningham <email@example.com>|
|| ||swsusp-devel <firstname.lastname@example.org>,
Linux Kernel Mailing List <email@example.com>|
|| ||[Swsusp-devel] Announce: Software Suspend 2.0rc3 for 2.4 and 2.6.|
|| ||Wed, 10 Dec 2003 17:22:54 +1300|
This is to announce 2.0-rc3, now being uploaded to swsusp.sf.net.
A number of small but significant user-visible changes have been made
with this release, so please read these notes carefully.
1) New format. There is now one 'core' patch which should be applied
regardless of your kernel version. In addition to the core patch, a
version-specific patch should be applied. These are available for both
2.4 and 2.6 series kernels. Core and version-specific patches should be
able to be updated independently.
PARTICULARLY IN THE CASE OF 2.6, THE VERSION SPECIFIC PATCH SHOULD BE
APPLIED FIRST. Otherwise, rejects will occur.
2) Changed kernel command line parameters. Instead of resume=,
resume_block= and resume_blocksize=, there is now a single resume2=
command line parameter. Note that that's RESUME2, not RESUME. The format
for this parameter is:
At the moment, there is only one method of storing images - the
swapwriter. It is envisaged, that NFS support will be implemented
sometime in the future. (After I do the work of merging with Patrick).
For now, then, you will want to replace
resume=/dev/hda1 resume_block=0x560 resume_blocksize=1024
Later, you'll hopefully end up being able to have
3) /proc/sys/kernel/swsusp is now deprecated. It is still in this
version, but I'd appreciate it if scripts could be changed to use the
new /proc/swsusp/all_settings entry instead. The functionality is
exactly the same. Only the location has changed.
In addition, a ton of user-invisible changes have been made. This
accounts for the size of the patch. A new internal API implements two
new kinds of 'plugins', designed to make adding new methods of
transforming the data to be stored ('transformers') and saving the data
('writers') easier to implement. This has allowed me to separate out the
swap specific code and the compression code as part of the big cleanup
I've also done. The /proc code has also been enhanced, so that plugins
can dynamically register new entries. This will also form a foundation
for kobject support in the 2.6 kernel. (That is to say, 2.6 swsusp will
soon stop using proc, and will use sysfs instead).
4) Compatibility with other 2.6 implementations.
This version should play nicely with the existing software suspend
implementations in the 2.6 kernel. Patrick's pmdisk implementation can
be activated as always using the sysfs interface, and Pavel's using echo
4 > /proc/acpi/sleep. This patch does replace the freezer implementation
those versions use, and Pavel's suspend will initialise but not use the
nice display. Apart from these minor changes, no differences should be
For those who simply with to upgrade from rc2, an incremental patch is
also available from Sourceforge. I've put it there rather than attaching
it because of its size.
Apart from the kobject changes mentioned above, this should be the last
set of big changes to the code base. Unless something has slipped my
mind, I believe I've just about implemented all the functionality we
need. From now on, then, I'll only be looking to update/improve the
documentation and clean and further document the code, to implement
kobject support and perhaps also SMP support (which should be a minor
As always, I look forward to feedback.
495 St Georges Road South, Hastings 4201, New Zealand
Evolution (n): A hypothetical process whereby infinitely improbable events occur
with alarming frequency, order arises from chaos, and no one is given credit.
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
swsusp-devel mailing list