[opensuse-kernel] multiple "BAR 14: failed to assign". found fix, adding 'pci=realloc', but makes it worse?
Booting opensuse 13.2 to uname -rm 3.19.4-1.g74c332b-xen x86_64 I notice in the boot logs dmesg | grep -i " pci " | egrep "fail|space" [ 0.338499] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.338500] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338501] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.338502] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338505] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.338506] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338507] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.338508] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] Found mention of that error "PCI Out of Resources" http://permalink.gmane.org/gmane.linux.kernel.pci/40845 added 'pci=realloc' cat /proc/cmdline root=... pci=realloc recreated initrd & rebooted. Unfortunately, it made it worse. dmesg | grep -i " pci " | egrep "fail|space" [ 0.338475] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.338476] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338477] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.338478] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.339172] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.339173] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.339174] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.339175] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.339845] pci 0000:06:04.0: BAR 14: no space for [mem size 0x00500000] [ 0.339846] pci 0000:06:04.0: BAR 14: failed to assign [mem size 0x00500000] [ 0.339874] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.339875] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.339876] pci 0000:08:00.0: BAR 0: no space for [mem size 0x00004000] [ 0.339877] pci 0000:08:00.0: BAR 0: failed to assign [mem size 0x00004000] [ 0.339878] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.339879] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.340596] pci 0000:05:00.0: BAR 14: no space for [mem size 0x00800000] [ 0.340597] pci 0000:05:00.0: BAR 14: failed to assign [mem size 0x00800000] [ 0.340599] pci 0000:06:04.0: BAR 14: no space for [mem size 0x00500000] [ 0.340600] pci 0000:06:04.0: BAR 14: failed to assign [mem size 0x00500000] [ 0.340601] pci 0000:06:07.0: BAR 14: no space for [mem size 0x00100000] [ 0.340602] pci 0000:06:07.0: BAR 14: failed to assign [mem size 0x00100000] [ 0.340603] pci 0000:06:09.0: BAR 14: no space for [mem size 0x00200000] [ 0.340604] pci 0000:06:09.0: BAR 14: failed to assign [mem size 0x00200000] [ 0.340632] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.340633] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.340634] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.340635] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.340804] pci 0000:0d:00.0: BAR 0: no space for [mem size 0x00002000 64bit] [ 0.340805] pci 0000:0d:00.0: BAR 0: failed to assign [mem size 0x00002000 64bit] [ 0.340832] pci 0000:0e:00.0: BAR 14: no space for [mem size 0x00100000] [ 0.340833] pci 0000:0e:00.0: BAR 14: failed to assign [mem size 0x00100000] [ 0.340834] pci 0000:0e:00.0: BAR 1: no space for [mem size 0x00001000] [ 0.340835] pci 0000:0e:00.0: BAR 1: failed to assign [mem size 0x00001000] [ 0.340837] pci 0000:0f:00.0: BAR 1: no space for [mem size 0x00004000] [ 0.340838] pci 0000:0f:00.0: BAR 1: failed to assign [mem size 0x00004000] [ 0.340839] pci 0000:0f:00.0: BAR 0: no space for [mem size 0x00000800] [ 0.340840] pci 0000:0f:00.0: BAR 0: failed to assign [mem size 0x00000800] What are these errors, and what's a fix, if not the 'pci=realloc'? -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 22.04.15 at 22:30, <lyndat3@your-mail.com> wrote: Booting opensuse 13.2 to
uname -rm 3.19.4-1.g74c332b-xen x86_64
I notice in the boot logs
dmesg | grep -i " pci " | egrep "fail|space" [ 0.338499] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.338500] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338501] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.338502] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338505] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.338506] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338507] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.338508] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000]
Is this indeed only happening under Xen? If so, the difference to the native case would need to be investigated (i.e. open a bug, attaching the _full_ boot log of the kernel and hypervisor). If not, perhaps there's a BIOS setup option allowing more space for the needed MMIO ranges? Also without the full log it's hard to tell whether these are legitimate failures (taking into consideration the allocation strategy of the kernel), indications of bugs, or indications of that strategy needing improvement.
added 'pci=realloc'
cat /proc/cmdline root=... pci=realloc
recreated initrd & rebooted.
Unfortunately, it made it worse.
dmesg | grep -i " pci " | egrep "fail|space" [ 0.338475] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.338476] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338477] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.338478] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [...] What are these errors, and what's a fix, if not the 'pci=realloc'?
That's a hint at there indeed not being enough MMIO space, or the kernel not (always) falling back to using 64-bit address ranges when short on 32-bit ones. But again - nothing specific can be said without seeing the full log. And also again it should be made clear whether this is a problem with _only_ the Xen kernel. Jan -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Wed, Apr 22, 2015, at 11:56 PM, Jan Beulich wrote:
Is this indeed only happening under Xen?
If not, perhaps there's a BIOS setup option allowing more space for the needed MMIO ranges?
quick checks (1) Looking at BIOS, don't see anything mentioning "MMIO". Could be called something else, I don't know ... looking for the BIOS docs. (2) The issue is present in both boot to kernel-xen & kernel-default instances uname -r 3.19.4-1.g74c332b-xen dmesg | grep "BAR 14" [ 0.338491] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.338493] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338494] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.338495] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338497] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.338498] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338499] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.338500] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] reboot ... uname -r 4.0.0-2.g53b125b-default dmesg | grep "BAR 14" [ 0.320497] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.320498] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.320500] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.320501] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.320503] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.320504] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.320505] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.320506] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] I'll reboot with debug loglvl & post ... -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
(1) Looking at BIOS, don't see anything mentioning "MMIO". Could be called something else, I don't know ... looking for the BIOS docs.
Found a reference in a submenu item ... Under BIOS' 'Advanced -> Memory Configuration', there's a "Max TOLUD" entry. Its description states: "Maximum valued of TOLUD. Dynamic assignment would adjust TOLUD automatically based on largest MMIO length of graphic controller." Values are: Dynamic 1.0GB ... (0.25 GB increments) ... 3.25GB It's set to 'Dynamic' by default. Naively changing it to the 3.25GB Max 'just to see' turns out to be a mistake ... renders the system unbootable. ( Reset the BIOS ... ) Unclear if that entry/value is relevant. There's no other MMIO mention in any SUBmenu. -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 23.04.15 at 16:44, <lyndat3@your-mail.com> wrote: (1) Looking at BIOS, don't see anything mentioning "MMIO". Could be called something else, I don't know ... looking for the BIOS docs.
Found a reference in a submenu item ...
Under BIOS' 'Advanced -> Memory Configuration', there's a "Max TOLUD" entry.
Its description states:
"Maximum valued of TOLUD. Dynamic assignment would adjust TOLUD automatically based on largest MMIO length of graphic controller."
Values are:
Dynamic 1.0GB ... (0.25 GB increments) ... 3.25GB
It's set to 'Dynamic' by default.
Naively changing it to the 3.25GB Max 'just to see' turns out to be a mistake ... renders the system unbootable.
( Reset the BIOS ... )
Unclear if that entry/value is relevant.
Indeed this very much looks like what you need. But you want to adjust it towards the 1.0 Gb value, not the 3.25 Gb one. Jan -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Thu, Apr 23, 2015, at 08:00 AM, Jan Beulich wrote:
Unclear if that entry/value is relevant.
Indeed this very much looks like what you need. But you want to adjust it towards the 1.0 Gb value, not the 3.25 Gb one.
Manually changing the TOLUD value Dynamic -> 1.0GB does leave the system bootable, but does NOT change the issue. Still, dmesg | grep "BAR 14" [ 0.282672] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.282673] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.282674] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.282675] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.282678] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.282678] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.282680] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.282680] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] Would an interim value -- BETWEEN 1 & 3.25 GB -- make a difference? Or is the min/max test sufficient? Logs next. -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 23.04.15 at 17:18, <lyndat3@your-mail.com> wrote: On Thu, Apr 23, 2015, at 08:00 AM, Jan Beulich wrote: Unclear if that entry/value is relevant.
Indeed this very much looks like what you need. But you want to adjust it towards the 1.0 Gb value, not the 3.25 Gb one.
Manually changing the TOLUD value
Dynamic -> 1.0GB
does leave the system bootable, but does NOT change the issue.
Still,
dmesg | grep "BAR 14" [ 0.282672] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.282673] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.282674] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.282675] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.282678] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.282678] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.282680] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.282680] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000]
Would an interim value -- BETWEEN 1 & 3.25 GB -- make a difference?
I wouldn't expect it to.
Or is the min/max test sufficient?
I suppose so. Jan -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
boot log: http://pastebin.com/RMbjvj2G -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 23.04.15 at 18:00, <lyndat3@your-mail.com> wrote: boot log:
The firmware appears to put MMIO resources of devices behind 08:00.0 into all prefetchable space. Hence I cannot see why the kernel thinks it needs to set up non-prefetchable bridge windows on 08:00.0 and 09:01.0 (nor can I see the difference to 09:02.0, for which such an attempt doesn't appear to be made). But I'm in no way a PCI expert, so I need to defer to others. In any event these messages don't appear to suggest any actual problem. Jan -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
lyndat3@your-mail.com wrote:
Booting opensuse 13.2 to
uname -rm 3.19.4-1.g74c332b-xen x86_64
I notice in the boot logs
dmesg | grep -i " pci " | egrep "fail|space" [ 0.338499] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.338500] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338501] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.338502] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338505] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.338506] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338507] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.338508] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000]
Found mention of that error
"PCI Out of Resources" http://permalink.gmane.org/gmane.linux.kernel.pci/40845
What problem/error conditions are caused by the above messages? I get similar messages, but I don't think they are causing a problem, but are the result of linux using the PnP algorithm to try assigning different 'sets' of resources to PnP HW. It seems there are some number of "fixed" PnP combinations that can work. Sometime after my 1st BAR message, I see a blurb: [ 1.156142] ACPI: PCI Interrupt Link [LK00] (IRQs 3 4 5 6 7 10 11 14 *15) [ 1.163763] ACPI: PCI Interrupt Link [LK01] (IRQs 3 4 5 6 7 10 11 *14 15) [ 1.171458] ACPI: PCI Interrupt Link [LK02] (IRQs 3 4 5 6 7 10 *11 14 15) [ 1.179075] ACPI: PCI Interrupt Link [LK03] (IRQs 3 4 5 6 7 *10 11 14 15) [ 1.186681] ACPI: PCI Interrupt Link [LK04] (IRQs 3 4 *5 6 7 10 11 14 15) [ 1.194310] ACPI: PCI Interrupt Link [LK05] (IRQs 3 4 5 *6 7 10 11 14 15) [ 1.201915] ACPI: PCI Interrupt Link [LK06] (IRQs 3 4 5 6 7 10 11 14 15) *0, disabled. [ 1.210780] ACPI: PCI Interrupt Link [LK07] (IRQs 3 4 *5 6 7 10 11 14 15) ---- Which looks like it may be a list of possible arrangements associated with PnP HW. My BAR message are a bit more varied than yours: [ 1.044018] pci 0000:00:1f.0: can't claim BAR 13 [io 0x0800-0x087f]: address conflict with ACPI CPU throttle [io 0x0810-0x0815] [ 1.494878] pci 0000:05:00.1: can't claim BAR 6 [mem 0xdf200000-0xdf27ffff pref]: address conflict with 0000:05:00.0 [mem 0xdf200000-0xdf27ffff pref] [ 1.508547] pci 0000:00:1f.0: BAR 13: [io 0x0800-0x087f] has bogus alignment [ 1.551438] pci 0000:05:00.1: BAR 6: assigned [mem 0xdf280000-0xdf2fffff pref] [ 1.558814] pci 0000:05:00.0: BAR 7: no space for [mem size 0x00100000 64bit] [ 1.566093] pci 0000:05:00.0: BAR 7: failed to assign [mem size 0x00100000 64bit] [ 1.573730] pci 0000:05:00.0: BAR 10: no space for [mem size 0x00100000 64bit] [ 1.581099] pci 0000:05:00.0: BAR 10: failed to assign [mem size 0x00100000 64bit] [ 1.588817] pci 0000:05:00.1: BAR 7: no space for [mem size 0x00100000 64bit] [ 1.596097] pci 0000:05:00.1: BAR 7: failed to assign [mem size 0x00100000 64bit] [ 1.603731] pci 0000:05:00.1: BAR 10: no space for [mem size 0x00100000 64bit] [ 1.611097] pci 0000:05:00.1: BAR 10: failed to assign [mem size 0x00100000 64bit] [ 1.680278] pci 0000:08:03.0: BAR 6: assigned [mem 0xde000000-0xde00ffff pref] [ 1.715645] pci 0000:00:1f.0: BAR 13: [io 0x0800-0x087f] has bogus alignment [ 1.722909] pci 0000:00:05.0: BAR 14: assigned [mem 0xc0000000-0xc04fffff] [ 1.765564] pci 0000:05:00.0: BAR 6: assigned [mem 0xc0000000-0xc007ffff pref] [ 1.772920] pci 0000:05:00.1: BAR 6: assigned [mem 0xc0080000-0xc00fffff pref] [ 1.780277] pci 0000:05:00.0: BAR 7: assigned [mem 0xc0100000-0xc01fffff 64bit] [ 1.787737] pci 0000:05:00.0: BAR 10: assigned [mem 0xc0200000-0xc02fffff 64bit] [ 1.795275] pci 0000:05:00.1: BAR 7: assigned [mem 0xc0300000-0xc03fffff 64bit] [ 1.802734] pci 0000:05:00.1: BAR 10: assigned [mem 0xc0400000-0xc04fffff 64bit] --- At the end of the failure messages appears to be several 'assigned' messages which I took to mean those were successful and it continued. In my BIOS there was also a setting for PnP that allowed me to try different orders or disable some. I tried changing that once, and the above error list got a bit longer, but still finished. Maybe your bios has such a setting? Either that or try taking out any optional equipment from your computer (have you added any new HW recently?).. good luck....?
added 'pci=realloc'
cat /proc/cmdline root=... pci=realloc
recreated initrd & rebooted.
Unfortunately, it made it worse.
dmesg | grep -i " pci " | egrep "fail|space" [ 0.338475] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.338476] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338477] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.338478] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.339172] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.339173] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.339174] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.339175] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.339845] pci 0000:06:04.0: BAR 14: no space for [mem size 0x00500000] [ 0.339846] pci 0000:06:04.0: BAR 14: failed to assign [mem size 0x00500000] [ 0.339874] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.339875] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.339876] pci 0000:08:00.0: BAR 0: no space for [mem size 0x00004000] [ 0.339877] pci 0000:08:00.0: BAR 0: failed to assign [mem size 0x00004000] [ 0.339878] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.339879] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.340596] pci 0000:05:00.0: BAR 14: no space for [mem size 0x00800000] [ 0.340597] pci 0000:05:00.0: BAR 14: failed to assign [mem size 0x00800000] [ 0.340599] pci 0000:06:04.0: BAR 14: no space for [mem size 0x00500000] [ 0.340600] pci 0000:06:04.0: BAR 14: failed to assign [mem size 0x00500000] [ 0.340601] pci 0000:06:07.0: BAR 14: no space for [mem size 0x00100000] [ 0.340602] pci 0000:06:07.0: BAR 14: failed to assign [mem size 0x00100000] [ 0.340603] pci 0000:06:09.0: BAR 14: no space for [mem size 0x00200000] [ 0.340604] pci 0000:06:09.0: BAR 14: failed to assign [mem size 0x00200000] [ 0.340632] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.340633] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.340634] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.340635] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.340804] pci 0000:0d:00.0: BAR 0: no space for [mem size 0x00002000 64bit] [ 0.340805] pci 0000:0d:00.0: BAR 0: failed to assign [mem size 0x00002000 64bit] [ 0.340832] pci 0000:0e:00.0: BAR 14: no space for [mem size 0x00100000] [ 0.340833] pci 0000:0e:00.0: BAR 14: failed to assign [mem size 0x00100000] [ 0.340834] pci 0000:0e:00.0: BAR 1: no space for [mem size 0x00001000] [ 0.340835] pci 0000:0e:00.0: BAR 1: failed to assign [mem size 0x00001000] [ 0.340837] pci 0000:0f:00.0: BAR 1: no space for [mem size 0x00004000] [ 0.340838] pci 0000:0f:00.0: BAR 1: failed to assign [mem size 0x00004000] [ 0.340839] pci 0000:0f:00.0: BAR 0: no space for [mem size 0x00000800] [ 0.340840] pci 0000:0f:00.0: BAR 0: failed to assign [mem size 0x00000800]
What are these errors, and what's a fix, if not the 'pci=realloc'?
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Hi lyndat3, Do you mind to open a bug on openSUSE bugzilla? https://bugzilla.opensuse.org/index.cgi And, please attached on the following log: lspci -vvv (without pci=realloc) lspci -vt dmesg with "pci=earlydump" kernel parameter acpidump > acpidump.dat I can help to analysis those log and try to find out some hint. Normally the pci=realloc can walkaround some problem on BAR assigning fail because it should give pci bridge enough memory window for the pci devices behind the bridge. Thanks a lot! Joey Lee On Wed, Apr 22, 2015 at 01:30:44PM -0700, lyndat3@your-mail.com wrote:
Booting opensuse 13.2 to
uname -rm 3.19.4-1.g74c332b-xen x86_64
I notice in the boot logs
dmesg | grep -i " pci " | egrep "fail|space" [ 0.338499] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.338500] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338501] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.338502] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338505] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.338506] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338507] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.338508] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000]
Found mention of that error
"PCI Out of Resources" http://permalink.gmane.org/gmane.linux.kernel.pci/40845
added 'pci=realloc'
cat /proc/cmdline root=... pci=realloc
recreated initrd & rebooted.
Unfortunately, it made it worse.
dmesg | grep -i " pci " | egrep "fail|space" [ 0.338475] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.338476] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.338477] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.338478] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.339172] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.339173] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.339174] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.339175] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.339845] pci 0000:06:04.0: BAR 14: no space for [mem size 0x00500000] [ 0.339846] pci 0000:06:04.0: BAR 14: failed to assign [mem size 0x00500000] [ 0.339874] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.339875] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.339876] pci 0000:08:00.0: BAR 0: no space for [mem size 0x00004000] [ 0.339877] pci 0000:08:00.0: BAR 0: failed to assign [mem size 0x00004000] [ 0.339878] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.339879] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.340596] pci 0000:05:00.0: BAR 14: no space for [mem size 0x00800000] [ 0.340597] pci 0000:05:00.0: BAR 14: failed to assign [mem size 0x00800000] [ 0.340599] pci 0000:06:04.0: BAR 14: no space for [mem size 0x00500000] [ 0.340600] pci 0000:06:04.0: BAR 14: failed to assign [mem size 0x00500000] [ 0.340601] pci 0000:06:07.0: BAR 14: no space for [mem size 0x00100000] [ 0.340602] pci 0000:06:07.0: BAR 14: failed to assign [mem size 0x00100000] [ 0.340603] pci 0000:06:09.0: BAR 14: no space for [mem size 0x00200000] [ 0.340604] pci 0000:06:09.0: BAR 14: failed to assign [mem size 0x00200000] [ 0.340632] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00400000] [ 0.340633] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.340634] pci 0000:09:01.0: BAR 14: no space for [mem size 0x00400000] [ 0.340635] pci 0000:09:01.0: BAR 14: failed to assign [mem size 0x00400000] [ 0.340804] pci 0000:0d:00.0: BAR 0: no space for [mem size 0x00002000 64bit] [ 0.340805] pci 0000:0d:00.0: BAR 0: failed to assign [mem size 0x00002000 64bit] [ 0.340832] pci 0000:0e:00.0: BAR 14: no space for [mem size 0x00100000] [ 0.340833] pci 0000:0e:00.0: BAR 14: failed to assign [mem size 0x00100000] [ 0.340834] pci 0000:0e:00.0: BAR 1: no space for [mem size 0x00001000] [ 0.340835] pci 0000:0e:00.0: BAR 1: failed to assign [mem size 0x00001000] [ 0.340837] pci 0000:0f:00.0: BAR 1: no space for [mem size 0x00004000] [ 0.340838] pci 0000:0f:00.0: BAR 1: failed to assign [mem size 0x00004000] [ 0.340839] pci 0000:0f:00.0: BAR 0: no space for [mem size 0x00000800] [ 0.340840] pci 0000:0f:00.0: BAR 0: failed to assign [mem size 0x00000800]
What are these errors, and what's a fix, if not the 'pci=realloc'?
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (4)
-
Jan Beulich
-
joeyli
-
Linda A. Walsh
-
lyndat3@your-mail.com