All of lore.kernel.org
 help / color / mirror / Atom feed
* kvm88 compile errors with 2.6.31.1
@ 2009-10-21  7:08 Benjamin Budts
  2009-10-21 11:32 ` Jorge Lucángeli Obes
  0 siblings, 1 reply; 6+ messages in thread
From: Benjamin Budts @ 2009-10-21  7:08 UTC (permalink / raw)
  To: kvm


Hi,

a one-off question, when I compile kvm88 with kernel 2.6.31.1 I get the 
following make errors :

In file included from /tmp/tgz/kvm-88/kvm/kernel/x86/mmutrace.h:220,
                 from /tmp/tgz/kvm-88/kvm/kernel/x86/mmu.c:184:
include/trace/define_trace.h:53:43: error: ./mmutrace.h: No such file or 
directory
make[4]: *** [/tmp/tgz/kvm-88/kvm/kernel/x86/mmu.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from /tmp/tgz/kvm-88/kvm/kernel/x86/trace.h:355,
                 from /tmp/tgz/kvm-88/kvm/kernel/x86/x86.c:83:
include/trace/define_trace.h:53:43: error: arch/x86/kvm/trace.h: No such 
file or directory
make[4]: *** [/tmp/tgz/kvm-88/kvm/kernel/x86/x86.o] Error 1
make[3]: *** [/tmp/tgz/kvm-88/kvm/kernel/x86] Error 2
make[2]: *** [_module_/tmp/tgz/kvm-88/kvm/kernel] Error 2
make[1]: *** [all] Error 2
make: *** [kvm-kmod] Error 2

here's my configure :

./configure \
    --prefix=/usr/local/ \
    --kerneldir=/lib/modules/2.6.31.1/build


Help would be appreciated, also tried compiling kvm87, same problems...


configure output :


    Install prefix    
/usr/local/                                                  
BIOS directory    
/usr/local//share/qemu                                       
binary directory  
/usr/local//bin                                              
Manual directory  
/usr/local//share/man                                        
ELF interp prefix 
/usr/gnemul/qemu-%M                                          
Source path       
/tmp/tgz/kvm-88                                              
C compiler        
gcc                                                          
Host C compiler   
gcc                                                          
ARCH_CFLAGS       
-m64                                                         
make              
make                                                         
install           
install                                                      
host CPU          
x86_64                                                       
host big endian   
no                                                           
target list       
x86_64-softmmu                                               
tcg debug enabled 
no                                                           
gprof enabled     
no                                                           
sparse enabled    
no                                                           
strip binaries    
yes                                                          
profiler          
no                                                           
static build      
no                                                           
-Werror enabled   
no                                                           
SDL support       
yes                                                          
SDL static link   
no                                                           
curses support    
yes                                                          
curl support      
yes                                                          
mingw32 support   
no                                                           
Audio drivers     
oss                                                          
Extra audio cards ac97 es1370 
sb16                                             
Mixer emulation   
no                                                           
VNC TLS support   
yes                                                          
    TLS 
CFLAGS                                                                 
    TLS LIBS      
-lgnutls                                                     
VNC SASL support  
yes                                                          
    SASL 
CFLAGS                                                                
    SASL LIBS      
-lsasl2                                                     
kqemu support     
no                                                           
xen support       
no                                                           
CPU emulation     yes
brlapi support    no
Documentation     yes
NPTL support      yes
vde support       no
AIO support       yes
IO thread         no
Install blobs     yes
KVM support       yes
KVM trace support no
fdt support       no
preadv support    no


thx
Benjamin


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: kvm88 compile errors with 2.6.31.1
  2009-10-21  7:08 kvm88 compile errors with 2.6.31.1 Benjamin Budts
@ 2009-10-21 11:32 ` Jorge Lucángeli Obes
  2009-10-21 12:10   ` Michael Tokarev
  0 siblings, 1 reply; 6+ messages in thread
From: Jorge Lucángeli Obes @ 2009-10-21 11:32 UTC (permalink / raw)
  To: Benjamin Budts; +Cc: kvm

On Wed, Oct 21, 2009 at 9:08 AM, Benjamin Budts <mailing@gigaspeeds.be> wrote:
>
> Hi,
>
> a one-off question, when I compile kvm88 with kernel 2.6.31.1 I get the
> following make errors :
>
> In file included from /tmp/tgz/kvm-88/kvm/kernel/x86/mmutrace.h:220,
>                from /tmp/tgz/kvm-88/kvm/kernel/x86/mmu.c:184:
> include/trace/define_trace.h:53:43: error: ./mmutrace.h: No such file or
> directory
> make[4]: *** [/tmp/tgz/kvm-88/kvm/kernel/x86/mmu.o] Error 1
> make[4]: *** Waiting for unfinished jobs....
> In file included from /tmp/tgz/kvm-88/kvm/kernel/x86/trace.h:355,
>                from /tmp/tgz/kvm-88/kvm/kernel/x86/x86.c:83:
> include/trace/define_trace.h:53:43: error: arch/x86/kvm/trace.h: No such
> file or directory
> make[4]: *** [/tmp/tgz/kvm-88/kvm/kernel/x86/x86.o] Error 1
> make[3]: *** [/tmp/tgz/kvm-88/kvm/kernel/x86] Error 2
> make[2]: *** [_module_/tmp/tgz/kvm-88/kvm/kernel] Error 2
> make[1]: *** [all] Error 2
> make: *** [kvm-kmod] Error 2
>
> here's my configure :
>
> ./configure \
>   --prefix=/usr/local/ \
>   --kerneldir=/lib/modules/2.6.31.1/build
>
>
> Help would be appreciated, also tried compiling kvm87, same problems...

Hi Benjamin,

See this thread:

http://www.mail-archive.com/kvm@vger.kernel.org/msg22775.html

I believe the patches have already been applied, but there have not
been any releases since then.

Cheers,
Jorge

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: kvm88 compile errors with 2.6.31.1
  2009-10-21 11:32 ` Jorge Lucángeli Obes
