From nobody@FreeBSD.org  Wed Apr 19 01:47:19 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A0EA516A400
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 19 Apr 2006 01:47:19 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6E69743D45
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 19 Apr 2006 01:47:19 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k3J1lHfq058742
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 19 Apr 2006 01:47:17 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k3J1lHfo058741;
	Wed, 19 Apr 2006 01:47:17 GMT
	(envelope-from nobody)
Message-Id: <200604190147.k3J1lHfo058741@www.freebsd.org>
Date: Wed, 19 Apr 2006 01:47:17 GMT
From: Stephen <stephen@randomcruft.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Install hangs with Broadcomm 440x NIC installed
X-Send-Pr-Version: www-2.3

>Number:         96030
>Category:       kern
>Synopsis:       [bfe] [patch] Install hangs with Broadcomm 440x NIC installed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    yongari
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 19 01:50:15 GMT 2006
>Closed-Date:    Mon Jan 17 23:38:35 UTC 2011
>Last-Modified:  Mon Jan 17 23:38:35 UTC 2011
>Originator:     Stephen
>Release:        Happens with 6.0-RELEASE and 6.1-RC1
>Organization:
N/A
>Environment:
Can't provide as I can't get through a full installation.
>Description:
During the installation of 6.0-RELEASE and 6.1-RC1 the installation hangs
when it gets to the point of trying to dsetup and ethernet adapter.

I am running a Dell Inspiron 9300, with a Broadcom 440x internal NIC. The
bfe driver appears to initialize the card properly during hardware discovery
as I have a link light.  Once I get to the point in the installation where
it asks if I would like to setup an ethernet adapater, if I select yes and
choose to attempt IPv6 it (the system) no longer responds.  There is also
no link light at this point.  I've also tried this path and tried to skip
IPv6 and go to DHCP, same result.

It appears that ifconfig is trying to down the interface (which doesn't
make sense since it was already "up") and then bring it back up but it
gets "stuck".

If I ignore setting up the ethernet adapter the install will finish
properly.  But, if I try to run dhclient by hand the same thing will
happen (machine hangs, have to hard boot).

I'm sure you folks are aware of it already since it looks like an ongoing
problem, but though I would confirm that the issue is there in 6.1-RC1.
>How-To-Repeat:
Start installation on a system w/ a Broadcom 440x NIC. Attempt to
configure NIC using the installer, system will hang / lockup.  Or, run
installer and not configure NIC, upon reboot and logging into the system
run dhclient by hand, system will hang.
>Fix:
Not sure what the actual issue is, i'm not able to provide a fix
(unfortunately.)
>Release-Note:
>Audit-Trail:

From: Jianqin Qu <jqu@its.brooklyn.cuny.edu>
To: Stephen <stephen@randomcruft.com>
Cc: freebsd-gnats-submit@freebsd.org, freebsd-i386@freebsd.org
Subject: Re: i386/96030: Install hangs with Broadcomm 440x NIC installed
Date: Thu, 11 May 2006 11:03:56 -0400 (EDT)

 Please have a try on the patch below, the previous attachement seems 
 gargled.
 
 
 --- sys/dev/bfe/if_bfe.c.org	Sun Oct  9 12:15:11 2005
 +++ sys/dev/bfe/if_bfe.c	Mon May  8 22:39:37 2006
 @@ -719,6 +719,9 @@
   			    100, 0);
   		CSR_WRITE_4(sc, BFE_DMARX_CTRL, 0);
   		sc->bfe_rx_prod = sc->bfe_rx_cons = 0;
 +
 +		/* Software Reset */
 +		BFE_OR(sc, BFE_ENET_CTRL, BFE_ENET_SRST);
   	}
 
   	bfe_core_reset(sc);
 
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Jun 24 03:43:58 UTC 2006 
Responsible-Changed-Why:  
This does not sound i386-specific. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96030 
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: vwe 
Responsible-Changed-When: Sun Jan 4 14:07:38 UTC 2009 
Responsible-Changed-Why:  
reassign to net team 
There hasn't been any feedback for 2.5 years whether this issue is 
still true or the attached patch solves it. 
By checking recent sources, it looks like the patch is outdated. 
Leaving it to the net team for a decision what to do about the patch. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96030 
Responsible-Changed-From-To: freebsd-net->yongari 
Responsible-Changed-By: andre 
Responsible-Changed-When: Mon Aug 23 18:17:04 UTC 2010 
Responsible-Changed-Why:  
Over to expert. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96030 
State-Changed-From-To: open->feedback 
State-Changed-By: yongari 
State-Changed-When: Tue Aug 31 01:46:03 UTC 2010 
State-Changed-Why:  
bfe(4) was overhauled about two years ago so I guess most issues 
were fixed at the time. Actually I don't have any regression or 
breakage report since the overhauling. 
Are you still able to reproduce the issue on 8.1-RELEASE or 
7.3-RELEASE? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96030 
State-Changed-From-To: feedback->closed 
State-Changed-By: yongari 
State-Changed-When: Mon Jan 17 23:38:17 UTC 2011 
State-Changed-Why:  
Feedback timeout. 

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