From: Pavel Machek <pavel@ucw.cz>
To: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: pm list <linux-pm@lists.linux-foundation.org>
Subject: Re: [QUESTION] How to reset TCP connections when resuming system from disk/ram
Date: Wed, 4 Jun 2008 16:59:00 +0200 [thread overview]
Message-ID: <20080604145900.GA6762@ucw.cz> (raw)
In-Reply-To: <200806020026.56875.maximlevitsky@gmail.com>
Hi!
> Thanks to your effort, the suspend to ram/disk works flawlessly on my
> desktop system.
>
> But I still have rather small, but annoying problem, that system doesn't
> understands that a long suspend cycle was done, and still waits for long closed
> TCP connections.
>
> I remember there was a patch to close all TCP connections on suspend, but it was rejected
> due to the fact that TCP sessions can live through short suspend/resume cycles.
Well... tcp sessions can survive even long suspends ... if there's no
NAT nearby and both sides are quiescent...
Dig out the patch and lets see if it can be made acceptable?
> Btw, I recently bought an acer laptop (5720G), and there are few suspend/resume issues,
> namely:
>
> *attempt to do a second suspend to ram freezes the system hard on resume.
> for example this works:
>
> suspend to ram
> suspend to disk
> suspend to ram
> suspend to disk
>
> but this doesn't
>
> suspend to ram
> suspend to ram
Try it from minimum system, but this looks like acpi problem...
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2008-06-04 14:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-01 21:26 [QUESTION] How to reset TCP connections when resuming system from disk/ram Maxim Levitsky
2008-06-04 14:59 ` Pavel Machek [this message]
2008-06-05 21:44 ` Maxim Levitsky
2008-06-04 15:41 ` Maxim Levitsky
2008-06-04 18:54 ` Alan Stern
2008-06-04 20:38 ` Maxim Levitsky
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=20080604145900.GA6762@ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-pm@lists.linux-foundation.org \
--cc=maximlevitsky@gmail.com \
/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