From owner-cvs-all@FreeBSD.ORG Tue Aug 22 18:53:26 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E7BD16A4E0; Tue, 22 Aug 2006 18:53:26 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DA7A43D45; Tue, 22 Aug 2006 18:53:25 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k7MIrDDn069966 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Aug 2006 22:53:14 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k7MIrDGn069965; Tue, 22 Aug 2006 22:53:13 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 22 Aug 2006 22:53:13 +0400 From: Gleb Smirnoff To: Eric Anderson Message-ID: <20060822185313.GX96644@FreeBSD.org> References: <200608220232.k7M2WmCr080275@repoman.freebsd.org> <20060822152333.GV96644@FreeBSD.org> <44EB220A.5000709@centtech.com> <20060822153210.GW96644@FreeBSD.org> <44EB2437.5070206@centtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <44EB2437.5070206@centtech.com> User-Agent: Mutt/1.5.6i Cc: "Patrick M. Hausen" , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Pyun YongHyeon Subject: Re: cvs commit: src/sys/dev/em if_em.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2006 18:53:26 -0000 On Tue, Aug 22, 2006 at 10:35:19AM -0500, Eric Anderson wrote: E> >E> >P> yongari 2006-08-22 02:32:48 UTC E> >E> >P> E> >E> >P> FreeBSD src repository E> >E> >P> E> >E> >P> Modified files: E> >E> >P> sys/dev/em if_em.c E> >E> >P> Log: E> >E> >P> It seems that em(4) misses Tx completion interrupts under certain E> >E> >P> conditions. The cause of missing Tx completion interrupts comes E> >from E> >E> >P> Tx interrupt moderation mechanism(delayed interrupts) or chipset E> >bug. E> >E> >P> If Tx interrupt moderation mechanism is the cause of false E> >watchdog E> >E> >P> timeout error we should have to fix all device drivers that have E> >Tx E> >E> >P> interrupt moderation capability. We may need more investigation E> >E> >P> for this issue. Anyway, the fix is the same for both cases. E> >E> >P> E> >E> >P> This should fix occasional watchdog timeout errors seen on a few E> >E> >P> systems. E> >E> >P> E> >E> >P> Reported by: -net, Patrick M. Hausen < hausen AT punkt DOT de > E> >E> >P> Tested by: Patrick M. Hausen < hausen AT punkt DOT de > E> >E> > E> >E> >This look like a workaround, not a fix the root of the problem. Several E> >E> >people on net said that this problem disappears if debug.mpsafenet=0. E> >E> >So I think there is a problem in FreeBSD or driver, not in chip. E> >E> E> >E> And it also worked perfectly for a very very long time until 6.x tree. E> >E> I went from 5-STABLE to 6-STABLE and started seeing it a lot ( a few E> >E> times per day) on a couple servers. E> > E> >In 5-STABLE the watchdog events were not logged, but the watchdog was E> >processed. E> E> But my interface never seemed to disappear (I page if the interface goes E> down), and I'd still notice a link up/down, correct? In 5-STABLE the interface up/down events were not logged, either. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE