当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 无法挂在vboxsf
帖子发表于 : 2011-02-09 14:52 

注册: 2010-11-01 15:37
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
root@fct-tan:~# mount -t vboxsf D /mnt
mount: 未知的文件系统 `vboxsf'

root@fct-tan:~# cat /proc/filesystems
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev cgroup
nodev cpuset
nodev tmpfs
nodev devtmpfs
nodev debugfs
nodev securityfs
nodev sockfs
nodev pipefs
nodev anon_inodefs
nodev devpts
ext3
ext2
ext4
nodev ramfs
nodev hugetlbfs
nodev ecryptfs
nodev fuse
fuseblk
nodev fusectl
nodev mqueue
nodev binfmt_misc
iso9660

然后试卷安装增强包。 却告知:
Building the main Guest Additions moudle ...fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)

vboxadd-install.log(部分)
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.38-1-generic/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/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


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 无法挂在vboxsf
帖子发表于 : 2011-02-09 14:56 

注册: 2010-11-01 15:37
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
本来行传附件的,可是限制了。log文件上传。
还是贴出来吧!
/var/log/vboxadd-install.log


make KBUILD_VERBOSE=1 -C /lib/modules/2.6.38-1-generic/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/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
gcc -Wp,-MD,/tmp/vbox.0/.test.o.d -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/4.5.2/include -I/usr/src/linux-headers-2.6.38-1-generic/arch/x86/include -Iinclude -include include/generated/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/lib/modules/2.6.38-1-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 -DVBGL_HGCM -DVBOX_WITH_HGCM -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(test)" -D"KBUILD_MODNAME=KBUILD_STR(vboxadd_test)" -c -o /tmp/vbox.0/.tmp_test.o /tmp/vbox.0/test.c
if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/test.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-2.6.38-1-generic/scripts/recordmcount "/tmp/vbox.0/test.o"; fi; fi;
ld -m elf_i386 -r -o /tmp/vbox.0/vboxadd_test.o /tmp/vbox.0/test.o
(cat /dev/null; echo kernel//tmp/vbox.0/vboxadd_test.ko;) > /tmp/vbox.0/modules.order
make -f /usr/src/linux-headers-2.6.38-1-generic/scripts/Makefile.modpost
scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.38-1-generic/Module.symvers -I /tmp/vbox.0/Module.symvers -o /tmp/vbox.0/Module.symvers -S -w -s
gcc -Wp,-MD,/tmp/vbox.0/.vboxadd_test.mod.o.d -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/4.5.2/include -I/usr/src/linux-headers-2.6.38-1-generic/arch/x86/include -Iinclude -include include/generated/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/lib/modules/2.6.38-1-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 -DVBGL_HGCM -DVBOX_WITH_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/vbox.0/vboxadd_test.mod.o /tmp/vbox.0/vboxadd_test.mod.c
ld -r -m elf_i386 -T /usr/src/linux-headers-2.6.38-1-generic/scripts/module-common.lds --build-id -o /tmp/vbox.0/vboxadd_test.ko /tmp/vbox.0/vboxadd_test.o /tmp/vbox.0/vboxadd_test.mod.o
/tmp/vbox.0/Makefile.include.header:93: Using BUILD_TYPE='release' from the environment.
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.38-1-generic/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/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
/tmp/vbox.0/Makefile.include.header:93: Using BUILD_TYPE='release' from the environment.
gcc -Wp,-MD,/tmp/vbox.0/.test_drm.o.d -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/4.5.2/include -I/usr/src/linux-headers-2.6.38-1-generic/arch/x86/include -Iinclude -include include/generated/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/lib/modules/2.6.38-1-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 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DLOG_TO_BACKDOOR -DRT_WITH_VBOX -DIN_MODULE -DIN_GUEST_R0 -DRT_ARCH_X86 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(test_drm)" -D"KBUILD_MODNAME=KBUILD_STR(vboxadd_test_drm)" -c -o /tmp/vbox.0/.tmp_test_drm.o /tmp/vbox.0/test_drm.c
if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/test_drm.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-2.6.38-1-generic/scripts/recordmcount "/tmp/vbox.0/test_drm.o"; fi; fi;
ld -m elf_i386 -r -o /tmp/vbox.0/vboxadd_test_drm.o /tmp/vbox.0/test_drm.o
(cat /dev/null; echo kernel//tmp/vbox.0/vboxadd_test_drm.ko;) > /tmp/vbox.0/modules.order
make -f /usr/src/linux-headers-2.6.38-1-generic/scripts/Makefile.modpost
/tmp/vbox.0/Makefile.include.header:93: Using BUILD_TYPE='release' from the environment.
scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.38-1-generic/Module.symvers -I /tmp/vbox.0/Module.symvers -o /tmp/vbox.0/Module.symvers -S -w -s
gcc -Wp,-MD,/tmp/vbox.0/.vboxadd_test_drm.mod.o.d -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/4.5.2/include -I/usr/src/linux-headers-2.6.38-1-generic/arch/x86/include -Iinclude -include include/generated/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/lib/modules/2.6.38-1-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 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DLOG_TO_BACKDOOR -DRT_WITH_VBOX -DIN_MODULE -DIN_GUEST_R0 -DRT_ARCH_X86 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vboxadd_test_drm.mod)" -D"KBUILD_MODNAME=KBUILD_STR(vboxadd_test_drm)" -DMODULE -c -o /tmp/vbox.0/vboxadd_test_drm.mod.o /tmp/vbox.0/vboxadd_test_drm.mod.c
ld -r -m elf_i386 -T /usr/src/linux-headers-2.6.38-1-generic/scripts/module-common.lds --build-id -o /tmp/vbox.0/vboxadd_test_drm.ko /tmp/vbox.0/vboxadd_test_drm.o /tmp/vbox.0/vboxadd_test_drm.mod.o
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.38-1-generic/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/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
gcc -Wp,-MD,/tmp/vbox.0/.VBoxGuest-linux.o.d -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/4.5.2/include -I/usr/src/linux-headers-2.6.38-1-generic/arch/x86/include -Iinclude -include include/generated/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/lib/modules/2.6.38-1-generic/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxguest/ -I/tmp/vbox.0/vboxguest/include -I/tmp/vbox.0/vboxguest/r0drv/linux -D__KERNEL__ -DMODULE -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 -DIN_MODULE -DRT_WITH_VBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DRT_ARCH_X86 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(VBoxGuest_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxguest)" -c -o /tmp/vbox.0/.tmp_VBoxGuest-linux.o /tmp/vbox.0/VBoxGuest-linux.c
In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:34:0,
from /tmp/vbox.0/VBoxGuest-linux.c:27:
/tmp/vbox.0/include/iprt/types.h:105:31: fatal error: linux/autoconf.h: 没有那个文件或目录
compilation terminated.
make[2]: *** [/tmp/vbox.0/VBoxGuest-linux.o] 错误 1
make[1]: *** [_module_/tmp/vbox.0] 错误 2
make: *** [vboxguest] 错误 2


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 无法挂在vboxsf
帖子发表于 : 2011-02-09 20:42 

注册: 2011-01-23 15:05
帖子: 352
送出感谢: 14
接收感谢: 10
无法挂载,应该是没有安装Virtualbox Guest Additions。
VBoxAdditions装不上,看样子好像是头文件缺少。可以试试重装一下头文件。
也许可以使用以下命令,需root权限。
代码:
apt-get install linux-headers-`uname  -r`

记得要对应内核版本。
代码:
uname -a


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译