From owner-freebsd-stable@FreeBSD.ORG Tue Sep 30 08:21:20 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02CFF16A4B3 for ; Tue, 30 Sep 2003 08:21:20 -0700 (PDT) Received: from blake.polstra.com (mail.polstra.com [206.213.73.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EE5B43FE3 for ; Tue, 30 Sep 2003 08:21:18 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from strings.polstra.com (strings.polstra.com [206.213.73.20]) by blake.polstra.com (8.12.9/8.12.9) with ESMTP id h8UFLGCj015663; Tue, 30 Sep 2003 08:21:17 -0700 (PDT) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_=XFMail.1.5.4.FreeBSD:20030930082116:21359=_" In-Reply-To: <20030930030221.GA716@zige.damon.com> Date: Tue, 30 Sep 2003 08:21:16 -0700 (PDT) From: John Polstra To: Damon Anton Permezel X-Bogosity: No, tests=bogofilter, spamicity=0.256234, version=0.14.5 cc: freebsd-stable@freebsd.org Subject: RE: 4.9-RC and bge X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2003 15:21:20 -0000 This message is in MIME format --_=XFMail.1.5.4.FreeBSD:20030930082116:21359=_ Content-Type: text/plain; charset=us-ascii On 30-Sep-2003 Damon Anton Permezel wrote: > Recent SUP. > Installed on Dell PowerEdge 4600. > Getting tons of: > > Sep 30 12:23:16 zige /kernel: bge0: gigabit link up > Sep 30 12:23:46 zige last message repeated 98 times Check your dmesg output, and I bet you'll see that bge0 is sharing an IRQ with another device. (If not, I'd like to hear about it.) This bug was fixed in -current in revision 1.41 of if_bge.c, but it never got merged to -stable. I have a patch for -stable that I am planning to commit after the source freeze lifts. It is attached to this mail. Please let me know whether it solves your problem or not. John --_=XFMail.1.5.4.FreeBSD:20030930082116:21359=_ Content-Disposition: attachment; filename="if_bge.c.patch" Content-Transfer-Encoding: 7bit Content-Description: if_bge.c.patch Content-Type: text/plain; charset=us-ascii; name=if_bge.c.patch; SizeOnDisk=1127 Index: if_bge.c =================================================================== RCS file: /home/ncvs/src/sys/dev/bge/if_bge.c,v retrieving revision 1.3.2.28 diff -u -r1.3.2.28 if_bge.c --- if_bge.c 26 Sep 2003 16:02:04 -0000 1.3.2.28 +++ if_bge.c 30 Sep 2003 15:15:45 -0000 @@ -2222,11 +2222,12 @@ { struct bge_softc *sc; struct ifnet *ifp; + u_int32_t statusword; u_int32_t status; - sc = xsc; ifp = &sc->arpcom.ac_if; + statusword = loadandclear(&sc->bge_rdata->bge_status_block.bge_status); #ifdef notdef /* Avoid this for now -- checking this register is expensive. */ @@ -2263,13 +2264,7 @@ BRGPHY_INTRS); } } else { - if ((sc->bge_rdata->bge_status_block.bge_status & - BGE_STATFLAG_UPDATED) && - (sc->bge_rdata->bge_status_block.bge_status & - BGE_STATFLAG_LINKSTATE_CHANGED)) { - sc->bge_rdata->bge_status_block.bge_status &= - ~(BGE_STATFLAG_UPDATED| - BGE_STATFLAG_LINKSTATE_CHANGED); + if (statusword & BGE_STATFLAG_LINKSTATE_CHANGED) { /* * Sometimes PCS encoding errors are detected in * TBI mode (on fiber NICs), and for some reason --_=XFMail.1.5.4.FreeBSD:20030930082116:21359=_-- End of MIME message