From owner-freebsd-net@FreeBSD.ORG Mon Apr 2 07:50:26 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 BEBB2106566C for ; Mon, 2 Apr 2012 07:50:26 +0000 (UTC) (envelope-from freebsd-net@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48CF38FC16 for ; Mon, 2 Apr 2012 07:50:26 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SEc1o-0007CS-B4 for freebsd-net@freebsd.org; Mon, 02 Apr 2012 09:50:16 +0200 Received: from pool-108-35-132-213.nwrknj.fios.verizon.net ([108.35.132.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Apr 2012 09:50:16 +0200 Received: from ixew by pool-108-35-132-213.nwrknj.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Apr 2012 09:50:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-net@freebsd.org From: enoch Date: Mon, 02 Apr 2012 03:50:02 -0400 Lines: 108 Message-ID: References: <20120330233819.GC7325@michelle.cdnetworks.com> <4F75C5EC.6090303@hotmail.com> <20120402195215.GA3571@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-108-35-132-213.nwrknj.fios.verizon.net User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120312 Thunderbird/11.0 In-Reply-To: <20120402195215.GA3571@michelle.cdnetworks.com> X-Enigmail-Version: 1.4 Subject: Re: [nfe] DHCP failure on 8-stable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 07:50:26 -0000 On 04/02/2012 03:52 PM, YongHyeon PYUN wrote: > 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? > Static IP direct communication attempt from this desktop to another laptop through a crossover cable fails as follows. Thanks. nfe0: flags=8843 metric 0 mtu 1500 options=82008 ether 00:1f:bc:00:19:dc inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 media: Ethernet autoselect (1000baseT ) status: active nfe0: link state changed to UP nfe0: port 0xf200-0xf207 mem 0xefffb000-0xefffbfff irq 21 at device 20.0 on pci0 miibus1: on nfe0 nfe0: Ethernet address: 00:1f:bc:00:19:dc nfe0: [FILTER] nfe0: discard frame w/o leading ethernet header (len 0 pkt len 0) nfe0: discard frame w/o leading ethernet header (len 0 pkt len 0) nfe0: link state changed to UP nfe0: discard frame w/o leading ethernet header (len 0 pkt len 0) nfe0: discard frame w/o leading ethernet header (len 0 pkt len 0) nfe0: discard frame w/o leading ethernet header (len 0 pkt len 0) dev.nfe.0.stats.rx.frame_errors: 0 dev.nfe.0.stats.rx.extra_bytes: 0 dev.nfe.0.stats.rx.late_cols: 0 dev.nfe.0.stats.rx.runts: 0 dev.nfe.0.stats.rx.jumbos: 0 dev.nfe.0.stats.rx.fifo_overuns: 0 dev.nfe.0.stats.rx.crc_errors: 0 dev.nfe.0.stats.rx.fae: 0 dev.nfe.0.stats.rx.len_errors: 0 dev.nfe.0.stats.rx.unicast: 56 dev.nfe.0.stats.rx.multicast: 0 dev.nfe.0.stats.rx.broadcast: 280 dev.nfe.0.stats.tx.octets: 7517 dev.nfe.0.stats.tx.zero_rexmits: 51 dev.nfe.0.stats.tx.one_rexmits: 0 dev.nfe.0.stats.tx.multi_rexmits: 0 dev.nfe.0.stats.tx.late_cols: 0 dev.nfe.0.stats.tx.fifo_underuns: 0 dev.nfe.0.stats.tx.carrier_losts: 0 dev.nfe.0.stats.tx.excess_deferrals: 0 dev.nfe.0.stats.tx.retry_errors: 0 >> >> 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. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >