* Spice install problem
@ 2010-05-24 20:55 Brian Milliron
2010-05-24 22:24 ` Anthony Liguori
0 siblings, 1 reply; 3+ messages in thread
From: Brian Milliron @ 2010-05-24 20:55 UTC (permalink / raw)
To: kvm
I originally sent this question to the spice-devel list but they told me
I was better off to send it here... So here goes. I'm
running into some problems installing Spice .4 on my CentOS 5.5. I was
following the instructions here:
http://www.spice-space.org/docs/spice_user_manual.pdf
I've compiled and installed all the dependencies and have the spice
client installed also, but ran into problems with the vdesktop.
Specifically this portion of the instructions for my older kernel:
> In case of an older kernel (version < 2.6.30)
> Get kernel sources using the following git repository:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.30.y.git
> cd <spice_root>/vdesktop/kernel
> ./configure
> ln -s <linux-2.6.30 source dir> linux-2.6
> make sync
> make
I got the kernel source here:
http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.tar.bz2
At which point I ran into a problem because I didn't have the source for
the installed kernel 2.6.18-194.el5. I installed the devel-kernel
from here:
http://mirror.web-ster.com/centos/5.5/os/x86_64/CentOS/kernel-devel-2.6.18-194.el5.x86_64.rpm.
Now when I run "make" it gives a number of errors:
[root@localhost kernel]# make
make -C /lib/modules/2.6.18-194.el5/build M=`pwd` \
LINUXINCLUDE="-I`pwd`/include -Iinclude \
-Iarch/x86/include -I`pwd`/include-compat -I`pwd`/x86 \
-include include/linux/autoconf.h \
-include `pwd`/x86/external-module-compat.h" \
"$@"
make[1]: Entering directory `/usr/src/kernels/2.6.18-194.el5-x86_64'
LD /usr/local/src/spice_root/vdesktop/kernel/x86/built-in.o
CC [M] /usr/local/src/spice_root/vdesktop/kernel/x86/svm.o
In file included from <command line>:1:
/usr/local/src/spice_root/vdesktop/kernel/x86/external-module-compat.h:12:
error: redefinition of typedef ‘phys_addr_t’
include/asm/types.h:50: error: previous declaration of ‘phys_addr_t’
was here
In file included from
/usr/local/src/spice_root/vdesktop/kernel/x86/external-module-compat.h:16,
from <command line>:1:
/usr/local/src/spice_root/vdesktop/kernel/x86/../external-module-compat-comm.h:602:
error: static declaration of ‘get_user_pages_fast’ follows
non-static declaration
include/linux/mm.h:856: error: previous declaration of
‘get_user_pages_fast’ was here
In file included from
/usr/local/src/spice_root/vdesktop/kernel/x86/external-module-compat.h:16,
from <command line>:1:
/usr/local/src/spice_root/vdesktop/kernel/x86/../external-module-compat-comm.h:710:
error: conflicting types for ‘smp_call_function_many’
include/asm/smp.h:54: error: previous declaration of
‘smp_call_function_many’ was here
In file included from
/usr/local/src/spice_root/vdesktop/kernel/x86/external-module-compat.h:16,
from <command line>:1:
/usr/local/src/spice_root/vdesktop/kernel/x86/../external-module-compat-comm.h:1009:
error: redefinition of ‘hlist_del_init_rcu’
include/linux/list.h:805: error: previous definition of
‘hlist_del_init_rcu’ was here
make[3]: *** [/usr/local/src/spice_root/vdesktop/kernel/x86/svm.o] Error 1
make[2]: *** [/usr/local/src/spice_root/vdesktop/kernel/x86] Error 2
make[1]: *** [_module_/usr/local/src/spice_root/vdesktop/kernel] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-194.el5-x86_64'
make: *** [all] Error 2
Am I using the wrong kernel source? If so, which source do I need to
use? Or is this some scripting problem?
Thanks
Brian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Spice install problem
2010-05-24 20:55 Spice install problem Brian Milliron
@ 2010-05-24 22:24 ` Anthony Liguori
2010-05-24 23:15 ` Brian Milliron
0 siblings, 1 reply; 3+ messages in thread
From: Anthony Liguori @ 2010-05-24 22:24 UTC (permalink / raw)
To: brianm; +Cc: Brian Milliron, kvm
On 05/24/2010 03:55 PM, Brian Milliron wrote:
> I originally sent this question to the spice-devel list but they told me
> I was better off to send it here... So here goes. I'm
> running into some problems installing Spice .4 on my CentOS 5.5. I was
> following the instructions here:
> http://www.spice-space.org/docs/spice_user_manual.pdf
>
> I've compiled and installed all the dependencies and have the spice
> client installed also, but ran into problems with the vdesktop.
> Specifically this portion of the instructions for my older kernel:
>
>
>> In case of an older kernel (version< 2.6.30)
>> Get kernel sources using the following git repository:
>> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.30.y.git
>> cd<spice_root>/vdesktop/kernel
>> ./configure
>> ln -s<linux-2.6.30 source dir> linux-2.6
>> make sync
>> make
>>
>>
You were steered in the wrong direction :-)
This is a problem specific to vdesktop because they're using a very
outdated version of kvm. The kernel code was split from the userspace
code a long time ago.
Regards,
Anthony Liguori
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Spice install problem
2010-05-24 22:24 ` Anthony Liguori
@ 2010-05-24 23:15 ` Brian Milliron
0 siblings, 0 replies; 3+ messages in thread
From: Brian Milliron @ 2010-05-24 23:15 UTC (permalink / raw)
To: Anthony Liguori; +Cc: brianm, kvm
> You were steered in the wrong direction :-)
>
> This is a problem specific to vdesktop because they're using a very
> outdated version of kvm. The kernel code was split from the userspace
> code a long time ago.
I'm sorry I don't think I fully understand this. Does the vdesktop
contain some version of kvm? Does this mean I'm not going to be able to
use spice with my newer version of kvm?
Brian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-05-24 23:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-24 20:55 Spice install problem Brian Milliron
2010-05-24 22:24 ` Anthony Liguori
2010-05-24 23:15 ` Brian Milliron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox