I recently upgraded my home server with a HighPoint RocketRAID 2640×1 PCI-Express RAID Controller Card. I had the option of software RAID but I figured that I might as well go hardware since the price really wasnt that bad and in case of a software issue the RAID Array should keep working upon a system reinstall.

Unfortunaly the required module for the card is not built into the kernel or available as a packge for Ubuntu 12.10 so I had to compile it manually to get it working.

Outlined below are the steps that I took to get it working on my system, results may vary but this works great and is using an updated version of module (most other info I found was for version 1.2 this is 1.5)

First I wanted to make sure that the operating system was fully updated

After I made sure it was all set to go I needed to install the additional packages to make sure that I was able to get the module to complile. As an extra precation I did a build-dep to make sure everything was there, probably not required … but its a step I took in the process either way.

After everything was updated, and installed I did a reboot just to make sure nothing borked the system and was going to prevent it from booting once the module was compiled.

Now that you are back up and running you need to get the source files and get to work. I store all my source files in /root/src/

Now that you are in the directory you need to create the dkms.conf file with the following information. You can copy and paste it, and then hit Control+D to save/exit it.

Now copy some files and copy/modify the Makefile so we can get this built

Now drop back a directory and lets move some things around.

Lets build it

If everything went well you should be all set and upon reboot you will be able to mount the new partion to your mount point of choosing. Also anytime you update your kernel you will likely have to repeat these steps to make sure that you can compile the module again.

Profile Picture for Shelby DeNike
System Administrator, Designer, and Developer. WordPress consultant. Senior WordPress Support Engineer at Pressed