public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Koen de Jonge <koen-OoqVcbiag8BWk0Htik3J/w@public.gmane.org>
To: Izik Eidus <izike-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: a (bad) kvm story from a plain user
Date: Tue, 14 Aug 2007 23:46:19 +0200	[thread overview]
Message-ID: <46C222AB.3030309@procolix.com> (raw)
In-Reply-To: <1187126609.15054.37.camel-wV29XY6ncz+I84jL4+POOYeT0m0igiSA0E9HWUfgJXw@public.gmane.org>

Izik Eidus wrote:
> this seems like you didnt load your new modules
> try to do:
> rmmod kvm_amd
> rmmod kvm
>
> and then load the moudles in your compiling dir:
> like:
> cd kvm-34/kernel
> insmod kvm.ko
> insmod kvm-amd.ko
>
> and then try
>   
That did help (a lot), now it is running on ubuntu 7.04 desktop with 
kvm-34 on kernel 2.6.20-16-generic. :) And what is more important, it 
feels a lot faster than the 'apt-get install' version.

I'll reinstall my entire desktop again some time this week and write up 
a tutorial on how to get KVM running with the latest version on your 
ubuntu 7.04 desktop installation (starting with the ubuntu cd).

Thanks,
Koen

> On Tue, 2007-08-14 at 23:20 +0200, Koen de Jonge wrote:
>   
>> Glauber de Oliveira Costa wrote:
>>     
>>>> I even tried to compile the kvm bundle myself (i took the one that
>>>> is recommended for kernel 2.6.20, as the wiki says),
>>>> but alas, the ./configure shouted I don't have gcc 3.x
>>>> (which is indeed true as an up-to-date system today have gcc 4.x).
>>>>     
>>>>         
>>> It should be included in any up-to-date system as an alternative.
>>> Probably gcc-compat, or something like this.
>>>   
>>>       
>> I'm also trying exactly that:
>> - use ubuntu 7.04 desktop edition
>> - use ubuntu (updated) kernel (Linux kruimelvlaai 2.6.20-16-generic #2 
>> SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux)
>>
>> Im using an AMD Athlon 64 X2 4800+ processor
>>
>> These where the packages I installed to get me started (added the sudo 
>> part for possibly easy copy pasting):
>>
>> sudo apt-get install libasound2-dev
>> sudo apt-get install libsdl-gfx1.2-dev
>> sudo apt-get install gcc-3.4
>> sudo apt-get install zlibc
>> sudo apt-get install lib64z1-dev
>> sudo apt-get install uuid-dev
>>
>> Which got me a compiled kvm-34 and an installed one.
>>
>> But starting it gave me:
>> koen@kruimelvlaai:~$ sudo /usr/local/kvm/bin/qemu-system-x86_64 -hda 
>> images/ubuntu704-server.img -boot c -m 512
>> Password:
>> kvm kernel version too old: KVM_GET_API_VERSION ioctl not supported
>> Could not initialize KVM, will disable KVM support
>>
>> Then I checked if it would be easy/possible to keep using ubuntu and 
>> install a self-compiled kernel (processing power to spend, so why not).
>> But that proved to be not such a good idea, since 'recompile kernel - 
>> nividia dont work - Ubuntu Forums' 
>> http://ubuntuforums.org/showthread.php?t=524411
>>
>> So while downloading the daily snapshot of gutsy 
>> (http://cdimage.ubuntu.com/daily-live/current/) I tried version kvm-17.
>>
>> If you hit 'sudo apt-get install kvm' you'll get kvm-16 :
>> ~$ zcat /usr/share/doc/kvm/changelog.Debian.gz | head
>> kvm (1:16-1ubuntu2) feisty; urgency=low
>>
>> * Revert to kvm-16 to match released kernel.
>> * Add epoch.
>>
>> This page does not tell you what version will work with the ubuntu 
>> supported kernel (of course) http://kvm.qumranet.com/kvmwiki/Downloads
>>
>> Can anyone tell me:
>> - what is the linux host OS flavour and version the developers use?
>> - what is the latest kvm-version that 'just works' on a ubuntu 7.04 
>> desktop release?
>>
>>     
>>>> last question - the ./configure script has the option reflecting whether the
>>>> kernel is patched or not. if i download the cutting edge rc3 kernel,
>>>> should i add the --patched flag or not ?
>>>>     
>>>>         
>> I found out that using the --with-patched-kernel I did not get it 
>> compiled at all.
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>> _______________________________________________
>> kvm-devel mailing list
>> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>>     
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

  parent reply	other threads:[~2007-08-14 21:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-14 19:22 a (bad) kvm story from a plain user Slohm Gadaburi
     [not found] ` <f95a91fd0708141222h19dc65a7hf395658107703413-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-14 19:30   ` Glauber de Oliveira Costa
     [not found]     ` <5d6222a80708141230y2933d350h853ae866a51e5eda-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-14 21:20       ` Koen de Jonge
     [not found]         ` <46C21C9A.2080806-OoqVcbiag8BWk0Htik3J/w@public.gmane.org>
2007-08-14 21:23           ` Izik Eidus
     [not found]             ` <1187126609.15054.37.camel-wV29XY6ncz+I84jL4+POOYeT0m0igiSA0E9HWUfgJXw@public.gmane.org>
2007-08-14 21:46               ` Koen de Jonge [this message]
2007-08-14 21:48               ` Koen de Jonge
     [not found]                 ` <46C22325.3000403-OoqVcbiag8BWk0Htik3J/w@public.gmane.org>
2007-08-15  2:47                   ` Avi Kivity
2007-08-15  3:24                   ` Anthony Liguori
2007-08-14 19:32   ` Luca
2007-08-14 19:34   ` Izik Eidus
2007-08-15  2:44   ` Avi Kivity
     [not found]     ` <46C2688D.80505-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-15  3:26       ` Anthony Liguori
2007-08-15  3:29         ` Daniel P. Berrange
     [not found]           ` <20070815032935.GA17021-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-08-15  4:43             ` Jorge Lucángeli Obes
     [not found]               ` <59abf66e0708142143s68acf009h2513fafe10bd9071-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-15 11:58                 ` Daniel P. Berrange
     [not found]                   ` <20070815115833.GA31563-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-08-15 15:35                     ` Jorge Lucángeli Obes

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=46C222AB.3030309@procolix.com \
    --to=koen-ooqvcbiag8bwk0htik3j/w@public.gmane.org \
    --cc=izike-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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