linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: bk 2.4.1pre2 Lombard PCI allocation fails.
@ 2001-01-15 18:50 Iain Sandoe
  0 siblings, 0 replies; 6+ messages in thread
From: Iain Sandoe @ 2001-01-15 18:50 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Geert Uytterhoeven, linuxppc-dev


>>Fixed by the kernel, and reassigned to 0x10000000.
>>
>>> BootX uses the MacOS PCI mappings which are bogus for the Rage LT Pro.
>>> Though I'm certain Geert's old PCI resource allocation patch worked fine
>>> in spite of this. There was some message about resource conflict but that
>>> was fixed by the kernel.
>>>
>>> What's the PCI resourced for the card after the kernel has finished
>>> booting?
>>
>>I expect it to be 0x10000000.
>>
>>BTW, this also means we can start using the secondary aperture as well in
>>2.4.0. Gives us an additional 4 kB of frame buffer on little-endian boxes.

indeed:

00:11.0 VGA compatible controller: ATI Technologies Inc: Unknown device 4c49
(rev dc)
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping+ SERR- FastB2B-
 Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 8 min, 32 set, cache line size 08
 Interrupt: pin A routed to IRQ 24
 Region 0: Memory at 81000000 (32-bit, non-prefetchable)
 Region 1: I/O ports at <ignored> [disabled]
 Region 2: Memory at 10000000 (32-bit, non-prefetchable)
 Capabilities: [5c] Power Management version 1
  Flags: PMEClk- AuxPwr- DSI- D1+ D2+ PME-
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

> Well, unfortunately, 0x10000000 is bogus on most cases. (I didn't check
> with Grackle, but for example on UniNorth based machines, this address is
> not routed to PCI).

How can I find out whether the area is bogus?

> Our PCI code still have no knowledge of which physical ranges can
> actually be allocated for each bus. That should be implemented via proper
> root bus resources, but I've not yet been able to find a good solution
> for that (mostly because we would need more resources than the current
> pci_bus structure provides in some cases where the bridge can decode
> several discontiguous regions). Maybe We could fake this, my knowledge of
> the linux resource mecanism is not perfect.

If I yaboot it will the problem go away?
(hadn't worried yet - this is the first prob. I've had with it)

and this machine seems to be in a grey-area where either method will work...

Iain.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread
* bk 2.4.1pre2 Lombard PCI allocation fails.
@ 2001-01-15  8:15 Iain Sandoe
  2001-01-15 16:13 ` Michael Schmitz
  0 siblings, 1 reply; 6+ messages in thread
From: Iain Sandoe @ 2001-01-15  8:15 UTC (permalink / raw)
  To: linuxppc-dev


Hi,

as the title says...
The machine boots and (seems) OK.

FWIW: I boot this machine with BootX [1.2.2] (and always have, without
problem, until this time).

relevant DMESG below.
ciao,
Iain.

========

Linux version 2.4.1-pre2 (iain-s@athena) (gcc version 2.95.2 19991024
(release/franzo)) #1 Mon Jan 15 05:27:33 GMT 2001
Registered 1 feature controller(s)
PMU driver initialized for 1999 PowerBook G3
Found Grackle (MPC106) PCI host bridge at 0x80000000. Firmware bus number:
0->0
[...]
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Fixup mem res, dev: 0.e, res_start: 80882000->80882000
Fixup mem res, dev: 0.10, res_start: 80800000->80800000
Fixup mem res, dev: 0.11, res_start: 81000000->81000000
Fixup mem res, dev: 0.11, res_start: 81fff000->81fff000
Fixup mem res, dev: 0.13, res_start: 80880000->80880000
PCI: Resource 80882000-80882fff (f=200, d=0, p=0)
PCI: Resource 00000c00-00000cff (f=101, d=0, p=0)
PCI: Resource 80800000-8087ffff (f=200, d=0, p=0)
PCI: Resource 81000000-81ffffff (f=200, d=0, p=0)
PCI: Resource 81fff000-81ffffff (f=200, d=0, p=0)
PCI: Cannot allocate resource region 2 of device 00:11.0
PCI: Resource 80880000-80880fff (f=200, d=0, p=0)
PCI: Resource 00000c00-00000cff (f=101, d=1, p=1)
PCI: Cannot allocate resource region 1 of device 00:11.0
  got res[10000000:10000fff] for resource 2 of ATI Technologies Inc 3D Rage
LT Pro
Registered "pmu" backlight controller, level: 1/15
======

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-01-15 19:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-15 18:50 bk 2.4.1pre2 Lombard PCI allocation fails Iain Sandoe
  -- strict thread matches above, loose matches on Subject: below --
2001-01-15  8:15 Iain Sandoe
2001-01-15 16:13 ` Michael Schmitz
2001-01-15 17:32   ` Geert Uytterhoeven
2001-01-15 17:55     ` Benjamin Herrenschmidt
2001-01-15 19:24     ` Michael Schmitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).