linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Don Dutile <ddutile@redhat.com>
To: Yinghai Lu <yinghai@kernel.org>
Cc: Richard Yang <weiyang@linux.vnet.ibm.com>,
	linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: One problem in reassign pci bus number?
Date: Tue, 24 Apr 2012 22:56:46 -0400	[thread overview]
Message-ID: <4F9767EE.4010709@redhat.com> (raw)
In-Reply-To: <CAE9FiQVNYC1e_cHpLqsUcTCHWhzV_w0W=hVF8vkxtadjN45CWg@mail.gmail.com>

On 04/23/2012 06:07 PM, Yinghai Lu wrote:
> On Mon, Apr 23, 2012 at 2:09 PM, Don Dutile<ddutile@redhat.com>  wrote:
>> On 04/23/2012 04:19 PM, Yinghai Lu wrote:
>>>
>>> On Mon, Apr 23, 2012 at 12:46 PM, Don Dutile<ddutile@redhat.com>    wrote:
>>>>
>>>> I have run into a similar problem recently when trying to use
>>>> pci=assign-busses
>>>> with an SRIOV device behind a non-ARI-capable PCIe switch.
>>>> In this scenario, the assign-busses code assigned the next bus number,
>>>> which conflicted with an existing one on the system, and hangs the
>>>> system -- two bridges responding to the same PCI bus num evidently
>>>> confuses the hw! ;-)
>>>
>>>
>>> can you post boot log and lspci -vvxxx?
>>>
>>> Yinghai
>>
>>
>> Attached requested logs of linux-3.4-rc2 booted on RHEL6.2 installation.
>>
>> I don't have a boot log of failing condition (pci=assign-devices)
>
> what is pci=assign-devices ? you have own local patches to handle that?
>
> or you mean pci=assign-busses?
>
yes, that's what I meant. sorry, my bad... :(

>> b/c it wedges at boot, and the serial line doesn't output anything
>> even though I've tried every magic trick known with grub&  kernel boot
>> params.
>> ... the PCI log btwn early boot and until the console is reconfigured is
>> 'lost'
>> on the serial line, and that's when the hang occurs.
>> It's been 'fun' to debug w/o that serial output...
>>
>> Let me know if you need something else. (lspci -t ?)
>
> can you check busn_alloc patchset fix the overlapping problem for you?
> It already split scan bus to two pass, also it  will double check not
> scanned peer bridges.
>
> git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git
> for-pci-busn-alloc
>
> you can merge them to your 3.4-rc2...
>
> Thanks
>
> Yinghai
I'll try as soon as I get back to the office;
I'm out the next few days, and don't have external access to my test system.


  reply	other threads:[~2012-04-25  2:56 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20120410090306.GA7056@richard>
2012-04-22 15:52 ` One problem in reassign pci bus number? Richard Yang
2012-04-23 19:46   ` Don Dutile
2012-04-23 20:19     ` Yinghai Lu
2012-04-23 21:09       ` Don Dutile
2012-04-23 22:07         ` Yinghai Lu
2012-04-25  2:56           ` Don Dutile [this message]
2012-04-23 22:22         ` Yinghai Lu
2012-04-25  2:59           ` Don Dutile
2012-04-24  7:29     ` Richard Yang
2012-05-14  1:55     ` Richard Yang
2012-05-14  5:40       ` Yinghai Lu
2012-05-14  6:46         ` Richard Yang
2012-05-15 17:32           ` Yinghai Lu
2012-05-16  1:18             ` Richard Yang
2012-05-16  2:11               ` Yinghai Lu
2012-05-29 11:59                 ` Richard Yang
2012-05-29 17:14                   ` Yinghai Lu
2012-06-04 13:34                     ` Richard Yang
2012-06-04 23:36                       ` Yinghai Lu
2012-06-05  6:26                         ` Richard Yang
2012-06-05 18:01                           ` Yinghai Lu
2012-04-23 20:13   ` Yinghai Lu
2012-04-24 14:56     ` Wei Yang
2012-04-25  9:47     ` Wei Yang
2012-04-25 16:28       ` Yinghai Lu
2012-05-03  6:54         ` Richard Yang
2012-05-03  8:33           ` Yinghai Lu
2012-05-04  2:47             ` Richard Yang
2012-05-04  3:15               ` Yinghai Lu
2012-05-04  4:52                 ` Richard Yang
2012-05-04 17:37                   ` Yinghai Lu
2012-05-06 15:17                     ` Richard Yang
2012-05-06 16:35                       ` Yinghai Lu
2012-05-06 16:36                         ` Yinghai Lu
2012-05-07  1:17                           ` Richard Yang
2012-05-07  2:04                             ` Yinghai Lu
2012-05-08  2:46                               ` Richard Yang
2012-05-08  3:42                                 ` Yinghai Lu
2012-05-10  3:35                                   ` Richard Yang
2012-05-10  5:42                                     ` Yinghai Lu
2012-05-11  1:23                                       ` Richard Yang

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=4F9767EE.4010709@redhat.com \
    --to=ddutile@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=weiyang@linux.vnet.ibm.com \
    --cc=yinghai@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).