From: Pavel Machek <pavel@ucw.cz>
To: Rob Landley <rob@landley.net>
Cc: mochel@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: Patrick's Test9 suspend code.
Date: Sun, 16 Nov 2003 14:13:14 +0100 [thread overview]
Message-ID: <20031116131314.GC199@elf.ucw.cz> (raw)
In-Reply-To: <200311151830.45731.rob@landley.net>
Hi!
> > > This brings us to 2B) Snapshotting is way too opaque. It sits there for
> > > 15 seconds sometimes doing inscrutable things, with no progress indicator
> > > or anything, and then either suspends, panics, or fails and fires the
> > > desktop back up with no diagnostic message.
> > >
> > > On the whole, this is really really cool, and if you have any suggestions
> > > how I could help, I'm all ears. (I'm unlikely to poke into the code too
> >
> > Try "my" swsusp code. It should not fail silently; it may
> > panic the box but at that point you at least have a message.
>
> I've had your swsusp hang, panic, go into a half-suspended state where I have
> to hold the power button ten seconds to actually power it off and reboot, and
> fail in a few other ways. What I've never actually had your code do is
> successfully suspend something I could resume from.
>
> 90% of the time, patrick's code does that for me. Yours has yet to do so even
> once for me.
>
> I suppose I could give it another shot, though...
Strange, they should be pretty much the same, functionality-wise.
Here are few tricks... OTOH if it works for you 90% of time, these
would take a lot of time to test :-(.
If you want to trick swsusp/S3 into working, you might want to try:
* go with minimal config, turn off drivers like USB, AGP you don't
really need
* use ext2. At least it has working fsck. [If something seemes to go
wrong, force fsck when you have a chance]
* turn off modules
* use vga text console, shut down X
* try running as few processes as possible, preferably go from single
use mode
When you make it work, try to find out what exactly was it that broke
suspend, and preferably fix that.
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
next prev parent reply other threads:[~2003-11-16 13:12 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-09 10:04 Patrick's Test9 suspend code Rob Landley
2003-11-13 13:08 ` Pavel Machek
2003-11-16 0:30 ` Rob Landley
2003-11-16 13:13 ` Pavel Machek [this message]
2003-11-17 2:38 ` Rob Landley
2003-11-17 8:42 ` Pavel Machek
2003-11-17 16:45 ` Patrick Mochel
2003-11-17 21:11 ` Rob Landley
2003-11-18 12:02 ` Rob Landley
2003-11-18 18:22 ` Pavel Machek
2003-11-18 22:12 ` Rob Landley
2003-11-18 23:21 ` Pavel Machek
2003-11-19 5:26 ` Rob Landley
2003-11-19 9:18 ` Pavel Machek
2003-11-19 9:41 ` Rob Landley
-- strict thread matches above, loose matches on Subject: below --
2003-11-19 13:15 Samium Gromoff
2003-11-19 19:06 ` Pavel Machek
2003-11-20 17:26 Shaheed
2003-11-20 19:39 ` Rob Landley
2003-11-20 22:33 ` Shaheed
2003-11-20 22:41 ` Nigel Cunningham
2003-11-20 23:02 ` Shaheed
2003-11-21 6:46 ` Rob Landley
2003-11-21 20:09 ` Nigel Cunningham
2003-11-21 0:06 ` 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=20031116131314.GC199@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=mochel@osdl.org \
--cc=rob@landley.net \
/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