Hi all,
I tried to install driver of RocketRaid 2720, it's very new for me and I must have made mistakes.
[ol]Download driver from HighPoint Web Site
Untar driver
Here is fille present :
[root@home linux]# ll
total 20
drwxrwxr-x 3 lazer allusers 4096 May 28 18:48 2720
-rw-rw-r-- 1 lazer allusers 1117 Apr 24 11:52 config.c
drwxrwxr-x 3 lazer allusers 4096 May 28 18:48 Dur
-rw-rw-r-- 1 lazer allusers 477 Apr 24 11:52 Makefile
drwxrwxr-x 2 lazer allusers 4096 May 28 18:48 RocketRaid
Try to make Kernel Pacth [/ol]
From tutorial for debian :
I get this result :
I must have miss something, but beacuse I do not understand what I doing I can't find the reason.
Any help, tutorial or whatever would be appreciate.
Thanks in advance for your help.
Taryck.
I tried to install driver of RocketRaid 2720, it's very new for me and I must have made mistakes.
[ol]
Here is fille present :
[root@home linux]# ll
total 20
drwxrwxr-x 3 lazer allusers 4096 May 28 18:48 2720
-rw-rw-r-- 1 lazer allusers 1117 Apr 24 11:52 config.c
drwxrwxr-x 3 lazer allusers 4096 May 28 18:48 Dur
-rw-rw-r-- 1 lazer allusers 477 Apr 24 11:52 Makefile
drwxrwxr-x 2 lazer allusers 4096 May 28 18:48 RocketRaid
From tutorial for debian :
Patching the Kernel
You should still be within the rr232x-linux-src*/kproduct/rr232x/linux/ directory. From here, run
make
and then
make install
This will finish with an error. The installer assumes this is a Red Hat system with the binary mkinitrd. Since this is Debian, we have mkinitramfs instead, so we'll have to do it by hand.
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-1-amd64'
You made a module which is for current kernel 2.6.24-1-amd64.
Deleting previous installed driver module rr232x...
Install the new driver module...
Updating module dependencies...Done.
Checking for initrd images to be updated...
Can not find command 'mkinitrd'.
make: *** [install] Error 1
To finish up, we need to run mkinitramfs. This will replace the current RAM image used when the computer boots, located at /boot/initrd.img-<your kernel version>, with one that understands about the RAID controller so that the drives will be able to be accessible when it's time to access them as part of a normal boot. To create a new RAM image and replace the old one, run
mkinitramfs -o /boot/initrd.img-<your kernel> <your kernel>
-o specifies where the output file should be placed
the second instance of your kernel specifies the kernel version
I get this result :
[root@home linux]# make
Makefile:16: ../../../inc/linux_64mpa/Makefile.def: No such file or directory
make: *** No rule to make target `../../../inc/linux_64mpa/Makefile.def'. Stop.
[root@home linux]# make install
Makefile:16: ../../../inc/linux_64mpa/Makefile.def: No such file or directory
make: *** No rule to make target `../../../inc/linux_64mpa/Makefile.def'. Stop.
I must have miss something, but beacuse I do not understand what I doing I can't find the reason.
Any help, tutorial or whatever would be appreciate.
Thanks in advance for your help.
Taryck.
In Hardware
Share this post:
Responses (23)
-
Accepted Answer
Hi Nick,
I hope you could help me again. My previous install finished in a dead end Can't make flexshare works.
And because I'm very lucky the fresh install on COS 6.6 failed.
So I've got a fresh install on COS 6.5 and trying to get kernel source for my release :
[root@home yum.repos.d]# uname -r
2.6.32-431.1.2.v6.x86_64
As described in this thread.
If you've got any suggestion... I'll be glad to here it from you. -
Accepted Answer
-
Accepted Answer
Doing some searching, does lvm2 provide what you want? This link appears to show it does. If so:yum install lvm2
-
Accepted Answer
Yes, I found the menu and now I'm on ClearOS 6.6
[root@home partial]# make
make ARCH=x86_64 CC=cc LD=ld CROSS_COMPILE= V= -C /lib/modules/2.6.32-504.8.1.v6 .x86_64/build SUBDIRS=`pwd` modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-504.8.1.v6.x86_64'
CC [M] /tmp/TBE/partial/linux_main.o
/tmp/TBE/partial/linux_main.c: In function ‘scsi_cmd_to_req_conv’:
/tmp/TBE/partial/linux_main.c:909: warning: cast from pointer to integer of diff erent size
/tmp/TBE/partial/linux_main.c: In function ‘mv_scsi_slave_alloc’:
/tmp/TBE/partial/linux_main.c:1573: warning: cast to pointer from integer of dif ferent size
/tmp/TBE/partial/linux_main.c: At top level:
/tmp/TBE/partial/linux_main.c:1805: warning: initialization from incompatible po inter type
CC [M] /tmp/TBE/partial/hba_exp.o
CC [M] /tmp/TBE/partial/hba_mod.o
CC [M] /tmp/TBE/partial/hba_timer.o
CC [M] /tmp/TBE/partial/mv_os.o
CC [M] /tmp/TBE/partial/linux_iface.o
LD [M] /tmp/TBE/partial/mv94xx.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /tmp/TBE/partial/lib/.libmv_nonraid_64.obj.cmd for /tmp/ TBE/partial/lib/libmv_nonraid_64.obj
CC /tmp/TBE/partial/mv94xx.mod.o
LD [M] /tmp/TBE/partial/mv94xx.ko.unsigned
NO SIGN [M] /tmp/TBE/partial/mv94xx.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.32-504.8.1.v6.x86_64'
Thanks all my disk seams to be visible.
But I still do not have any LVM information...
LVM is not installed : command pvscan or pvs do not exists -
Accepted Answer
When you reboot you get three or five seconds to hit enter when a message pops up. Do that then select the other kernel at the menu which will appear. Alternatively edit /boot/grub/grub.conf and change the "default" to the correct entry in the list or change the order the kernels appear then reboot. -
Accepted Answer
Hi,
That what I've tought but this is my third reboot with no change at all..
I have to re-install this driver then re-install LVM (that is no longer present) and recover or rebuild lvm.conf that have be lost with boot disk....
All family picture and video was stored on those LVM VG... :-s
Bad trip... -
Accepted Answer
If you reboot, ClearOS should switch to the later kernel for which you already have the headers and devel packages It may then work.
If you wanted to do a full installation of the development packages, see here, but you may not need it with the packages you already have. It would have the advantage of setting up a specific user for building which is safer than building as root. -
Accepted Answer
Hi again,
I've got a boot disk failure and I'm reinstalling ClearOS 6.5.
I still have the same troubles.
First Kernel is :
[root@home partial]# uname -r
2.6.32-431.1.2.v6.x86_64
But kernel seams to exists in 2 versions :
[root@home partial]# rpm -qa | grep ^kernel
kernel-2.6.32-431.1.2.v6.x86_64
kernel-2.6.32-504.8.1.v6.x86_64
kernel-firmware-2.6.32-504.8.1.v6.noarch
kernel-headers-2.6.32-504.8.1.v6.x86_64
kernel-devel-2.6.32-504.8.1.v6.x86_64
I've donwloaded driver from here : http://www.highpoint-tech.com/USA_new/product_support_sas6.htm
the driver for Rocket 2720SGL (v4.0.0.1528N) http://www.highpoint-tech.com/BIOS_Driver/R272x/Driver/linux_4.0.0.1528N_source.tgz
I've untar the file, go to directory partial and run "make" as indicated in the readme.partial and go this error :
[root@home partial]# make
make ARCH=i386 CC=cc LD=ld CROSS_COMPILE= V= -C /lib/modules/2.6.32-431.1.2.v6.x86_64/build SUBDIRS=`pwd` modules
make: *** /lib/modules/2.6.32-431.1.2.v6.x86_64/build: No such file or directory. Stop.
make: *** [all] Error 2
here is the full readme file :
Marvell 61xx/64xx Controller Linux Open Source Driver
---------------------------------------------------------
1. Introduction
2. Build driver
3. Build the driver into kernel
4. Note
---------------------------------------
1. Introduction
---------------
This is the partial linux kernel driver source code for Marvell SATA
controllers. Current version of the source only supports 2.6 kernel.
2. Build driver
---------------
2.1 Make sure kernel source/headers is ready.
Depending on your need, you may want to build a driver for the running
kernel of your host machine, or you might want to build drivers for other
versions of kernel. In both cases, you should have the source code of the
kernel installed. For example, you should launch yast and install the
'kernel-source' package if you're using SuSE Linux (including SLED/SLES ).
To build the module, you also should know where the kernel source is.
For SuSE Linux and Red Hat, the source to the running kernel can be found
at /lib/modules/`uname -r`/build. If you want to build driver for a
customized kernel, make sure your user account have the access to the
source.
2.2 Build the driver
If you're building driver for a kernel other than the running one, you
should let driver source know the path to the kernel source before issuing
make. You have two ways of issuing make command:
1) Set the shell environment variable 'KERNEL_SRC' to the path to
kernel source for which you want to build the driver. Suppose the
source is located at /usr/src/linux, then execute the following
command:
# export KERNEL_SRC=/usr/src/linux
# make
2) Specify the KERNEL_SRC in the invocation of make command:
# make KERNEL_SRC=/usr/src/linux
Watching the sources being compiled, and when it stops, you're done.
Note :
Make sure the kernel source is properly prepared for external module
building. Execute 'make modules_prepare' in the kernel source
directory if you haven't done so.
2.3 Install the driver.
If the module is named as mv61xx.ko,to install the driver, you type:
# insmod mv61xx.ko
If the module is named as mv64xx.ko,to install the driver, you type:
# insmod mv64xx.ko
3. Build the driver into kernel
-------------------------------
3.1 Make sure you have the complete kernel source installed.
To patch a kernel tree, you'll need the complete source to the linux
kernel. Also you'll need to verify that you have the write permission on
the source directory.
3.2 Patch the source.
Change working directory to the driver source code, type:*
# export KERNEL_SRC=/usr/src/linux
# make $KERNEL_SRC kbuild
You should substitute '/usr/src/linux' with the absolute path to the
kernel source directory.
You can always rewind the patch by using the following command:
# make $KERNEL_SRC ukbuild
3.3 Build the kernel
Now you can start kernel configuration process, follow the normal kernel
building process, which varies on different linux distributions and is not
covered here. then you can configure the driver into kernel during the
kernel configuration process (e.g. "make menuconfig").
Below is an example to make and install a kernel with the driver built-in:
# export KERNEL_SRC=/usr/src/linux
# cd /usr/src/linux
# make mrproper
# make menuconfig
Select "Device Drivers --->" and press enter.
Select "SCSI device support", then press 'Y' to make it built-in.
Select "SCSI disk support" then press 'Y' to make it build-in.
Select "SCSI low-level drivers --->" and press enter.
Select "Marvell Storage Controller 9180/9480" and press 'Y'.
or
Select "Marvell Storage Controller 6320/6340/6440/6450/6480" and press 'Y'.
Exit and save the kernel configuration.
# make dep
# make clean
# make bzImage
# make modules
# make modules_install
# make install
Now mv94xx/mv64xx driver will be built into kernel image. Note that
mv94xx/mv64xx driver depends on SCSI and SCSI disk support, so you should
also build them as part of the kernel ( not as modules ). Then you can
reboot from the new kernel.
4. Note
-------
* We've tested the patch successfully against kernel 2.6.16 and upward.
Groupinstall seams to no longer works on 6.5
[root@home partial]# yum install --enablerepo=clearos-dev groupinstall development-tools
Loaded plugins: clearcenter-marketplace, fastestmirror
Setting up Install Process
ClearCenter Marketplace: fetching repositories...
Loading mirror speeds from cached hostfile
* clearos: clearos.mirrors.ovh.net
* clearos-addons: clearos.mirrors.ovh.net
* clearos-core: clearos.mirrors.ovh.net
* clearos-dev: clearos.mirrors.ovh.net
* clearos-extras: clearos.mirrors.ovh.net
* clearos-updates: clearos.mirrors.ovh.net
* epel: mirrors.ircam.fr
* maxximum: maxximum01.free.fr
* private-clearcenter-dyndns: download1.clearsdn.com:80
* rpmfusion-free-updates: rpmfusion.famillecollet.com
No package groupinstall available.
No package development-tools available.
Error: Nothing to do
So I've installed this :
[root@home partial]# yum install --enablerepo=clearos-dev glibc-devel glibc-headers kernel-devel kernel-headers gcc make
Loaded plugins: clearcenter-marketplace, fastestmirror
Setting up Install Process
ClearCenter Marketplace: fetching repositories...
Loading mirror speeds from cached hostfile
* clearos: clearos.mirrors.ovh.net
* clearos-addons: clearos.mirrors.ovh.net
* clearos-core: clearos.mirrors.ovh.net
* clearos-dev: clearos.mirrors.ovh.net
* clearos-extras: clearos.mirrors.ovh.net
* clearos-updates: clearos.mirrors.ovh.net
* epel: mirrors.ircam.fr
* maxximum: maxximum01.free.fr
* private-clearcenter-dyndns: download4.clearsdn.com:80
* rpmfusion-free-updates: rpmfusion.famillecollet.com
clearos-dev | 2.9 kB 00:00
clearos-dev/primary_db | 395 kB 00:00
Package 1:make-3.81-20.el6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.4.7-11.el6 will be installed
--> Processing Dependency: libgomp = 4.4.7-11.el6 for package: gcc-4.4.7-11.el6.x86_64
--> Processing Dependency: cpp = 4.4.7-11.el6 for package: gcc-4.4.7-11.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-11.el6.x86_64
--> Processing Dependency: libgomp.so.1()(64bit) for package: gcc-4.4.7-11.el6.x86_64
---> Package glibc-devel.x86_64 0:2.12-1.149.el6_6.5 will be installed
---> Package glibc-headers.x86_64 0:2.12-1.149.el6_6.5 will be installed
---> Package kernel-devel.x86_64 0:2.6.32-504.8.1.v6 will be installed
---> Package kernel-headers.x86_64 0:2.6.32-504.8.1.v6 will be installed
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.7-11.el6 will be installed
--> Processing Dependency: libmpfr.so.1()(64bit) for package: cpp-4.4.7-11.el6.x86_64
---> Package libgomp.x86_64 0:4.4.7-11.el6 will be installed
--> Running transaction check
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Installing:
gcc x86_64 4.4.7-11.el6 clearos 10 M
glibc-devel x86_64 2.12-1.149.el6_6.5 clearos 982 k
glibc-headers x86_64 2.12-1.149.el6_6.5 clearos 611 k
kernel-devel x86_64 2.6.32-504.8.1.v6 clearos 9.4 M
kernel-headers x86_64 2.6.32-504.8.1.v6 clearos 3.3 M
Installing for dependencies:
cloog-ppl x86_64 0.15.7-1.2.el6 clearos 92 k
cpp x86_64 4.4.7-11.el6 clearos 3.7 M
libgomp x86_64 4.4.7-11.el6 clearos 132 k
mpfr x86_64 2.4.1-6.el6 clearos 156 k
ppl x86_64 0.10.2-11.el6 clearos 1.3 M
Transaction Summary
========================================================================================================================================================================
Install 10 Package(s)
Total download size: 30 M
Installed size: 63 M
Is this ok [y/N]: y
Downloading Packages:
(1/10): cloog-ppl-0.15.7-1.2.el6.x86_64.rpm | 92 kB 00:00
(2/10): cpp-4.4.7-11.el6.x86_64.rpm | 3.7 MB 00:00
(3/10): gcc-4.4.7-11.el6.x86_64.rpm | 10 MB 00:00
(4/10): glibc-devel-2.12-1.149.el6_6.5.x86_64.rpm | 982 kB 00:00
(5/10): glibc-headers-2.12-1.149.el6_6.5.x86_64.rpm | 611 kB 00:00
(6/10): kernel-devel-2.6.32-504.8.1.v6.x86_64.rpm | 9.4 MB 00:00
(7/10): kernel-headers-2.6.32-504.8.1.v6.x86_64.rpm | 3.3 MB 00:00
(8/10): libgomp-4.4.7-11.el6.x86_64.rpm | 132 kB 00:00
(9/10): mpfr-2.4.1-6.el6.x86_64.rpm | 156 kB 00:00
(10/10): ppl-0.10.2-11.el6.x86_64.rpm | 1.3 MB 00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 3.7 MB/s | 30 MB 00:08
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : ppl-0.10.2-11.el6.x86_64 1/10
Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 2/10
Installing : mpfr-2.4.1-6.el6.x86_64 3/10
Installing : cpp-4.4.7-11.el6.x86_64 4/10
Installing : libgomp-4.4.7-11.el6.x86_64 5/10
Installing : kernel-headers-2.6.32-504.8.1.v6.x86_64 6/10
Installing : glibc-headers-2.12-1.149.el6_6.5.x86_64 7/10
Installing : glibc-devel-2.12-1.149.el6_6.5.x86_64 8/10
Installing : gcc-4.4.7-11.el6.x86_64 9/10
Installing : kernel-devel-2.6.32-504.8.1.v6.x86_64 10/10
Verifying : kernel-headers-2.6.32-504.8.1.v6.x86_64 1/10
Verifying : kernel-devel-2.6.32-504.8.1.v6.x86_64 2/10
Verifying : libgomp-4.4.7-11.el6.x86_64 3/10
Verifying : glibc-devel-2.12-1.149.el6_6.5.x86_64 4/10
Verifying : glibc-headers-2.12-1.149.el6_6.5.x86_64 5/10
Verifying : mpfr-2.4.1-6.el6.x86_64 6/10
Verifying : gcc-4.4.7-11.el6.x86_64 7/10
Verifying : cpp-4.4.7-11.el6.x86_64 8/10
Verifying : ppl-0.10.2-11.el6.x86_64 9/10
Verifying : cloog-ppl-0.15.7-1.2.el6.x86_64 10/10
Installed:
gcc.x86_64 0:4.4.7-11.el6 glibc-devel.x86_64 0:2.12-1.149.el6_6.5 glibc-headers.x86_64 0:2.12-1.149.el6_6.5 kernel-devel.x86_64 0:2.6.32-504.8.1.v6
kernel-headers.x86_64 0:2.6.32-504.8.1.v6
Dependency Installed:
cloog-ppl.x86_64 0:0.15.7-1.2.el6 cpp.x86_64 0:4.4.7-11.el6 libgomp.x86_64 0:4.4.7-11.el6 mpfr.x86_64 0:2.4.1-6.el6 ppl.x86_64 0:0.10.2-11.el6
Complete!
I've tried to download the expected kernel sourve version with :
[root@home partial]# yum install kernel-devel-2.6.32-431.1.2.v6.x86_64
Loaded plugins: clearcenter-marketplace, fastestmirror
Setting up Install Process
ClearCenter Marketplace: fetching repositories...
Loading mirror speeds from cached hostfile
* clearos: clearos.mirrors.ovh.net
* clearos-addons: clearos.mirrors.ovh.net
* clearos-core: clearos.mirrors.ovh.net
* clearos-extras: clearos.mirrors.ovh.net
* clearos-updates: clearos.mirrors.ovh.net
* epel: mirrors.ircam.fr
* maxximum: maxximum01.free.fr
* private-clearcenter-dyndns: download1.clearsdn.com:80
* rpmfusion-free-updates: rpmfusion.famillecollet.com
No package kernel-devel-2.6.32-431.1.2.v6.x86_64 available.
Error: Nothing to do
But kernel seams to be present :
[root@home modules]# pwd
/lib/modules
[root@home modules]# ll
total 8
drwxr-xr-x. 7 root root 4096 Feb 20 21:55 2.6.32-431.1.2.v6.x86_64
drwxr-xr-x. 7 root root 4096 Feb 20 22:10 2.6.32-504.8.1.v6.x86_64
but some part is missing :
[root@home 2.6.32-431.1.2.v6.x86_64]# pwd
/lib/modules/2.6.32-431.1.2.v6.x86_64
[root@home 2.6.32-431.1.2.v6.x86_64]# ll b*
lrwxrwxrwx. 1 root root 49 Feb 20 21:54 build -> ../../../usr/src/kernels/2.6.32-431.1.2.v6.x86_64
[root@home 2.6.32-431.1.2.v6.x86_64]# cd ../../../usr/src/kernels/
[root@home kernels]# ll
total 4
drwxr-xr-x. 22 root root 4096 Feb 21 12:37 2.6.32-504.8.1.v6.x86_64
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
I've done your script and get the same error :
[root@home ~]# mkdir /usr/src/temp
[root@home ~]# cd /usr/src/temp
[root@home temp]# wget www.highpoint-tech.com/BIOS_Driver/rr272x_1x/Lin" target="_blank">http://www.highpoint-tech.com/BIOS_Driver/rr272x_1x/Linux" target="_blank">www.highpoint-tech.com/BIOS_Driver/rr272x_1x/Lin" target="_blank">http://www.highpoint-tech.com/BIOS_Driver/rr272x_1x/Linux /RR272x_1x-Linux-Src-v1.4-120424-1752.tar.gz
--2012-06-02 12:33:32-- www.highpoint-tech.com/BIOS_Driver/rr272x_1x/Lin" target="_blank">http://www.highpoint-tech.com/BIOS_Driver/rr272x_1x/Lin ux/RR272x_1x-Linux-Src-v1.4-120424-1752.tar.gz
Resolving www.highpoint-tech.com... 205.134.255.100
Connecting to www.highpoint-tech.com|205.134.255.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1213296 (1.2M) [application/x-gzip]
Saving to: `RR272x_1x-Linux-Src-v1.4-120424-1752.tar.gz'
100%[=================================================================================================================================================================>] 1,213,296 363K/s in 3.3s
2012-06-02 12:33:37 (363 KB/s) - `RR272x_1x-Linux-Src-v1.4-120424-1752.tar.gz' saved [1213296/1213296]
[root@home temp]# tar -xvzf RR27*.gz
rr272x_1x-linux-src-v1.4/
rr272x_1x-linux-src-v1.4/inc/
rr272x_1x-linux-src-v1.4/inc/array.h
rr272x_1x-linux-src-v1.4/inc/him.h
rr272x_1x-linux-src-v1.4/inc/himfuncs.h
rr272x_1x-linux-src-v1.4/inc/hptintf.h
rr272x_1x-linux-src-v1.4/inc/ldm.h
rr272x_1x-linux-src-v1.4/inc/linux_64mpa/
rr272x_1x-linux-src-v1.4/inc/linux_64mpa/Makefile.def
rr272x_1x-linux-src-v1.4/inc/linux_64mpa/osm.h
rr272x_1x-linux-src-v1.4/inc/list.h
rr272x_1x-linux-src-v1.4/lib/
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-i686-regparm0/
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-i686-regparm0/him_rr272x.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-i686-regparm0/jbod.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-i686-regparm0/ldm_raid50.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-i686-regparm0/partition.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-i686-regparm0/raid0.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-i686-regparm0/raid1.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-i686-regparm0/raid5.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-i686-regparm0/raid6.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-i686-regparm3/
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-i686-regparm3/him_rr272x.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-i686-regparm3/jbod.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-i686-regparm3/ldm_raid50.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-i686-regparm3/partition.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-i686-regparm3/raid0.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-i686-regparm3/raid1.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-i686-regparm3/raid5.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-i686-regparm3/raid6.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-x86_64-regparm0/
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-x86_64-regparm0/him_rr272x.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-x86_64-regparm0/jbod.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-x86_64-regparm0/ldm_raid50.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-x86_64-regparm0/partition.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-x86_64-regparm0/raid0.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-x86_64-regparm0/raid1.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-x86_64-regparm0/raid5.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-x86_64-regparm0/raid6.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-x86_64-regparm3/
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-x86_64-regparm3/him_rr272x.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-x86_64-regparm3/jbod.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-x86_64-regparm3/ldm_raid50.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-x86_64-regparm3/partition.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-x86_64-regparm3/raid0.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-x86_64-regparm3/raid1.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-x86_64-regparm3/raid5.o
rr272x_1x-linux-src-v1.4/lib/linux_64mpa/free-x86_64-regparm3/raid6.o
rr272x_1x-linux-src-v1.4/osm/
rr272x_1x-linux-src-v1.4/osm/linux/
rr272x_1x-linux-src-v1.4/osm/linux/div64.c
rr272x_1x-linux-src-v1.4/osm/linux/hptinfo.c
rr272x_1x-linux-src-v1.4/osm/linux/install.sh
rr272x_1x-linux-src-v1.4/osm/linux/osm_linux.c
rr272x_1x-linux-src-v1.4/osm/linux/osm_linux.h
rr272x_1x-linux-src-v1.4/osm/linux/os_linux.c
rr272x_1x-linux-src-v1.4/osm/linux/patch.sh
rr272x_1x-linux-src-v1.4/product/
rr272x_1x-linux-src-v1.4/product/rr272x/
rr272x_1x-linux-src-v1.4/product/rr272x/linux/
rr272x_1x-linux-src-v1.4/product/rr272x/linux/config.c
rr272x_1x-linux-src-v1.4/product/rr272x/linux/Makefile
rr272x_1x-linux-src-v1.4/README
[root@home temp]# cd rr272x_1x-linux-src-v1.4/product/rr272x/linux
[root@home linux]# make
make[1]: Entering directory `/usr/src/kernels/2.6.18-194.8.1.v5-PAE-i686'
CC [M] /usr/src/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/os_linux.o
CC [M] /usr/src/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/osm_linux.o
CC [M] /usr/src/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/div64.o
CC [M] /usr/src/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/hptinfo.o
CC [M] /usr/src/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/config.o
LD [M] /usr/src/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/rr272x_1x.o
Building modules, stage 2.
MODPOST
WARNING: could not find /usr/src/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/.him_rr272x.o.cmd for /usr/src/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/him_rr272x.o
CC /usr/src/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/rr272x_1x.mod.o
LD [M] /usr/src/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/rr272x_1x.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-194.8.1.v5-PAE-i686'
Should I ignore this wraning ? and do
make install
-
Accepted Answer
Why not do something like:
If you do not have wget installed do a:mkdir /usr/src/temp
cd /usr/src/temp
wget http://www.highpoint-tech.com/BIOS_Driver/rr272x_1x/Linux/RR272x_1x-Linux-Src-v1.4-120424-1752.tar.gz
tar -xvzf RR27*.gz
cd rr272x_1x-linux-src-v1.4/product/rr272x/linux
make
etc .....yum install wget
The README will be in /usr/src/temp/rr272x_1x-linux-src-v1.4
[edit]
I've just tried it in my play VM and get the same error as you. Just trying now in 6.2.
[/edit]
[edit2]
Same issue on 6.2. You could try proceding with the make install or contact RR for support or google the error.
[/edit2] -
Accepted Answer
You're right, first make do not works because path got a space in one of the directory.
And on local I've copied only a smal part o the drivers.
Now from /mnt/disk_secure_1/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux
Make return this error :
WARNING: could not find /mnt/disk_secure_1/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/.him_rr272x.o.cmd for /mnt/disk_secure_1/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/him_rr272x.o
[root@home linux]# make
make[1]: Entering directory `/usr/src/kernels/2.6.18-194.8.1.v5-PAE-i686'
CC [M] /mnt/disk_secure_1/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/os_linux.o
CC [M] /mnt/disk_secure_1/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/osm_linux.o
CC [M] /mnt/disk_secure_1/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/div64.o
CC [M] /mnt/disk_secure_1/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/hptinfo.o
CC [M] /mnt/disk_secure_1/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/config.o
LD [M] /mnt/disk_secure_1/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/rr272x_1x.o
Building modules, stage 2.
MODPOST
WARNING: could not find /mnt/disk_secure_1/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/.him_rr272x.o.cmd for /mnt/disk_secure_1/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/him_rr272x.o
LD [M] /mnt/disk_secure_1/temp/rr272x_1x-linux-src-v1.4/product/rr272x/linux/.build/rr272x_1x.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-194.8.1.v5-PAE-i686'
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
I try to follow instructions in README but I was blocked on the first instruction :
1) Install kernel build tools (gcc, binutils, make, etc.)
I think I need a more detail tutorial on driver build on Linux, because "make" and "make install" seems to not have source or something like that...
I've made untar unsing winrar on my desktop connected to the linux drive using flexshare.
Do you think I should untar from clearos rather than from my desktop windows ? -
Accepted Answer
Have you followed the README in the package (at the first level after you untarred it? I created folder, cd'd into it, did a wget of the file then unpacked it with a "tar xvzf RR27*.gz". a "cd /usr/src/test/rr272x_1x-linux-src-v1.4" took me to the README and a "cd /usr/src/test/rr272x_1x-linux-src-v1.4/product/rr272x/linux" took me to the folder where I ran the make command successfully. I don't want to go any further as I don't want to install the module.
I notice you have user permissions also directory content is different. How are you unpacking the gz file? Also have you tried running as root rather than as a user? Before running a "make" or after a "make clean", I get:[root@ClearOS6_2 linux]# ls -la /usr/src/test/rr272x_1x-linux-src-v1.4/product/rr272x/linux
total 16
drwxr-xr-x 2 root 4294967294 4096 May 28 22:05 .
drwxr-xr-x 3 root 4294967294 4096 Apr 24 10:52 ..
-rw-r--r-- 1 root 4294967294 1117 Apr 24 10:52 config.c
-rwxr-xr-x 1 root 4294967294 477 Apr 24 10:52 Makefile
[edit]
I've just noticed from your kernel you're using ClearOS 5.2. I would expect the same but I'll give it a go tomorrow in my play 5.2 VM
[/code] -
Accepted Answer
[root@home linux]# pwd
/mnt/disk_secure_1/temp/linux
[root@home linux]# rpm -qa | grep ^kernel
kernel-PAE-devel-2.6.18-194.8.1.v5
kernel-PAE-2.6.18-194.8.1.v5
kernel-headers-2.6.18-194.8.1.v5
here it is.
Here is the directory content :
drwxrwxr-x 3 lazer allusers 4096 May 28 18:48 2720
-rw-rw-r-- 1 lazer allusers 1117 Apr 24 11:52 config.c
drwxrwxr-x 3 lazer allusers 4096 May 28 18:48 Dur
-rw-rw-r-- 1 lazer allusers 477 Apr 24 11:52 Makefile
drwxrwxr-x 2 lazer allusers 4096 May 28 18:48 RocketRaid
I've downloaded the RR272x_1x-Linux-Src-v1.4-120424-1752.tar.gz because I've got a RocketRaid 2720 not a RocketRaid 2320 on this page. -
Accepted Answer
At this point you should be in the folder /{something}/rr232x-linux-src-v1.8/product/rr232x/linux. From the folder you were in when you did the "make", can you post the output of:
Note http://www.highpoint-tech.com/BIOS_Driver/rr232x/Linux/rr232x-linux-src-v1.10-090716-0928.tar.gz is a later version of the driverpwd
rpm -qa | grep ^kernel

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »