Skip to contentSkip to conversation

KVM + VTd on a DX58SO reports No IOMMU found.

DISCUSSION ewheeler 2 participants 5 messages Jun 29, 2010 KVM

lore
Share & tools
lore

ewheeler

author
#0 lore raw

Hello,

I have been scouring mailing lists, the wiki, and talked with iggy on freenode/#kvm who suggested that I ask on the list. KVM reports that I do not have an IOMMU, however, dmesg reports both DMAR and IOMMU. In addition, I know that this board supports VT-d.

Something of note, "ldd qemu-system-x86_64" does not list libpci.x.so, however, configure reports that kvm-device-assignemnt is enabled.

I have tried using today's git tree and the 0.12.3 that ships with Ubuntu 10.04 using 2.6.35-6-server and 2.6.34-5-server.

Any information you can offer to help would be greatly appreciated.

Specific details are available here:
http://pastebin.com/dp1tb5bf

Cheers,

Eric

--
www.PortLandLinuxSupport.com

#1 lore raw
Quoted 10 lines · ewheeler

Hello,

I have been scouring mailing lists, the wiki, and talked with iggy on freenode/#kvm who suggested that I ask on the list. KVM reports that I do not have an IOMMU, however, dmesg reports both DMAR and IOMMU. In addition, I know that this board supports VT-d.

Something of note, "ldd qemu-system-x86_64" does not list libpci.x.so, however, configure reports that kvm-device-assignemnt is enabled.

Quoted 9 lines

I have tried using today's git tree and the 0.12.3 that ships with Ubuntu 10.04 using 2.6.35-6-server and 2.6.34-5-server.

Any information you can offer to help would be greatly appreciated.

Specific details are available here:
http://pastebin.com/dp1tb5bf

Does your kernel .config actually include iommu support?

Signature · 1 line
error compiling committee.c: too many arguments to function
author
#2 lore raw
Quoted 10 lines · Avi Kivity
Quoted 6 lines · ewheeler

KVM reports that I
do not have an IOMMU, however, dmesg reports both DMAR and IOMMU. In addition, I know that this board supports VT-d.

Specific details are available here:
http://pastebin.com/dp1tb5bf

Does your kernel .config actually include iommu support?

Is it a config other than any of these? Which one supports VT-d?

root@ubuntu:/boot# grep IOMMU config-2.6.35-6-server 
CONFIG_GART_IOMMU=y
CONFIG_CALGARY_IOMMU=y
CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y
CONFIG_AMD_IOMMU=y
CONFIG_AMD_IOMMU_STATS=y
CONFIG_IOMMU_HELPER=y
CONFIG_IOMMU_API=y
# CONFIG_IOMMU_DEBUG is not set
# CONFIG_IOMMU_STRESS is not set

-Eric

#3 lore raw
Quoted 18 lines · ewheeler
Quoted 12 lines · Avi Kivity
Quoted 7 lines · ewheeler

KVM reports that I
do not have an IOMMU, however, dmesg reports both DMAR and IOMMU. In addition, I know that this board supports VT-d.

Specific details are available here:
http://pastebin.com/dp1tb5bf

Does your kernel .config actually include iommu support?

Is it a config other than any of these? Which one supports VT-d?

Quoted 11 lines
root@ubuntu:/boot# grep IOMMU config-2.6.35-6-server
CONFIG_GART_IOMMU=y
CONFIG_CALGARY_IOMMU=y
CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y
CONFIG_AMD_IOMMU=y
CONFIG_AMD_IOMMU_STATS=y
CONFIG_IOMMU_HELPER=y
CONFIG_IOMMU_API=y
# CONFIG_IOMMU_DEBUG is not set
# CONFIG_IOMMU_STRESS is not set

CONFIG_DMAR.

Signature · 1 line
error compiling committee.c: too many arguments to function
author
#4 lore raw
Quoted 9 lines · Avi Kivity
Quoted 8 lines · ewheeler
Quoted 6 lines · Avi Kivity
Quoted 4 lines · ewheeler

KVM reports that I
do not have an IOMMU, however, dmesg reports both DMAR and IOMMU. In addition, I know that this board supports VT-d.

Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

Specific details are available here:
http://pastebin.com/dp1tb5bf

Does your kernel .config actually include iommu support?

CONFIG_DMAR.

/boot/config-2.6.35-6-server:# CONFIG_DMAR is not set

Sure enough, it is disabled. I'll build my own and see what happens. Thanks!

-Eric