From: Matthew Wilcox <matthew@wil.cx>
To: Guy Martin <gmsoft@tuxicoman.be>
Cc: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] LBA PCI : avoid crash when pluging a pcmcia bridge
Date: Wed, 15 Nov 2006 05:23:52 -0700 [thread overview]
Message-ID: <20061115122352.GH19143@parisc-linux.org> (raw)
In-Reply-To: <20061115122506.523bdd01.gmsoft@tuxicoman.be>
On Wed, Nov 15, 2006 at 12:25:06PM +0100, Guy Martin wrote:
> It looks like pci_find_bus() return non null for the pcmcia bridge.
>
> if (pci_find_bus(pci_domain_nr(b), bus)) {
> /* If we already got to this bus through a different bridge, ignore it */
> pr_debug("PCI: Bus %04x:%02x already known\n", pci_domain_nr(b), bus);
> goto err_out;
> }
Oh. So we got a bus numbering conflict. Yay.
> With PCI_DEBUG and some more printk() I can see this in my dmesg :
>
> PCI: Found 0000:01:06.0 [1180/0475] 000607 02
> PCI: Calling quirk 102564c8 for 0000:01:06.0
> PCI: Fixups for bus 0000:01
> PCI: Scanning behind PCI bridge 0000:01:06.0, config 000000, pass 0
> PCI: Scanning behind PCI bridge 0000:01:06.0, config 000000, pass 1
> PCI: Bus scan for 0000:01 returning with max=05
> PCI: Enabling bus mastering for device 0000:01:06.0
> PCI: Bus 0000:02 already known
> PCI: Reached err_out:
>
> Let me know if you need anything else.
I bet a plain lspci will show a bus 2 elsewhere (probably one of the
root busses). ie: we need to renumber all our busses, just like we do
for Dino. Either that, or start using PCI domains, but I'd rather not
go there just yet.
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
next prev parent reply other threads:[~2006-11-15 12:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-08 14:07 [parisc-linux] LBA PCI : avoid crash when pluging a pcmcia bridge Guy Martin
2006-11-09 6:40 ` Grant Grundler
2006-11-15 8:00 ` Grant Grundler
2006-11-15 11:25 ` Guy Martin
2006-11-15 12:23 ` Matthew Wilcox [this message]
2006-11-15 14:54 ` James Bottomley
2006-11-15 18:08 ` Guy Martin
2006-11-17 20:30 ` Matthew Wilcox
2006-11-18 11:21 ` Guy Martin
2006-11-18 13:56 ` Matthew Wilcox
2006-11-18 14:22 ` James Bottomley
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=20061115122352.GH19143@parisc-linux.org \
--to=matthew@wil.cx \
--cc=gmsoft@tuxicoman.be \
--cc=parisc-linux@lists.parisc-linux.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.