Re: PCI Out of Resources

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[+cc Yinghai]

On Tue, Apr 14, 2015 at 4:43 PM, moussa ba <musaba@xxxxxxxxx> wrote:
> Bjorn,
>
> See the bug filed here:
>
> https://bugzilla.kernel.org/show_bug.cgi?id=96651
>
> It was apparently misfiled to go to drivers_pci.  See the text of the
> bug filing below.  This was tested on 3.10, 3.19 and 4.0
>
> 20 PCI drives installed on a 2 Node system via 5 PCI switches. Only 16
> drives are actually recognized by the Linux.  All 20 drives are
> visible via lspci. I am unable to find an appropriate address in
> /proc/iomem to assign these regions to.
>
>
> #setpci -s 0000:90:00.0 BASE_ADDRESS_5=0x.......
>
> Not specifying the address because I had no idea where to put it, I
> would find empty spots in /proc/iomem but thse would fall within the
> address space of one of the pci bridges...
>
> We are missing 4 drives with the following error seen in dmesg for
> each drive, one given her as an example:
>
> [    0.983954] pci 0000:8e:00.0: can't claim BAR 6 [mem
> 0xffffc000-0xffffffff pref]: no compatible bridge window
> [    0.984106] pci 0000:02:02.0: BAR 14: no space for [mem size 0x00100000]
> [    0.984108] pci 0000:02:02.0: BAR 14: failed to assign [mem size 0x00100000]
> [    0.984110] pci 0000:02:04.0: BAR 14: no space for [mem size 0x00100000]
> [    0.984111] pci 0000:02:04.0: BAR 14: failed to assign [mem size 0x00100000]
> [    0.984113] pci 0000:02:02.0: BAR 13: no space for [io  size 0x1000]
> [    0.984114] pci 0000:02:02.0: BAR 13: failed to assign [io  size 0x1000]
> [    0.984116] pci 0000:02:04.0: BAR 13: no space for [io  size 0x1000]
> [    0.984117] pci 0000:02:04.0: BAR 13: failed to assign [io  size 0x1000]
> [    0.984119] pci 0000:03:00.0: BAR 5: no space for [mem size 0x00002000]
> [    0.984120] pci 0000:03:00.0: BAR 5: failed to assign [mem size 0x00002000]
> [    0.984122] pci 0000:03:00.0: BAR 2: no space for [mem size 0x00001000]
> [    0.984123] pci 0000:03:00.0: BAR 2: failed to assign [mem size 0x00001000]
> [    0.984124] pci 0000:03:00.0: BAR 3: no space for [mem size 0x00001000]
> [    0.984125] pci 0000:03:00.0: BAR 3: failed to assign [mem size 0x00001000]
> [    0.984128] pci 0000:03:00.0: BAR 4: no space for [io  size 0x0010]
> [    0.984129] pci 0000:03:00.0: BAR 4: failed to assign [io  size 0x0010]
> [    0.984132] pci 0000:02:02.0: PCI bridge to [bus 03]
> [    0.984142] pci 0000:02:03.0: PCI bridge to [bus 04]
> [    0.984154] pci 0000:05:00.0: BAR 5: no space for [mem size 0x00002000]
> [    0.984155] pci 0000:05:00.0: BAR 5: failed to assign [mem size 0x00002000]
> [    0.984156] pci 0000:05:00.0: BAR 2: no space for [mem size 0x00001000]
> [    0.984157] pci 0000:05:00.0: BAR 2: failed to assign [mem size 0x00001000]
> [    0.984159] pci 0000:05:00.0: BAR 3: no space for [mem size 0x00001000]
> [    0.984160] pci 0000:05:00.0: BAR 3: failed to assign [mem size 0x00001000]
> [    0.984161] pci 0000:05:00.0: BAR 4: no space for [io  size 0x0010]
> [    0.984163] pci 0000:05:00.0: BAR 4: failed to assign [io  size 0x0010]

Linux assigns space for endpoint BARs, but it doesn't automatically
reassign bridge windows to make space for downstream devices.  Does
booting with "pci=realloc" make any difference?

Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux