Here is an unofficial driver patch for the "RocketRaid 232x"! (kernel 4.x)

Hi folks!

My brother was so kind as to write me a patch to be able to compile the official driver source for the newest kernel!

And this I wanted to share :slight_smile:

Prepare:
[ul]
[li]install developer tools (kernel-source, gcc, bcc, make, …)[/li][li]DL official driver source (v1.10)[/li][li]DL unofficial driver patch (can’t upload directly to this forum :()[/li][LIST]
[li]just to be on the save side: virustotal check[/li][/ul]
[/LIST]

Patch driver:
[ul]
[li]~/RocketRAID-232x$ ls -l[/li] total 496
-rw-rw-r-- 1 36523 rr232x-kernel-4-x.patch
-rw-r----- 1 469169 rr232x-linux-src-v1.10-090716-0928.tar.gz
[li]~/RocketRAID-232x$ tar xf rr232x-linux-src-v1.10-090716-0928.tar.gz [/li][li]~/RocketRAID-232x$ ls -ld rr232x-linux-src-v1.10/[/li] drwxr-xr-x 1 44 rr232x-linux-src-v1.10/
[li]~/RocketRAID-232x$ patch -s -p0 <rr232x-kernel-4-x.patch[/li][/ul]

Compile driver:
[ul]
[li]~/RocketRAID-232x$ cd rr232x-linux-src-v1.10/product/rr232x/linux/[/li][li]~/RocketRAID-232x/rr232x-linux-src-v1.10/product/rr232x/linux$ make[/li] make[1]: Entering directory ‘/usr/src/linux-headers-4.4.0-31-generic’
CC [M] ~/RocketRAID-232x/rr232x-linux-src-v1.10/product/rr232x/linux/.build/os_linux.o
CC [M] [FONT=Courier New]~/RocketRAID-232x/rr232x-linux-src-v1.10/product/rr232x/linux/.build/osm_linux.o
CC [M] [/FONT][FONT=Courier New]~/RocketRAID-232x/rr232x-linux-src-v1.10/product/rr232x/linux/.build/div64.o
CC [M] [/FONT][FONT=Courier New]~/RocketRAID-232x/rr232x-linux-src-v1.10/product/rr232x/linux/.build/hptinfo.o
CC [M] [/FONT][FONT=Courier New]~/RocketRAID-232x/rr232x-linux-src-v1.10/product/rr232x/linux/.build/config.o
LD [M] [/FONT][FONT=Courier New]~/RocketRAID-232x/rr232x-linux-src-v1.10/product/rr232x/linux/.build/rr232x.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find~/RocketRAID-232x/rr232x-linux-src-v1.10/product/rr232x/linux/.build/.him_rr232x.o.cmd for~/RocketRAID-232x/rr232x-linux-src-v1.10/product/rr232x/linux/.build/him_rr232x.o
CC [/FONT][FONT=Courier New]~/RocketRAID-232x/rr232x-linux-src-v1.10/product/rr232x/linux/.build/rr232x.mod.o
LD [M] [/FONT][FONT=Courier New]~/RocketRAID-232x/rr232x-linux-src-v1.10/product/rr232x/linux/.build/rr232x.ko
make[1]: Leaving directory ‘/usr/src/linux-headers-4.4.0-31-generic’[/FONT]
[li]~/RocketRAID-232x/rr232x-linux-src-v1.10/product/rr232x/linux$ [/li][/ul]

Install driver:
[ul]
[li]copy anywhere in the kernel-directoy (I used a subfolder):[/li][LIST]
[li]cp -a rr232x.ko /lib/modules/$(uname -r)/kernel/rr232x/[/li][/ul]

[li]update module list[/li][ul]
[li]depmod[/li][/ul]
[/LIST]

That’s it!

I didn’t need to add this module to “/etc/modules-load.d/”, as the driver was automatically loaded on the next start!

I hope this helps! I’d would be nice to get some feedback. I for one didn’t have any problems as of yet! But of course: do this on your own risk!
I’m just glad I can continue using my old’n’true raid controller cards! lol!

Btw: you can just install the official (old) Highpoint Webserver administration! It even (although it’s SystemD and not SysVinit) registers as a service and can be enabled on start.

Here is another DL link: http://www13.zippyshare.com/v/9rhdEBVd/file.html

So, it seems a few things changed with the kernel 4.7 and 4.8, which is why this patch won’t work anymore :frowning:

But now worries, here is the updatet one and it works with 4.4 and up to (at least^^) 4.8!

As always nonliability clause: http://www.gnu.de/documents/gpl-3.0.en.htmlIn no event unless required by applicable law or agreed to in writing will any copyright holder, or any other party who modifies and/or conveys the program as permitted above, be liable to you for damages, including any general, special, incidental or consequential damages arising out of the use or inability to use the program (including but not limited to loss of data or data being rendered inaccurate or losses sustained by you or third parties or a failure of the program to operate with any other programs), even if such holder or other party has been advised of the possibility of such damages.

How-To:

[INDENT=2]tar xf rr232x-linux-src-v1.10-090716-0928.tar.gz
[/INDENT]

  • extract and apply the patch:

[INDENT=2]tar xf rr232x-kernel-4-x-patch.tar.bz2
[/INDENT]
[INDENT=2]patch -s -p0 <rr232x-kernel-4-x.patch
[/INDENT]

  • compile the driver:

[INDENT=2]cd rr232x-linux-src-v1.10/product/rr232x/linux/
[/INDENT]
[INDENT=2]make
[/INDENT]

  • and of course, copy the module and do an update:

[INDENT=2]cp -a rr232x.ko /lib/modules/$(uname -r)/kernel/
[/INDENT]
[INDENT=2]depmod
[/INDENT]

And that’s it :slight_smile:

cheers,
dlder