Posted by: kezhong | July 28, 2011

Install and Update CentOS on RocketRAID 2720 Controller as Hardware Raid

Prepare the first DVD of CentOS 5.5, and install Linux operating system as RocketRAID 271x/272x Red Hat Enterprise/CentOS Linux Installation Guide.

Install WebGui for mamangement
# mkdir /home/raid
# cd /home/raid
# wget http://www.highpoint-tech.cn/BIOS_Driver/GUI/linux/WebGui/WebGUI-Linux-v1.4-14-100917.tgz
# tar xvzf WebGUI-Linux-v1.4-14-100917.tgz
# rpm -i hptsvr-https-1.4-14.x86_64.rpm

Download the dirver source code
# wget http://www.highpoint-tech.cn/BIOS_Driver/rr272x_1x/Linux/rr272x_1x-linux-src-v1.1-100719-1113.tar.gz
# tar xvzf rr272x_1x-linux-src-v1.1-100719-1113.tar.gz

Update the kernel
# yum update -y
After updating, don’t reboot, or the system will not boot up.

Check if update to the latest kernel release
# ls -l /lib/modules
drwxr-xr-x 6 root root 4096 Jun 28 10:08 2.6.18-194.el5
drwxr-xr-x 6 root root 4096 Jun 28 10:38 2.6.18-238.12.1.el5
From the above, we know the latest kernel release is 2.6.18-238.12.1.el5

Compile and install the driver for the latest kernel release
If there is no latest release installed, we don’t need to do this step.
# cd /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/
# make KERNELDIR=/lib/modules/2.6.18-238.12.1.el5/build/
make[1]: Entering directory `/usr/src/kernels/2.6.18-238.12.1.el5-x86_64′
  CC [M]  /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/os_linux.o
  CC [M]  /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/osm_linux.o
  CC [M]  /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/div64.o
  CC [M]  /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/hptinfo.o
  CC [M]  /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/config.o
  LD [M]  /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/rr272x_1x.o
  Building modules, stage 2.
  MODPOST
WARNING: could not find /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/.him_rr272x.o.cmd for /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/him_rr272x.o
  CC      /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/rr272x_1x.mod.o
  LD [M]  /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/rr272x_1x.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-238.12.1.el5-x86_64′

# make install KERNELDIR=/lib/modules/2.6.18-238.12.1.el5/build/
make[1]: Entering directory `/usr/src/kernels/2.6.18-238.12.1.el5-x86_64′
  CC [M]  /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/os_linux.o
  CC [M]  /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/osm_linux.o
  CC [M]  /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/div64.o
  CC [M]  /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/hptinfo.o
  CC [M]  /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/config.o
  LD [M]  /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/rr272x_1x.o
  Building modules, stage 2.
  MODPOST
WARNING: could not find /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/.him_rr272x.o.cmd for /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/him_rr272x.o
  LD [M]  /home/raid/rr272x_1x-linux-src-v1.1/product/rr272x/linux/.build/rr272x_1x.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-238.12.1.el5-x86_64′
You made a module for 2.6.18-238.12.1.el5 which does not match current kernel.
The driver will be installed for kernel 2.6.18-238.12.1.el5.
Deleting previous installed driver module rr272x_1x…
Install the new driver module…
Removing conflicted driver module…
Updating module dependencies…Done.
Checking for initrd images to be updated…
Backup /boot/initrd-2.6.18-238.12.1.el5.img to /boot/initrd-2.6.18-238.12.1.el5.img.rr272x_1x.
Modulefile is /etc/modprobe.conf

Reboot the system
# reboot

Modify the yum program
In case we update the system and forget to compile and install the driver for the latest kernel release, modify the yum program, and add the following lines below the line “import sys” in /usr/bin/yum
# vi /usr/bin/yum
if “update” in sys.argv:
    print >> sys.stderr, “””\
****************************************************************************************************************
* Because using Hardware Raid, after updating, do not reboot!!!   Please check the below link:                                                     *
* https://kezhong.wordpress.com/2011/07/28/install-and-update-centos-on-rocketraid-2720-controller-as-hardware-raid/ ‎   *
****************************************************************************************************************
“””


Responses

  1. Hey just bought a rocket raid 2720 and would like to install it on a Centos 6.X box. Would you mind advising the steps it would take?

    • it seems not to support centos 6.x

  2. Been trying this with installing centOS5.8 onto a rocket raid 2220. Nothing on the net worked. This is how I did it

    http://berrance.com/page.php?story=61

    The instructions should work for most rocketraid cards

  3. Many thanks! I hoped to find this documented by High Point, but this was not the case. I was able to upgrade my CentOS 6.2 with this information.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: