From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from pentafluge.infradead.org (pentafluge.infradead.org [213.146.154.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 627C1DE092 for ; Sat, 12 Jan 2008 04:50:34 +1100 (EST) Date: Fri, 11 Jan 2008 09:50:39 -0800 From: Greg KH To: Kumar Gala Subject: Re: PCI Failed to allocate mem for PCI ROM Message-ID: <20080111175039.GB7916@kroah.com> References: <1B75C5A8-E512-40CB-A6F3-351640701D0D@kernel.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1B75C5A8-E512-40CB-A6F3-351640701D0D@kernel.crashing.org> Cc: linuxppc-dev list , linux-pci@atrey.karlin.mff.cuni.cz, LKML List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Jan 11, 2008 at 02:29:28AM -0600, Kumar Gala wrote: > 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" :) thanks, greg k-h