Thread (11 messages) flat view 11 messages, 5 authors, 2008-01-12

Re: PCI Failed to allocate mem for PCI ROM

From: Kumar Gala <hidden>
Date: 2008-01-11 20:27:33
Also in: lkml

On Jan 11, 2008, at 11:50 AM, Greg KH wrote:
On Fri, Jan 11, 2008 at 02:29:28AM -0600, Kumar Gala wrote:
quoted
Greg,

I'm getting the following message from the kernel on an embedded  
ppc32
system:

PCI: Failed to allocate mem resource #9:100000@e0000000 for  
0000:00:00.0

The HW setup is a PCIe host controller and an e1000 NIC card.  It  
appears
that pci_bus_assign_resources() is trying to call  
pci_assign_resource() for
the ROM and the resource for the ROM is [100000:1fffff] where the  
PHB is
[c0000000:dfffffff].

It seems like the resno that pci_assign_resource is getting called  
with is
wrong and thus pci_update_resource() doesn't get called.

any ideas?
Nope, sorry, any help debugging this is appreciated, pci resource
allocation is "tricky" :)
I'm happy to debug, is the fact that the resno == 9 ok or does that  
seem wrong?

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help