From: Linus Torvalds <torvalds@linux-foundation.org>
To: Connor Behan <connor.behan@gmail.com>
Cc: Grant Grundler <grundler@parisc-linux.org>,
Bjorn Helgaas <bjorn.helgaas@hp.com>,
Jesse Barnes <jbarnes@virtuousgeek.org>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
linux-kernel@vger.kernel.org,
Linux PCI <linux-pci@vger.kernel.org>,
Gary Hade <garyhade@us.ibm.com>
Subject: Re: Can't allocate resources for PCI video card behind bridge
Date: Mon, 12 Jan 2009 19:05:06 -0800 (PST) [thread overview]
Message-ID: <alpine.LFD.2.00.0901121856150.6528@localhost.localdomain> (raw)
In-Reply-To: <496BFFAA.3000707@gmail.com>
On Mon, 12 Jan 2009, Connor Behan wrote:
>
> I tried this patch but the kernel I'm using with that applied gives me the
> following dmesg: http://pastebin.com/f7a01c86 and the following lspci -vvv:
> http://pastebin.com/f3e473a13. Are there any other patches that claim to solve
> this?
As far as I can tell from the lspci, the only devices behind the docking
bridge are
0a:01.0 IDE interface: Silicon Image, Inc. PCI0648 (rev 01) (prog-if 8f [Master SecP SecO PriP PriO])
0a:02.0 CardBus bridge: Texas Instruments PCI1420 PC card Cardbus Controller
0a:02.1 CardBus bridge: Texas Instruments PCI1420 PC card Cardbus Controller
and they all like they should work. Apparently exactly because the docking
bridge is this one:
00:04.0 PCI bridge: Texas Instruments PCI2032 PCI Docking Bridge (prog-if 01 [Subtractive decode])
and that bridge itself is already transparent, so the fact that we
couldn't allocate any explicit windows for it really seems like it
shouldn't matter.
> I know it can be solved without patches because of that one fluke
> attempt where it worked - I just had no way of knowing which options actually
> contributed to that success while it lasted. The only thing I remember about
> my dmesg output when I had this working was that it did NOT give the "can't
> allocate resource" errors for BARs 7, 8 and 9.
So those are the docking bridge resources, but if I understood correctly,
what you have issues with is that you want a graphics card in the dock to
work - and I can't even see it in the lspci output. I see this one:
01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility M3 AGP 2x (rev 02) (prog-if 00 [VGA controller])
but that is the built-in laptop graphics. You say that you have another
graphics card that used to be at 02:00.0, but it's not showing up at ALL,
so this is more than some random resource allocation issue - this is a
device not even even being enumerated. That's very different - it implies
that some bridge isn't turned on at all.
Can you do the dmesg and lspci for the kernel where this works?
Linus
next prev parent reply other threads:[~2009-01-13 3:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-08 19:31 Connor Behan
2009-01-08 19:56 ` Rafael J. Wysocki
2009-01-08 20:26 ` Jesse Barnes
2009-01-09 0:08 ` Gary Hade
2009-01-09 0:39 ` Connor Behan
2009-01-09 22:30 ` Bjorn Helgaas
2009-01-10 20:09 ` Grant Grundler
2009-01-13 2:42 ` Connor Behan
2009-01-13 3:05 ` Linus Torvalds [this message]
2009-01-13 21:23 ` Connor Behan
2009-01-13 21:35 ` Linus Torvalds
2009-01-14 0:14 ` Connor Behan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LFD.2.00.0901121856150.6528@localhost.localdomain \
--to=torvalds@linux-foundation.org \
--cc=bjorn.helgaas@hp.com \
--cc=connor.behan@gmail.com \
--cc=garyhade@us.ibm.com \
--cc=grundler@parisc-linux.org \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=rjw@sisk.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome