ПАНЕЛИ PCI “не удалось присвоить” ошибки с устройством Удара молнии SANLink2

Я пытаюсь подключить устройство SANLink2 Thunderbolt-2-to-10-GbE-Ethernet Обещания к Lenovo ThinkPad под управлением Ubuntu 16.04. Система не распознает двойные интерфейсы Ethernet на устройстве. Если я смотрю на dmesg после включения устройства я вижу следующее:

[  169.822146] pci 0000:06:00.0: [8086:1567] type 01 class 0x060400
[  169.822534] pci 0000:06:00.0: supports D1 D2
[  169.822536] pci 0000:06:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  169.830152] pci 0000:07:00.0: [8086:1567] type 01 class 0x060400
[  169.830362] pci 0000:07:00.0: supports D1 D2
[  169.830364] pci 0000:07:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  169.830522] pci 0000:07:03.0: [8086:1567] type 01 class 0x060400
[  169.830729] pci 0000:07:03.0: supports D1 D2
[  169.830730] pci 0000:07:03.0: PME# supported from D0 D1 D2 D3hot D3cold
[  169.830841] pci 0000:07:04.0: [8086:1567] type 01 class 0x060400
[  169.831018] pci 0000:07:04.0: supports D1 D2
[  169.831019] pci 0000:07:04.0: PME# supported from D0 D1 D2 D3hot D3cold
[  169.831117] pci 0000:07:05.0: [8086:1567] type 01 class 0x060400
[  169.831350] pci 0000:07:05.0: supports D1 D2
[  169.831351] pci 0000:07:05.0: PME# supported from D0 D1 D2 D3hot D3cold
[  169.831491] pci 0000:07:06.0: [8086:1567] type 01 class 0x060400
[  169.831609] pci 0000:07:06.0: supports D1 D2
[  169.831610] pci 0000:07:06.0: PME# supported from D0 D1 D2 D3hot D3cold
[  169.831753] pci 0000:06:00.0: PCI bridge to [bus 07-3f]
[  169.831768] pci 0000:06:00.0:   bridge window [mem 0xb8000000-0xce0fffff]
[  169.831785] pci 0000:06:00.0:   bridge window [mem 0xd0000000-0xf1ffffff 64bit pref]
[  169.831915] pci 0000:08:00.0: [8086:1566] type 00 class 0x088000
[  169.831966] pci 0000:08:00.0: reg 0x10: [mem 0xce000000-0xce03ffff]
[  169.831982] pci 0000:08:00.0: reg 0x14: [mem 0xce040000-0xce040fff]
[  169.832327] pci 0000:08:00.0: supports D1 D2
[  169.832328] pci 0000:08:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  169.832498] pci 0000:07:00.0: PCI bridge to [bus 08]
[  169.832525] pci 0000:07:00.0:   bridge window [mem 0xce000000-0xce0fffff]
[  169.832648] pci 0000:07:03.0: PCI bridge to [bus 09-34]
[  169.832675] pci 0000:07:03.0:   bridge window [mem 0xb8000000-0xc5ffffff]
[  169.832693] pci 0000:07:03.0:   bridge window [mem 0xd0000000-0xe9ffffff 64bit pref]
[  169.832833] pci 0000:07:04.0: PCI bridge to [bus 35-3d]
[  169.832860] pci 0000:07:04.0:   bridge window [mem 0xc6000000-0xcdffffff]
[  169.832877] pci 0000:07:04.0:   bridge window [mem 0xea000000-0xf1ffffff 64bit pref]
[  169.833017] pci 0000:07:05.0: PCI bridge to [bus 3e]
[  169.833181] pci 0000:07:06.0: PCI bridge to [bus 3f]
[  169.833301] pci_bus 0000:07: Allocating resources
[  169.833365] pci 0000:07:00.0: bridge window [io  0x1000-0x0fff] to [bus 08] add_size 1000
[  169.833369] pci 0000:07:00.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 08] add_size 200000 add_align 100000
[  169.833395] pci 0000:07:03.0: bridge window [io  0x1000-0x0fff] to [bus 09-34] add_size 1000
[  169.833421] pci 0000:07:04.0: bridge window [io  0x1000-0x0fff] to [bus 35-3d] add_size 1000
[  169.833446] pci 0000:07:05.0: bridge window [io  0x1000-0x0fff] to [bus 3e] add_size 1000
[  169.833448] pci 0000:07:05.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 3e] add_size 200000 add_align 100000
[  169.833450] pci 0000:07:05.0: bridge window [mem 0x00100000-0x000fffff] to [bus 3e] add_size 200000 add_align 100000
[  169.833475] pci 0000:07:06.0: bridge window [io  0x1000-0x0fff] to [bus 3f] add_size 1000
[  169.833477] pci 0000:07:06.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 3f] add_size 200000 add_align 100000
[  169.833478] pci 0000:07:06.0: bridge window [mem 0x00100000-0x000fffff] to [bus 3f] add_size 200000 add_align 100000
[  169.833505] pci 0000:07:00.0: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[  169.833507] pci 0000:07:03.0: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[  169.833509] pci 0000:07:04.0: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[  169.833511] pci 0000:07:05.0: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[  169.833514] pci 0000:07:06.0: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[  169.833516] pci 0000:06:00.0: bridge window [io  0x1000-0x0fff] to [bus 07-3f] add_size 5000
[  169.833519] pci 0000:06:00.0: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 5000 min_align 1000
[  169.833521] pci 0000:06:00.0: res[13]=[io  0x1000-0x5fff] res_to_dev_res add_size 5000 min_align 1000
[  169.833525] pci 0000:06:00.0: BAR 13: assigned [io  0x6000-0xafff]
[  169.833532] pci 0000:07:00.0: res[15]=[mem 0x00100000-0x000fffff 64bit pref] res_to_dev_res add_size 200000 min_align 100000
[  169.833534] pci 0000:07:00.0: res[15]=[mem 0x00100000-0x002fffff 64bit pref] res_to_dev_res add_size 200000 min_align 100000
[  169.833537] pci 0000:07:05.0: res[14]=[mem 0x00100000-0x000fffff] res_to_dev_res add_size 200000 min_align 100000
[  169.833539] pci 0000:07:05.0: res[14]=[mem 0x00100000-0x002fffff] res_to_dev_res add_size 200000 min_align 100000
[  169.833542] pci 0000:07:05.0: res[15]=[mem 0x00100000-0x000fffff 64bit pref] res_to_dev_res add_size 200000 min_align 100000
[  169.833544] pci 0000:07:05.0: res[15]=[mem 0x00100000-0x002fffff 64bit pref] res_to_dev_res add_size 200000 min_align 100000
[  169.833547] pci 0000:07:06.0: res[14]=[mem 0x00100000-0x000fffff] res_to_dev_res add_size 200000 min_align 100000
[  169.833549] pci 0000:07:06.0: res[14]=[mem 0x00100000-0x002fffff] res_to_dev_res add_size 200000 min_align 100000
[  169.833552] pci 0000:07:06.0: res[15]=[mem 0x00100000-0x000fffff 64bit pref] res_to_dev_res add_size 200000 min_align 100000
[  169.833554] pci 0000:07:06.0: res[15]=[mem 0x00100000-0x002fffff 64bit pref] res_to_dev_res add_size 200000 min_align 100000
[  169.833556] pci 0000:07:00.0: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[  169.833559] pci 0000:07:00.0: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[  169.833561] pci 0000:07:03.0: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[  169.833563] pci 0000:07:03.0: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[  169.833565] pci 0000:07:04.0: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[  169.833568] pci 0000:07:04.0: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[  169.833570] pci 0000:07:05.0: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[  169.833573] pci 0000:07:05.0: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[  169.833575] pci 0000:07:06.0: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[  169.833577] pci 0000:07:06.0: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[  169.833581] pci 0000:07:00.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  169.833583] pci 0000:07:00.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  169.833585] pci 0000:07:05.0: BAR 14: no space for [mem size 0x00200000]
[  169.833587] pci 0000:07:05.0: BAR 14: failed to assign [mem size 0x00200000]
[  169.833590] pci 0000:07:05.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  169.833593] pci 0000:07:05.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  169.833595] pci 0000:07:06.0: BAR 14: no space for [mem size 0x00200000]
[  169.833597] pci 0000:07:06.0: BAR 14: failed to assign [mem size 0x00200000]
[  169.833600] pci 0000:07:06.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  169.833602] pci 0000:07:06.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  169.833605] pci 0000:07:00.0: BAR 13: assigned [io  0x6000-0x6fff]
[  169.833607] pci 0000:07:03.0: BAR 13: assigned [io  0x7000-0x7fff]
[  169.833609] pci 0000:07:04.0: BAR 13: assigned [io  0x8000-0x8fff]
[  169.833611] pci 0000:07:05.0: BAR 13: assigned [io  0x9000-0x9fff]
[  169.833614] pci 0000:07:06.0: BAR 13: assigned [io  0xa000-0xafff]
[  169.833618] pci 0000:07:06.0: BAR 14: no space for [mem size 0x00200000]
[  169.833621] pci 0000:07:06.0: BAR 14: failed to assign [mem size 0x00200000]
[  169.833624] pci 0000:07:06.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  169.833626] pci 0000:07:06.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  169.833629] pci 0000:07:05.0: BAR 14: no space for [mem size 0x00200000]
[  169.833631] pci 0000:07:05.0: BAR 14: failed to assign [mem size 0x00200000]
[  169.833634] pci 0000:07:05.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  169.833636] pci 0000:07:05.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  169.833640] pci 0000:07:00.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  169.833642] pci 0000:07:00.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  169.833645] pci 0000:07:00.0: PCI bridge to [bus 08]
[  169.833652] pci 0000:07:00.0:   bridge window [io  0x6000-0x6fff]
[  169.833668] pci 0000:07:00.0:   bridge window [mem 0xce000000-0xce0fffff]
[  169.833699] pci 0000:07:03.0: PCI bridge to [bus 09-34]
[  169.833706] pci 0000:07:03.0:   bridge window [io  0x7000-0x7fff]
[  169.833722] pci 0000:07:03.0:   bridge window [mem 0xb8000000-0xc5ffffff]
[  169.833733] pci 0000:07:03.0:   bridge window [mem 0xd0000000-0xe9ffffff 64bit pref]
[  169.833754] pci 0000:07:04.0: PCI bridge to [bus 35-3d]
[  169.833760] pci 0000:07:04.0:   bridge window [io  0x8000-0x8fff]
[  169.833776] pci 0000:07:04.0:   bridge window [mem 0xc6000000-0xcdffffff]
[  169.833787] pci 0000:07:04.0:   bridge window [mem 0xea000000-0xf1ffffff 64bit pref]
[  169.833807] pci 0000:07:05.0: PCI bridge to [bus 3e]
[  169.833813] pci 0000:07:05.0:   bridge window [io  0x9000-0x9fff]
[  169.833889] pci 0000:07:06.0: PCI bridge to [bus 3f]
[  169.833896] pci 0000:07:06.0:   bridge window [io  0xa000-0xafff]
[  169.833937] pci 0000:06:00.0: PCI bridge to [bus 07-3f]
[  169.833943] pci 0000:06:00.0:   bridge window [io  0x6000-0xafff]
[  169.833968] pci 0000:06:00.0:   bridge window [mem 0xb8000000-0xce0fffff]
[  169.833978] pci 0000:06:00.0:   bridge window [mem 0xd0000000-0xf1ffffff 64bit pref]
[  169.834050] pcieport 0000:06:00.0: enabling device (0006 -> 0007)
[  169.834409] pcieport 0000:07:00.0: enabling device (0006 -> 0007)
[  169.834672] pcieport 0000:07:03.0: enabling device (0006 -> 0007)
[  169.834952] pcieport 0000:07:04.0: enabling device (0006 -> 0007)
[  169.835555] pcieport 0000:07:05.0: enabling device (0004 -> 0005)
[  169.835778] pcieport 0000:07:06.0: enabling device (0004 -> 0005)

