砂拉豆 发表于 2018-5-12 11:55:44

IBM DS3400 RDAC for RedHat5.3安装文档-wugj@DC

  1、uname -r 查看操作系统的内核版本号。到
  lsi官方网站下载rdac软件包。for ds3000(rdac-LINUX-09.03.0C05.0251-source.tar.gz)
  2、将rdac-LINUX-09.03.0C05.0251-source.tar.gz上传到linux系统下。
  3、执行解压缩,编译如下:
# cd /tmp/
# ls
  gconfd-root rdac-LINUX-09.03.0C05.0251-source.tar.gz ssh-hLaPQQ3621
# tar -zxvf rdac-LINUX-09.03.0C05.0251-source.tar.gz
  linuxrdac-09.03.0C05.0251/
  linuxrdac-09.03.0C05.0251/MPP_hba.c
  linuxrdac-09.03.0C05.0251/genuniqueid.c
  linuxrdac-09.03.0C05.0251/mppCmn_SysInterface.c
  linuxrdac-09.03.0C05.0251/mppCmn_s2tos3.c
  linuxrdac-09.03.0C05.0251/mppLnx26p_sysdep.c
  linuxrdac-09.03.0C05.0251/mppLnx26p_upper.c
  linuxrdac-09.03.0C05.0251/mppLnx26p_vhba.c
  linuxrdac-09.03.0C05.0251/mppLnx26p_vhbaio.c
  linuxrdac-09.03.0C05.0251/mppLnx26p_vhbalib.c
  linuxrdac-09.03.0C05.0251/mppLnx26p_vhbamisc.c
  linuxrdac-09.03.0C05.0251/mppLnx26p_vhbaproc.c
  linuxrdac-09.03.0C05.0251/mppLnx26p_vhbatask.c
  linuxrdac-09.03.0C05.0251/setupMpp26p.sh
  linuxrdac-09.03.0C05.0251/setupDriver.SUSE
  linuxrdac-09.03.0C05.0251/setupDriver.REDHAT
  linuxrdac-09.03.0C05.0251/mpp_rcscript.SUSE
  linuxrdac-09.03.0C05.0251/mppiscsi_umountall
  linuxrdac-09.03.0C05.0251/mpp_rcscript.REDHAT
  linuxrdac-09.03.0C05.0251/mpp.conf
  linuxrdac-09.03.0C05.0251/mppSupport
  linuxrdac-09.03.0C05.0251/lsvdev
  linuxrdac-09.03.0C05.0251/hbaCheck
  linuxrdac-09.03.0C05.0251/Readme.txt
  linuxrdac-09.03.0C05.0251/utility/
  linuxrdac-09.03.0C05.0251/utility/mppBusRescan26p
  linuxrdac-09.03.0C05.0251/utility/mppUpdate.1
  linuxrdac-09.03.0C05.0251/utility/mppBusRescan.1
  linuxrdac-09.03.0C05.0251/utility/mppUpdate26p
  linuxrdac-09.03.0C05.0251/utility/mppUtil.1
  linuxrdac-09.03.0C05.0251/utility/mppUtil.c
  linuxrdac-09.03.0C05.0251/utility/RDAC.9
  linuxrdac-09.03.0C05.0251/utility/mppUtil26p_sysdep.c
  linuxrdac-09.03.0C05.0251/utility/setupSuseBoot
  linuxrdac-09.03.0C05.0251/utility/mppMkInitrd
  linuxrdac-09.03.0C05.0251/mpp_linux_headers/
  linuxrdac-09.03.0C05.0251/mpp_linux_headers/MPP_Common.h
  linuxrdac-09.03.0C05.0251/mpp_linux_headers/MPP_ProtoTypes.h
  linuxrdac-09.03.0C05.0251/mpp_linux_headers/MPP_RdacInfo.h
  linuxrdac-09.03.0C05.0251/mpp_linux_headers/mppCmn_SysInterface.h
  linuxrdac-09.03.0C05.0251/mpp_linux_headers/mppCmn_s2tos3.h
  linuxrdac-09.03.0C05.0251/mpp_linux_headers/mppUtil_Common.h
  linuxrdac-09.03.0C05.0251/mpp_linux_headers/scsiio.h
  linuxrdac-09.03.0C05.0251/mpp_linux_headers/copyright.h
  linuxrdac-09.03.0C05.0251/mpp_linux_sys_headers/
  linuxrdac-09.03.0C05.0251/mpp_linux_sys_headers/mppLnx26p_prototypes.h
  linuxrdac-09.03.0C05.0251/mpp_linux_sys_headers/mppLnx26p_shared.h
  linuxrdac-09.03.0C05.0251/mpp_linux_sys_headers/mppLnx26p_vhba.h
  linuxrdac-09.03.0C05.0251/mpp_linux_sys_headers/mppLnx_rls_version.h
  linuxrdac-09.03.0C05.0251/mpp_linux_sys_headers/mppUtil_Sysdep.h
  linuxrdac-09.03.0C05.0251/mpp_linux_sys_headers/MPP_Sysdep.h
  linuxrdac-09.03.0C05.0251/mpp_linux_sys_headers/mppLnx_version.h
  linuxrdac-09.03.0C05.0251/genfileattributes
  linuxrdac-09.03.0C05.0251/Makefile
  linuxrdac-09.03.0C05.0251/License.txt
