Proxmox and Rocket Raid 2642

P

Praetorian

Guest
I upgraded my 2.0rc1 today to 2.0 final and it went off without a hitch. Awesome job guys!!!

I setup my system to run with /boot on a usb stick and everything else on a Raid10 MD array (this is a development system, I know the pitfalls of running this way, but God is it fast)

The last thing I want to get working is that I want to get my Rocket Raid 2642 card working in proxmox so that I can save backups to external drives. Does anyone have the rr26xx.ko file for the 2.0 final kernel compiled yet? If not then how might I go about compiling it on the system? I tried to install gcc and it said there was no installation canidate.

Thanks for any info in this last hurdle.
 
...
If not then how might I go about compiling it on the system? I tried to install gcc and it said there was no installation canidate.
...
Hi,
do you forgot an "apt-get update"?

gcc is there (of course not installed on a stadard pve-installation):
Code:
# dpkg -l | grep gcc
ii  gcc                                  4:4.4.5-1                          The GNU C compiler
ii  gcc-4.3                              4.3.5-4                            The GNU C compiler
ii  gcc-4.3-base                         4.3.5-4                            The GNU Compiler Collection (base package)
ii  gcc-4.4                              4.4.5-8                            The GNU C compiler
ii  gcc-4.4-base                         4.4.5-8                            The GNU Compiler Collection (base package)
ii  libgcc1                              1:4.4.5-8                          GCC support library
Udo
 
I compiled it and it works fine. You will need to install the kernel source and dev tools to compile it.apt-get update && apt-get install build-essential libtool linux-source linux-kernel-headersDownload the driver source from http://www.highpoint-tech.cn/BIOS_Driver/rr26xx/264x/rr2640-linux-src-v1.2-090925-0932.tar.gzUnpack it and cd to ~/rr2640-linux-src-v1.2/product/rr2640/linuxThen enter make, and you will have the .ko module in the same dir. make install will install it under /lib/modules/.... and update initrd.
 
I compiled it and it works fine. You will need to install the kernel source and dev tools to compile it.apt-get update && apt-get install build-essential libtool linux-source linux-kernel-headersDownload the driver source from http://www.highpoint-tech.cn/BIOS_Driver/rr26xx/264x/rr2640-linux-src-v1.2-090925-0932.tar.gzUnpack it and cd to ~/rr2640-linux-src-v1.2/product/rr2640/linuxThen enter make, and you will have the .ko module in the same dir. make install will install it under /lib/modules/.... and update initrd.

So when I do the apt-get update I get:
Code:
root@fishtank:/etc/apt# apt-get update
Hit [URL]http://security.debian.org[/URL] squeeze/updates Release.gpg
Ign [URL]http://security.debian.org/[/URL] squeeze/updates/contrib Translation-en
Ign [URL]http://security.debian.org/[/URL] squeeze/updates/contrib Translation-en_US
Get:1 [URL]http://http.us.debian.org[/URL] squeeze Release.gpg [1,672 B]
Ign [URL]http://http.us.debian.org/debian/[/URL] squeeze/contrib Translation-en
Ign [URL]http://http.us.debian.org/debian/[/URL] squeeze/contrib Translation-en_US
Ign [URL]http://http.us.debian.org/debian/[/URL] squeeze/main Translation-en
Ign [URL]http://http.us.debian.org/debian/[/URL] squeeze/main Translation-en_US
Ign [URL]http://security.debian.org/[/URL] squeeze/updates/main Translation-en
Ign [URL]http://security.debian.org/[/URL] squeeze/updates/main Translation-en_US
Hit [URL]http://security.debian.org[/URL] squeeze/updates Release
Get:2 [URL]http://http.us.debian.org[/URL] squeeze Release [107 kB]
Hit [URL]http://security.debian.org[/URL] squeeze/updates/main amd64 Packages
Hit [URL]http://download.proxmox.com[/URL] squeeze Release.gpg
Ign [URL]http://download.proxmox.com/debian/[/URL] squeeze/pve Translation-en
Ign [URL]http://download.proxmox.com/debian/[/URL] squeeze/pve Translation-en_US
Hit [URL]http://security.debian.org[/URL] squeeze/updates/contrib amd64 Packages
Hit [URL]http://download.proxmox.com[/URL] squeeze Release
Get:3 [URL]http://http.us.debian.org[/URL] squeeze/main amd64 Packages [6,539 kB]
Ign [URL]http://download.proxmox.com[/URL] squeeze/pve amd64 Packages
Hit [URL]http://download.proxmox.com[/URL] squeeze/pve amd64 Packages
Get:4 [URL]http://http.us.debian.org[/URL] squeeze/contrib amd64 Packages [53.0 kB]
Fetched 6,701 kB in 7s (863 kB/s)
Reading package lists... Done


and I see gcc is installed:
Code:
root@fishtank:~# dpkg -l | grep gcc
ii  gcc-4.4-base                    4.4.5-8                      The GNU Compiler Collection (base package)
ii  libgcc1                         1:4.4.5-8                    GCC support library

Then when I try to install the stuff I need to compile the driver:
Code:
root@fishtank:/etc/apt# apt-get install build-essential libtool linux-source linux-kernel-headers
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'linux-libc-dev' instead of 'linux-kernel-headers'
Package linux-source is a virtual package provided by:
  linux-source-2.6.32 2.6.32-41squeeze2
  linux-source-2.6 1:2.6.32+29
You should explicitly select one to install.
E: Package 'linux-source' has no installation candidate

So which one should I install linux-source-2.6.32 2.6.32-41squeeze2 or linux-source-2.6 1:2.6.32+29 please?
 
Try: pve-headers-2.6.32-11-pve

That worked great. I downloaded the driver source and compiled it and modprobed it

Code:
rr26xx: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
rr26xx:RocketRAID 26xx controller driver v1.2 (Apr 11 2012 15:42:09)
pci 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
pci 0000:01:00.0: setting latency timer to 64
rr26xx:adapter at PCI 1:0:0, IRQ 16
scsi5 : rr26xx

One thing I see now that there seems to be a newer version out for these cards.

rr2640-linux-src-v1.3-legacy_single

Would that be a better choice to compile and use?
 
That worked great. I downloaded the driver source and compiled it and modprobed it

Code:
rr26xx: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
rr26xx:RocketRAID 26xx controller driver v1.2 (Apr 11 2012 15:42:09)
pci 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
pci 0000:01:00.0: setting latency timer to 64
rr26xx:adapter at PCI 1:0:0, IRQ 16
scsi5 : rr26xx

One thing I see now that there seems to be a newer version out for these cards.

rr2640-linux-src-v1.3-legacy_single

Would that be a better choice to compile and use?


Unless you are having problems with the current driver and a specific fix is in the change log, I wouldn't bother. If it's not broke....
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!