Отметьте регион, который, кажется, проблема:

[  169.833581] pci 0000:07:00.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  169.833583] pci 0000:07:00.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  169.833585] pci 0000:07:05.0: BAR 14: no space for [mem size 0x00200000]
[  169.833587] pci 0000:07:05.0: BAR 14: failed to assign [mem size 0x00200000]
[  169.833590] pci 0000:07:05.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  169.833593] pci 0000:07:05.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  169.833595] pci 0000:07:06.0: BAR 14: no space for [mem size 0x00200000]
[  169.833597] pci 0000:07:06.0: BAR 14: failed to assign [mem size 0x00200000]
[  169.833600] pci 0000:07:06.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  169.833602] pci 0000:07:06.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  169.833605] pci 0000:07:00.0: BAR 13: assigned [io  0x6000-0x6fff]
[  169.833607] pci 0000:07:03.0: BAR 13: assigned [io  0x7000-0x7fff]
[  169.833609] pci 0000:07:04.0: BAR 13: assigned [io  0x8000-0x8fff]
[  169.833611] pci 0000:07:05.0: BAR 13: assigned [io  0x9000-0x9fff]
[  169.833614] pci 0000:07:06.0: BAR 13: assigned [io  0xa000-0xafff]
[  169.833618] pci 0000:07:06.0: BAR 14: no space for [mem size 0x00200000]
[  169.833621] pci 0000:07:06.0: BAR 14: failed to assign [mem size 0x00200000]
[  169.833624] pci 0000:07:06.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  169.833626] pci 0000:07:06.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  169.833629] pci 0000:07:05.0: BAR 14: no space for [mem size 0x00200000]
[  169.833631] pci 0000:07:05.0: BAR 14: failed to assign [mem size 0x00200000]
[  169.833634] pci 0000:07:05.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  169.833636] pci 0000:07:05.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  169.833640] pci 0000:07:00.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  169.833642] pci 0000:07:00.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]

