| From: |
| Nigel Cunningham <ncunningham@clear.net.nz> |
| To: |
| swsusp-devel <swsusp-devel@lists.sourceforge.net> |
| Subject: |
| [Swsusp-devel] Announce: 1.1-rc1 "Look Mum, no swap partition!" |
| Date: |
| Tue, 05 Aug 2003 13:36:51 +1200 |
Hi all.
This is to announce 1.1-rc1, now being uploaded to Sourceforge. Changes
in this version:
- Fix code to print messages without logging them so it actually does.
- Move all the loglevel down 1. That is, level 2 is now actually useful.
(Errors only, which was 3).
- Updated acpi option patch (Changes based on a patch by Hiroshi Miura)
- Fix compile warning in mtrr code
- Change logic in initialisation code. Software suspend is not _not_
disabled if you don't have a valid resume= parameter. You will need to
set lilo.conf (or equivalent) right and rerun lilo etc before you can
successfully resume, but you won't need to reboot after doing that. This
also allows you to use the proc interface to get the parameters needed
for swap files (see below).
- initrd support (based on Pascal's patch for 2.6). Untested at the
moment.
- Full support for swapfiles, without the need for a swap partition. To
use this, you need to create a swapfile, turn it on and then get the
parameters needed in lilo.conf from /proc/swsusp/header_locations:
# mke2fs /dev/hda3
# mount /dev/hda3 /swapparttest
# dd if=/dev/zero of=/swapparttest/suspendfile
# mkswap /swapparttest/suspendfile
# swapon /swapparttest/suspendfile
# cat /proc/swsusp/header_locations
For swapfile `suspendfile`, use resume=/dev/hda3 resume_block=0x1d6.
For lilo, you would then change the relevant line to read something
like:
append="quiet devfs=mount resume=/dev/hda3 resume_block=0x1d6"
Before running /sbin/lilo.
Note that you don't need the resume_block parameter when using a swap
partition.
If you set these parameters to invalid values, you won't damage
anything. Software Suspend will simply see that the location is not a
valid swap header and complain.
- Support for automatically turning a swapfile or partition on and off
has slightly changed. The resume= parameter doesnot specify the name of
the file. Instead, there is a /proc/swsusp/swapfile entry which is used.
(Limit on filename length of 256 chars).
- Small cleanups (get rid of SReading caches? I don't see this).
- Fix for oops in markpagesforpageset2? Hard to reproduce.
Regards,
Nigel
--
Nigel Cunningham
495 St Georges Road South, Hastings 4201, New Zealand
You see, at just the right time, when we were still powerless,
Christ died for the ungodly.
-- Romans 5:6, NIV.
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
swsusp-devel mailing list
swsusp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swsusp-devel