2.6.10-rc3 does not boot on PowerMac

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Dec 8 11:16:12 EST 2004


On Wed, 2004-12-08 at 01:07 +0100, Andreas Schwab wrote:
> Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:
> 
> > I don't understand ... the 2 lspci's were taken with the same machine ?
> 
> Sure. :-)
> 
> > You don't seem to have debug enabled in drivers/pci/setup-bus.c tho,
> 
> I have, it's the default.
> 
> > can you check if pci_assign_unassigned_resources() is called at all in
> > either kernel ?
> 
> It appears to be called in 2.6.10-rc3, but not in 2.6.9.

I have no explanation for why it's not called in 2.6.9 ... Can you have
a look at what's going on in 2.6.9 arch/ppc64/kernel/pci.c ?

pci_probe_only should be set to 0 by the pmac_pci.c code, thus causing
pci_assign_unassigned_resources() to actually be called...

There are 2 different issues here:

 - pci_assign_unassigned_resources() should be called by both kernels, I
want to understand why it's not by 2.6.9...

 - pci_assign_unassigned_resources() seem to not work properly, that is,
it moves around things that don't need to be moved thus causing your
problem when it's actually called. The later, I'll do a workaround by
leaving pci_probe_only to 1 instead of 0 for 2.6.10, but we need to get
that fixed in the long term...

Ben.




More information about the Linuxppc64-dev mailing list