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

From: Linus Torvalds
Date: Fri Jun 03 2005 - 20:55:08 EST




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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/