大家可以检查该文件来check 编译是否成功
vi /usr/cofio/vistor/log/MakeScript.log
make: Entering directory `/usr/src/kernels/2.6.18-8.el5-x86_64'
CC [M] /usr/cofio/vistor/src/vskernel.o
In file included from /usr/cofio/vistor/src/vskernel.c:6:
include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.
/usr/cofio/vistor/src/vskernel.c:499: error: conflicting types for 鈥楰MemAllocate鈥?
/usr/cofio/vistor/src/vskernel.h:238: error: previous declaration of 鈥楰MemAllocate鈥?was here
/usr/cofio/vistor/src/vskernel.c:504: error: conflicting types for 鈥楰MallocAtomic鈥?
/usr/cofio/vistor/src/vskernel.h:240: error: previous declaration of 鈥楰MallocAtomic鈥?was here
/usr/cofio/vistor/src/vskernel.c:509: error: conflicting types for 鈥楰Malloc鈥?
/usr/cofio/vistor/src/vskernel.h:239: error: previous declaration of 鈥楰Malloc鈥?was here
/usr/cofio/vistor/src/vskernel.c:522: error: conflicting types for 鈥楳emCpy鈥?
/usr/cofio/vistor/src/vskernel.h:248: error: previous declaration of 鈥楳emCpy鈥?was here
/usr/cofio/vistor/src/vskernel.c:527: error: conflicting types for 鈥楳emSet鈥?
/usr/cofio/vistor/src/vskernel.h:249: error: previous declaration of 鈥楳emSet鈥?was here
/usr/cofio/vistor/src/vskernel.c:532: error: conflicting types for 鈥楳emCmp鈥?
/usr/cofio/vistor/src/vskernel.h:250: error: previous declaration of 鈥楳emCmp鈥?was here
/usr/cofio/vistor/src/vskernel.c: In function 鈥榁Sprintf鈥?
/usr/cofio/vistor/src/vskernel.c:1063: error: cast specifies array type
/usr/cofio/vistor/src/vskernel.c: In function 鈥楻egisterCharDev鈥?
/usr/cofio/vistor/src/vskernel.c:1144: warning: value computed is not used
/usr/cofio/vistor/src/vskernel.c: In function 鈥楩ileOpSetOpen鈥?
/usr/cofio/vistor/src/vskernel.c:1231: warning: assignment from incompatible pointer type
/usr/cofio/vistor/src/vskernel.c: In function 鈥楩ileOpSetRelease鈥?
/usr/cofio/vistor/src/vskernel.c:1240: warning: assignment from incompatible pointer type
/usr/cofio/vistor/src/vskernel.c: In function 鈥楩ileOpSetIoctl鈥?
/usr/cofio/vistor/src/vskernel.c:1249: warning: assignment from incompatible pointer type
/usr/cofio/vistor/src/vskernel.c: In function 鈥楽cDeviceGetVendor鈥?
/usr/cofio/vistor/src/vskernel.c:2079: warning: return discards qualifiers from pointer target type
/usr/cofio/vistor/src/vskernel.c: In function 鈥楽cDeviceGetModel鈥?
/usr/cofio/vistor/src/vskernel.c:2084: warning: return discards qualifiers from pointer target type
/usr/cofio/vistor/src/vskernel.c: In function 鈥楽cDeviceGetRevision鈥?
/usr/cofio/vistor/src/vskernel.c:2089: warning: return discards qualifiers from pointer target type
/usr/cofio/vistor/src/vskernel.c: In function 鈥楽csiAddDevice鈥?
/usr/cofio/vistor/src/vskernel.c:2216: warning: initialization makes pointer from integer without a cast
/usr/cofio/vistor/src/vskernel.c:2215: warning: unused variable 鈥榖Success鈥?
make[1]: *** [/usr/cofio/vistor/src/vskernel.o] Error 1pt.log" 38L, 2986C
make: *** [_module_/usr/cofio/vistor/src] Error 2
make: Leaving directory `/usr/src/kernels/2.6.18-8.el5-x86_64'
4) web界面上的add library 好像不能添加完全的信息(主要是size ),导致在那添加的lib 不可用, .
Library Name:
Robotic Arm:
Tape Drive:
Number of driver:
No of slots:
5) 我现在遇到的问题, 可以backup, 但restore失败.
提示: no data in archive.
status of restore from image created *********= media manager detected image that was not in tar format.
the restore failed to recover the requested files
请牛人指正!!
Vistor vs_drv.ko加载的问题解决方法
#./vistor start
ERROR: module file /usr/cofio/vistor/vs_drv.ko cannot be found
ERROR: Failed to start VTL - 'Failed to load VTL driver module 'vs_drv''. Please check that your platform is supported and contact Cofio Customer support
如上错误是由于一些package没有安装导致,在多次试验后总结解决方法如下
此环境是RHEL 5 u2
# uname -a
Linux cofio 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 athlon i386 GNU/Linux
You must install the following packages:
# rpm -ivh [package] # package指的是如下rpm package
kernel-2.6.18-92.el5.i686.rpm
libgomp-4.1.2-42.el5.i386.rpm
kernel-headers-2.6.18-92.el5.i386.rpm
glibc-headers-2.5-24.i386.rpm
glibc-devel-2.5-24.i386.rpm
gcc-4.1.2-42.el5.i386.rpm
kernel-devel-2.6.18-92.el5.i686.rpm