public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* kernel vs userspace mismatch
@ 2007-04-30 20:42 Thomas Glanzmann
       [not found] ` <20070430204242.GA28288-vCsBGSbFJi4XOLVLeuLo0p3xXOyapcuTYd9OGiuxSwg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Glanzmann @ 2007-04-30 20:42 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello,
I run Linux HEAD and pulled in everything that is in the kvm git tree. I
also pulled the newest version of the userspace kvm repository.

But it doesn't compile:

        make -C user
        make[1]: Entering directory `/scratch/tg/kvm-userspace/user'
        cc -I /scratch/tg/linux-2.6/include -MMD -MF ./.kvmctl.d -g -fomit-frame-pointer -Wall -m32   -c -o kvmctl.o kvmctl.c
        kvmctl.c:30:2: error: #error libkvm: userspace and kernel version mismatch

Avi, did you forgot to push your changes to git.kernel.org?

        Thomas

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

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

* Re: kernel vs userspace mismatch
       [not found] ` <20070430204242.GA28288-vCsBGSbFJi4XOLVLeuLo0p3xXOyapcuTYd9OGiuxSwg@public.gmane.org>
@ 2007-04-30 21:06   ` Anthony Liguori
       [not found]     ` <46365A4C.30708-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Anthony Liguori @ 2007-04-30 21:06 UTC (permalink / raw)
  To: Thomas Glanzmann; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Thomas Glanzmann wrote:
> Hello,
> I run Linux HEAD and pulled in everything that is in the kvm git tree. I
> also pulled the newest version of the userspace kvm repository.
>
> But it doesn't compile:
>
>         make -C user
>         make[1]: Entering directory `/scratch/tg/kvm-userspace/user'
>         cc -I /scratch/tg/linux-2.6/include -MMD -MF ./.kvmctl.d -g -fomit-frame-pointer -Wall -m32   -c -o kvmctl.o kvmctl.c
>         kvmctl.c:30:2: error: #error libkvm: userspace and kernel version mismatch
>
> Avi, did you forgot to push your changes to git.kernel.org?
>   

I just sync'd the kernel and user repo and didn't have a problem.

The ABI changed twice in the last couple of days so make sure you've got 
an up-to-date userspace and kernel tree.

Regards,

Anthony Liguori

>         Thomas
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> 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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

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

* Re: kernel vs userspace mismatch
       [not found]     ` <46365A4C.30708-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
@ 2007-04-30 21:15       ` Thomas Glanzmann
       [not found]         ` <20070430211527.GB28288-vCsBGSbFJi4XOLVLeuLo0p3xXOyapcuTYd9OGiuxSwg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Glanzmann @ 2007-04-30 21:15 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hallo,

> The ABI changed twice in the last couple of days so make sure you've got 
> an up-to-date userspace and kernel tree.

(thinkpad) [/scratch/tg/linux-2.6] git fetch kvm
(thinkpad) [/scratch/tg/linux-2.6] cat .git/refs/remotes/kvm/master
3ef1110c81993e01343e1b473f5d7d1a23e6a8a3
(thinkpad) [/scratch/tg/linux-2.6] git pull kvm master
Already up-to-date.
(thinkpad) [/scratch/tg/linux-2.6] cd ../kvm-userspace
(thinkpad) [/scratch/tg/kvm-userspace] git pull
Already up-to-date.
(thinkpad) [/scratch/tg/kvm-userspace] cat .git/refs/heads/master
0bbf37c60172b1fdda62f2864484a645822d19e5
(thinkpad) [/scratch/tg/kvm-userspace] rm -rf *
(thinkpad) [/scratch/tg/kvm-userspace] git checkout -f
(thinkpad) [/scratch/tg/kvm-userspace] ./configure --with-patched-kernel --prefix=/local/kvm; make
Install prefix    /local/kvm
BIOS directory    /local/kvm/share/qemu
binary directory  /local/kvm/bin
Manual directory  /local/kvm/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /scratch/tg/kvm-userspace/qemu
C compiler        /usr/bin/gcc-3.4
Host C compiler   gcc
make              make
install           install
host CPU          i386
host big endian   no
target list       i386-softmmu
gprof enabled     no
profiler          no
static build      no
SDL support       yes
SDL static link   yes
mingw32 support   no
Adlib support     no
CoreAudio support no
ALSA support      yes
DSound support    no
FMOD support      no
kqemu support     no
kvm support       yes
Documentation     yes
make -C user
make[1]: Entering directory `/scratch/tg/kvm-userspace/user'
cc -I /scratch/tg/linux-2.6/include -MMD -MF ./.kvmctl.d -g -fomit-frame-pointer -Wall -m32   -c -o kvmctl.o kvmctl.c
kvmctl.c:30:2: error: #error libkvm: userspace and kernel version mismatch
make[1]: *** [kvmctl.o] Error 1
make[1]: Leaving directory `/scratch/tg/kvm-userspace/user'
make: *** [user] Error 2

        Thomas

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

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

* Re: kernel vs userspace mismatch
       [not found]         ` <20070430211527.GB28288-vCsBGSbFJi4XOLVLeuLo0p3xXOyapcuTYd9OGiuxSwg@public.gmane.org>
