[ltp] Re: suspend-to-disk (ACPI S3?)
morpheus
linux-thinkpad@linux-thinkpad.org
Sun, 19 Dec 2004 10:19:39 -0500
My machine did that at first, too. Here's how I fixed it:
Edit the file /etc/suspend.conf
There are three settings that are important,
SWSUSP_DOWNIFS, SWSUSP_REMOVEMODS and
SWSUSP_STOP_SERVICES_BEFORE_SUSPEND
These let you stop interfaces, modules and services before entering
suspend. Trial and error can tell you which ones to stop, but USB,
wireless LAN and pcmcia seem to cause problems. Here is mine:
SWSUSP_STOP_SERVICES_BEFORE_SUSPEND="mysqld imapd saslauthd postfix"
SWSUSP_DOWNIFS="eth0 wlan0"
SWSUSP_REMOVEMODS="e1000 usb_uhci ehci_hcd uhci_hcd ath_pci ath_hal"
To automatically re-start them, use them SWSUSP_INSERTMODS,
SWSUSP_START_SERVICES_AFTER_RESUME and SWSUSP_UPIFS.
Good luck!
-m
On Sun, 2004-12-19 at 13:15 +0100, Fionn Behrens wrote:
> On Sunday, 19.12.2004, 01:56 -0500 Eben King wrote:
>
> > Dec 19 01:05:01 linux kernel: Restarting tasks... done
> >
> > The command exits, then the OS carries on as if nothing had happened. What
> > do I need to do to enable suspension on this machine?
>
> There is probably something in your system that does not like S3. Most
> probable candidates are Network- and WiFi drivers, pcmcia and sometimes
> sound. Try to unload networking / wifi modules and / or disable pcmcia
> cards ("cardctl eject") before going into S3.
>
> br,
> Fionn
> --
> Software patents - not allowed in Europe | See whats going on:
> Archiving Email - patented in Europe | http://freepatents.org/
> E-Shopping Baskets - patented in Europe | Become active easily:
> Cross-compiling - patented in Europe | http://aktiv.ffii.org/eubsa/en
>
>