From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Subject: Re: pata_sl82c105 can not reserve IO region Date: Thu, 30 Nov 2006 17:10:49 +0000 Message-ID: <20061130171049.7b80a40c@localhost.localdomain> References: <20061130165202.GA23205@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:4022 "EHLO lxorguk.ukuu.org.uk") by vger.kernel.org with ESMTP id S1030730AbWK3REB (ORCPT ); Thu, 30 Nov 2006 12:04:01 -0500 In-Reply-To: <20061130165202.GA23205@aepfle.de> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Olaf Hering , linux-ide@vger.kernel.org, linuxppc-dev@ozlabs.org On Thu, 30 Nov 2006 17:52:02 +0100 (MET) Olaf Hering wrote: > > pata_sl82c105 can be used on the ppc64 POWER4 system p610, p615 and p630 > for the onboard IDE CD drive. It could be also used for ppc32 Motorola > PowerStack PReP systems. > > Unfortunately, it doesnt work for me on the p630: > > PCI: Enabling device: (0000:00:03.1), cmd 141 > PCI: Unable to reserve I/O region #6:10@0 for device 0000:00:03.1 > pata_sl82c105: probe of 0000:00:03.1 failed with error -16 > > Any idea how to fix it properly? That looks like a compiler bug. I/O region #6. pci_request_regions() and pci_request_selcted_regions() end up in a loop calling pci_request_region with the values 0 to 5. Never 6. Can you instrument that code a bit and see wtf is going on first of all. Alan