@ 2007-04-30 21:21           ` Anthony Liguori
  0 siblings, 0 replies; 4+ messages in thread
From: Anthony Liguori @ 2007-04-30 21:21 UTC (permalink / raw)
  To: Thomas Glanzmann; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Thomas Glanzmann wrote:
> Hallo,
>
>   
>> The ABI changed twice in the last couple of days so make sure you've got 
>> an up-to-date userspace and kernel tree.
>>     
>
> (thinkpad) [/scratch/tg/linux-2.6] git fetch kvm
> (thinkpad) [/scratch/tg/linux-2.6] cat .git/refs/remotes/kvm/master
> 3ef1110c81993e01343e1b473f5d7d1a23e6a8a3
>   

According to my git tree:

commit 3ef1110c81993e01343e1b473f5d7d1a23e6a8a3
Author: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Date:   Thu Apr 12 17:35:58 2007 +0300

    KVM: Handle partial pae pdptr

Whereas git log | head is:

commit e6d2f6292194c931b2fa11373a66d640245e1b14
Author: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Date:   Mon Apr 30 17:05:38 2007 +0300

Regards,

Anthony Liguori

> (thinkpad) [/scratch/tg/linux-2.6] git pull kvm master
> Already up-to-date.
> (thinkpad) [/scratch/tg/linux-2.6] cd ../kvm-userspace
> (thinkpad) [/scratch/tg/kvm-userspace] git pull
> Already up-to-date.
> (thinkpad) [/scratch/tg/kvm-userspace] cat .git/refs/heads/master
> 0bbf37c60172b1fdda62f2864484a645822d19e5
> (thinkpad) [/scratch/tg/kvm-userspace] rm -rf *
> (thinkpad) [/scratch/tg/kvm-userspace] git checkout -f
> (thinkpad) [/scratch/tg/kvm-userspace] ./configure --with-patched-kernel --prefix=/local/kvm; make
> Install prefix    /local/kvm
> BIOS directory    /local/kvm/share/qemu
> binary directory  /local/kvm/bin
> Manual directory  /local/kvm/share/man
> ELF interp prefix /usr/gnemul/qemu-%M
> Source path       /scratch/tg/kvm-userspace/qemu
> C compiler        /usr/bin/gcc-3.4
> Host C compiler   gcc
> make              make
> install           install
> host CPU          i386
> host big endian   no
> target list       i386-softmmu
> gprof enabled     no
> profiler          no
> static build      no
> SDL support       yes
> SDL static link   yes
> mingw32 support   no
> Adlib support     no
> CoreAudio support no
> ALSA support      yes
> DSound support    no
> FMOD support      no
> kqemu support     no
> kvm support       yes
> Documentation     yes
> make -C user
> make[1]: Entering directory `/scratch/tg/kvm-userspace/user'
> cc -I /scratch/tg/linux-2.6/include -MMD -MF ./.kvmctl.d -g -fomit-frame-pointer -Wall -m32   -c -o kvmctl.o kvmctl.c
> kvmctl.c:30:2: error: #error libkvm: userspace and kernel version mismatch
> make[1]: *** [kvmctl.o] Error 1
> make[1]: Leaving directory `/scratch/tg/kvm-userspace/user'
> make: *** [user] Error 2
>
>         Thomas
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

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

end of thread, other threads:[~2007-04-30 21:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-30 20:42 kernel vs userspace mismatch Thomas Glanzmann
     [not found] ` <20070430204242.GA28288-vCsBGSbFJi4XOLVLeuLo0p3xXOyapcuTYd9OGiuxSwg@public.gmane.org>
2007-04-30 21:06   ` Anthony Liguori
     [not found]     ` <46365A4C.30708-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2007-04-30 21:15       ` Thomas Glanzmann
     [not found]         ` <20070430211527.GB28288-vCsBGSbFJi4XOLVLeuLo0p3xXOyapcuTYd9OGiuxSwg@public.gmane.org>
2007-04-30 21:21           ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox