From owner-cvs-src@FreeBSD.ORG Mon May 8 16:43:17 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 763AA16A405 for ; Mon, 8 May 2006 16:43:17 +0000 (UTC) (envelope-from silby@silby.com) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.FreeBSD.org (Postfix) with SMTP id B358743D46 for ; Mon, 8 May 2006 16:43:16 +0000 (GMT) (envelope-from silby@silby.com) Received: (qmail 44964 invoked from network); 8 May 2006 16:43:14 -0000 Received: from unknown (HELO localhost) (unknown) by unknown with SMTP; 8 May 2006 16:43:14 -0000 X-pair-Authenticated: 209.68.2.70 Date: Mon, 8 May 2006 11:43:13 -0500 (CDT) From: Mike Silbersack To: Makoto Matsushita In-Reply-To: <445F2AC2.9030105@jp.FreeBSD.org> Message-ID: <20060508112602.O1937@odysseus.silby.com> References: <200605040741.k447f23o027971@repoman.freebsd.org> <445F2AC2.9030105@jp.FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, Mike Silbersack Subject: Re: cvs commit: src/sys/dev/bfe if_bfe.c if_bfereg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 May 2006 16:43:17 -0000 On Mon, 8 May 2006, Makoto Matsushita wrote: >> Revision Changes Path >> 1.37 +20 -15 src/sys/dev/bfe/if_bfe.c >> 1.8 +2 -2 src/sys/dev/bfe/if_bfereg.h > > After commiting this change, my bfe device is not working; when the interface > is up via ifconfig(8), following message is shown and no in/out packets thru > the interface: > > May 8 17:36:18 hostname kernel: Interrupt storm detected on "irq10:"; > throttling interrupt source > > However, backout if_bfereg.h rev 1.8 changes, the interface is working again > as expected... Did you know why? > > -- > Makoto `MAR' Matsushita The interrupt storm results whenever the bfe chip is unhappy with the RX/TX buffers that we give it. I'm not sure why the change to bfereg would make it unhappy. Can you tell the me the following: 1. How much RAM does your system have? 2. What revision of the bfe chip do you have, according to dmesg? Then, if you're sure it's the if_bfereg.h change and not the if_bfe.c change that causes the problem, try playing with the values of BFE_TX_LIST_CNT and BFE_RX_LIST_CNT - those are the only two values that changed. I changed them from 511 to 128. You could try values like 127, 255, 256, 510... see if any/all of those work. Sorry for causing trouble for you, these chips seem very finicky. Mike "Silby" Silbersack