From nobody@FreeBSD.org  Mon Mar 10 01:44:57 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3CDC2106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 Mar 2008 01:44:57 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 38BFA8FC1D
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 Mar 2008 01:44:57 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2A1fke5045503
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 Mar 2008 01:41:46 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m2A1fkqB045502;
	Mon, 10 Mar 2008 01:41:46 GMT
	(envelope-from nobody)
Message-Id: <200803100141.m2A1fkqB045502@www.freebsd.org>
Date: Mon, 10 Mar 2008 01:41:46 GMT
From: Derrick <dbuckhal@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: nve interface locks up during rc.conf initialization
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: vwe@freebsd.org

>Number:         121549
>Category:       i386
>Synopsis:       [nfe]: nfe interface locks up during rc.conf initialization
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 10 01:50:00 UTC 2008
>Closed-Date:    Thu Jul 15 06:07:12 UTC 2010
>Last-Modified:  Thu Jul 15 06:07:12 UTC 2010
>Originator:     Derrick
>Release:        7.0-Release
>Organization:
home user
>Environment:
dbuck@cobra /usr/src/sys/i386/conf$ uname -a
FreeBSD cobra.duck.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Motherboard:  EVGA 780i(P03), dual 10/100/1000 Ethernet ports
CPU:  Intel E6850
Hard drives:  Dual Seagate 300GB SATA
  FreeBSD Boot manager
  F1  DOS (Windows XP)
  F2  FreeBSD 7.0-Release

During a fresh install onto the second partition of the first hard drive, I visited the Post Install area to configure Ethernet Interfaces.  After plugging in the static IP information for nfe0, the system would lock up immediately once I chose to bring up the interface, nfe0.  After a reboot, I manually added the nve0 info into rc.conf and once again it would lock up once it seem to initialize the Ethernet device.  Once I commented out the "ifconfig_nve0" line from rc.conf the system would boot fine.  I have tried both static and DHCP and both cause the system to lock up.  I eventually found that I can manually run the "ifconfig nfe0 inet 192.68.0.xxx netmask 255.255.255.0" command after the system boots and it will not lock up.
>How-To-Repeat:
1. Add nfe device information through the initial install and bring the interface up.
2. Run sysinstall after your installation and bring the interface up.
3. Manually add nfe device information into the rc.conf file and reboot.
>Fix:
Do not enter the "ifconfig_nfe0..." line into your rc.conf and enter command manually after systme boots up.

>Release-Note:
>Audit-Trail:

