免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 5088 | 回复: 12
打印 上一主题 下一主题

[VTL与磁带系统] 请教一个ADIC S100带库驱动的问题,望高手指教. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-02-11 01:27 |只看该作者 |倒序浏览
两台HP 9000 rp5470小型机通过FC卡连一光纤交换机和一ADIC S100相连.平时可正常工作.年前从小型机2对带库操作时发现机械臂2不能正常工作.通过IOSCAN命令发现带库的驱动由原来的ATDD变成了STAPE,重装带库驱动和软件老报错说驱动已存在,但在另一台小型机上对带库操作功能都正常.本人对ADIC知晓不多.就知道要磁带机正常工作在HP-UX内核驱动中得有STAPE,SCHGR等相关驱动.通过对比小型号机1,和2的内核驱动配置.发现除了在小型机2中无ATDD外两小型机器内核配相同.下面是安装的一些信息.望高手指点.:
[/home/goldsun/HPUX11i@xtdl02]#ioscan -fC tape
Class     I  H/W Path       Driver   S/W State   H/W Type     Description
==========================================================================
tape      0  0/0/1/0.2.0    stape    CLAIMED     DEVICE       HP      C5683A
tape      1  0/9/0/0.1.0.0.0.0.2  stape    CLAIMED     DEVICE       IBM     ULTRIUM-TD2
tape      2  0/9/0/0.1.0.0.0.0.3  stape    CLAIMED     DEVICE       IBM     ULTRIUM-TD2

[/home@xtdl02]#cd goldsun
[/home/goldsun@xtdl02]#cd HPUX11i
[/home/goldsun/HPUX11i@xtdl02]#ls
InstallAtdd                README.txt                 tapeutil.hpux.4.1.9.0.bin
InstallAtdd.txt            atdd.3.5.0.20.bin
[/home/goldsun/HPUX11i@xtdl02]#./InstallAtdd
./InstallAtdd[9]: rx1600,:  not found
The install script helps you to install the atdd and tapeutil packages.
Check if ATDD is installed on your system ...
The ATDD isn't installed in the current kernel.

Enter the directory where ATDD is located (f.g, /tmp) /home/goldsun/HPUX11i
Enter the filename of the ATDD installed (e.g, atdd.1.7.8.5 or atdd.1.7.8.5.bin) atdd.3.5.0.20.bin
Do you install the tapeutil utility with atdd on your system (y/n)? y
Enter the directory where the tapeutil is located (f.g, /tmp),
or hit the "Enter", if it is in the same directory with the atdd.
Enter the filename of the tapeutil (e.g, tapeutil.hpux.4.0.3.0 or tapeutil.hpux.4.0.3.0.bin) tapeutil.hpux.4.1.9.0.bin

Start installing the tapeutil and atdd packages ...
Check if tapeutil is already installed on the system ...
The current version of tapeutil installed in the system:
  tapeutil                      4.1.9.0        IBM HP-UX Tape Utility Program

Removing it...
/usr/sbin/swremove tapeutil
=======  01/19/09 17:13:23 EAT  BEGIN swremove SESSION
         (non-interactive) (jobid=xtdl02-0067)
       * Session started for user "[email=root@xtdl02]root@xtdl02[/email]".
         
       * Beginning Selection
       * Target connection succeeded for "xtdl02:/".
       * Software selections:
             tapeutil.utility,l=/,r=4.1.9.0,v=IBM
       * Selection succeeded.
         
         
       * Beginning Analysis
       * Session selections have been saved in the file
         "/.sw/sessions/swremove.last".
       * The analysis phase succeeded for "xtdl02:/".
       * Analysis succeeded.
         
         
       * Beginning Execution
       * The execution phase succeeded for "xtdl02:/".
       * Execution succeeded.
         
         
NOTE:    More information may be found in the agent logfile using the
         command "swjob -a log xtdl02-0067 @ xtdl02:/".
=======  01/19/09 17:13:30 EAT  END swremove SESSION (non-interactive)
         (jobid=xtdl02-0067)
