- 论坛徽章:
- 0
|
本帖最后由 johnson2002 于 2010-07-06 17:24 编辑
1) 重新建库的话,得killall httpd, 删掉所有的/usr/cofio目录文件.
重新执行 vs-install , 再把之前注册的key重新注册一下 vs-license -s *****.
重新执行 vs-install 最好选择1 个drive, size选为1G, 否则会出现96错误.
2) as4不能安装,必须as5.
3) 'Failed to load VTL driver module 'vs_drv' 问题,有人说是 因为包没装全的原因, 我自己的实验是:装了所有的开发包的话在执行vs-install的时候也提示. 我试过在 as5 u4 x86-64, as5 GA x86-64 全报这个错误(我已经装全开发的包了) ,后来在as5 u4 x86, as5 GA x86 都成功了,感觉 64位上不能安装. 编译老出错,但网站上只说需要 2.6的内核,没说64位的不支持.
我的测试就是只能在32 位的linux上安装,才不会有'Failed to load VTL driver module 'vs_drv' 问题. 感觉其他的同学测试也是多用32位。
大家可以检查该文件来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
请牛人指正!!
-----------------------------------------付别人的总结:---------------------------------------------
有几点注意事项:
1.请保证RHEL为5.0版本,内核为2.6.18-8.el5,尝试过使用RHEL 5.1和5.2,有不同的错误提示。
2.安装RHEL时,请选择开发工具,禁用防火墙,禁用SELinux。
3.使用激活码时,如果已经过期,可以尝试更改系统日期。
4.使用iscsi initator识别到带库之后,点击取消,不必安装驱动。
5.使用symantec的驱动程序安装包,选择为所有磁带库设备使用symantec驱动,并一定勾选即插即用(一开始没有勾选,使得每次重启之后,
无法在iscsi服务启动并找到带库之前加载驱动,会失败)。在安装完驱动之后,会提示重新启动,不需要重启,可以立即使用nbu存储设备配置界
面来识别到机械臂和驱动器,在识别过程中,机械臂和驱动器没有关联,可以通过拖放,将驱动器拖放到机械臂下。
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
# tar -zxvf vistor_2_1_1.tgz
vs-dist
vs-install
# ./vs-install
。。。。
即可成功完成vistor的正确安装 |
|