public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* KVM + VTd on a DX58SO reports No IOMMU found.
@ 2010-06-29  4:49 ewheeler
  2010-06-29  9:42 ` Avi Kivity
  0 siblings, 1 reply; 5+ messages in thread
From: ewheeler @ 2010-06-29  4:49 UTC (permalink / raw)
  To: kvm


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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: KVM + VTd on a DX58SO reports No IOMMU found.
  2010-06-29  4:49 KVM + VTd on a DX58SO reports No IOMMU found ewheeler
@ 2010-06-29  9:42 ` Avi Kivity
  2010-06-29 14:11   ` ewheeler
  0 siblings, 1 reply; 5+ messages in thread
From: Avi Kivity @ 2010-06-29  9:42 UTC (permalink / raw)
  To: ewheeler; +Cc: kvm, Chris Wright

On 06/29/2010 07:49 AM, ewheeler wrote:
> 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
>
>    

Does your kernel .config actually include iommu support?

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: KVM + VTd on a DX58SO reports No IOMMU found.
  2010-06-29  9:42 ` Avi Kivity
@ 2010-06-29 14:11   ` ewheeler
  2010-06-29 14:49     ` Avi Kivity
  0 siblings, 1 reply; 5+ messages in thread
From: ewheeler @ 2010-06-29 14:11 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm, Chris Wright


On Tue, 2010-06-29 at 12:42 +0300, Avi Kivity wrote:
> On 06/29/2010 07:49 AM, ewheeler wrote:
> > 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: KVM + VTd on a DX58SO reports No IOMMU found.
  2010-06-29 14:11   ` ewheeler
@ 2010-06-29 14:49     ` Avi Kivity
  2010-06-29 14:53       ` ewheeler
  0 siblings, 1 reply; 5+ messages in thread
From: Avi Kivity @ 2010-06-29 14:49 UTC (permalink / raw)
  To: ewheeler; +Cc: kvm, Chris Wright

On 06/29/2010 05:11 PM, ewheeler wrote:
> On Tue, 2010-06-29 at 12:42 +0300, Avi Kivity wrote:
>    
>> On 06/29/2010 07:49 AM, ewheeler wrote:
>>      
>>> 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
>    

CONFIG_DMAR.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: KVM + VTd on a DX58SO reports No IOMMU found.
  2010-06-29 14:49     ` Avi Kivity
@ 2010-06-29 14:53       ` ewheeler
  0 siblings, 0 replies; 5+ messages in thread
From: ewheeler @ 2010-06-29 14:53 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm, Chris Wright

On Tue, 2010-06-29 at 17:49 +0300, Avi Kivity wrote:
> On 06/29/2010 05:11 PM, ewheeler wrote:
> > On Tue, 2010-06-29 at 12:42 +0300, Avi Kivity wrote:
> >    
> >> On 06/29/2010 07:49 AM, ewheeler wrote:
> >>      
> >>> 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?

> 
> 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-29 14:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-29  4:49 KVM + VTd on a DX58SO reports No IOMMU found ewheeler
2010-06-29  9:42 ` Avi Kivity
2010-06-29 14:11   ` ewheeler
2010-06-29 14:49     ` Avi Kivity
2010-06-29 14:53       ` ewheeler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox