Подсобите советом.
Установил на vIrtualBox 1.5.6_OSE системку Kubuntu 8.10
В меню виртуальной машины жму "Установить дополнения гостевой ОС". В Kubunt'е сразу подключается диск. Там имеется скрипт VBoxLinuxAdditions.run
В нём и состоит проблема:
root@dimon-desktop:/media/cdrom# ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 1.5.6 Guest Additions for Linux installation...
VirtualBox 1.5.6 Guest Additions installation
Building the VirtualBox Guest Additions kernel module...
Unable to build the kernel module. See the log file /var/log/vboxadd-install.log
for more details.
ОК. Идём в /var/log/vboxadd-install.log:
Installing VirtualBox 1.5.6 Guest Additions, built Tue Feb 19 17:21:02 CET 2008
Testing the setup of the guest system
Building a test kernel module...
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.27-11-generic/build SUBDIRS=/tmp/selfgz5256/module/test SRCROOT=/tmp/selfgz5256/module/test modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz5256/module/test/.tmp_versions ; rm -f /tmp/selfgz5256/module/test/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/selfgz5256/module/test
gcc -Wp,-MD,/tmp/selfgz5256/module/test/.test.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.2/include -D__KERNEL__ -Iinclude -I/usr/src/linux-headers-2.6.27-11-generic/arch/x86/include -include include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -I/lib/modules/2.6.27-11-generic/build/include -I/tmp/selfgz5256/module/test/ -I/tmp/selfgz5256/module/test/include -I/tmp/selfgz5256/module/test/r0drv/linux -D__KERNEL__ -DMODULE -D__LINUX__ -DIN_RING0 -D_X86_ -DIN_RT_R0 -DIN_SUP_R0 -DVBGL_VBOXGUEST -DVBGL_HGCM -DVBOX_HGCM -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(test)" -D"KBUILD_MODNAME=KBUILD_STR(vboxadd_test)" -c -o /tmp/selfgz5256/module/test/.tmp_test.o /tmp/selfgz5256/module/test/test.c
ld -m elf_i386 -r -o /tmp/selfgz5256/module/test/vboxadd_test.o /tmp/selfgz5256/module/test/test.o
(cat /dev/null; echo kernel//tmp/selfgz5256/module/test/vboxadd_test.ko;) > /tmp/selfgz5256/module/test/modules.order
Building modules, stage 2.
make -f /usr/src/linux-headers-2.6.27-11-generic/scripts/Makefile.modpost
scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.27-11-generic/Module.symvers -I /tmp/selfgz5256/module/test/Module.symvers -o /tmp/selfgz5256/module/test/Module.symvers -S -K /usr/src/linux-headers-2.6.27-11-generic/Module.markers -M /tmp/selfgz5256/module/test/Module.markers -w -s
gcc -Wp,-MD,/tmp/selfgz5256/module/test/.vboxadd_test.mod.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.2/include -D__KERNEL__ -Iinclude -I/usr/src/linux-headers-2.6.27-11-generic/arch/x86/include -include include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -I/lib/modules/2.6.27-11-generic/build/include -I/tmp/selfgz5256/module/test/ -I/tmp/selfgz5256/module/test/include -I/tmp/selfgz5256/module/test/r0drv/linux -D__KERNEL__ -DMODULE -D__LINUX__ -DIN_RING0 -D_X86_ -DIN_RT_R0 -DIN_SUP_R0 -DVBGL_VBOXGUEST -DVBGL_HGCM -DVBOX_HGCM -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vboxadd_test.mod)" -D"KBUILD_MODNAME=KBUILD_STR(vboxadd_test)" -DMODULE -c -o /tmp/selfgz5256/module/test/vboxadd_test.mod.o /tmp/selfgz5256/module/test/vboxadd_test.mod.c
ld -r -m elf_i386 --build-id -o /tmp/selfgz5256/module/test/vboxadd_test.ko /tmp/selfgz5256/module/test/vboxadd_test.o /tmp/selfgz5256/module/test/vboxadd_test.mod.o
Inserting the test module module/test/vboxadd_test.ko into the kernel.
Building the VirtualBox Guest Additions kernel module.
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.27-11-generic/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.0
grep: /tmp/vbox.0/include/linux/version.h: No such file or directory
gcc -Wp,-MD,/tmp/vbox.0/.cmc.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.2/include -D__KERNEL__ -Iinclude -I/usr/src/linux-headers-2.6.27-11-generic/arch/x86/include -include include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -I/lib/modules/2.6.27-11-generic/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -D_X86_ -DIN_RT_R0 -DIN_SUP_R0 -DVBGL_VBOXGUEST -DVBOX_HGCM -DLOG_TO_BACKDOOR -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(cmc)" -D"KBUILD_MODNAME=KBUILD_STR(vboxadd)" -c -o /tmp/vbox.0/.tmp_cmc.o /tmp/vbox.0/cmc.c
In file included from /tmp/vbox.0/cmc.c:17:
/tmp/vbox.0/r0drv/linux/the-linux-kernel.h:55:27: error: asm/semaphore.h: No such file or directory
make[2]: *** [/tmp/vbox.0/cmc.o] Ошибка 1
make[1]: *** [_module_/tmp/vbox.0] Ошибка 2
make: *** [vboxadd] Ошибка 2
Не подскажете, куда копать, чтобы установились ети дополнения?