@ 2009-10-21 12:10   ` Michael Tokarev
  2009-10-21 15:49     ` Jorge Lucángeli Obes
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Tokarev @ 2009-10-21 12:10 UTC (permalink / raw)
  To: Jorge Lucángeli Obes; +Cc: Benjamin Budts, kvm

Jorge Lucángeli Obes wrote:
[]
> See this thread:
> 
> http://www.mail-archive.com/kvm@vger.kernel.org/msg22775.html
> 
> I believe the patches have already been applied, but there have not
> been any releases since then.

qemu-kvm-0.11.0 is out for a long time.

/mjt

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: kvm88 compile errors with 2.6.31.1
  2009-10-21 12:10   ` Michael Tokarev
@ 2009-10-21 15:49     ` Jorge Lucángeli Obes
  2009-10-21 21:07       ` Michael Tokarev
  0 siblings, 1 reply; 6+ messages in thread
From: Jorge Lucángeli Obes @ 2009-10-21 15:49 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: Benjamin Budts, kvm

2009/10/21 Michael Tokarev <mjt@tls.msk.ru>:
> Jorge Lucángeli Obes wrote:
> []
>>
>> See this thread:
>>
>> http://www.mail-archive.com/kvm@vger.kernel.org/msg22775.html
>>
>> I believe the patches have already been applied, but there have not
>> been any releases since then.
>
> qemu-kvm-0.11.0 is out for a long time.

It's true, I was actually refering to the kvm-XX snapshots. Does
qemu-kvm-0.11.0 include Jan's patches? I figured they would be on the
kvm-kmod side.

Cheers,
Jorge

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: kvm88 compile errors with 2.6.31.1
  2009-10-21 15:49     ` Jorge Lucángeli Obes
@ 2009-10-21 21:07       ` Michael Tokarev
  2009-11-10  8:44         ` Benjamin Budts
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Tokarev @ 2009-10-21 21:07 UTC (permalink / raw)
  To: Jorge Lucángeli Obes; +Cc: Benjamin Budts, kvm

Jorge Lucángeli Obes wrote:
> 2009/10/21 Michael Tokarev <mjt@tls.msk.ru>:
>> Jorge Lucángeli Obes wrote:
>> []
>>> See this thread:
>>>
>>> http://www.mail-archive.com/kvm@vger.kernel.org/msg22775.html
>>>
>>> I believe the patches have already been applied, but there have not
>>> been any releases since then.
>> qemu-kvm-0.11.0 is out for a long time.
> 
> It's true, I was actually refering to the kvm-XX snapshots. Does
> qemu-kvm-0.11.0 include Jan's patches? I figured they would be on the
> kvm-kmod side.

2.6.31 kernel includes more recent bits than kvm-kmod-88.. ;)

/mjt

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: kvm88 compile errors with 2.6.31.1
  2009-10-21 21:07       ` Michael Tokarev
@ 2009-11-10  8:44         ` Benjamin Budts
  0 siblings, 0 replies; 6+ messages in thread
From: Benjamin Budts @ 2009-11-10  8:44 UTC (permalink / raw)
  To: kvm


Hi all,

a late response of my part, but I got it partially working under 
slackware 13.0 with the qemu-kvm-0.11.0.tar.gz  (it compiles now without 
  errors.)

When I start my virtual machine in *windowed mode* it boots fine,It 
installs the OS I want but everything is black around the windowed 
screen, it seems like it started up in full screen but minimized ?
I can't access my KDE 4 desktop anymore, switching with the rebooting 
the VM or closing it is impossible, I have to reboot my whole system. :-/

Help would be appreciated.


# uname -a
Linux r2d2 2.6.31.5 #1 SMP Wed Oct 28 12:10:47 CET 2009 x86_64 Intel(R) 
Core(TM)2 Duo CPU     P8400  @ 2.26GHz GenuineIntel GNU/Linux

I used the following to boot it (selfmade rc script:
source vars.sh (containing the variables)

/sbin/modprobe kvm_intel
/sbin/modprobe kvm

vm_start() {
ARGS="-hda $IMG \
-cdrom $CD \
-boot d \
-m $MEM \
-smp $CPU \
-localtime \
-no-acpi \
-no-reboot \
-pidfile $PID \
-full-screen \
-k nl-be"


Michael Tokarev wrote:
> Jorge Lucángeli Obes wrote:
>> 2009/10/21 Michael Tokarev <mjt@tls.msk.ru>:
>>> Jorge Lucángeli Obes wrote:
>>> []
>>>> See this thread:
>>>>
>>>> http://www.mail-archive.com/kvm@vger.kernel.org/msg22775.html
>>>>
>>>> I believe the patches have already been applied, but there have not
>>>> been any releases since then.
>>> qemu-kvm-0.11.0 is out for a long time.
>>
>> It's true, I was actually refering to the kvm-XX snapshots. Does
>> qemu-kvm-0.11.0 include Jan's patches? I figured they would be on the
>> kvm-kmod side.
> 
> 2.6.31 kernel includes more recent bits than kvm-kmod-88.. ;)
> 
> /mjt
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-11-10  8:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-21  7:08 kvm88 compile errors with 2.6.31.1 Benjamin Budts
2009-10-21 11:32 ` Jorge Lucángeli Obes
2009-10-21 12:10   ` Michael Tokarev
2009-10-21 15:49     ` Jorge Lucángeli Obes
2009-10-21 21:07       ` Michael Tokarev
2009-11-10  8:44         ` Benjamin Budts

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.