* [gentoo-user] kvm and intel E5450 processor
@ 2009-09-24 3:17 James Erickson
2009-09-24 8:30 ` Willie Wong
2009-09-24 16:15 ` Daniel Troeder
0 siblings, 2 replies; 6+ messages in thread
From: James Erickson @ 2009-09-24 3:17 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 753 bytes --]
today i installed two quad core Intel Xeon
E5450's (Harpertown). i notice in /proc/cpuinfo i no longer have a vmx
flag as i had with my previous Intel E5405's. i have also noticed that
my /dev/kvm device is no longer created. VT is enabled in the bios. the
data for the E5450's states that they have Intel Virtualization
Technology. so why dont i have a /dev/kvm? have i spent all that money
on processors that can't use kvm? can anyone shed some light on this
issue for me? i am confused.
James Erickson
_________________________________________________________________
Microsoft brings you a new way to search the web. Try Bing™ now
http://www.bing.com?form=MFEHPG&publ=WLHMTAG&crea=TEXT_MFEHPG_Core_tagline_try bing_1x1
[-- Attachment #2: Type: text/html, Size: 956 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] kvm and intel E5450 processor
2009-09-24 3:17 James Erickson
@ 2009-09-24 8:30 ` Willie Wong
2009-09-24 16:15 ` Daniel Troeder
1 sibling, 0 replies; 6+ messages in thread
From: Willie Wong @ 2009-09-24 8:30 UTC (permalink / raw
To: gentoo-user
On Wed, Sep 23, 2009 at 10:17:13PM -0500, Penguin Lover James Erickson squawked:
> today i installed two quad core Intel Xeon
> E5450's (Harpertown). i notice in /proc/cpuinfo i no longer have a vmx
> flag as i had with my previous Intel E5405's. i have also noticed that
> my /dev/kvm device is no longer created. VT is enabled in the bios. the
> data for the E5450's states that they have Intel Virtualization
> Technology. so why dont i have a /dev/kvm? have i spent all that money
> on processors that can't use kvm? can anyone shed some light on this
> issue for me? i am confused.
A first, possibly dumb, question I'd ask is: Was kvm support compiled
into the kernel?
W
--
This sentence no verb.
Sortir en Pantoufles: up 1021 days, 7:21
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] kvm and intel E5450 processor
2009-09-24 3:17 James Erickson
2009-09-24 8:30 ` Willie Wong
@ 2009-09-24 16:15 ` Daniel Troeder
1 sibling, 0 replies; 6+ messages in thread
From: Daniel Troeder @ 2009-09-24 16:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2049 bytes --]
On Wed, 2009-09-23 at 22:17 -0500, James Erickson wrote:
> today i installed two quad core Intel Xeon E5450's (Harpertown). i
> notice in /proc/cpuinfo i no longer have a vmx flag as i had with my
> previous Intel E5405's. i have also noticed that my /dev/kvm device is
> no longer created. VT is enabled in the bios. the data for the E5450's
> states that they have Intel Virtualization Technology. so why dont i
> have a /dev/kvm? have i spent all that money on processors that can't
> use kvm? can anyone shed some light on this issue for me? i am
> confused.
>
> James Erickson
>
>
> ______________________________________________________________________
> Microsoft brings you a new way to search the web. Try Bing™ now
hmm??
Wikipedia says you have VT:
http://en.wikipedia.org/wiki/List_of_Intel_Xeon_microprocessors#.22Harpertown.22_.28standard-voltage.2C_45_nm.29
In case this is because of modules problem:
You have to en/dis/able:
CONFIG_HAVE_KVM=y
CONFIG_HAVE_KVM_IRQCHIP=y
CONFIG_KVM=m
# CONFIG_KVM_INTEL is not set
# CONFIG_KVM_AMD is not set
# CONFIG_KVM_TRACE is not set
(Possibly reboot if compile is in wrong directory, or
check /usr/src/linux points to correct version.)
Then you emerge:
app-emulation/kvm-kmod (and app-emulation/kvm :)
It is now necessary to have CONFIG_KVM=m and the CPU-specifics OFF and
use the modules from app-emulation/kvm-kmod.
That results in:
/lib/modules/2.6.30-tuxonice-r5.mayo.nofb/kernel/arch/x86/kvm
/lib/modules/2.6.30-tuxonice-r5.mayo.nofb/kernel/arch/x86/kvm/kvm.ko
/lib/modules/2.6.30-tuxonice-r5.mayo.nofb/kvm
/lib/modules/2.6.30-tuxonice-r5.mayo.nofb/kvm/kvm.ko
/lib/modules/2.6.30-tuxonice-r5.mayo.nofb/kvm/kvm-intel.ko
/lib/modules/2.6.30-tuxonice-r5.mayo.nofb/kvm/kvm-amd.ko
Which seems strange, but works :)
(You load kvm-intel.ko which loads the correct kvm.ko)
Bye,
Daniel
--
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] kvm and intel E5450 processor
@ 2009-09-25 2:48 James Erickson
2009-09-25 20:47 ` Daniel Troeder
0 siblings, 1 reply; 6+ messages in thread
From: James Erickson @ 2009-09-25 2:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2779 bytes --]
>You have to en/dis/able:
>CONFIG_HAVE_KVM=y
>CONFIG_HAVE_KVM_IRQCHIP=y
>CONFIG_KVM=m
># CONFIG_KVM_INTEL is not set
># CONFIG_KVM_AMD is not set
># CONFIG_KVM_TRACE is not set
Daniel i am getting the following error:
make[1]: Entering directory `/usr/src/linux-2.6.31-gentoo'
LD /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/built-in.o
CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/svm.o
CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/vmx.o
CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/vmx-debug.o
CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/kvm_main.o
CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/x86.o
CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/mmu.o
CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/x86_emulate.o
CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/../anon_inodes.o
CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/irq.o
In file included from /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/trace.h:355,
from /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/x86.c:83:
include/trace/define_trace.h:53:43: error: arch/x86/kvm/trace.h: No such file or directory
CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/i8259.o
make[3]: *** [/dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/x86.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/mmutrace.h:220,
from /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/mmu.c:184:
include/trace/define_trace.h:53:43: error: ./mmutrace.h: No such file or directory
make[3]: *** [/dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/mmu.o] Error 1
make[3]: *** wait: No child processes. Stop.
make[2]: *** [/dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86] Error 2
make[1]: *** [_module_/dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.31-gentoo'
make: *** [all] Error 2
best regards
James Erickson
_________________________________________________________________
Microsoft brings you a new way to search the web. Try Bing™ now
http://www.bing.com?form=MFEHPG&publ=WLHMTAG&crea=TEXT_MFEHPG_Core_tagline_try bing_1x1
[-- Attachment #2: Type: text/html, Size: 3058 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] kvm and intel E5450 processor
2009-09-25 2:48 [gentoo-user] kvm and intel E5450 processor James Erickson
@ 2009-09-25 20:47 ` Daniel Troeder
0 siblings, 0 replies; 6+ messages in thread
From: Daniel Troeder @ 2009-09-25 20:47 UTC (permalink / raw
To: gentoo-user
On Thu, 2009-09-24 at 21:48 -0500, James Erickson wrote:
> >You have to en/dis/able:
> >CONFIG_HAVE_KVM=y
> >CONFIG_HAVE_KVM_IRQCHIP=y
> >CONFIG_KVM=m
> ># CONFIG_KVM_INTEL is not set
> ># CONFIG_KVM_AMD is not set
> ># CONFIG_KVM_TRACE is not set
>
> Daniel i am getting the following error:
>
> make[1]: Entering directory `/usr/src/linux-2.6.31-gentoo'
> LD /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/built-in.o
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/svm.o
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/vmx.o
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/vmx-debug.o
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/kvm_main.o
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/x86.o
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/mmu.o
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/x86_emulate.o
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/../anon_inodes.o
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/irq.o
> In file included from /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/trace.h:355,
> from /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/x86.c:83:
> include/trace/define_trace.h:53:43: error: arch/x86/kvm/trace.h: No such file or directory
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/i8259.o
> make[3]: *** [/dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/x86.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> In file included from /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/mmutrace.h:220,
> from /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/mmu.c:184:
> include/trace/define_trace.h:53:43: error: ./mmutrace.h: No such file or directory
> make[3]: *** [/dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/mmu.o] Error 1
> make[3]: *** wait: No child processes. Stop.
> make[2]: *** [/dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86] Error 2
> make[1]: *** [_module_/dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.31-gentoo'
> make: *** [all] Error 2
A second of google led me here:
I think you find the answer to your problem develops from here:
http://bugs.gentoo.org/show_bug.cgi?id=280282
And can be found here: http://bugs.gentoo.org/show_bug.cgi?id=286042
[..]
if you have 2.6.31 and want to use kvm-88-r1, kvm-kmod-88-r1 is not
required and you can use the in kernel modules.
if they release kvm-devel-89 for example, it may have newer kvm-kmod code than
what is bundled in the kernel.
Bye,
Daniel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] kvm and intel E5450 processor
@ 2009-09-26 2:47 James Erickson
0 siblings, 0 replies; 6+ messages in thread
From: James Erickson @ 2009-09-26 2:47 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1402 bytes --]
>if you have 2.6.31 and want to use kvm-88-r1, kvm-kmod-88-r1 is not
>required and you can use the in kernel modules.
>if they release kvm-devel-89 for example, it may have newer kvm-kmod code than
>what is bundled in the kernel.
Daniel,
thanks for your help in this matter. i have linux-2.6.31-gentoo and kvm-88-r1 installed.
i removed kvm-kmod-88-r1 and tried the in kernel modules but it was to no avail. when
attempting to modprobe kvm-intel i get an "unknown symbol" error. i also tried it with
everything compiled in the kernel but that didn't work either. no /dev/kvm is created
so kvm is automatically disabled. i filed a bug with kvm's maintainer on the sourceforge
tracker but don't hold out a lot of hope as there are a lot of open bugs on it. i also
contacted intel support and escalated the posting today so i will have to wait and see.
and last but not least i posted on forums.gentoo.org in "other things gentoo" but have
yet to receive any replies. if you have any further ideas i would be glad to hear them.
once again thanks for you help in this matter.
best regards,
James Erickson
_________________________________________________________________
Bing™ brings you maps, menus, and reviews organized in one place. Try it now.
http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TEXT_MLOGEN_Core_tagline_local_1x1
[-- Attachment #2: Type: text/html, Size: 1631 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-09-26 2:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-25 2:48 [gentoo-user] kvm and intel E5450 processor James Erickson
2009-09-25 20:47 ` Daniel Troeder
-- strict thread matches above, loose matches on Subject: below --
2009-09-26 2:47 James Erickson
2009-09-24 3:17 James Erickson
2009-09-24 8:30 ` Willie Wong
2009-09-24 16:15 ` Daniel Troeder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox