4.4-12 PCI passthrough failed can't claim BAR 6 no space for [mem size 0x... pref] failed to assign

rampage

Active Member
Oct 17, 2016
22
2
43
41
Hi,

Just upgraded to Virtual Environment 4.4-12/e71b7a74
It seems the change breaks PCI passthrough, those erros are in system log and the intel quad port gigabit network adapter no longer works in the guest:

Code:
[    0.320272] pci 0000:03:00.0: can't claim BAR 6 [mem 0xffc00000-0xffffffff pref]: no compatible bridge window
[    0.320274] pci 0000:03:00.1: can't claim BAR 6 [mem 0xffc00000-0xffffffff pref]: no compatible bridge window
[    0.320276] pci 0000:06:00.0: can't claim BAR 6 [mem 0xffc00000-0xffffffff pref]: no compatible bridge window
[    0.320277] pci 0000:06:00.1: can't claim BAR 6 [mem 0xffc00000-0xffffffff pref]: no compatible bridge window
[    0.320280] pci 0000:0b:00.0: can't claim BAR 6 [mem 0xffff0000-0xffffffff pref]: no compatible bridge window
[    0.320340] pci 0000:03:00.0: BAR 6: no space for [mem size 0x00400000 pref]
[    0.320341] pci 0000:03:00.0: BAR 6: failed to assign [mem size 0x00400000 pref]
[    0.320343] pci 0000:03:00.1: BAR 6: no space for [mem size 0x00400000 pref]
[    0.320345] pci 0000:03:00.1: BAR 6: failed to assign [mem size 0x00400000 pref]
[    0.320347] pci 0000:02:02.0: PCI bridge to [bus 03-05]
[    0.320349] pci 0000:02:02.0:   bridge window [io  0x3000-0x3fff]
[    0.320354] pci 0000:02:02.0:   bridge window [mem 0xb2800000-0xb30fffff]
[    0.320363] pci 0000:06:00.0: BAR 6: no space for [mem size 0x00400000 pref]
[    0.320365] pci 0000:06:00.0: BAR 6: failed to assign [mem size 0x00400000 pref]
[    0.320366] pci 0000:06:00.1: BAR 6: no space for [mem size 0x00400000 pref]
[    0.320368] pci 0000:06:00.1: BAR 6: failed to assign [mem size 0x00400000 pref]
[    0.320369] pci 0000:02:04.0: PCI bridge to [bus 06-08]
[    0.320372] pci 0000:02:04.0:   bridge window [io  0x2000-0x2fff]
[    0.320376] pci 0000:02:04.0:   bridge window [mem 0xb1c00000-0xb24fffff]
[    0.320384] pci 0000:01:00.0: PCI bridge to [bus 02-08]
[    0.320387] pci 0000:01:00.0:   bridge window [io  0x2000-0x3fff]
[    0.320392] pci 0000:01:00.0:   bridge window [mem 0xb1c00000-0xb30fffff]
[    0.320400] pci 0000:00:05.0: PCI bridge to [bus 01-08]

03:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
03:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
06:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
06:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)


vm config file:
Code:
balloon: 0
boot: cdn
bootdisk: virtio0
cores: 4
cpu: host
hostpci0: 03:00.0,pcie=1
hostpci1: 03:00.1,pcie=1
ide2: none,media=cdrom
machine: q35
memory: 2048
name: Gargoyle-1.9.1-R5-X64
numa: 0
onboot: 1
ostype: l26
parent: default_qos
scsihw: virtio-scsi-single
smbios1: uuid=8f39f111-d601-4133-ae11-85f57a6fb2e4
sockets: 1
startup: order=1,down=10
virtio0: local-zfs:vm-109-disk-1,cache=writeback,size=32G

So is there a change in how to pass through pci device to guest?
 
Same problem I saw on Debian9 on Proxmox5, but only when adding it "online", after reboot it appears to be all good ;(
(Saw that with adding a virtio network interface)