[linux-pm] [QUESTION] How to reset TCP connections when resuming system from disk/ram

Pavel Machek pavel at ucw.cz
Wed Jun 4 07:59:00 PDT 2008


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


More information about the linux-pm mailing list