NetBSD Problem Report #32767

From ykomatsu@akaumigame.org  Tue Feb  7 11:45:29 2006
Return-Path: <ykomatsu@akaumigame.org>
Received: from www489.sakura.ne.jp (www489.sakura.ne.jp [59.106.13.139])
	by narn.netbsd.org (Postfix) with ESMTP id 83A6863B863
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  7 Feb 2006 11:45:28 +0000 (UTC)
Message-Id: <200602071145.k17BjI2s006326@sv4.ln.akaumigame.org>
Date: Tue, 7 Feb 2006 20:45:18 +0900 (JST)
From: ykomatsu@akaumigame.org
Reply-To: ykomatsu@akaumigame.org
To: gnats-bugs@netbsd.org
Subject: IPMI access is disabled after bge driver is loaded
X-Send-Pr-Version: 3.95

>Number:         32767
>Category:       kern
>Synopsis:       IPMI access is disabled after bge driver is loaded
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    msaitoh
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 07 11:50:00 +0000 2006
>Closed-Date:    Mon Apr 30 23:57:00 +0000 2012
>Last-Modified:  Mon Apr 30 23:57:00 +0000 2012
>Originator:     Yoshito Komatsu <ykomatsu@akaumigame.org>
>Release:        NetBSD 3.0_BETA
>Organization:
>Environment:
System: NetBSD sv5.ln.akaumigame.org 3.0_BETA NetBSD 3.0_BETA (XENU_LNAKAUMIGAMEORG) #0: Fri Aug 26 16:40:24 JST 2005 ykomatsu@sv5.ln.akaumigame.org:/usr/src/sys/arch/i386/compile/XENU_LNAKAUMIGAMEORG i386
Architecture: i386
Machine: i386
>Description:
	HP Proliant ML110 G3 with Lights-Out 100c (Baseboard Management
	Controller) has an IPMI interface. It has own MAC address
	and IP address different from normal Ethernet port
	and it shares physical network port with normal Ethernet interface.

	But after bge driver is loaded, IPMI packet cannot be sent
	through the port.

	The same problem is reported to FreeBSD kern/88741.

	[bge] IPMI access disabled when bge driver is loaded
	http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/88741
>How-To-Repeat:
	Load bge driver on the machine which has IPMI interface
	shared physical network port with bge interface.
>Fix:

>Release-Note:

>Audit-Trail:
From: Yoshito Komatsu <ykomatsu@akaumigame.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/32767: IPMI access is disabled after bge driver is loaded
Date: Tue, 07 Feb 2006 21:58:57 +0900

 The patch for FreeBSD is found in freebsd-net@freebsd.org.

 bge BCM5721/BCM5750 fixes to work with IPMI
 http://lists.freebsd.org/mailman/htdig/freebsd-net/2006-January/009470.html

Responsible-Changed-From-To: kern-bug-people->msaitoh
Responsible-Changed-By: msaitoh@NetBSD.org
Responsible-Changed-When: Sun, 24 Jan 2010 16:44:37 +0000
Responsible-Changed-Why:
mine


From: SAITOH Masanobu <msaitoh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/32767 CVS commit: src/sys/dev/pci
Date: Thu, 28 Jan 2010 03:09:13 +0000

 Module Name:	src
 Committed By:	msaitoh
 Date:		Thu Jan 28 03:09:13 UTC 2010

 Modified Files:
 	src/sys/dev/pci: if_bge.c if_bgereg.h if_bgevar.h

 Log Message:
 - Introduce IPMI and ASF related code from FreeBSD. It fixes some problems
   which occured in netboot on sparc64 and PR#32767
 - move the code of disabling host interrput in bge_stop() like linux tg3
   driver.
 - fix the return value of bge_eeprom_getbyte().
 - remove an unused structure.
 - KNF


 To generate a diff of this commit:
 cvs rdiff -u -r1.176 -r1.177 src/sys/dev/pci/if_bge.c
 cvs rdiff -u -r1.54 -r1.55 src/sys/dev/pci/if_bgereg.h
 cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/if_bgevar.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: PR/32767 CVS commit: src/sys/dev/pci
Date: Sun, 28 Feb 2010 23:43:43 +0000

 On Thu, Jan 28, 2010 at 03:10:06AM +0000, SAITOH Masanobu wrote:
  >  Log Message:
  >  - Introduce IPMI and ASF related code from FreeBSD. It fixes some problems
  >    which occured in netboot on sparc64 and PR#32767

 Does this fix the problem so the PR can be closed? 

 -- 
 David A. Holland
 dholland@netbsd.org

State-Changed-From-To: open->feedback
State-Changed-By: msaitoh@NetBSD.org
State-Changed-When: Tue, 02 Mar 2010 08:17:57 +0000
State-Changed-Why:
I think this bug is fixed by if_bge.c rev. 1.176. Could you verify it?


