From: Jeremy Maitin-Shepard <jbms@cmu.edu>
To: Xavier Bestel <xavier.bestel@free.fr>
Cc: nigel@nigel.suspend2.net, "Rafael J. Wysocki" <rjw@sisk.pl>,
linux-kernel@vger.kernel.org, Linus Torvalds <torvalds@osdl.org>,
Pavel Machek <pavel@ucw.cz>
Subject: Re: A kexec approach to hibernation
Date: Mon, 11 Jun 2007 11:51:21 -0400 [thread overview]
Message-ID: <87r6oimqva.fsf@jbms.ath.cx> (raw)
In-Reply-To: <1181576723.11365.45.camel@frg-rhel40-em64t-04> (Xavier Bestel's message of "Mon\, 11 Jun 2007 17\:45\:23 +0200")
Xavier Bestel <xavier.bestel@free.fr> writes:
> On Mon, 2007-06-11 at 11:01 -0400, Jeremy Maitin-Shepard wrote:
>> >> You might claim then that the solution is to simply keep the network
>> >> driver quiesced or stopped. But then it is impossible to write the
>> >> image over the network. The way to get around this problem is to write
>> >> the image over the network using a fresh network stack.
>>
>> > Or teach the driver stack about the difference/reset it. Remember that
>> > even if you get a fresh network stack, you'll still be getting packets
>> > for the old stack. Getting a new ip (assuming one is available) won't
>> > stop other connections getting killed, either because we send resets
>> > from the kexec'd kernel, or because they timeout looking for the old
>> > ip.
>>
>> I could be mistaken, but I think that bringing up the network interface
>> with a different IP address would prevent it from reseting existing TCP
>> connections, because it would never receive the packets for those
>> existing connections.
> That can't work. There are networks where the client must have a fixed
> IP, or must accept the adress given by dhcp in order to talk to
> fileservers. And you still have the same mac adress, which may cause
> problems.
I wasn't suggesting that using a different IP address would be a general
solution. It might be a solution for a few people.
In general, I'd imagine that most people would not bring up the network
interface at all, and most of the people that do would bring it up with
the same IP address, causing some existing TCP connections to possibly
be reset.
I think that causing connections to be reset is, however, far better
than acking packets that are then silently thrown away.
--
Jeremy Maitin-Shepard
next prev parent reply other threads:[~2007-06-11 15:51 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-01 20:39 A kexec approach to hibernation Jeremy Maitin-Shepard
2007-06-01 21:39 ` Rafael J. Wysocki
2007-06-01 22:25 ` Jeremy Maitin-Shepard
2007-06-01 23:14 ` Rafael J. Wysocki
2007-06-01 23:54 ` Jeremy Maitin-Shepard
2007-06-02 0:33 ` Rafael J. Wysocki
2007-06-02 1:54 ` Jeremy Maitin-Shepard
2007-06-02 9:22 ` Rafael J. Wysocki
2007-06-04 10:46 ` Pavel Machek
2007-06-04 12:20 ` Matthew Garrett
2007-06-04 13:10 ` Pavel Machek
2007-06-04 13:16 ` Matthew Garrett
2007-06-11 2:02 ` H. Peter Anvin
2007-06-11 22:44 ` Nigel Cunningham
2007-06-04 22:09 ` Jeremy Maitin-Shepard
2007-06-04 22:36 ` Nigel Cunningham
2007-06-05 8:15 ` Xavier Bestel
2007-06-05 9:34 ` Stefan Seyfried
2007-06-05 9:40 ` Xavier Bestel
2007-06-04 22:51 ` Pavel Machek
2007-06-11 15:07 ` Jeremy Maitin-Shepard
2007-06-11 3:40 ` Nigel Cunningham
2007-06-11 15:01 ` Jeremy Maitin-Shepard
2007-06-11 15:45 ` Xavier Bestel
2007-06-11 15:51 ` Jeremy Maitin-Shepard [this message]
2007-06-11 16:03 ` Xavier Bestel
2007-06-11 17:05 ` Jeremy Maitin-Shepard
2007-06-04 4:40 ` Vivek Goyal
2007-06-04 5:22 ` Nigel Cunningham
2007-06-04 8:05 ` Rafael J. Wysocki
2007-06-04 8:14 ` Nigel Cunningham
2007-06-04 21:44 ` Jeremy Maitin-Shepard
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=87r6oimqva.fsf@jbms.ath.cx \
--to=jbms@cmu.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=nigel@nigel.suspend2.net \
--cc=pavel@ucw.cz \
--cc=rjw@sisk.pl \
--cc=torvalds@osdl.org \
--cc=xavier.bestel@free.fr \
/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