如何在Linux OS下安装Tape Driver驱动

如何在Linux OS下安装Tape Driver驱动,第1张

1. 在如下网站中校验磁带产品与主机以及其间连接设备兼容性:http://www-03.ibm.com/systems/support/storage/config/ssic/displayesssearchwithoutjs.wss?start_over=yes

2. 兼容性验证通过后,在如下网址ftp://ftp.software.ibm.com/storage/devdrvr/Linux/lin_tape_source-lin_taped/ 下载磁带设备驱动程序,这里需要下载两个驱动,一个为源码驱动lin_tape-1.xx.0-1.src.rpm.bin;另外一个是ftp://ftp.software.ibm.com/storage/devdrvr/Linux/lin_tape_source-lin_taped/目录下的守护进程驱动,按照主机Linux OS类型以及内核版本选择,例如:rhel5 32bit的守护进程驱动是 ftp://ftp.software.ibm.com/storage/devdrvr/Linux/lin_tape_source-lin_taped/lin_taped/RHEL5/ 目录下的lin_taped-1.xx.0-rhel5.i386.rpm.bin,把下载的驱动拷贝到需要安装的服务器中。

3. 使用rpmbuild -- rebuild <驱动名称>,来编译源码驱动,例如:

# rpmbuild -–rebuild lin_tape-1.xx.0-1.src.rpm.bin

4. 运行后会在当前界面最下面显示一个rpm安装包路径,例如:

Wrote: /usr/src/redhat/RPMS/i386/lin_tape-1.xx.0-1.i386.rpm

5. 使用rpm –ivh <文件名>,来安装这个rpm安装包,例如:

# rpm -ivh /usr/src/redhat/RPMS/i386/lin_tape-1.xx.0-1.i386.rpm

6. 安装守护程序,例如:

# rpm -ivh /usr/src/redhat/RPMS/i386/lin_taped-1.xx.0-rhel5.i386.rpm

7. 完成安装

(1)首先,用内核的 allnoconfig 配置目标,得到一个最最基本的内核配置。即,执行下面的命令:make allnoconfig内核的 allnoconfig 配置目标会把所有的内核选项都设置为no,也就是把它们既不编译进内核,也不编译成模块。有了这个最基本的配置,我们再添加必须的配置项:再执行make menuconfig命令,按下面的步骤添加其他的配置——(2)把 Executable file formats 下的ELF 和 emulations for 32bit ELF 选项编译进内核。(3)在 Processor type and features 下面,选择合适的CPU类型。(4)选择PCI/PCI-Express支持,位于Bus options (PCI, PCMCIA, EISA, MCA, ISA) 配置目录下。(5)加入对根文件系统所在磁盘控制器的驱动:Device Driver|---->SCSI device support|---->SCSI disk support|----->SCSI low-level drivers|---->Serial ATA (SATA) support|---->intel PIIX/ICH SATA support(6)加入Ext2文件系统的支持:在 File systems 配置目录下,选择 Second extended fs support。如果根文件系统是Ext3,则选择 Ext3 journalling file system support。(7)为了是 Udev 正常工作,需要内核支持 Unix domain sockets。此配置选项位于 Networking 配置目录中的 Networking support --->Networking options 下。(8)使内核支持 /proc 虚拟文件系统和 tmpfs 文件系统:File systems --->Pseudo filesystems --->/proc file system support / Virtual memory file system support (former shm fs)(9)支持 swap 分区:General setup --->Support for paging of anonymous memory (swap)(10)支持 RTC 设备:Device Drivers --->Character devices --->Enhanced Real Time Clock Support(11)为了充分发挥我的双核CPU的能力,我又加入了对SMP的支持:Processor type and features --->Symmetric multi-processing support。


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/yw/8743048.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-20
下一篇 2023-04-20

发表评论

登录后才能评论

评论列表(0条)

保存