Linux安装RDAC

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

1.使用uname-r命令查看当前Linux系统的内核版本1.[root@test01~]#uname-r2.2.6.18-128.el52.下载RDAC驱动,登陆,,找到与当前Linux系统内核版本一致的RDAC驱动。根据我实验中的版本,选择下载了Version09.03.0C05.0331(rdac-LINUX-09.03.0C05.0331-source.tar.gz)3.将rdac的安装包上传至~目录(root用户根目录)1.[root@test01~]#pwd2./root3.[root@test01~]#ls-l|greprdac4.-rw-r--r--1rootroot399735Jun2019:33rdac-LINUX-09.03.0C05.0331-source.tar.gz4.解压源码包1.[root@test01~]#tar-zxvfrdac-LINUX-09.03.0C05.0331-source.tar.gz2.[root@test01~]#ls-l|greprdac3.drwxr-xr-x5rootroot4096Apr152010linuxrdac-09.03.0C05.03314.-rw-r--r--1rootroot399735Jun2019:33rdac-LINUX-09.03.0C05.0331-source.tar.gz5.参考解压出来的目录中的Readme.txt文件,编译并安装RDAC软件Linux一定要安装下面的包(此段内容未经我验证):gccglibc-develkernel-headersglibc-headerslibgompkernel-devel或kernel-xen-devel(如果使用启用Xen的内核的话)1.[root@test01linuxrdac-09.03.0C05.0331]#make2.make[1]:Enteringdirectory`/usr/src/kernels/2.6.18-128.el5-x86_64'3.CC[M]/root/linuxrdac-09.03.0C05.0331/MPP_hba.o4.CC[M]/root/linuxrdac-09.03.0C05.0331/mppLnx26p_upper.o5.CC[M]/root/linuxrdac-09.03.0C05.0331/mppLnx26p_sysdep.o6.CC[M]/root/linuxrdac-09.03.0C05.0331/mppCmn_s2tos3.o7.CC[M]/root/linuxrdac-09.03.0C05.0331/mppCmn_SysInterface.o8.CC[M]/root/linuxrdac-09.03.0C05.0331/mppLnx26p_vhbamisc.o9.CC[M]/root/linuxrdac-09.03.0C05.0331/mppLnx26p_vhbatask.o10.CC[M]/root/linuxrdac-09.03.0C05.0331/mppLnx26p_vhba.o11.CC[M]/root/linuxrdac-09.03.0C05.0331/mppLnx26p_vhbaproc.o12.CC[M]/root/linuxrdac-09.03.0C05.0331/mppLnx26p_vhbalib.o13.CC[M]/root/linuxrdac-09.03.0C05.0331/mppLnx26p_vhbaio.o14.LD[M]/root/linuxrdac-09.03.0C05.0331/mppUpper.o15.LD[M]/root/linuxrdac-09.03.0C05.0331/mppVhba.o16.Buildingmodules,stage2.17.MODPOST18.CC/root/linuxrdac-09.03.0C05.0331/mppUpper.mod.o19.LD[M]/root/linuxrdac-09.03.0C05.0331/mppUpper.ko20.CC/root/linuxrdac-09.03.0C05.0331/mppVhba.mod.o21.LD[M]/root/linuxrdac-09.03.0C05.0331/mppVhba.ko22.make[1]:Leavingdirectory`/usr/src/kernels/2.6.18-128.el5-x86_64'23.make[1]:Enteringdirectory`/usr/src/kernels/2.6.18-128.el5-x86_64'24.Buildingmodules,stage2.25.MODPOST26.make[1]:Leavingdirectory`/usr/src/kernels/2.6.18-128.el5-x86_64'27.gcc-I/root/linuxrdac-09.03.0C05.0331-I/root/linuxrdac-09.03.0C05.0331/mpp_linux_headers/-I/root/linuxrdac-09.03.0C05.0331/mpp_linux_sys_headers/-c./utility/mppUtil.c-omppUtil.o28./bin/bash./genfileattributesbld29.gcc-I/root/linuxrdac-09.03.0C05.0331-I/root/linuxrdac-09.03.0C05.0331/mpp_linux_headers/-I/root/linuxrdac-09.03.0C05.0331/mpp_linux_sys_headers/-c./utility/mppUtil26p_sysdep.c-omppUtilSysdep.o30.gccmppUtil.omppUtilSysdep.o-omppUtil31.gcc-ogenuniqueidgenuniqueid.c32.33.[root@test01linuxrdac-09.03.0C05.0331]#makeinstall34.make[1]:Enteringdirectory`/usr/src/kernels/2.6.18-128.el5-x86_64'35.Buildingmodules,stage2.36.MODPOST37.make[1]:Leavingdirectory`/usr/src/kernels/2.6.18-128.el5-x86_64'38.make[1]:Enteringdirectory`/usr/src/kernels/2.6.18-128.el5-x86_64'39.Buildingmodules,stage2.40.MODPOST41.make[1]:Leavingdirectory`/usr/src/kernels/2.6.18-128.el5-x86_64'42./bin/bash./genfileattributesbld43.gcc-I/root/linuxrdac-09.03.0C05.0331-I/root/linuxrdac-09.03.0C05.0331/mpp_linux_headers/-I/root/linuxrdac-09.03.0C05.0331/mpp_linux_sys_headers/-c./utility/mppUtil26p_sysdep.c-omppUtilSysdep.o44.gccmppUtil.omppUtilSysdep.o-omppUtil45.CheckingHostAdapterConfiguration...46.Detected2EmulexHostAdapterPort(s)onthesystem47.Detected2QLogicHostAdapterPort(s)onthesystem48.HostAdaptersfromdifferentsupportedvendorsco-existsonyoursystem.49.Pleasewaitwhilewemodifythesystemconfigurationfiles.50.Yourkernelversionis2.6.18-128.el551.PreparingtoinstallMPPdriveragainstthiskernelversion...52.Generatingmoduledependencies...53.CreatingnewMPPinitrdimage...54.Youmustnowedityourbootloaderconfigurationfile,/boot/grub/menu.lst,to55.addanewbootmenu,whichusesmpp-2.6.18-128.el5.imgastheinitrdimage.56.NowRebootthesystemforMPPtotakeeffect.57.Thenewbootmenuentryshouldlooksomethinglikethis(notethatitmay58.varywithdifferentsystemconfiguration):59.60....61.62.titleRedHatLinux(2.6.18-128.el5)withMPPsupport63.root(hd0,5)64.kernel/vmlinuz-2.6.18-128.el5roroot=LABEL=RH965.initrd/mpp-2.6.18-128.el5.img66....67.MPPdriverpackagehasbeensuccessfullyinstalledonyoursystem.请注意观察安装完成后的最后几行内容,意思是在/boot目录下会产生一个mpp-version.img的文件,并提示必须修改启动列表的文件Youmustnowedityourbootloaderconfigurationfile,/boot/grub/menu.lst….。6.编辑启动项菜单,/boot/grub/menu.lst,将mpp-version.img加入启动项,为了避免因错误无法启动,可以在下面新增一个title。红色字体为修改或增加的部分。1.#grub.confgeneratedbyanaconda2.#3.#Notethatyoudonothavetorerungrubaftermakingchangestothisfile4.#NOTICE:Youhavea/bootpartition.Thismeansthat5.#allkernelandinitrdpathsarerelativeto/boot/,eg.6.#root(hd0,0)7.#kernel/vmlinuz-versionroroot=/dev/rootlv/rootvg8.#initrd/initrd-version.img9.#boot=/dev/cciss/c0d010.default=111.timeout=512.splashimage=(hd0,0)/grub/splash.xpm.gz13.hiddenmenu14.titleRedHatEnterpriseLinuxServer(2.6.18-128.el5)15.root(hd0,0)16.kernel/vmlinuz-2.6.18-128.el5roroot=/dev/rootvg/rootlvrhgbquiet17.initrd/initrd-2.6.18-128.el5.img

1 / 15
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功