From: SAITOH Masanobu <masanobu@iij.ad.jp>
To: gnats-bugs@NetBSD.org, dholland-bugs@netbsd.org
Cc: msaitoh@NetBSD.org, gnats-admin@netbsd.org, ykomatsu@akaumigame.org
Subject: Re: PR/32767 CVS commit: src/sys/dev/pci
Date: Tue, 02 Mar 2010 17:24:22 +0900 (JST)

 Hi, all.

 From: David Holland <dholland-bugs@netbsd.org>
 Subject: Re: PR/32767 CVS commit: src/sys/dev/pci
 Date: Sun, 28 Feb 2010 23:45:03 +0000 (UTC)

 > The following reply was made to PR kern/32767; it has been noted by GNATS.
 > 
 > From: David Holland <dholland-bugs@netbsd.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: PR/32767 CVS commit: src/sys/dev/pci
 > Date: Sun, 28 Feb 2010 23:43:43 +0000
 > 
 >  On Thu, Jan 28, 2010 at 03:10:06AM +0000, SAITOH Masanobu wrote:
 >   >  Log Message:
 >   >  - Introduce IPMI and ASF related code from FreeBSD. It fixes some problems
 >   >    which occured in netboot on sparc64 and PR#32767
 >  
 >  Does this fix the problem so the PR can be closed? 

  I've changed the status to feedback. I'd like someone to verify that.

 >  -- 
 >  David A. Holland
 >  dholland@netbsd.org
 >  

 ----------------------------------------------------------
 		SAITOH Masanobu (masanobu@iij.ad.jp
 				  msaitoh@netbsd.org)

From: "Jeff Rizzo" <riz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/32767 CVS commit: [netbsd-5] src/sys/dev
Date: Fri, 19 Nov 2010 23:58:42 +0000

 Module Name:	src
 Committed By:	riz
 Date:		Fri Nov 19 23:58:41 UTC 2010

 Modified Files:
 	src/sys/dev/mii [netbsd-5]: brgphy.c miidevs
 	src/sys/dev/pci [netbsd-5]: if_bge.c if_bgereg.h if_bgevar.h pcidevs

 Log Message:
 Pull up revisions (requested by msaitoh in ticket #1359):
 sys/dev/pci/if_bge.c		1.170-1.181
 sys/dev/pci/if_bgereg.h		1.53-1.56
 sys/dev/pci/if_bgevar.h		1.2-1.5
 sys/dev/pci/pcidevs		1.1017, 1.1021
 sys/dev/pci/pcidevs.h		regen
 sys/dev/pci/pcidevs_data.h	regen
 sys/dev/mii/miidevs		1.89, 1.93
 sys/dev/mii/miidevs.h		regen
 sys/dev/mii/miidevs_data.h	regen
 sys/dev/mii/brgphy.c		1.49, 1.52

 - Fix a bug of BGE_RDMA_MODE_FIFO_LONG_BURST definition.
 - Fix the bug that both BGE_PCIE and BGE_PCIX are set on PCI-Express devices.
 - Add support for BCM5705F,BCM5714,SBCM5715S,BCM5717,BCM5718,BCM5720,BCM5723,
   BCM5724,BCM5751F,BCM5753F,BCM5756,BCM5761,BCM5761E,BCM5761S,BCM5761SE,
   BCM5764,BCM5781,BCM5784M,BCM5903M,BCM57760,BCM57761,BCM57765,BCM57780,
   BCM57781,BCM57785,BCM57788,BCM57790,BCM57791 and BCM57795. Fixes PR#41694.
 - Fix misunderstanding the capability for TSO4 on some chips.
 - Use proplib for no EEPROM systems (e.g. sparc64 with onboard bge).
 - Add debug function to show some flags.
 - (brgphy(4)) Add support for BCM5461, BCM5464, BCM5784 and BCM5761.
 - (brgphy(4)) Enable brgphy_jumbo_settings().
 - (brgphy(4)) Enable the Ethernet@Wirespeed function.
 - Add support for device properties to override the mac address and set
   the BGE_NO_EEPROM flag if we have an onboard device w/o SEEPROM.
 - Introduce IPMI and ASF related code from FreeBSD. It fixes some problems
   which occured in netboot on sparc64 and PR#32767
 - move the code of disabling host interrput in bge_stop() like linux tg3
   driver.
 - fix the return value of bge_eeprom_getbyte().
 - Fixes the bug that error bits arent cleard because these bit are W2C
   (in other words W1C).
 - Many other bugfixes from FreeBSD and OpenBSD.
 - remove an unused structure.
 - ANSI C, KNF and tabify
 - fix typo in comment.


 To generate a diff of this commit:
 cvs rdiff -u -r1.40.4.2 -r1.40.4.3 src/sys/dev/mii/brgphy.c
 cvs rdiff -u -r1.78.4.3 -r1.78.4.4 src/sys/dev/mii/miidevs
 cvs rdiff -u -r1.152.4.4 -r1.152.4.5 src/sys/dev/pci/if_bge.c
 cvs rdiff -u -r1.48.4.1 -r1.48.4.2 src/sys/dev/pci/if_bgereg.h
 cvs rdiff -u -r1.1.8.2 -r1.1.8.3 src/sys/dev/pci/if_bgevar.h
 cvs rdiff -u -r1.962.4.12 -r1.962.4.13 src/sys/dev/pci/pcidevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 30 Apr 2012 23:57:00 +0000
State-Changed-Why:
17-month feedback timeout (fix was committed November 2010)


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.