Ubuntu Server 12.04 LTS RocketRaid 26xx DKMS Driver

First, grab the build tools and dkms:
sudo apt-get install build-essential dkms libwww-perl

Download the driver source from Highpoint:
lwp-download http://www.highpoint-tech.com/BIOS_Driver/rr26xx/2640X1-2640X4-2642/Linux/rr264x-linux-src-v1.4-120524-1520.tar.gz

Extract the tar:
tar -zxvf rr264x-linux-src-v1.4-120524-1520.tar.gz
cd rr264x-linux-src-v1.4

Create the DKMS configuration file:
cat >dkms.conf

Cut and Paste the following text:
MAKE="make -C product/rr2640/linux KERNDIR=/lib/modules/${kernelver}/build"
CLEAN="make -C product/rr2640/linux/ clean"
BUILT_MODULE_NAME=rr26xx
DEST_MODULE_LOCATION=/kernel/drivers/scsi/
BUILT_MODULE_LOCATION=product/rr2640/linux/
PACKAGE_NAME=rr264x
PACKAGE_VERSION=1.4
AUTOINSTALL=yes
REMAKE_INITRD=yes
Hit "Control-D" (as in Delta) to close the file.

Run these commands:
sudo cp -R . /usr/src/rr264x-1.4
sudo dkms add -m rr264x -v 1.4
sudo dkms build -m rr264x -v 1.4
sudo dkms install -m rr264x -v 1.4

That should be it, I have not tested this from scratch. There are possibly steps missing, but until I have a clean system to test this is all I have for now.

References:
Major help from CharlesA on the Ubuntu forums http://ubuntuforums.org/showpost.php?p=12014967&postcount=8

No comments:

Post a Comment