From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Brakkee Subject: Re: PCI passthrough on Sony Vaio F11 laptop... Date: Sun, 05 Dec 2010 22:47:19 +0100 Message-ID: <4CFC0867.8080604@brakkee.org> References: <4CDDCE40.9050001@brakkee.org> <4CDE746A.2090701@web.de> <4CDE79AF.4040002@brakkee.org> <4CDEE0F9.4070207@web.de> <4CDFE272.8060500@brakkee.org> <4CE006ED.1010405@web.de> <4CE1AC5E.4050604@brakkee.org> <4CE1B9FC.6050500@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Jan Kiszka Return-path: Received: from cpsmtp-fia03.kpnxchange.com ([195.121.247.6]:2139 "EHLO cpsmtp-fia03.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751149Ab0LEVrW (ORCPT ); Sun, 5 Dec 2010 16:47:22 -0500 In-Reply-To: <4CE1B9FC.6050500@web.de> Sender: kvm-owner@vger.kernel.org List-ID: Jan Kiszka wrote: > Am 15.11.2010 22:55, Erik Brakkee wrote: > >> Jan Kiszka wrote: >> >>> Am 14.11.2010 14:21, Erik Brakkee wrote: >>> >>> >>>> Jan Kiszka wrote: >>>> >>>> >>>>> Strange, should work. I would suggest to post your full kernel log, >>>>> maybe there is some enlightening message hidden. >>>>> >>>>> I don't think it is a problem of your kernel version, but I'm able to >>>>> pass through devices on OpenSUSE 11.3 with >>>>> kernel-desktop-2.6.36-90.1.x86_64 from their kernel repository. >>>>> >>>>> Jan >>>>> >>>>> >>>>> >>>>> >>>> Exactly what server logs do you need. Is this only /var/log/messages or >>>> more? And do I need to set specific options there? >>>> Any other log files that you need? >>>> >>>> >>> dmesg> log-file >>> >>> >>> >>>> Before, generating these logs I will upgrade to a later kernel. As far >>>> as I can tell, that will still be a 2.6.34 kernel. Perhaps I should try >>>> the 2.6.36 kernel as well. Do you have the URL for the kernel repository >>>> I should use? (cannot find an obvious kernel repository in YAST2). >>>> >>>> >>> http://download.opensuse.org/repositories/Kernel:/HEAD/openSUSE_11.3 >>> >>> Jan >>> >>> >>> >> I have attached the logs of /var/log/messages, dmesg, and qemu log >> (other.log), as well as the kernel config parameters (/proc/config.gz). >> I did the test with two kernels (see the tar.gz file): one kernel a >> 2.6.34 and the other a 2.6.36 kernel. >> > > Comparing the dmesg with my kernel log, I'm missing messages like > > [ 0.023960] DMAR: Host address width 36 > [ 0.023962] DMAR: DRHD base: 0x000000fed90000 flags: 0x0 > [ 0.023968] IOMMU 0: reg_base_addr fed90000 ver 1:0 cap c9008020e30272 ecap 1000 > [ 0.023970] DMAR: DRHD base: 0x000000fed93000 flags: 0x1 > [ 0.023974] IOMMU 1: reg_base_addr fed93000 ver 1:0 cap c9008020630272 ecap 1000 > [ 0.023976] DMAR: RMRR base: 0x000000bf6e9000 end: 0x000000bf6fffff > [ 0.023978] DMAR: No ATSR found > > about the Intel DMAR (IOMMU) setup. > > Are you sure that you have an Intel chipset with the required features? > And have you checked that "VT-d" is enabled in the BIOS (or however it > may be called there)? > > Jan I have now done a PCI passthrough test on some real hardware. Supermicro X8DTi-F motherboard (intel 5520 chipset), Intel Xeon L5630 processor. I enabled Intel VT-d in the BIOS and them simply selected one of the network interfaces for passthrough the the VM. And then... it just worksd. Also, I am seeing output similar to what you posted above.