From owner-freebsd-net@FreeBSD.ORG Mon Apr 2 03:52:23 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10234106566C for ; Mon, 2 Apr 2012 03:52:23 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id D43058FC1B for ; Mon, 2 Apr 2012 03:52:22 +0000 (UTC) Received: by pbcwz17 with SMTP id wz17so4394420pbc.13 for ; Sun, 01 Apr 2012 20:52:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=0DMMKsb6lcr29yMs6++GVUChqFM3nudKYAEtuyerM7E=; b=WajgubhLo9/FYSFBKRseFjeAbNUvGg5xtXKTpA6+SCvsVtEFmhYXGPoB4n/NTZEGKA WxKx+ricIrb9q4h0mrNssBxdhVl+gCvVDO4cbMlYwdj3hkRZoOOv/QyEcK1XDSwGFZr2 y55RwB2xkyP1eIoaagjFmRipyyTFsmQhoW2bzAZ+drriwjLD7+Puv7NLiHVfugZlNMGY HyTzcqgeTp0HM6qPHyzU3qHcGP+vzYCiOAbWw1E1sWRi2z4//j5vXbyReNgoWMGFemY0 P4pzXPNEOSQmpGjDEhanyBQB+lUCF1WOWCvV08SoZSCQ1NwkWRRar6aAbnUfCWBFbNlW NvfA== Received: by 10.68.135.195 with SMTP id pu3mr15561924pbb.54.1333338742691; Sun, 01 Apr 2012 20:52:22 -0700 (PDT) Received: from pyunyh@gmail.com ([114.111.62.249]) by mx.google.com with ESMTPS id f5sm13184480pbe.26.2012.04.01.20.52.19 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 01 Apr 2012 20:52:21 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Mon, 02 Apr 2012 12:52:15 -0700 From: YongHyeon PYUN Date: Mon, 2 Apr 2012 12:52:15 -0700 To: enoch Message-ID: <20120402195215.GA3571@michelle.cdnetworks.com> References: <20120330233819.GC7325@michelle.cdnetworks.com> <4F75C5EC.6090303@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F75C5EC.6090303@hotmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org Subject: Re: [nfe] DHCP failure on 8-stable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2012 03:52:23 -0000 On Fri, Mar 30, 2012 at 10:40:44AM -0400, enoch wrote: > On 03/30/2012 19:38, YongHyeon PYUN wrote: > > On Fri, Mar 30, 2012 at 03:01:52AM -0400, enoch wrote: > >> Recently it became extremely difficult to pass the DHCP discovery step > >> on boot. Now I am using the buggy [nve] instead. > >> > >> Can anyone help? > >> > > > > Did you set synchronous_dhclient option in rc.conf? > > > > Yes: ifconfig_nfe0="SYNCDHCP" > > I guess [nfe] is undergoing gradual devel changes of some sort as before > it had some chance of reporting "empty headers" on initial ifconfig and > refusing to work. Sorry, I should have reported when encountering the > first problems rather than solve by reboot. Would you show me the output of both dmesg(nfe(4) and its PHY only) and 'sysctl dev.nfe.0.stats'? It would be also helpful to know whether nfe(4) still sees incoming traffic. Does assigning static IP work? > > In any case, the alternative [nve] should be marked "dangerous" as under > heavy load it tends to crash the system. > > Thanks, Enoch. > > >> > >> uname -a > >> ~~~~~~~~ > >> FreeBSD dome 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #7: Thu Mar 29 > >> 14:37:00 EDT 2012 root@dome:/usr/obj/usr/src/sys/DOME amd64 > >> > >> nfe0 fails at DHCPDISCOVER. > >> > >> ifconfig: > >> > >> nfe0: flags=8843 metric 0 mtu 1500 > >> options=82008 > >> ether 00:1f:bc:00:19:dc > >> inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > >> media: Ethernet autoselect (100baseTX ) > >> status: active > >> > >> lspci: > >> > >> 00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3) Because there are several MCP51 variants, "pciconf -lcbv" is more more preferred one.