From owner-freebsd-stable@FreeBSD.ORG Fri Jul 7 14:17:57 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0728816A4E0 for ; Fri, 7 Jul 2006 14:17:57 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAA5743D6E for ; Fri, 7 Jul 2006 14:17:52 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 59FC646D4E; Fri, 7 Jul 2006 10:17:52 -0400 (EDT) Date: Fri, 7 Jul 2006 15:17:52 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Pyun YongHyeon In-Reply-To: <20060707040838.GE82406@cdnetworks.co.kr> Message-ID: <20060707151640.D51390@fledge.watson.org> References: <20060629083130.X1229@ganymede.hub.org> <44A4A02A.9060802@thebeastie.org> <20060630012615.Q1103@ganymede.hub.org> <44A57B71.6020201@asd.aplus.net> <20060701035416.GC54876@cdnetworks.co.kr> <44AC6793.2070608@asd.aplus.net> <20060706021444.GA76865@cdnetworks.co.kr> <44AD7297.7080605@asd.aplus.net> <20060707010341.GD82406@cdnetworks.co.kr> <44ADC2ED.4070904@asd.aplus.net> <20060707040838.GE82406@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Peter Jeremy , Atanas , freebsd-stable@freebsd.org, Michael Vince , User Freebsd Subject: Re: em device hangs on ifconfig alias ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jul 2006 14:17:57 -0000 On Fri, 7 Jul 2006, Pyun YongHyeon wrote: > > I just left a "tcpdump -n arp host 10.10.64.40" on a third machine > > sniffing around and tested all em module versions I had (the stock 6.1, > > 6-STABLE and 6-STABLE with your patch), but got silence on all three: > > That's odd. I've tested it on CURRENT and I could see the ARP packet. Are > you sure you patched correctly? If so I have to build a RELENG_6 machine and > give it try. Is it possible you're seeing an interaction between the reset generated as part of IP address changing, and the time it takes to negotiate link? It's possible that the arp packets are being eaten during the link negotiation, so for systems negotiating quickly (or not at all) then the arp packet is seen on other hosts, and otherwise not... Robert N M Watson Computer Laboratory University of Cambridge > > > EM# ifconfig em1 inet alias 10.10.64.40 > > > > EM# ifconfig em1 inet -alias 10.10.64.40 > > > > > > It's normal. > > > The fxp driver appears to send something on startup and nothing on > > shutdown: > > > > FXP# ifconfig fxp0 inet alias 10.10.64.40 > > 18:41:54.584059 arp who-has 10.10.64.40 tell 10.10.64.40 > > FXP# ifconfig fxp0 inet -alias 10.10.64.40 > > > > > > When I manually arping the em alias after startup (i.e. simulate what > > fxp does), everything works as expected: > > > > EM# ifconfig em1 inet alias 10.10.64.40 > > > > EM# arping -c1 -S10.10.64.40 10.10.64.40 > > 18:46:07.808701 arp who-has 10.10.64.40 tell 10.10.64.40 > > Because arping requested it em(4) generated it. > > > EM# ifconfig em1 inet -alias 10.10.64.40 > > > > > > It appears that this is what the em driver is supposed to do, or at > > least fxp does it in this way. > > > > No, it's an em(4) driver bug. fxp(4)'s behavior is correct. > > > >This is other issue. em(4) performs two time-consuming operations > > >in its initialization routine. One is DMA tag/map creation and the > > >other is checksumming EEPROM contents in init routine. > > >I have an experimental patch for it but let's fix one at a time. > > > > > OK, let's put that aside for now. > > > > Regards, > > Atanas > > > > -- > Regards, > Pyun YongHyeon > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >