Received: with ECARTIS (v1.0.0; list netdev); Mon, 31 Jan 2005 11:44:23 -0800 (PST) Received: from cheetah.davemloft.net (mail@adsl-63-197-226-105.dsl.snfc21.pacbell.net [63.197.226.105]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j0VJiGCC020361 for ; Mon, 31 Jan 2005 11:44:17 -0800 Received: from localhost ([127.0.0.1] helo=cheetah.davemloft.net ident=davem) by cheetah.davemloft.net with smtp (Exim 3.36 #1 (Debian)) id 1CvhNa-00075f-00; Mon, 31 Jan 2005 11:38:34 -0800 Date: Mon, 31 Jan 2005 11:38:34 -0800 From: "David S. Miller" To: Harald Welte Cc: netdev@oss.sgi.com Subject: Re: [BUG] sundance "Something Wicked happened!" (IntrPCIErr) Message-Id: <20050131113834.440faca8.davem@davemloft.net> In-Reply-To: <20050131165947.GJ6878@sunbeam.de.gnumonks.org> References: <20050131165947.GJ6878@sunbeam.de.gnumonks.org> X-Mailer: Sylpheed version 1.0.0 (GTK+ 1.2.10; sparc-unknown-linux-gnu) X-Face: "_;p5u5aPsO,_Vsx"^v-pEq09'CU4&Dc1$fQExov$62l60cgCc%FnIwD=.UF^a>?5'9Kn[;433QFVV9M..2eN.@4ZWPGbdi<=?[:T>y?SD(R*-3It"Vj:)"dP Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean X-archive-position: 1114 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: davem@davemloft.net Precedence: bulk X-list: netdev Content-Length: 785 Lines: 26 On Mon, 31 Jan 2005 17:59:48 +0100 Harald Welte wrote: > Looking at the source code, the error message only happens if IntrPCIErr > is set. Try adding a printout here of the PCI status register in config space when this happens, something like: { u16 val; pci_read_config_word(np->pci_dev, PCI_STATUS, &val); printk("%s: PCI status is %x\n", dev->name, val); } What we'll be looking for are bits set there such as PCI_STATUS_SIG_TARGET_ABORT, PCI_STATUS_REC_TARGET_ABORT, PCI_STATUS_REC_MASTER_ABORT, PCI_SIG_SYSTEM_ERROR, or PCI_STATUS_DETECTED_PARITY. That will tell us who is seeing the error and thus signalling the event (either PCI bus or the sundance chip itself). I don't know anything specific about the sundance hardware though, sorry.