Hi,
I am having an issue passing a PCI card through to a windows 7 32 bit vm.
Here is the output from 'dmesg | grep -e DMAR -e IOMMU'
ACPI: DMAR 00000000bfeb0dda 000C8 (v01 Intel OEMDMAR 06040000 LOHR 00000001)
Intel-IOMMU: enabled
dmar: IOMMU 0: reg_base_addr fe710000 ver 1:0 cap 900800c2f0462 ecap e01
dmar: IOMMU 1: reg_base_addr fe714000 ver 1:0 cap 900800c2f0462 ecap e01
dmar: IOMMU 2: reg_base_addr fe719000 ver 1:0 cap 900800c2f0462 ecap e01
dmar: IOMMU 3: reg_base_addr fe718000 ver 1:0 cap 900800c2f0462 ecap e01
IOMMU 0xfe719000: using Register based invalidation
IOMMU 0xfe714000: using Register based invalidation
IOMMU 0xfe710000: using Register based invalidation
IOMMU 0xfe718000: using Register based invalidation
IOMMU: Setting RMRR:
IOMMU: Setting identity map for device 0000:00:1d.0 [0xbff4f000 - 0xbff5b000]
IOMMU: Setting identity map for device 0000:00:1d.1 [0xbff4f000 - 0xbff5b000]
IOMMU: Setting identity map for device 0000:00:1d.2 [0xbff4f000 - 0xbff5b000]
IOMMU: Setting identity map for device 0000:00:1d.3 [0xbff4f000 - 0xbff5b000]
IOMMU: Setting identity map for device 0000:00:1d.7 [0xbff4f000 - 0xbff5b000]
IOMMU: Prepare 0-16MiB unity mapping for LPC
IOMMU: Setting identity map for device 0000:00:1f.0 [0x0 - 0x1000000]
So I am assuming i have IOMMU set correctly.
Here is the output from LSPCI
output from LSPCI
00:00.0 Host bridge: Intel Corporation 5400 Chipset Memory Controller Hub (rev 20)
00:01.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 1 (rev 20)
00:05.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 5 (rev 20)
00:09.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 9 (rev 20)
00:10.0 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20)
00:10.1 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20)
00:10.2 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20)
00:10.3 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20)
00:10.4 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20)
00:11.0 Host bridge: Intel Corporation 5400 Chipset CE/SF Registers (rev 20)
00:15.0 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20)
00:15.1 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20)
00:16.0 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20)
00:16.1 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20)
00:1c.0 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI Express Root Port 1 (rev 09)
00:1d.0 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #1 (rev 09)
00:1d.1 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #2 (rev 09)
00:1d.2 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #3 (rev 09)
00:1d.3 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #4 (rev 09)
00:1d.7 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset EHCI USB2 Controller (rev 09)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d9)
00:1f.0 ISA bridge: Intel Corporation 631xESB/632xESB/3100 Chipset LPC Interface Controller (rev 09)
00:1f.1 IDE interface: Intel Corporation 631xESB/632xESB IDE Controller (rev 09)
00:1f.2 IDE interface: Intel Corporation 631xESB/632xESB/3100 Chipset SATA IDE Controller (rev 09)
00:1f.3 SMBus: Intel Corporation 631xESB/632xESB/3100 Chipset SMBus Controller (rev 09)
09:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Upstream Port (rev 01)
09:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to PCI-X Bridge (rev 01)
0a:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E1 (rev 01)
0a:02.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E3 (rev 01)
0b:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2008 [Falcon] (rev 03)
0f:00.0 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01)
0f:00.1 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01)
10:09.0 PCI bridge: IBM PCI-X to PCI-X Bridge (rev 03)
10:0a.0 PCI bridge: IBM PCI-X to PCI-X Bridge (rev 03)
11:04.0 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
11:04.1 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
11:06.0 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
11:06.1 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
12:04.0 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
12:04.1 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
12:06.0 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
12:06.1 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
20:03.0 VGA compatible controller: XGI Technology Inc. (eXtreme Graphics Innovation) Z9s/Z9m (XG21 core)
20:04.0 Multimedia video controller: Device 197d:0ecb (rev 01)
its this device i am trying to pass to the VM - 20:04.0 Multimedia video controller: Device 197d:0ecb (rev 01)
and here is the output from 'lspci -t'
-[0000:00]-+-00.0
+-01.0-[01]--
+-05.0-[05]--
+-09.0-[09-12]--+-00.0-[0a-0f]--+-00.0-[0b]----00.0
| | \-02.0-[0f]--+-00.0
| | \-00.1
| \-00.3-[10-12]--+-09.0-[11]--+-04.0
| | +-04.1
| | +-06.0
| | \-06.1
| \-0a.0-[12]--+-04.0
| +-04.1
| +-06.0
| \-06.1
+-10.0
+-10.1
+-10.2
+-10.3
+-10.4
+-11.0
+-15.0
+-15.1
+-16.0
+-16.1
+-1c.0-[1f]--
+-1d.0
+-1d.1
+-1d.2
+-1d.3
+-1d.7
+-1e.0-[20]--+-03.0
| \-04.0
+-1f.0
+-1f.1
+-1f.2
\-1f.3
I have tried this in my vm config file
hostpci0: 20:04
and this
hostpci0: 20:04.0
and the VM fails to start
I would really appreciate any assistance / guidance on this
TIA
Trevor.
I am having an issue passing a PCI card through to a windows 7 32 bit vm.
Here is the output from 'dmesg | grep -e DMAR -e IOMMU'
ACPI: DMAR 00000000bfeb0dda 000C8 (v01 Intel OEMDMAR 06040000 LOHR 00000001)
Intel-IOMMU: enabled
dmar: IOMMU 0: reg_base_addr fe710000 ver 1:0 cap 900800c2f0462 ecap e01
dmar: IOMMU 1: reg_base_addr fe714000 ver 1:0 cap 900800c2f0462 ecap e01
dmar: IOMMU 2: reg_base_addr fe719000 ver 1:0 cap 900800c2f0462 ecap e01
dmar: IOMMU 3: reg_base_addr fe718000 ver 1:0 cap 900800c2f0462 ecap e01
IOMMU 0xfe719000: using Register based invalidation
IOMMU 0xfe714000: using Register based invalidation
IOMMU 0xfe710000: using Register based invalidation
IOMMU 0xfe718000: using Register based invalidation
IOMMU: Setting RMRR:
IOMMU: Setting identity map for device 0000:00:1d.0 [0xbff4f000 - 0xbff5b000]
IOMMU: Setting identity map for device 0000:00:1d.1 [0xbff4f000 - 0xbff5b000]
IOMMU: Setting identity map for device 0000:00:1d.2 [0xbff4f000 - 0xbff5b000]
IOMMU: Setting identity map for device 0000:00:1d.3 [0xbff4f000 - 0xbff5b000]
IOMMU: Setting identity map for device 0000:00:1d.7 [0xbff4f000 - 0xbff5b000]
IOMMU: Prepare 0-16MiB unity mapping for LPC
IOMMU: Setting identity map for device 0000:00:1f.0 [0x0 - 0x1000000]
So I am assuming i have IOMMU set correctly.
Here is the output from LSPCI
output from LSPCI
00:00.0 Host bridge: Intel Corporation 5400 Chipset Memory Controller Hub (rev 20)
00:01.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 1 (rev 20)
00:05.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 5 (rev 20)
00:09.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 9 (rev 20)
00:10.0 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20)
00:10.1 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20)
00:10.2 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20)
00:10.3 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20)
00:10.4 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20)
00:11.0 Host bridge: Intel Corporation 5400 Chipset CE/SF Registers (rev 20)
00:15.0 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20)
00:15.1 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20)
00:16.0 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20)
00:16.1 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20)
00:1c.0 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI Express Root Port 1 (rev 09)
00:1d.0 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #1 (rev 09)
00:1d.1 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #2 (rev 09)
00:1d.2 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #3 (rev 09)
00:1d.3 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #4 (rev 09)
00:1d.7 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset EHCI USB2 Controller (rev 09)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d9)
00:1f.0 ISA bridge: Intel Corporation 631xESB/632xESB/3100 Chipset LPC Interface Controller (rev 09)
00:1f.1 IDE interface: Intel Corporation 631xESB/632xESB IDE Controller (rev 09)
00:1f.2 IDE interface: Intel Corporation 631xESB/632xESB/3100 Chipset SATA IDE Controller (rev 09)
00:1f.3 SMBus: Intel Corporation 631xESB/632xESB/3100 Chipset SMBus Controller (rev 09)
09:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Upstream Port (rev 01)
09:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to PCI-X Bridge (rev 01)
0a:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E1 (rev 01)
0a:02.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E3 (rev 01)
0b:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2008 [Falcon] (rev 03)
0f:00.0 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01)
0f:00.1 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01)
10:09.0 PCI bridge: IBM PCI-X to PCI-X Bridge (rev 03)
10:0a.0 PCI bridge: IBM PCI-X to PCI-X Bridge (rev 03)
11:04.0 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
11:04.1 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
11:06.0 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
11:06.1 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
12:04.0 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
12:04.1 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
12:06.0 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
12:06.1 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
20:03.0 VGA compatible controller: XGI Technology Inc. (eXtreme Graphics Innovation) Z9s/Z9m (XG21 core)
20:04.0 Multimedia video controller: Device 197d:0ecb (rev 01)
its this device i am trying to pass to the VM - 20:04.0 Multimedia video controller: Device 197d:0ecb (rev 01)
and here is the output from 'lspci -t'
-[0000:00]-+-00.0
+-01.0-[01]--
+-05.0-[05]--
+-09.0-[09-12]--+-00.0-[0a-0f]--+-00.0-[0b]----00.0
| | \-02.0-[0f]--+-00.0
| | \-00.1
| \-00.3-[10-12]--+-09.0-[11]--+-04.0
| | +-04.1
| | +-06.0
| | \-06.1
| \-0a.0-[12]--+-04.0
| +-04.1
| +-06.0
| \-06.1
+-10.0
+-10.1
+-10.2
+-10.3
+-10.4
+-11.0
+-15.0
+-15.1
+-16.0
+-16.1
+-1c.0-[1f]--
+-1d.0
+-1d.1
+-1d.2
+-1d.3
+-1d.7
+-1e.0-[20]--+-03.0
| \-04.0
+-1f.0
+-1f.1
+-1f.2
\-1f.3
I have tried this in my vm config file
hostpci0: 20:04
and this
hostpci0: 20:04.0
and the VM fails to start
I would really appreciate any assistance / guidance on this
TIA
Trevor.