Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2004 17:15:32 +1000
From:      Peter Grehan <grehan@freebsd.org>
To:        Suleiman Souhlal <refugee@segfaulted.com>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Alu Powerbook
Message-ID:  <40288514.10807@freebsd.org>
In-Reply-To: <20040210005302.5c59440c@zZzZ.segfaulted.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40288514.10807>