From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Novakov Subject: Re: X58 Virtualization w/ Linux Date: Tue, 14 Jun 2016 18:00:24 -0400 Message-ID: <3b5e8af3-c0da-8fab-8f40-05fa27ef2866@stevenovakov.com> References: <03f27bbf-f8ad-b377-c194-adaefe808077@stevenovakov.com> <2884c8b8-9ad3-cba7-d9ba-b94946775087@gmail.com> <0cc56e39-829c-144d-5e30-7d5505fe896a@stevenovakov.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Yang Zhang , kvm@vger.kernel.org Return-path: Received: from gateway23.websitewelcome.com ([192.185.49.124]:44540 "EHLO gateway23.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751190AbcFNWVb (ORCPT ); Tue, 14 Jun 2016 18:21:31 -0400 Received: from cm4.websitewelcome.com (unknown [108.167.139.16]) by gateway23.websitewelcome.com (Postfix) with ESMTP id 94842D9F5A26D for ; Tue, 14 Jun 2016 17:00:38 -0500 (CDT) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Some more info here from someone having exactly the same problem I am and at exactly the same stage http://www.tomshardware.com/answers/id-3049002/socket-1366-iomuu-compatibility-decent.html#18122605 Steve Novakov B.A.Sc Engineering Physics PhD Student - Physics University of Michigan - Ann Arbor On 6/13/2016 4:11 PM, Steve Novakov wrote: > Interestingly, when I disable VT-D in the motherboard BIOS. I can boot > with "intel_iommu=on pci-stub.ids=DEVICEID" > > and the DEVICE is successfully loaded by the pci-stub driver, > according to $lspci -nnk readout > > additionally, I see: > > $dmesg | grep -e IOMMU > > [0.000000] DMAR: IOMMU enabled > > even though I actually DISABLED VT-D in the motherboard BIOS. Going > back now and enabling it in the BIOS causes freezing during boot again. > > I'm also having trouble assigning this device to the vfio-pci driver, > but that might be a separate issue. > > Steve Novakov > B.A.Sc Engineering Physics > PhD Student - Physics > University of Michigan - Ann Arbor > On 6/12/2016 11:32 PM, Steve Novakov wrote: >> > Usually, i am using intel_iommu=on and everything works well. But >> in your case, i guess you may also need intremap=off. >> >> Passing EITHER "intel_iommu=on intremap=off" OR " "intel_iommu=on >> vfio_iommu_type1.allow_unsafe_interrupts=1" during boot results in a >> freeze at boot. This happens at the loading initramfs step ("initrd >> /boot/initramfs-linux.img"). >> >> Any further suggestions? Thanks, >> >> Steve Novakov >> B.A.Sc Engineering Physics >> PhD Student - Physics >> University of Michigan - Ann Arbor >> >> >> >