Date: Tue, 30 Sep 2003 08:21:16 -0700 (PDT) From: John Polstra <jdp@polstra.com> To: Damon Anton Permezel <dap@zige.damon.com> Cc: freebsd-stable@freebsd.org Subject: RE: 4.9-RC and bge Message-ID: <XFMail.20030930082116.jdp@polstra.com> In-Reply-To: <20030930030221.GA716@zige.damon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030930082116.jdp>