Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762241AbZAHT53 (ORCPT ); Thu, 8 Jan 2009 14:57:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755916AbZAHT5U (ORCPT ); Thu, 8 Jan 2009 14:57:20 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:52963 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753858AbZAHT5T (ORCPT ); Thu, 8 Jan 2009 14:57:19 -0500 From: "Rafael J. Wysocki" To: Connor Behan Subject: Re: Can't allocate resources for PCI video card behind bridge Date: Thu, 8 Jan 2009 20:56:59 +0100 User-Agent: KMail/1.10.3 (Linux/2.6.28-rjw; KDE/4.1.3; x86_64; ; ) Cc: linux-kernel@vger.kernel.org, Linux PCI , Jesse Barnes References: <49665493.4070808@gmail.com> In-Reply-To: <49665493.4070808@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901082057.00170.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2729 Lines: 49 Cc-ing linux-pci and Jesse. On Thursday 08 January 2009, Connor Behan wrote: > Hello, I am trying to use two video cards. One is the built in ATI Rage > Mobility M3 AGP card which drives the screen of my laptop (Thinkpad a22m > 2628-S1U if that matters), the other is the ATI Radeon X1550 PCI card in > the Thinkpad Dock II which is supposed to drive an external monitor. > X1550 is a PCI-E chipset but my card is a PCI card with an onboard PCI > to PCI-E bridge. I first tried this with kernel 2.6.27 as packaged by > Archlinux and got the following startup errors: > > pci 0000:00:04.0: BAR 7: can't allocate resource > pci 0000:00:04.0: BAR 8: can't allocate resource > pci 0000:00:04.0: BAR 9: can't allocate resource > > I've seen this problem discussed in the archives and couldn't find what > looked like a fix. I WAS able to fix this by loading dock, pci_slot, > pci_hotplug and acpiphp and appending pci=assign-busses. However since > then I have run a package update to kernel 2.6.27.10 and I am once again > getting the same problem even with the same modules and parameters. I > have since tried appending irqpoll, pci=bios, pci=routeirq and acpi=off > with no success. I have even rolled back my kernel to 2.6.27 (and the > headers and a few other packages) setup my system the way it was setup > before to the best of my knowledge but I still can't get the PCI card > working again. Another subtle change must be responsible. > > Certain PCI devices in the dock are working such as the Cardbus slots... > but I could care less about them... is there a way I could tell the > kernel to prioritize the video card and sacrifice Cardbus slots first if > it can't allocate enough resources? Also my lspci output shows a large > gap 01:00.0 to 06:00.0 so some part of my system must have expected > other devices in that range. When I had the video card working it was > 02:00.0. I have tried changing the four IRQ numbers in the BIOS but this > is pointless at best and sometimes causes my soundcard to be disabled. > My dmesg, lspci and (trimmed) kernel config are pasted: > > dmesg: http://pastebin.com/f3ae15a58 > lspci: http://pastebin.com/f5d7dee6e > .config: http://pastebin.com/fb925760 > > I'm hoping for a solution that doesn't require recompiling the kernel > but I definitely would if that's necessary. In any event I'll be much > more vigilant about system updates if I get this working again. > Thank-you very much for your time. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/