From owner-freebsd-current@FreeBSD.ORG Thu Apr 9 08:21:42 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AF3B1910 for ; Thu, 9 Apr 2015 08:21:42 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2388AC53 for ; Thu, 9 Apr 2015 08:21:41 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.9/8.14.9) with ESMTP id t398LS3A089155 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 9 Apr 2015 11:21:29 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.9.2 kib.kiev.ua t398LS3A089155 Received: (from kostik@localhost) by tom.home (8.14.9/8.14.9/Submit) id t398LSL7089154; Thu, 9 Apr 2015 11:21:28 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 9 Apr 2015 11:21:28 +0300 From: Konstantin Belousov To: Gustau P??rez Subject: Re: No IOMMU/DMAR with DELL 3020 Message-ID: <20150409082128.GF2390@kib.kiev.ua> References: <552635A5.5070707@entel.upc.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <552635A5.5070707@entel.upc.edu> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tom.home Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2015 08:21:42 -0000 On Thu, Apr 09, 2015 at 10:17:41AM +0200, Gustau P??rez wrote: > > Hi, > > I'm trying xen dom0 on a DELL optiplex 3020 machine. The machine runs: > > root@xen_test:~ # uname -arn > FreeBSD xen_test 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r281184: > > The box has a core i5-4590 equipped with VT-d: > > root@xen_test:~ # dmesg|grep EPT > VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID > Secondary Processor > Controls=0x7cff > EPT Features=0x6334141 > This is VT-x, not VT-d. > Also the box has the last BIOS firmware from its vendor (DELL). > > However, even if VT-d is there, iommu is not enabled. Booting in > verbose mode shows me this: > > root@xen_test:~ # dmesg|grep DMAR > ACPI: No DMAR table found > > which is the reason iommu support isn't enabled. This means that VT-d is 'not there'. > > Shouldn't be DMAR be detected if VT-d is there? Any info I can > provide, let me know. Check BIOS settings, there could be a knob which enables VT-d. If there is no knob, you are out of lack. OS or Xen requires DMAR table filled by BIOS to detect and use VT-d hardware.