From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-127322-garchives=archives.gentoo.org@lists.gentoo.org>) id 1QwHgZ-0001t2-JX for garchives@archives.gentoo.org; Wed, 24 Aug 2011 17:56:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C9A921C1DD; Wed, 24 Aug 2011 17:56:10 +0000 (UTC) Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.216.174]) by pigeon.gentoo.org (Postfix) with ESMTP id C75D721C1D5 for <gentoo-user@lists.gentoo.org>; Wed, 24 Aug 2011 17:55:16 +0000 (UTC) Received: by qyk38 with SMTP id 38so2894929qyk.19 for <gentoo-user@lists.gentoo.org>; Wed, 24 Aug 2011 10:55:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=mmCw07FC0e+ppdZszrjL5i1NcLpDNRYB/qvFjZP1Qnk=; b=QPzYzvlVZvBfpd383goQ54cjhRvAxTUKRy3Mnwv6IS3bMs+c2TpJGTPb9MtnhRSUM1 H2jbG6eczVDEJu8yGdFrDw/UP0ZE2TVTb7m5YUii7YI7anHoHF3xSGGdbaE3kxW/QwkQ nEPqwjZZ6FytdMc4dR5fG4ygQP/cLPs6ofurI= Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.224.18.197 with SMTP id x5mr3542600qaa.162.1314208516261; Wed, 24 Aug 2011 10:55:16 -0700 (PDT) Received: by 10.224.80.145 with HTTP; Wed, 24 Aug 2011 10:55:16 -0700 (PDT) In-Reply-To: <CAE1pOi3BOOWwoEe=oGC0Feyi9fcFS7j7Lz2m6zuXCKy7i=DZ6w@mail.gmail.com> References: <CAK2H+efAGCkBZO7NX-nJVRq24KLtUMPe0wwMgrZ88ewod=E75A@mail.gmail.com> <CAE1pOi3BOOWwoEe=oGC0Feyi9fcFS7j7Lz2m6zuXCKy7i=DZ6w@mail.gmail.com> Date: Wed, 24 Aug 2011 10:55:16 -0700 Message-ID: <CAK2H+edsOkvp10QpbKyDpuaSLCwgE-NJc81zE9yfrB1L=kzs_w@mail.gmail.com> Subject: Re: [gentoo-user] CONFIG_IOMMU_SUPPORT??? From: Mark Knecht <markknecht@gmail.com> To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: b258fe3aae8ee4aeb75ac00adbe7e58d On Tue, Aug 23, 2011 at 9:18 PM, Hilco Wijbenga <hilco.wijbenga@gmail.com> wrote: > On 23 August 2011 20:38, Mark Knecht <markknecht@gmail.com> wrote: >> Hi all, >> =C2=A0 Can someone point me toward somehow enabling CONFIG_IOMMU_SUPPORT= ? >> It is apparently a kernel config option no required by >> virtualbox-drivers but I'm not finding it in the 3.0.3 kernel. I >> suspect there's something else I need to enable before this option >> becomes available? Unfortunately I haven't been able to Google what I >> need to do to find it. >> >> Thanks, >> Mark >> >> * Messages for package app-emulation/virtualbox-modules-4.1.2: >> >> =C2=A0* =C2=A0 CONFIG_IOMMU_SUPPORT: =C2=A0 =C2=A0 =C2=A0 is not set whe= n it should be. >> =C2=A0* Please check to make sure these options are set correctly. >> =C2=A0* Failure to do so may cause unexpected problems. >> <SNIP> >> >> k2 linux # cat .config | grep IOMMU >> CONFIG_GART_IOMMU=3Dy >> # CONFIG_CALGARY_IOMMU is not set >> CONFIG_AMD_IOMMU=3Dy >> # CONFIG_AMD_IOMMU_STATS is not set >> CONFIG_IOMMU_HELPER=3Dy >> CONFIG_IOMMU_API=3Dy >> # CONFIG_IOMMU_DEBUG is not set >> # CONFIG_IOMMU_STRESS is not set >> k2 linux # > > I noticed the same. There does not appear to be any such option but > luckily its absence does not appear to affect running VB at all. > At the time of writing this I haven't tried Gregory's item about the CONFIG_CALGARY_IOMMU option. I'll try that later when I get to the machine but the reading I did on the web sounded like that was for IBM specific hardware. Here it seems that on the machine I was working - Intel based, i920 - VB won't install Win 7 64-bit without it. I get a bunch of messages that it will install but many cause problems. Are you running any 64-bit VMs? However I've got another Intel machine where I can install Win 7 64-bit in VB just fine with no complaints at all. Here's the IOMMU stuff from that box: mark@c2stable ~ $ uname -a Linux c2stable 3.0.1-gentoo #1 SMP PREEMPT Mon Aug 8 13:05:19 PDT 2011 x86_64 Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel GNU/Linux mark@c2stable ~ $ zcat /proc/config.gz | grep IOMMU CONFIG_GART_IOMMU=3Dy # CONFIG_CALGARY_IOMMU is not set # CONFIG_AMD_IOMMU is not set CONFIG_IOMMU_HELPER=3Dy CONFIG_IOMMU_API=3Dy # CONFIG_IOMMU_DEBUG is not set # CONFIG_IOMMU_STRESS is not set mark@c2stable ~ $ Except for the AMD option they seem identical unless I'm misreading somethi= ng. I'm now wondering if there is both a BIOS and chipset component to making this work? I'm pretty sure I've got all the Vt-d stuff enabled but I'll have to wait to go into BIOS on both of them to compare. I'll try to do a diff later today between both machine's .config files to look for differences. Cheers, Mark