From: Derrick <dbuckhal@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-i386@FreeBSD.org
Cc:  
Subject: Re: i386/121549: nve interface locks up during rc.conf initialization
Date: Sun, 9 Mar 2008 20:15:17 -0700 (PDT)

 --0-1885416938-1205118917=:90662
 Content-Type: text/plain; charset=iso-8859-1
 Content-Transfer-Encoding: 8bit
 
 I had a typo in the Synopsis.  It should be "nfe" not "nve"
    
   >Synopsis: nve interface locks up during rc.conf initialization
 
   To be clear, this is regarding the FreeBSD based nfe driver.
    
   Thanks,
    
   Derrick
   
 FreeBSD-gnats-submit@FreeBSD.org wrote:
   Thank you very much for your problem report.
 It has the internal identification `i386/121549'.
 The individual assigned to look at your
 report is: freebsd-i386. 
 
 You can access the state of your problem report at any time
 via this link:
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=121549
 
 >Category: i386
 >Responsible: freebsd-i386
 >Synopsis: nve interface locks up during rc.conf initialization
 >Arrival-Date: Mon Mar 10 01:50:00 UTC 2008
 
 
        
 ---------------------------------
 Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
 --0-1885416938-1205118917=:90662--

From: "Remko Lodder" <remko@elvandar.org>
To: "Derrick" <dbuckhal@yahoo.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: i386/121549: nve interface locks up during rc.conf 
     initialization
Date: Mon, 10 Mar 2008 09:23:04 +0100 (CET)

 So are you sure you are doing ifconfig_nfe in your configuration instead
 of nve ? because you seem to make the typo a bit more then just in the
 synopsis :-)
 
 Please -double- check!
 
 //Remko
 
 -- 
 /"\   Best regards,                      | remko@FreeBSD.org
 \ /   Remko Lodder                       | remko@EFnet
  X    http://www.evilcoder.org/          |
 / \   ASCII Ribbon Campaign              | Against HTML Mail and News
 
 

From: "Alex Pyltsov" <alexpyltsov@gmail.com>
To: bug-followup@FreeBSD.org, dbuckhal@yahoo.com
Cc:  
Subject: Re: i386/121549: [nfe]: nfe interface locks up during rc.conf initialization
Date: Wed, 2 Apr 2008 00:04:40 +0300

 ------=_Part_16570_6136870.1207083880631
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 I have the same problem. System hang up when I try to use nfe interface.
 Motherboard: Asus P5N32-E
 System: FreeBSD 7.0 (fresh install)
 
 System boot up normally, after running "dhclient nfe0" or "ifconfig nfe0
 10.0.0.1/24" system hang up.
 I checked it on amd64 and i386.
 
 ------=_Part_16570_6136870.1207083880631--

From: Derrick <dbuckhal@yahoo.com>
To: bug-followup@FreeBSD.org, dbuckhal@yahoo.com
Cc:  
Subject: Re: i386/121549: [nfe]: nfe interface locks up during rc.conf initialization
Date: Mon, 5 May 2008 10:27:11 -0700 (PDT)

 Just some follow up information as it is still not
 working.
 
 Here's my pciconf output:
 
 nfe0@pci0:0:17:0: class=0x068000 card=0xc55e10de
 chip=0x037310de rev=0xa3 hdr=0x00
 vendor = 'Nvidia Corp'
 device = 'MCP55 Ethernet'
 class = bridge
 nfe1@pci0:0:18:0: class=0x068000 card=0xc55e10de
 chip=0x037310de rev=0xa3 hdr=0x00
 vendor = 'Nvidia Corp'
 device = 'MCP55 Ethernet'
 class = bridge
 pcib6@pci0:0:19:0: class=0x060400 card=0x000010de
 chip=0x037610de rev=0xa3 hdr=0x01
 
 I have tried to use the 7-STABLE nfe driver, but after
 extracting the relative dev and module files into
 their respective locations, the re-compile failed:
 
 cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls
 -Wnested-externs -Wstrict-pr
 ototypes -Wmissing-prototypes -Wpointer-arith -Winline
 -Wcast-qual -Wundef -Wn
 o-pointer-sign -fformat-extensions -nostdinc -I.
 -I/usr/src/sys -I/usr/src/sys/
 contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
 -include opt_global.h -fno-c
 ommon -finline-limit=8000 --param
 inline-unit-growth=100 --param large-function-
 growth=1000 -mno-align-long-strings
 -mpreferred-stack-boundary=2 -mno-mmx -mno
 -3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding
 -Werror /usr/src/sys/dev/nfe
 /if_nfe.c
 cc1: warnings being treated as errors
 /usr/src/sys/dev/nfe/if_nfe.c: In function
 'nfe_encap':
 /usr/src/sys/dev/nfe/if_nfe.c:2469: warning: implicit
 declaration of function 'm_collapse'
 /usr/src/sys/dev/nfe/if_nfe.c:2469: warning: nested
 extern declaration of 'm_collapse'
 /usr/src/sys/dev/nfe/if_nfe.c:2469: warning:
 assignment makes pointer from integer without a cast
 *** Error code 1
 
 Stop in /usr/obj/usr/src/sys/GENERIC.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 
 I then used the kernel from a RELENG_7 snapshot and
 copied the kernel from that and it still did not work.
  So, I just decided to disable the two on-board
 Ethernet ports and install a spare PCI card and got
 FreeBSD 7.0 Release up and running just fine, but I do
 want to eventually find a solution!
 
 
       ____________________________________________________________________________________
 Be a better friend, newshound, and 
 know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Wed Jul 14 15:39:31 UTC 2010 
State-Changed-Why:  
Hello is this still a problem? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121549 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Thu Jul 15 06:07:11 UTC 2010 
State-Changed-Why:  
Fixed on more recent versions of FreeBSD (8.x) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121549 
>Unformatted:
