Re: PROBLEM: Devices behind PCI Express-to-PCI bridge not mapped

Linus Torvalds
2005-06-04T01:53:52Z

On Sat, 4 Jun 2005, Andreas Koch wrote:
>
> As you suspected, it wasn't a panacea: The kernel now panics, with a
> call chain of
>
> ...
> pcibios_init()
> pci_assign_unassigned_resources()
> pci_bus_assign_resources()
> pci_setup_bridge()
>
> I can collect more specific info if necessary.

It would be nice to know exactly what it is that panics, I could well
imagine that it's something like the "bus->self" that ends up being NULL
for the root bus or something silly like that, simply because x86 has
never needed to use these functions.

If so, it migth be as easy as just skipping buses that don't have bridge
device associated with them, but this would require that you try to debug
the oops a bit to figure out where it is..

Greg, do you have any PCI Express hw? Although I suspect that the
pci_assign_unassigned_resources() problem probably happens on any PC, I
could try it on my laptop.

Linus