From owner-freebsd-sparc64@FreeBSD.ORG Mon May 10 04:39:22 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 899FD16A4CE for ; Mon, 10 May 2004 04:39:22 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 5027443D4C for ; Mon, 10 May 2004 04:39:21 -0700 (PDT) (envelope-from tmoestl@gmx.net) Received: (qmail 21470 invoked by uid 65534); 10 May 2004 11:39:20 -0000 Received: from p50906CA3.dip.t-dialin.net (EHLO timesink.dyndns.org) (80.144.108.163) by mail.gmx.net (mp012) with SMTP; 10 May 2004 13:39:20 +0200 X-Authenticated: #5374206 Received: by abel (Postfix, from userid 1001) id 2B937520; Mon, 10 May 2004 13:39:18 +0200 (CEST) Date: Mon, 10 May 2004 13:39:18 +0200 From: Thomas Moestl To: Joerg Wunsch Message-ID: <20040510113918.GA740@timesink.dyndns.org> References: <20040509171444.B63877@ida.interface-business.de> <20040509213455.GA744@timesink.dyndns.org> <20040510103204.B77963@ida.interface-business.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040510103204.B77963@ida.interface-business.de> User-Agent: Mutt/1.5.6i cc: sparc64@freebsd.org Subject: Re: ebus resource allocation error? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2004 11:39:22 -0000 On Mon, 2004/05/10 at 10:32:04 +0200, Joerg Wunsch wrote: > As Thomas Moestl wrote: > > > From e450 firmware property dumps I have lying around it seems > > likely that 0x7e5 is the power failure notification interrupt of one > > of the Psycho PCI bridges. The Psycho driver does not allocate it > > with RF_SHAREABLE (and neither does your code), thus the error. > > Hmm, now that you mention it, it seems OFW indeed assigns this IRQ > to two devices: > > $ /sbin/dmesg|fgrep 2021 > ebus0: addr 0x1400724000-0x1400724003 irq 2034,2021 (no driver attached) > ebus0: addr 0x1400600000-0x1400600003 irq 2021,2024 (no driver attached) Well, at least three then, because it is probably also assigned to pcib0 (if your machine matches my property dumps). Since the nexus driver does not keep resource lists, however, the resources of its children (e.g. the Psycho Bridges) are not displayed in the boot messages. I should fix that some time. > Btw., how do I dump the OFW properties, other than by manually > descending through the entire /devices hiearchy? I guess it could be > done using a FORTH command, but my FORTH knowledge has been seriously > rotten away. ;-) The easiest way would be 'ofwdump -ap' (FreeBSD) or 'prtconf -vp' (Solaris). - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ "The problem with the future is that it keeps turning into the present." -- Calvin and Hobbes