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 ) id 1QwIfd-0005Pg-F6 for garchives@archives.gentoo.org; Wed, 24 Aug 2011 18:59:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 56A8621C21E; Wed, 24 Aug 2011 18:59:14 +0000 (UTC) Received: from mail-gx0-f181.google.com (mail-gx0-f181.google.com [209.85.161.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 5DFD521C216 for ; Wed, 24 Aug 2011 18:58:12 +0000 (UTC) Received: by gxk9 with SMTP id 9so1461505gxk.40 for ; Wed, 24 Aug 2011 11:58:11 -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=KPSP3VClU/rtyJN5ZKCqpjumLl8AsPYDj8gIw/D1gXs=; b=nCgfXZqC/hqGIwM7A9Gg9rg68ituJNe4gbJPXxPyCheB16l3p0TlkyKkI12x7X9oyr /ZgHE9na3iBE5sW4XW4voeCtBt1Uw6LlT1ukYInOQpLn/CH+JfCufdZw8IAoFm7Zq8mJ Zcin/1oZumKeTVUh/9Hygktrrvpud/RxLlNGs= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.236.145.1 with SMTP id o1mr34106828yhj.119.1314212291786; Wed, 24 Aug 2011 11:58:11 -0700 (PDT) Received: by 10.236.207.67 with HTTP; Wed, 24 Aug 2011 11:58:11 -0700 (PDT) In-Reply-To: References: Date: Wed, 24 Aug 2011 11:58:11 -0700 Message-ID: Subject: Re: [gentoo-user] CONFIG_IOMMU_SUPPORT??? From: Hilco Wijbenga To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 4311738310c3d222b45ef5dd7daa9093 On 24 August 2011 10:55, Mark Knecht wrote: > On Tue, Aug 23, 2011 at 9:18 PM, Hilco Wijbenga > wrote: >> On 23 August 2011 20:38, Mark Knecht wrote: >>> Hi all, >>> =C2=A0 Can someone point me toward somehow enabling CONFIG_IOMMU_SUPPOR= T? >>> 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 wh= en 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. >>> >>> >>> 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? Sort of. I'm working on installing Gentoo AMD64 in a VB machine. No problems so far but I've only just started (it's a weekend project). Certainly no Windows. > 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 somet= hing. > > 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. Can't you simply install the Calgary IOMMU as well? I know that it seems IBM based stuff (I noticed it myself when I was going through the same process) which you probably do not need but I assume it can't hurt (apart from making the kernel a bit bigger). But if it fixes your problem... Probably worth a try.