From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 9 23:13:41 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6D0716A4CE for ; Mon, 9 Feb 2004 23:13:41 -0800 (PST) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B57843D1D for ; Mon, 9 Feb 2004 23:13:41 -0800 (PST) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-4.dsl.onthenet.net [203.144.30.4]) i1A7DdZG097974; Tue, 10 Feb 2004 17:13:39 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <40288514.10807@freebsd.org> Date: Tue, 10 Feb 2004 17:15:32 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Suleiman Souhlal References: <20040206000245.20a84f0c@zZzZ.segfaulted.com> <40232DA3.5090508@freebsd.org> <20040206013218.4eb1cd37@zZzZ.segfaulted.com> <40235C60.9010509@freebsd.org> <20040206115743.2f6ad7af@zZzZ.segfaulted.com> <402450B7.9030106@freebsd.org> <20040208224036.6f1fb172@zZzZ.segfaulted.com> <402731BD.3070703@freebsd.org> <20040209023918.079ec9f5@zZzZ.segfaulted.com> <402740C9.1050506@freebsd.org> <20040209084040.6718d16e@zZzZ.segfaulted.com> <40279A60.4060002@freebsd.org> <20040210005302.5c59440c@zZzZ.segfaulted.com> In-Reply-To: <20040210005302.5c59440c@zZzZ.segfaulted.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Alu Powerbook X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 07:13:42 -0000 > irq1: 12934636 44756 ... > So apparently, something's wrong with the gem driver.. I think the gem driver is OK, but the irq mapping looks very dodgy. Would you be able to drop into OpenFirmware and list the properties of the gmac device and the parent UniN host-pci bridge ? e.g. on my emac: 0 > dev enet 0 > .properties ... (not so important) 0 > pwd /pci@f4000000/ethernet@f 0 > dev .. 0> pwd /pci@f4000000 0> .properties ... interrupts ... interrupt-map interrupt-map-mask These are used by the irq assignment code in ofw/ofw_pci.c, which assigns irqs base on the host bridge's interrupt-map for each device on the bus. It looks like it might be getting things wrong for GEM. To avoid the tedious typing out, it's worthwhile using the OpenFirmware telnet server as described in http://developer.apple.com/technotes/tn/tn2004.html and capturing the output in a terminal window. later, Peter.