Swremove completed
Copy the new tapeutil package to the software depot first ...
/usr/sbin/swcopy -s /home/goldsun/HPUX11i/tapeutil.hpux.4.1.9.0.bin tapeutil
=======  01/19/09 17:13:30 EAT  BEGIN swcopy SESSION (non-interactive)
         (jobid=xtdl02-006
       * Session started for user "[email=root@xtdl02]root@xtdl02[/email]".
         
       * Beginning Selection
       * Target connection succeeded for "xtdl02:/var/spool/sw".
       * Source:
         /home/goldsun/HPUX11i/tapeutil.hpux.4.1.9.0.bin
       * Targets:                xtdl02:/var/spool/sw
       * Software selections:
             tapeutil.utility,r=4.1.9.0,v=IBM
       * Selection succeeded.
         
         
       * Beginning Analysis and Execution
       * Session selections have been saved in the file
         "/.sw/sessions/swcopy.last".
       * "xtdl02:/var/spool/sw":  1 filesets have the selected revision
         already installed.
       * Analysis and Execution succeeded.
         
         
NOTE:    More information may be found in the agent logfile using the
         command "swjob -a log xtdl02-0068 @ xtdl02:/var/spool/sw".
=======  01/19/09 17:13:34 EAT  END swcopy SESSION (non-interactive)
         (jobid=xtdl02-006
Swcopy complete
Install the new tapeutil package to the system ...
/usr/sbin/swinstall tapeutil
=======  01/19/09 17:13:34 EAT  BEGIN swinstall SESSION
         (non-interactive) (jobid=xtdl02-0069)
       * Session started for user "[email=root@xtdl02]root@xtdl02[/email]".
         
       * Beginning Selection
       * Target connection succeeded for "xtdl02:/".
       * Source connection succeeded for "xtdl02:/var/spool/sw".
       * Source:                 /var/spool/sw
       * Targets:                xtdl02:/
       * Software selections:
             tapeutil.utility,r=4.1.9.0,v=IBM
       * Selection succeeded.
         
         
       * Beginning Analysis and Execution
       * Session selections have been saved in the file
         "/.sw/sessions/swinstall.last".
       * The analysis phase succeeded for "xtdl02:/".
       * The execution phase succeeded for "xtdl02:/".
       * Analysis and Execution succeeded.
         
         
NOTE:    More information may be found in the agent logfile using the
         command "swjob -a log xtdl02-0069 @ xtdl02:/".
=======  01/19/09 17:13:48 EAT  END swinstall SESSION (non-interactive)
         (jobid=xtdl02-0069)
Installation complete
Detected a 64 bit HP L Class machine running HP-UX 11.11 OS.

Start installing the atdd package ...

Copy the new atdd package to the Software Depot ...
/usr/sbin/swcopy -s /home/goldsun/HPUX11i/atdd.3.5.0.20.bin atdd
=======  01/19/09 17:13:48 EAT  BEGIN swcopy SESSION (non-interactive)
         (jobid=xtdl02-0070)
       * Session started for user "[email=root@xtdl02]root@xtdl02[/email]".
         
       * Beginning Selection
       * Target connection succeeded for "xtdl02:/var/spool/sw".
       * Source:
         /home/goldsun/HPUX11i/atdd.3.5.0.20.bin
       * Targets:                xtdl02:/var/spool/sw
       * Software selections:
             atdd.driver,r=3.5.0.20
       * Selection succeeded.
         
         
       * Beginning Analysis and Execution
       * Session selections have been saved in the file
         "/.sw/sessions/swcopy.last".
       * "xtdl02:/var/spool/sw":  1 filesets have the selected revision
         already installed.
       * Analysis and Execution succeeded.
         
         
NOTE:    More information may be found in the agent logfile using the
         command "swjob -a log xtdl02-0070 @ xtdl02:/var/spool/sw".
=======  01/19/09 17:13:52 EAT  END swcopy SESSION (non-interactive)
         (jobid=xtdl02-0070)
The swcopy is complete
Install the atdd to the system and autoreboot
/usr/sbin/swinstall -x ask=true atdd
=======  01/19/09 17:13:52 EAT  BEGIN swinstall SESSION
         (non-interactive) (jobid=xtdl02-0071)
       * Session started for user "[email=root@xtdl02]root@xtdl02[/email]".
         
       * Beginning Selection
       * Target connection succeeded for "xtdl02:/".
       * Source connection succeeded for "xtdl02:/var/spool/sw".
       * Software driver has a "request" script. It will be executed
         and corresponding "response" file  will be generated.
         
Would you like to activate the Media Changer support? (Y/N) y
       * Ask task succeeded.
         
       * Source:                 /var/spool/sw
       * Targets:                xtdl02:/
       * Software selections:
             atdd.driver,r=3.5.0.20
       * Selection succeeded.
         
         
       * Beginning Analysis and Execution
       * Session selections have been saved in the file
         "/.sw/sessions/swinstall.last".
ERROR:   "xtdl02:/":  1 check scripts failed.
       * The analysis phase failed for "xtdl02:/".
       * Analysis and Execution had errors.
         
         
NOTE:    More information may be found in the agent logfile using the
         command "swjob -a log xtdl02-0071 @ xtdl02:/".
=======  01/19/09 17:14:00 EAT  END swinstall SESSION (non-interactive)
         (jobid=xtdl02-0071)
Error installing the atdd
Installation incomplete
[/@xtdl02]#swjob -a log xtdl02-0081 @ xtdl02:/
=======  01/19/09 18:30:40 EAT  BEGIN install AGENT SESSION (pid=28354)
         (jobid=xtdl02-0081)
       * Agent session started for user "[email=root@xtdl02]root@xtdl02[/email]". (pid=28354)
       * Beginning Analysis Phase.
       * Source:           xtdl02:/var/spool/sw
       * Target:           xtdl02:/
       * Target logfile:   xtdl02:/var/adm/sw/swagent.log
       * Reading source for product information.
       * Reading source for file information.
  BUNDLE1                       B.11.11        Patch Bundle for atdd
ERROR: * atdd already installed, aborting analysis
ERROR:   The "checkinstall" script for "atdd.driver" failed (exit code
         "1". The script location was
         "/var/tmp/CAAa28354/catalog/atdd/driver/checkinstall".
       * This script had errors and the execution of this fileset
         cannot proceed until the problem is fixed.  Check the above
         output from the script for further details.
       * Executing preDSA command.
       * Summary of Analysis Phase:
ERROR:       Exclude       atdd.driver,r=3.5.0.20
ERROR:   1 of 1 filesets had Errors.
ERROR:   The Analysis Phase had errors.  See the above output for
         details.

=======  01/19/09 18:30:48 EAT  END install AGENT SESSION (Cancelled)
         (pid=28354) (jobid=xtdl02-0081)

希望有类似工程经验的工程师指点.,天天快乐!

论坛徽章:
0
2 [报告]
发表于 2009-02-11 09:11 |只看该作者
dirver从4.1.9降到3.5.0?跟硬件没啥关系吧

单独卸一次先?

论坛徽章:
0
3 [报告]
发表于 2009-02-11 10:00 |只看该作者
我记得不用驱动吧……

论坛徽章:
2
2015年迎新春徽章
日期:2015-03-03 17:33:52数据库技术版块每日发帖之星
日期:2015-09-21 06:20:00
4 [报告]
发表于 2009-02-11 10:14 |只看该作者
机械臂不能工作和driver驱动有啥关系?重新mknod。要用attd驱动的话,运行/opt/atdd/bin/atdd_claim。

论坛徽章:
0
5 [报告]
发表于 2009-02-11 23:05 |只看该作者

回复 #4 w3wu 的帖子

谢谢楼上们的指点,我按提醒测试测试看

论坛徽章:
0
6 [报告]
发表于 2009-02-12 05:02 |只看该作者
IBM ATDD includes two DLKMs, one is atdd for IBM tape drive, the other one is acdd for IBM tape changer. For ADIC tape library with IBM LTO drives, you need to response the question to no ("N") because the changer is ADIC, no IBM.
                   Would you like to activate the Media Changer support? (Y/N) y

However, the changer driver of acdd will claim IBM tape changer only even though you answer "y" if HP-UX native tape changer (schgr) is loaded in the kernel.  

Run # ioscan -funC autoch   to see if the changer is claimed with acdd. If so, run # lsdev -c autoch to find if the schgr driver is loaded into the kernel (schgr is out by default). According HP design, the device is claimed with the driver which is only one in the kernel even though the driver doesn't want to claim it.

Re-install ATDD and answer "n" for the above question. If the schgr is out, load it in the kernel running the sam and reboot the system.

论坛徽章:
0
7 [报告]
发表于 2009-02-15 11:11 |只看该作者

回复 #6 sun_up 的帖子

好的,谢谢楼上,我回头找个时间上现场做做.

论坛徽章:
0
8 [报告]
发表于 2009-06-23 10:08 |只看该作者

回复 #7 triton2008 的帖子

测试的结果还是通不过:(

论坛徽章:
0
9 [报告]
发表于 2009-06-23 11:00 |只看该作者
你两台机器都能操作机械手?

论坛徽章:
0
10 [报告]
发表于 2009-06-23 23:46 |只看该作者
The changer driver inside of ATDD doesn't support ADIC changer, so you must reply "N" when you install ATDD.
               Would you like to activate the Media Changer support? (Y/N) N

You are installing a down level of ATDD built in 2005.
           atdd.20    2005/02/09  1.Fix a problem reading the barcode for 3583/3584 during an inventory.
                                                2.Fix TSM gen3 media problem.

Go to the FTP site to get the latest driver and tapeutil and reinstall it.
ftp://ftp.software.ibm.com/storage/devdrvr/HPUX/
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP