From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chen, Tiejun" Subject: Re: FreeBSD Dom0 IOMMU issues (resent) Date: Fri, 08 May 2015 10:59:42 +0800 Message-ID: <554C269E.3000606@intel.com> References: <554A457E.30102@callfortesting.org> <554AD24A.2010708@intel.com> <554BB5EB.1000602@callfortesting.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YqYVv-0004Yx-Jm for xen-devel@lists.xenproject.org; Fri, 08 May 2015 02:59:47 +0000 In-Reply-To: <554BB5EB.1000602@callfortesting.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Michael Dexter , =?UTF-8?B?Um9nZXIgUGF1IE1v?= =?UTF-8?B?bm7DqQ==?= , jbeulich@suse.com, yang.z.zhang@intel.com, kevin.tian@intel.com, xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On 2015/5/8 2:58, Michael Dexter wrote: > > Hello all, > Are you running IGD passthrough with guest OS? > On 5/6/15 7:47 PM, Chen, Tiejun wrote: >> #1. Disable interrupt message generation >> #2. Please add 'cpuidle=0 msi=1' > > With another try, get the same with the patched kernel: What is your CPU? BDW? HSW? And what is your FreeBSD Linux version on Dom0 side? I just think you can directly try the latest upstream Linux as Dom0, because I see so many messages indicating GPU hang. error: [drm:pid12:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung info: [drm] capturing error event; look for more information in sysctl hw.dri.0.info.i915_error_state info: [drm] Enabling RC6 states: RC6 off, RC6p off, RC6pp off error: [drm:pid12:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung info: [drm] Enabling RC6 states: RC6 off, RC6p off, RC6pp off (XEN) irq.c:380: Dom1 callback via changed to Direct Vector 0x93 error: [drm:pid12:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung info: [drm] Enabling RC6 states: RC6 off, RC6p off, RC6pp off (XEN) irq.c:270: Dom1 PCI link 0 changed 5 -> 0 (XEN) irq.c:270: Dom1 PCI link 1 changed 10 -> 0 (XEN) irq.c:270: Dom1 PCI link 2 changed 11 -> 0 (XEN) irq.c:270: Dom1 PCI link 3 changed 5 -> 0 error: [drm:pid12:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung info: [drm] Enabling RC6 states: RC6 off, RC6p off, RC6pp off error: [drm:pid12:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung info: [drm] Enabling RC6 states: RC6 off, RC6p off, RC6pp off error: [drm:pid12:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung So maybe you need to upgrade DRM/I915 driver firstly. > > (XEN) **************************************** > (XEN) Panic on CPU 2: > (XEN) queue invalidate wait descriptor was not executed > (XEN) **************************************** > > I had 'intel_iommu=off' are per a suggestion I found and removed it. Yes, you should enable intel iommu if you want to use IOMMU. Thanks Tiejun > > See "intelpatch2.txt" for this output. > > "intel-no-xorg.txt" is the successful lifecycle of the same DomU without > Xorg running for reference. > > Michael Dexter