From owner-freebsd-current@FreeBSD.ORG Thu Sep 27 12:28:06 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A81F16A417 for ; Thu, 27 Sep 2007 12:28:06 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout2.freenet.de (mout2.freenet.de [IPv6:2001:748:100:40::2:4]) by mx1.freebsd.org (Postfix) with ESMTP id 815FA13C478 for ; Thu, 27 Sep 2007 12:28:05 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.21] (helo=mx11.freenet.de) by mout2.freenet.de with esmtpa (Exim 4.68) (envelope-from ) id 1IasTL-0003Du-44; Thu, 27 Sep 2007 14:28:03 +0200 Received: from x0b81.x.pppool.de ([89.59.11.129]:52547 helo=peedub.jennejohn.org) by mx11.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.68 #6) id 1IasTI-0006ot-Qg; Thu, 27 Sep 2007 14:28:00 +0200 Date: Thu, 27 Sep 2007 14:28:02 +0200 From: Gary Jennejohn To: freebsd-current@freebsd.org Message-ID: <20070927142802.1ae6541d@peedub.jennejohn.org> In-Reply-To: <20070926113643.GA21109@muon.bluestop.org> References: <20070926113643.GA21109@muon.bluestop.org> Organization: DENX Softwre Engineering GmbH X-Mailer: Claws Mail 3.0.0 (GTK+ 2.10.13; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: bruce@cran.org.uk Subject: Re: Interrupt storm on ahc0 when drm module is loaded X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Sep 2007 12:28:06 -0000 On Wed, 26 Sep 2007 12:36:44 +0100 bruce@cran.org.uk wrote: > I've come some sort of conflict between the drm and ahc drivers: > whenever drm is loaded I get an interrupt storm on ahc0. My system is: > > 7.0-CURRENT #0: Tue Sep 25 18:08:50 BST 2007 > /usr/obj/usr/src/sys/GENERIC i386 > > I'm running Xorg 7.3 > > ahc0: port 0xdc00-0xdcff mem > 0xd9200000-0xd9200fff irq 16 at device 9.0 on pci0 > ahc0: [ITHREAD] > da0 at ahc0 bus 0 target 6 lun 0 > > drm0: on vgapci0 > info: [drm] AGP at 0xd0000000 64MB > info: [drm] Initialized mga 3.2.2 20060319 > info: [drm] Initialized card for AGP DMA > drm0: [ITHREAD] > > vmstat -i: > interrupt total rate > irq1: atkbd0 4036 0 > irq14: ata0 58 0 > irq16: ahc0 15004943 2824 > irq19: fxp0 40961 7 > cpu0: timer 10624196 1999 > cpu1: timer 10606936 1996 > Total 36281130 6828 > > Over time the rate for ahc0 grows until I get the "Interrupt storm > detected: throttling irq16" messages. I can trigger the problem by > changing the default colour depth to 16 bits in my xorg.conf file: this > enables the drm module to load and immediately the interrupt rate starts > to climb. > Have you looked at disabling interrupts for VGA in your BIOS (if possible)? Don't know what effect this would have on X11's performance. You could also try a different PCI slot. An unrelated question. I also have a 19160 but the SCSI BIOS never shows up at boot time so I can't boot from it. Did you ever see anything like that? -- Gary Jennejohn