# ls
  gconfd-root                rdac-LINUX-09.03.0C05.0251-source.tar.gz
  linuxrdac-09.03.0C05.0251 ssh-hLaPQQ3621
# cd linuxrdac-09.03.0C05.0251/
# ls
  genfileattributes      mppiscsi_umountall   mppLnx26p_vhbatask.c
  genuniqueid.c          mpp_linux_headers      mpp_rcscript.REDHAT
  hbaCheck               mpp_linux_sys_headers mpp_rcscript.SUSE
  License.txt            mppLnx26p_sysdep.c   mppSupport
  lsvdev               mppLnx26p_upper.c      Readme.txt
  Makefile               mppLnx26p_vhba.c       setupDriver.REDHAT
  mppCmn_s2tos3.c      mppLnx26p_vhbaio.c   setupDriver.SUSE
  mppCmn_SysInterface.c mppLnx26p_vhbalib.c    setupMpp26p.sh
  mpp.conf               mppLnx26p_vhbamisc.c   utility
  MPP_hba.c            mppLnx26p_vhbaproc.c
# make
  make: Entering directory `/usr/src/kernels/2.6.18-128.el5-PAE-i686'
  CC /tmp/linuxrdac-09.03.0C05.0251/MPP_hba.o
  CC /tmp/linuxrdac-09.03.0C05.0251/mppLnx26p_upper.o
  CC /tmp/linuxrdac-09.03.0C05.0251/mppLnx26p_sysdep.o
  CC /tmp/linuxrdac-09.03.0C05.0251/mppCmn_s2tos3.o
  CC /tmp/linuxrdac-09.03.0C05.0251/mppCmn_SysInterface.o
  CC /tmp/linuxrdac-09.03.0C05.0251/mppLnx26p_vhbamisc.o
  CC /tmp/linuxrdac-09.03.0C05.0251/mppLnx26p_vhbatask.o
  CC /tmp/linuxrdac-09.03.0C05.0251/mppLnx26p_vhba.o
  CC /tmp/linuxrdac-09.03.0C05.0251/mppLnx26p_vhbaproc.o
  CC /tmp/linuxrdac-09.03.0C05.0251/mppLnx26p_vhbalib.o
  CC /tmp/linuxrdac-09.03.0C05.0251/mppLnx26p_vhbaio.o
  LD /tmp/linuxrdac-09.03.0C05.0251/mppUpper.o
  LD /tmp/linuxrdac-09.03.0C05.0251/mppVhba.o
  Building modules, stage 2.
  MODPOST
  CC      /tmp/linuxrdac-09.03.0C05.0251/mppUpper.mod.o
  LD /tmp/linuxrdac-09.03.0C05.0251/mppUpper.ko
  CC      /tmp/linuxrdac-09.03.0C05.0251/mppVhba.mod.o
  LD /tmp/linuxrdac-09.03.0C05.0251/mppVhba.ko
  make: Leaving directory `/usr/src/kernels/2.6.18-128.el5-PAE-i686'
  make: Entering directory `/usr/src/kernels/2.6.18-128.el5-PAE-i686'
  Building modules, stage 2.
  MODPOST
  make: Leaving directory `/usr/src/kernels/2.6.18-128.el5-PAE-i686'
  gcc -I/tmp/linuxrdac-09.03.0C05.0251 -I/tmp/linuxrdac-09.03.0C05.0251/mpp_linux_headers/ -I/tmp/linuxrdac-09.03.0C05.0251/mpp_linux_sys_headers/ -c ./utility/mppUtil.c -o mppUtil.o
  /bin/bash ./genfileattributes bld
  gcc -I/tmp/linuxrdac-09.03.0C05.0251 -I/tmp/linuxrdac-09.03.0C05.0251/mpp_linux_headers/ -I/tmp/linuxrdac-09.03.0C05.0251/mpp_linux_sys_headers/ -c ./utility/mppUtil26p_sysdep.c -o mppUtilSysdep.o
  gcc mppUtil.o mppUtilSysdep.o -o mppUtil
  gcc -o genuniqueid genuniqueid.c
