From: Aviram Jenik <aviram@beyondsecurity.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: linux-kernel@vger.kernel.org
Subject: swsusp in test8 fails with intel-agp and i830
Date: Sat, 18 Oct 2003 17:17:03 +0200 [thread overview]
Message-ID: <200310181717.04001.aviram@beyondsecurity.com> (raw)
In-Reply-To: <20031016202105.GL1659@openzaurus.ucw.cz>
Hi Pavel,
On Thursday 16 October 2003 22:21, Pavel Machek wrote:
> Hi!
>
> > Suspend to disk (I'm using echo -n "disk" > /sys/power/state) works about
> > one in ten attempts. When it works, it is _usually_ capable of
> > hibernating a few consecutive times, but then it stops working (reboots
> > on resume).
>
> can you try echo 4 > /proc/acpi/sleep?
>
In 2.6.0-test8 hibernation via "echo 4 > /proc/acpi/sleep" works incredibly
well from the console. Great work! I tested it many times and it seems quite
stable.
However, it fails when X is running (even if doing chvt before suspension).
I followed your advice and removed the video card modules (intel-agp and
i830). Indeed, when booting without those modules, suspend to disk
miraculously works from X; I was even able to hibernate from within a KDE
session and restore to that point exactly.
I am not sure which of the two modules causes the problem, I can only load
them both. Unfortunately, without those modules the vaio laptop can only give
640x480, so this is not much of a workaround...
To summarize:
If the intel-agp and i830 modules are not loaded during startup, suspend via
echo 4 > /proc/acpi/sleep and restore work beautifully. If those modules
_are_ loaded, and X is running, resume reboots.
- Aviram
next prev parent reply other threads:[~2003-10-18 15:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-15 21:47 Suspend to disk very unstable Aviram Jenik
2003-10-16 20:21 ` Pavel Machek
2003-10-18 15:17 ` Aviram Jenik [this message]
2003-10-18 18:05 ` swsusp in test8 fails with intel-agp and i830 Pavel Machek
2003-10-18 22:18 John Mock
2003-10-18 23:06 ` Aviram Jenik
2003-10-20 8:10 John Mock
2003-10-20 12:20 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200310181717.04001.aviram@beyondsecurity.com \
--to=aviram@beyondsecurity.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome