public inbox for gentoo-hardened@lists.gentoo.org
 help / color / mirror / Atom feed
From: RB <aoz.syn@gmail.com>
To: gentoo-hardened@lists.gentoo.org
Subject: Re: [gentoo-hardened] KVM & Gentoo Hardened
Date: Fri, 9 Jan 2009 23:38:49 -0700	[thread overview]
Message-ID: <4255c2570901092238r586741ebv2fbfdae3026b7662@mail.gmail.com> (raw)
In-Reply-To: <49481B57.4010801@gmail.com>

On Tue, Dec 16, 2008 at 14:19, Romain BERGE <romain.berge@gmail.com> wrote:
> Hey all,
>
> I am wondering of using and AMD CPU with the AMD-V.
> I wonder of using KVM to virtualise a few Hardened server.
>
> Someone used already KVM+ Hardened ?

Anyone else get KVM running on a hardened host?  I'm seeing some
issues right now:
 - The kvm-82 modules use symbols only in 2.6.28, making it
incompatible with the current hardened-sources:
[ 1584.882179] kvm: Unknown symbol intel_iommu_domain_alloc
[ 1584.882259] kvm: Unknown symbol intel_iommu_detach_dev
[ 1584.882340] kvm: Unknown symbol intel_iommu_page_mapping
[ 1584.882768] kvm: Unknown symbol intel_iommu_context_mapping
[ 1584.882862] kvm: Unknown symbol intel_iommu_iova_to_pfn
[ 1584.883441] kvm: Unknown symbol intel_iommu_domain_exit
 - KVM segfaults upon execution against the 2.6.27-hardened-r3; I
haven't debugged it yet, but it may well be tied to the symbol issues
 - kqemu starts to compile with gcc-4.3.2-r2 but fails with a
relocation error I'm seeing from several other packages under the new
hardened gcc-4.3.2-r2:
relocation R_X86_64_32 against `a local symbol' can not be used when
making a shared object; recompile with -fPIC
(I've already patched a few packages for these)
 - Even after disabling kqemu and switching to gcc-3.x, compiling
qemu-softmmu results in the same error as above.

Rather disappointing, I was hoping to get a hardened profile host
backing my VMs.  Guess it's back to a standard profile for a bit.


RB



  parent reply	other threads:[~2009-01-10  6:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-16 21:19 [gentoo-hardened] KVM & Gentoo Hardened Romain BERGE
2008-12-21 13:10 ` Javier J. Martínez Cabezón
2008-12-21 16:21   ` Sadako
2008-12-21 16:59     ` Javier J. Martínez Cabezón
2008-12-21 17:22     ` Javier J. Martínez Cabezón
2008-12-21 17:35       ` Sadako
2008-12-21 20:27         ` Romain BERGE
2008-12-22  4:34     ` Pavel Labushev
2009-01-10  6:38 ` RB [this message]
2009-01-10 16:07   ` Thomas Sachau
2009-01-12 18:47     ` RB
2009-01-12 20:43       ` Ned Ludd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4255c2570901092238r586741ebv2fbfdae3026b7662@mail.gmail.com \
    --to=aoz.syn@gmail.com \
    --cc=gentoo-hardened@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox