From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?N=E9meth_M=E1rton?= Subject: Re: [Bugme-new] [Bug 14794] New: IP address assigned by DHCP is dropped after ~40 seconds Date: Sat, 19 Dec 2009 11:26:30 +0100 Message-ID: <4B2CAA56.8030605@freemail.hu> References: <20091216154713.f082e7cf.akpm@linux-foundation.org> <4B2A9A40.90203@freemail.hu> <20091217132451.b168a796.akpm@linux-foundation.org> <4B2AA64C.50709@gmail.com> <4B2B35B7.6060703@freemail.hu> <4B2BB27D.5050609@freemail.hu> <20091218200906.GA2604@ami.dom.local> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Peter Zijlstra , Andrew Morton , Mike Galbraith , Ingo Molnar , netdev@vger.kernel.org, bugzilla-daemon@bugzilla.kernel.org, bugme-daemon@bugzilla.kernel.org To: Jarek Poplawski Return-path: Received: from mail02a.mail.t-online.hu ([84.2.40.7]:58024 "EHLO mail02a.mail.t-online.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750760AbZLSK0s (ORCPT ); Sat, 19 Dec 2009 05:26:48 -0500 In-Reply-To: <20091218200906.GA2604@ami.dom.local> Sender: netdev-owner@vger.kernel.org List-ID: Jarek Poplawski =EDrta: > On Fri, Dec 18, 2009 at 05:49:01PM +0100, N=E9meth M=E1rton wrote: >> N=E9meth M=E1rton worte: >>> I use KDE, and the KNetworkManager icon is visible on the task bar.= When >>> I unplug the network cable the "disconnected" icon appears. After I= plug the >>> network cable again, a rotating wheel appears. Here comes the diffe= rence: *when* >>> the rotating wheel changes to "connected" state. One case, when the= IP address >>> is kept the "connected" icon appears right after the IP address ass= igned by >>> DHCP appears in the ifconfig output. In the wrong case this rotatin= g wheel is >>> still there for about 60 seconds while the the assigned IP address = is dropped >>> and an IP address like 169.254.123.251 is assigned. >> I would like to add that with 2.6.32 the IP address is dropped even = if I exit >> the KNetworkManager before unplugging the network cable. >> >> I can reproduce the problem without touching the network cable. If I= execute >> (I am running Debian 5.0, kernel 2.6.32): >> >> # /etc/init.d/network-manager stop >> >> then the network goes down. After this I execute: >> >> # /etc/init.d/network-manager start >> >> then the network comes up, the IP address assigned by DHCP appears f= or about a >> minute then the this IP address is dropped and the address starting = with >> 169.254 is assigned. >=20 > Hmm... currently I'm out of new (wrong ;-) ideas. It seems there is > some longer break in (mostly multicast) traffic just before releasing > the DHCP address, according to this wireshark dump. Maybe this networ= k > manager tries reloading to fix something? (Isn't there nothing strang= e > in logs from this network manager, btw?) > > You wrote earlier that you can get it working OK with dhclient, so I > wonder if it's not some userspace (KNetworkManager) incompatibility > with the new kernel (I mean if it works OK with basic dhcp tools > started as root). Could you verify that more? I upgraded the Debian package "network-manager" from 0.6.6-3 to 0.7.2-2= =2E The problem seems to be solved: the IP address is not dropped in 2.6.32 and in 2.6.31. The conclusion is for me that a user-space program cause= d the problem, thanks for the hint. Regards, M=E1rton N=E9meth