You are not logged in.
Hi,
Has anyone tried the RocketRaid driver from highpoint?
http://www.highpoint-tech.com/USA/bios_rr2220.htm
Thanks
Offline
I've tried to forge ahead and compile the driver. Following the included instructions, I have received this error:
$ make install
../../../inc/linux/Makefile.def:80: *** Cannot find kernel version. Check /lib/modules/2.6.18-ARCH/build/include/linux/version.h.. Stop.
Any help would be greatly appreciated, thanks.
Offline
Just an update - looks like the current provided driver is not 2.6.18 compatible.
Offline
A new v1.06 has been released
Offline
Try this:
PKGBUILD -
pkgname=rr222x
pkgver=1.06
_extraver=061206-1453
pkgrel=1
pkgdesc="Highpoint RocketRaid 222x driver. For kernel26"
depends=('kernel26')
source=(http://www.highpoint-tech.com/BIOS_Driver/rr222x/Linux/rr222x-linux-src-${pkgver}-${_extraver}.tar.gz
Makefile.def.patch)
url="http://www.highpoint-tech.com/USA/bios_rr2220.htm"
install=rr222x.install
_kernver=2.6.19-ARCH
build() {
cd $startdir/src/rr222x-linux-src-${pkgver}/product/rr2220/linux
patch -Np0 -i $startdir/src/Makefile.def.patch || return 1
make KERNELDIR=/lib/modules/${_kernver}/build || return 1
install -Dm644 hptmv6.ko $startdir/pkg/lib/modules/$_kernver/kernel/drivers/scsi/hptmv6.ko
sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/rr222x.install
}
md5sums=('50a7167477be5748df3d71b3b1be09b5' 'fd9431da1650c2ee6b06f8cadb3aab2b')
Makefile.def.patch -
--- ../../../inc/linux/Makefile.def 2006-12-06 06:53:48.000000000 +0000
+++ ../../../inc/linux/Makefile.def.new 2006-12-17 23:56:32.000000000 +0000
@@ -55,6 +55,8 @@
ifeq ($(ARCH), x86_64)
C_OPTS += -mcmodel=kernel -mno-red-zone
C_DEFINES += -DBITS_PER_LONG=64
+else
+ARCH := i686
endif
HPT_LIB := $(HPT_ROOT)/lib/linux/$(if $(DEBUG:1=),free,chk)-$(ARCH)
rr222x.install -
# arg 1: the new package version
post_install() {
post_upgrade
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
# updating module dependencies
echo ">>>"
echo ">>> Updating module dependencies. Please wait ..."
KERNEL_VERSION=2.6.19-ARCH
depmod -a -v $KERNEL_VERSION > /dev/null 2>&1
}
# arg 1: the old package version
post_remove() {
post_upgrade
}
op=$1
shift
$op $*
Builds with no errors, but completely untested, so at your own risk etc. If it works, it's yours to do what you want with.
Offline
Wow! Thanks! Will give it a try.
Offline