Bug 1251253 - Cannot Claim PCI BAR after inserting Thunderbolt peripheral
Summary: Cannot Claim PCI BAR after inserting Thunderbolt peripheral
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-06 20:01 UTC by Greg Oliver
Modified: 2026-07-24 14:54 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
Full boot dmesg (96.23 KB, text/plain)
2015-08-06 20:01 UTC, Greg Oliver
no flags Details
Dmesg after insertion (4.93 KB, text/plain)
2015-08-06 20:01 UTC, Greg Oliver
no flags Details
lspci output (45.11 KB, text/plain)
2015-08-06 20:04 UTC, Greg Oliver
no flags Details

Description Greg Oliver 2015-08-06 20:01:13 UTC
Created attachment 1060066 [details]
Full boot dmesg

Description of problem:

When inserting a thunderbolt ethernet / usb combo adapter, it cannot claim the PCI bar ::

[  125.159279] pci 0000:02:00.0: [8086:157e] type 01 class 0x060400
[  125.160815] pci 0000:02:00.0: supports D1 D2
[  125.160824] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  125.167401] pci 0000:03:00.0: [8086:157e] type 01 class 0x060400
[  125.168047] pci 0000:03:00.0: supports D1 D2
[  125.168057] pci 0000:03:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  125.169754] pci 0000:03:01.0: [8086:157e] type 01 class 0x060400
[  125.170408] pci 0000:03:01.0: supports D1 D2
[  125.170417] pci 0000:03:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[  125.171791] pci 0000:02:00.0: PCI bridge to [bus 03-3a]
[  125.171836] pci 0000:02:00.0:   bridge window [mem 0xd4000000-0xebffffff]
[  125.171865] pci 0000:02:00.0:   bridge window [mem 0x90000000-0xbfffffff 64bit pref]
[  125.173024] pci 0000:04:00.0: [8086:157d] type 00 class 0x088000
[  125.173183] pci 0000:04:00.0: reg 0x10: [mem 0xebf00000-0xebf3ffff]
[  125.173228] pci 0000:04:00.0: reg 0x14: [mem 0xebf40000-0xebf40fff]
[  125.173694] pci 0000:04:00.0: supports D1 D2
[  125.173699] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  125.175159] pci 0000:03:00.0: PCI bridge to [bus 04]
[  125.175197] pci 0000:03:00.0:   bridge window [mem 0xebf00000-0xebffffff]
[  125.175818] pci 0000:03:01.0: PCI bridge to [bus 05-3a]
[  125.175845] pci 0000:03:01.0:   bridge window [io  0x2000-0x2fff]
[  125.175860] pci 0000:03:01.0:   bridge window [mem 0xd4000000-0xebefffff]
[  125.175885] pci 0000:03:01.0:   bridge window [mem 0x90000000-0xbfffffff 64bit pref]
[  125.175987] pci_bus 0000:03: Allocating resources
[  125.175994] pci 0000:03:01.0: can't claim BAR 13 [io  0x2000-0x2fff]: no compatible bridge window
[  125.176070] pci 0000:03:00.0: bridge window [io  0x1000-0x0fff] to [bus 04] add_size 1000
[  125.176077] pci 0000:03:00.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 04] add_size 200000 add_align 100000
[  125.176115] pci 0000:03:01.0: bridge window [io  0x1000-0x0fff] to [bus 05-3a] add_size 1000
[  125.176152] pci 0000:03:00.0: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[  125.176156] pci 0000:03:01.0: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[  125.176160] pci 0000:02:00.0: bridge window [io  0x1000-0x0fff] to [bus 03-3a] add_size 2000
[  125.176166] pci 0000:02:00.0: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 2000 min_align 1000
[  125.176170] pci 0000:02:00.0: res[13]=[io  0x1000-0x2fff] res_to_dev_res add_size 2000 min_align 1000
[  125.176176] pci 0000:02:00.0: BAR 13: no space for [io  size 0x2000]
[  125.176179] pci 0000:02:00.0: BAR 13: failed to assign [io  size 0x2000]
[  125.176186] pci 0000:02:00.0: BAR 13: no space for [io  size 0x2000]
[  125.176188] pci 0000:02:00.0: BAR 13: failed to assign [io  size 0x2000]
[  125.176196] pci 0000:03:00.0: res[15]=[mem 0x00100000-0x000fffff 64bit pref] res_to_dev_res add_size 200000 min_align 100000
[  125.176200] pci 0000:03:00.0: res[15]=[mem 0x00100000-0x002fffff 64bit pref] res_to_dev_res add_size 200000 min_align 100000
[  125.176203] pci 0000:03:00.0: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[  125.176206] pci 0000:03:00.0: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[  125.176210] pci 0000:03:01.0: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[  125.176213] pci 0000:03:01.0: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[  125.176223] pci 0000:03:00.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  125.176226] pci 0000:03:00.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  125.176230] pci 0000:03:00.0: BAR 13: no space for [io  size 0x1000]
[  125.176233] pci 0000:03:00.0: BAR 13: failed to assign [io  size 0x1000]
[  125.176237] pci 0000:03:01.0: BAR 13: no space for [io  size 0x1000]
[  125.176240] pci 0000:03:01.0: BAR 13: failed to assign [io  size 0x1000]
[  125.176250] pci 0000:03:01.0: BAR 13: no space for [io  size 0x1000]
[  125.176253] pci 0000:03:01.0: BAR 13: failed to assign [io  size 0x1000]
[  125.176263] pci 0000:03:00.0: BAR 15: no space for [mem size 0x00200000 64bit pref]


Version-Release number of selected component (if applicable):

4.2.0-0.rc4.git4.1.fc24.x86_64


How reproducible:

Always

Steps to Reproduce:
1.  Plug the device in (pre or post boot)
2.
3.

Actual results:


Expected results:


Additional info:

I am attaching dmesg prior to insertion, and after.

Comment 1 Greg Oliver 2015-08-06 20:01:50 UTC
Created attachment 1060067 [details]
Dmesg after insertion

Comment 2 Greg Oliver 2015-08-06 20:03:59 UTC
Sorry - forgot to mention, I have tried kernels all the way back to 3.17 with the same results.  From all of the research I have done trying to get this fixed, it looks like it may be a UEFI bug, but I cannot tell from the output if that is the case.

I just tried the rawhide kernel to make sure I tested the latest before I posted here.

Thanks

Comment 3 Greg Oliver 2015-08-06 20:04:32 UTC
Created attachment 1060068 [details]
lspci output

Comment 4 Charles Haithcock 2026-07-24 14:54:17 UTC
This report has not received an update in over 90 days. If this issue is still relevant to you, please do not hesitate to update this report with any relevant details on recent investigative steps or changes and we will absolutely work to understand how to best move forward. Otherwise, this bug report will need to be closed in 30 days. No worries, however; should you need still assistance after the report is closed, please do not hesitate to create a new bug report referencing this report and with any new details on the matter. 

NOTE: This is an automated mass update.


Note You need to log in before you can comment on or make changes to this bug.