# make install
  make: Entering directory `/usr/src/kernels/2.6.18-128.el5-PAE-i686'
  Building modules, stage 2.
  MODPOST
  make: Leaving directory `/usr/src/kernels/2.6.18-128.el5-PAE-i686'
  make: Entering directory `/usr/src/kernels/2.6.18-128.el5-PAE-i686'
  Building modules, stage 2.
  MODPOST
  make: Leaving directory `/usr/src/kernels/2.6.18-128.el5-PAE-i686'
  /bin/bash ./genfileattributes bld
  gcc -I/tmp/linuxrdac-09.03.0C05.0251 -I/tmp/linuxrdac-09.03.0C05.0251/mpp_linux_headers/ -I/tmp/linuxrdac-09.03.0C05.0251/mpp_linux_sys_headers/ -c ./utility/mppUtil26p_sysdep.c -o mppUtilSysdep.o
  gcc mppUtil.o mppUtilSysdep.o -o mppUtil
  Checking Host Adapter Configuration...
  Detected 1 Emulex Host Adapter Port(s) on the system
  Detected 1 LSI Host Adapter Port(s) on the system
  Host Adapters from different supported vendors co-exists on your system.
  Please wait while we modify the system configuration files.
  Your kernel version is 2.6.18-128.el5PAE
  Preparing to install MPP driver against this kernel version...
  Generating module dependencies...
  Creating new MPP initrd image...
  You must now edit your boot loader configuration file, /boot/grub/menu.lst, to
  add a new boot menu, which uses mpp-2.6.18-128.el5PAE.img as the initrd image.
  Now Reboot the system for MPP to take effect.
  The new boot menu entry should look something like this (note that it may
  vary with different system configuration):
  ...

  >  root (hd0,5)
  kernel /vmlinuz-2.6.18-128.el5PAE ro root=LABEL=RH9
  initrd /mpp-2.6.18-128.el5PAE.img
  ...
  MPP driver package has been successfully installed on your system.
#
  4、生成的文件所在目录:
# cd /boot/
# ls
  config-2.6.18-128.el5PAE      initrd-2.6.18-128.el5PAEkdump.img symvers-2.6.18-128.el5PAE.gz
  grub                        lost+found                         System.map-2.6.18-128.el5PAE
  initrd-2.6.18-128.el5PAE.img mpp-2.6.18-128.el5PAE.img          vmlinuz-2.6.18-128.el5PAE
  修改menu.list
  将/boot/grub/menu.list 文件做好备份
  redhat5.3 所在目录/boot/grub/menu.list
  修改initrd /boot/initrd-2.6.18-128.el5PAE.img
  修改后initrd /boot/mpp-2.6.18-128.el5PAE.img
  重启生效!
页: [1]
查看完整版本: IBM DS3400 RDAC for RedHat5.3安装文档-wugj@DC