lspci показывает устройства моста PCI, которые появляются, когда я включаю SANLink2, но он не показывает ничего присоединенного к тем мостам. Вы видите полное lspci -vvxxxx вывод здесь.

Я нашел упоминания о подобных проблемах о других средствах отслеживания ошибки дистрибутива, но никакие решения, которые помогают моей проблеме. Я попробовал последнее ядро магистрали (v4.7), чтобы видеть, имел ли какой-либо недавний bugfixes эффект, но я вижу то же поведение.

2
задан 1 August 2016 в 18:20

1 ответ

Если бы я мог бы прокомментировать, это было бы комментарием - потому что у меня еще нет категорического решения. Я переношу это на Ударе молнии 3 с расширительными платами Титана Ridge. Это только, кажется, влияет на мой eGPU - мой SANLink3 N1 и Удар молнии Dell, 3 SSD кажутся незатронутыми. Или их ПАНЕЛИ присвоены, или они не затронуты ими не удающийся быть присвоенными. Я сделал вещи помочь, но еще не полностью решил его. Мой внешний Нано R9 имеет ПАНЕЛЬ как Ваша, возможно с точным размером и типом, который перестал работать: [приставка размера мадам 0x00200000 64 битов]

Некоторые вещи, которые я нашел, могут помочь:

  • Установите обновление BIOS при наличии
  • Обновите встроенное микропрограммное обеспечение Удара молнии NVM при наличии (https://github.com/torvalds/linux/blob/master/Documentation/admin-guide/thunderbolt.rst)
  • Intel VT-d включен в BIOS
  • Выше декодирования 4G, включенного в BIOS
  • В GRUB можно установить параметры ядра
  • intel_iommu=on или intel_iommu=igfx_only, если это повреждает Ваше видео
  • pci=nocrs, перевыделение (nocrs позволяет этому игнорировать больше ограничений, помещенных BIOS),
  • Возможно, попробуйте pci=noacpi (мог бы повредить вещи, или не мог бы),
  • Найдите больше опций здесь: https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html
  • Попробуйте последнее ядро - (стабильный) Linux 4.19 или Linux, 4.20-rc2 (новейший)

С Титаном Ridge, pci=assign-busses может помочь много, особенно при использовании контроллера Удара молнии в неподдерживаемой системе (такой как AMD), но это повреждает любую реализацию Удара молнии до Титана Ridge - так не используйте этого.

Я не знаю, имел ли Удар молнии 2 уровни безопасности или нет. Но как последнее прибежище, можно включить поддержку начальной загрузки Удара молнии и ROM Опции Удара молнии в BIOS, и отключить уровни безопасности если применимо. Затем подключите SANLink к компьютеру, прежде чем Вы включите его, и надо надеяться BIOS выделит его (в этом случае, удалит параметры ядра, с которыми Вы экспериментировали для Linux). Это не способ, которым мы хотим продвинуться - со всем нужно иметь дело в ОС, где код может легко обновляться, контролироваться и отлаживаться. Но на данный момент, BIOS продолжит заполонять нас.

Если Вы хотите использовать 4.20-rc2 ядро прямо сейчас, необходимо будет скомпилировать собственное - как еще раз, Ubuntu приводит сборки магистрали к сбою, и никто ничего не делает с этим. http://kernel.ubuntu.com/~kernel-ppa/mainline/

Всего наилучшего я знаю, что это - два года и три месяца назад, таким образом, у Вас даже не могло бы больше быть компьютера. Но это имеет 766 представлений, и возможно другие люди интересовались бы некоторым подобием решения.

0
ответ дан 2 December 2019 в 10:19

Другие вопросы по тегам:

Похожие вопросы: