From nobody@FreeBSD.org  Fri May 21 07:46:20 2004
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 B565216A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 May 2004 07:46:20 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AFAFA43D1F
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 May 2004 07:46:20 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i4LEjv5d057053
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 May 2004 07:45:57 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i4LEjvFL057052;
	Fri, 21 May 2004 07:45:57 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200405211445.i4LEjvFL057052@www.freebsd.org>
Date: Fri, 21 May 2004 07:45:57 -0700 (PDT)
From: Tomek <brevius@tlen.pl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Problem with Broadcom BCM5705M and FreeBSD 5.x
X-Send-Pr-Version: www-2.3

>Number:         66997
>Category:       i386
>Synopsis:       [bge] Problem with Broadcom BCM5705M and FreeBSD 5.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    yar
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 21 07:50:15 PDT 2004
>Closed-Date:    Tue Nov 22 09:06:01 GMT 2005
>Last-Modified:  Tue Nov 22 09:10:18 GMT 2005
>Originator:     Tomek
>Release:        5.2, 5.2.1
>Organization:
>Environment:
FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386      
>Description:
There is no possibility to install FreeBSD 5.x from network on Dell Latitude X300 with Broadcom BCM5705M NIC. During boot process:
bge0: <Broadcom BCM5705M Gigabit Ethernet, ASIC rev. 0x3001> mem 0xe0200000-0xe020ffff irg 11 at device 5.0 on pci2
bge0: couldn't map memory
device_probe_and_attach: bge0 attach returned 6    
>How-To-Repeat:
Boot FreeBSD 5.2 or 5.2.1 from CD on Dell Latitude X300 and try to install FreeBSD from network.     
>Fix:
I have no Idea :-(     
>Release-Note:
>Audit-Trail:

From: "Sujay D'Souza" <sad@qualbe.com>
To: <freebsd-gnats-submit@FreeBSD.org>, <brevius@tlen.pl>
Cc:  
Subject: Re: i386/66997: Problem with Broadcom BCM5705M and FreeBSD 5.x
Date: Fri, 18 Jun 2004 08:17:30 -0400

 Had a similar problem with a HP Proliant ML 110 and a broadcom BCM5705K
 
 Modify if_bge.c   and if_bgereg.h
 
 In the dev directory under the src release.
 
 Introduce a new vendor id 
 
         { BCOM_VENDORID, BCOM_DEVICEID_BCM5705K,
                 "Broadcom BCM5705K Gigabit Ethernet" },
 
 In my case for the ML 110 in if_bge.c
 
 And 
 
 #define BCOM_DEVICEID_BCM5705K          0x1654   in if_bgereg.h
 
 Run a pciconf  to get the correct chip rev/mem address being mapped to.
 
 Regards
 
 Sujay D'Souza
 
Responsible-Changed-From-To: freebsd-i386->wpaul 
Responsible-Changed-By: vs 
Responsible-Changed-When: Tue Jul 20 08:17:02 GMT 2004 
Responsible-Changed-Why:  
Over to bge-author 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66997 
Responsible-Changed-From-To: wpaul->freebsd-bugs 
Responsible-Changed-By: wpaul 
Responsible-Changed-When: Wed Jul 21 16:56:40 GMT 2004 
Responsible-Changed-Why:  
Do not blindly assign PRs to me. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66997 

From: "John C. McCullough" <john@cs.hmc.edu>
To: freebsd-gnats-submit@FreeBSD.org, brevius@tlen.pl
Cc:  
Subject: Re: i386/66997: Problem with Broadcom BCM5705 and FreeBSD 5.x
Date: Tue, 27 Jul 2004 23:05:00 -0700

 I have been having the same problem.  I did get the installation to work
 using another network card in the pcmcia slot.  
 
 I know it is not the 5705K issue, because it is detected properly as a
 5705M_A1 under linux and loads correctly using that driver.  
 
 I've been trying to determine how bus_alloc_resource operates, however
 it has proven to be a bit difficult to locate in the kernel source tree.
 
 I haven't done very much operating systems work at this point and the 
 structural differences between the BSD driver and the Broadcom written
 linux driver are enough to be relatively confusing.  
 
 If I could find enough information regarding bus_alloc_resource and a
 sensible way to perform debugging I'd be happy to help out in
 investigating the problem.
 
 -John

From: Yar Tikhiy <yar@FreeBSD.org>
To: bug-followup@FreeBSD.org, brevius@tlen.pl, john@cs.hmc.edu, sad@qualbe.com
Cc:  
Subject: Re: i386/66997: [if_bge] Problem with Broadcom BCM5705M and FreeBSD 5.x
Date: Tue, 30 Aug 2005 15:41:13 +0400

 Folks,
 
 Could you please check if this bug still persists in
 FreeBSD 6.0-BETA3 or newer?
 
 -- 
 Yar
State-Changed-From-To: open->feedback 
State-Changed-By: yar 
State-Changed-When: Tue Aug 30 15:37:02 GMT 2005 
State-Changed-Why:  
There is one report that HEAD's bge(4) has worked on the same HW since 
before RELENG_6 was tagged.  Let's wait for more feedback. 


Responsible-Changed-From-To: freebsd-bugs->yar 
Responsible-Changed-By: yar 
Responsible-Changed-When: Tue Aug 30 15:37:02 GMT 2005 
Responsible-Changed-Why:  
So that I see feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66997 

From: "John C. McCullough" <john@cs.hmc.edu>
To: Yar Tikhiy <yar@freebsd.org>
Cc:  
Subject: Re: i386/66997: [if_bge] Problem with Broadcom BCM5705M and FreeBSD 5.x
Date: Tue, 30 Aug 2005 08:22:50 -0700

 The if_bge initialization has worked since before 6.0 was tagged.  I
 have not tried to do an install recently, and I do not know whether it
 works in that situation.
 
 -John
 
 On Tue, Aug 30, 2005 at 03:41:13PM +0400, Yar Tikhiy wrote:
 > Folks,
 > 
 > Could you please check if this bug still persists in
 > FreeBSD 6.0-BETA3 or newer?
 > 
 > -- 
 > Yar

From: Yar Tikhiy <yar@comp.chem.msu.su>
To: "John C. McCullough" <john@cs.hmc.edu>
Cc: bug-followup@freebsd.org
Subject: Re: i386/66997: [if_bge] Problem with Broadcom BCM5705M and FreeBSD 5.x
Date: Tue, 30 Aug 2005 19:36:42 +0400

 On Tue, Aug 30, 2005 at 08:22:50AM -0700, John C. McCullough wrote:
 > The if_bge initialization has worked since before 6.0 was tagged.  I
 > have not tried to do an install recently, and I do not know whether it
 > works in that situation.
 
 Thanks for the info!  Is there a chance that you'll try to install
 6.0-RELEASE on the hardware when it is out?
 
 -- 
 Yar

From: "John C. McCullough" <john@cs.hmc.edu>
To: Yar Tikhiy <yar@comp.chem.msu.su>
Cc:  
Subject: Re: i386/66997: [if_bge] Problem with Broadcom BCM5705M and FreeBSD 5.x
Date: Tue, 30 Aug 2005 08:53:58 -0700

 Yep.
 
 -John
 
 On Tue, Aug 30, 2005 at 07:36:42PM +0400, Yar Tikhiy wrote:
 > On Tue, Aug 30, 2005 at 08:22:50AM -0700, John C. McCullough wrote:
 > > The if_bge initialization has worked since before 6.0 was tagged.  I
 > > have not tried to do an install recently, and I do not know whether it
 > > works in that situation.
 > 
 > Thanks for the info!  Is there a chance that you'll try to install
 > 6.0-RELEASE on the hardware when it is out?
 > 
 > -- 
 > Yar

Adding to audit trail from misfiled PR kern/85569:

Date: Wed, 31 Aug 2005 16:15:45 +0200
From: brevius@tlen.pl

 Hi,
 
 it seems my last mail was dropped by your mailserver.
 But anyway I have now latest release and I have to check how vlan works.
 
 regards
 
 Tomek

From: john@cs.hmc.edu (John C. McCullough)
To: Yar Tikhiy <yar@comp.chem.msu.su>
Cc: bug-followup@freebsd.org
Subject: Re: i386/66997: [if_bge] Problem with Broadcom BCM5705M and FreeBSD 5.x
Date: Tue, 22 Nov 2005 00:29:54 -0800

 I sucessfully installed 6.0-RELEASE over the if_bge interface with out
 any difficulties.
 
 -John
 
 On Tue, Aug 30, 2005 at 07:36:42PM +0400, Yar Tikhiy wrote:
 > On Tue, Aug 30, 2005 at 08:22:50AM -0700, John C. McCullough wrote:
 > > The if_bge initialization has worked since before 6.0 was tagged.  I
 > > have not tried to do an install recently, and I do not know whether it
 > > works in that situation.
 > 
 > Thanks for the info!  Is there a chance that you'll try to install
 > 6.0-RELEASE on the hardware when it is out?
 > 
 > -- 
 > Yar
State-Changed-From-To: feedback->closed 
State-Changed-By: yar 
State-Changed-When: Tue Nov 22 09:03:34 GMT 2005 
State-Changed-Why:  
The problem is gone from CURRENT and RELENG_6. 
Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66997 

From: Yar Tikhiy <yar@comp.chem.msu.su>
To: "John C. McCullough" <john@cs.hmc.edu>
Cc: bug-followup@freebsd.org
Subject: Re: i386/66997: [if_bge] Problem with Broadcom BCM5705M and FreeBSD 5.x
Date: Tue, 22 Nov 2005 12:07:07 +0300

 On Tue, Nov 22, 2005 at 12:29:54AM -0800, John C. McCullough wrote:
 > I sucessfully installed 6.0-RELEASE over the if_bge interface with out
 > any difficulties.
 
 Thanks for reporting!  Now I can close this PR.
 
 -- 
 Yar
>Unformatted:
