LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-17-2009, 09:07 PM   #1
h8dk97
LQ Newbie
 
Registered: Jul 2004
Posts: 10

Rep: Reputation: 0
Cannot compile Highpoint Rocketraid driver


[Log in to get rid of this advertisement]
Hi there,

I was wondering if anybody had this problem: I'm trying to compile Highpoint Rocketraid 2310 driver v2.2 on CentOS 5.3 x86_64 (kernel 2.6.18-128.el5). When I run make I get this warning:

Code:
make KERNELDIR=/lib/modules/2.6.18-128.el5/build/ ARCH=x86_64
make[1]: Entering directory `/usr/src/kernels/2.6.18-128.el5-x86_64'
CC [M] /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/os_linux.o
CC [M] /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/osm_linux.o
CC [M] /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/div64.o
CC [M] /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/hptinfo.o
CC [M] /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/config.o
LD [M] /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/rr2310_00.o
Building modules, stage 2.
MODPOST
WARNING: could not find /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/.him_rr2310pm.o.cmd for /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/him_rr2310pm.o
LD [M] /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/rr2310_00.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-128.el5-x86_64'
and make install gives me this error:

Code:
make install
make[1]: Entering directory `/usr/src/kernels/2.6.18-128.el5-x86_64'
CC [M] /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/os_linux.o
CC [M] /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/osm_linux.o
CC [M] /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/div64.o
CC [M] /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/hptinfo.o
CC [M] /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/config.o
LD [M] /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/rr2310_00.o
Building modules, stage 2.
MODPOST
WARNING: could not find /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/.him_rr2310pm.o.cmd for /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/him_rr2310pm.o
LD [M] /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/rr2310_00.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-128.el5-x86_64'
You made a module which is for current kernel 2.6.18-128.el5.
Deleting previous installed driver module rr2310_00...
Install the new driver module...
Removing conflicted driver module...
Updating module dependencies...Done.
Checking for initrd images to be updated...
No module sata_mv found for kernel 2.6.18-128.el5, aborting.
make: *** [install] Error 1
Did anyone else have this problem and how did you fix this?

Thanks in advance.
   
Old 05-18-2009, 01:17 AM   #2
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Gorizia
Distribution: Debian Testing Amd64
Posts: 1,828

Rep: Reputation: Disabled
It seems you need to build the sata_mv module for your kernel. I found some info about it here:
http://hardware4linux.info/module/sata_mv/
You can see if that matches the hardware you are using.
cheers,
jdk
   
Old 05-18-2009, 02:07 AM   #3
h8dk97
LQ Newbie
 
Registered: Jul 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jdkaye View Post
It seems you need to build the sata_mv module for your kernel. I found some info about it here:
http://hardware4linux.info/module/sata_mv/
You can see if that matches the hardware you are using.
cheers,
jdk
Well, the thing is sata_mv is loaded into kernel already but make doesn't find it for some reason. How could I "tell" it that's the module is actually present? Thanks.
   
Old 05-18-2009, 11:08 PM   #4
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Gorizia
Distribution: Debian Testing Amd64
Posts: 1,828

Rep: Reputation: Disabled
Quote:
Originally Posted by h8dk97 View Post
Well, the thing is sata_mv is loaded into kernel already but make doesn't find it for some reason. How could I "tell" it that's the module is actually present? Thanks.
Code:
sudo modprobe | grep sata_mv
What is the output of the above command?
cheers,
jdk
   
Old 06-14-2009, 06:44 PM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 3,671
Blog Entries: 9

Rep: Reputation: 80
Why bother? It's "fake RAID":
http://linuxmafia.com/faq/Hardware/s...#highpoint2310

I would either take it back, complaining bitterly that selling "fake RAID" cards is tantamout to fraud;
or just use it as an expensive disk controller for Linux s/w RAID.

BTW, I got sucked in by a "works w/ Linux" claim on the box of an earlier Highpoint Rocketraid card.
It's "fake RAID" & not worth the money paid for the card, nor the time to compile the driver.

http://www.google.com/linux?q=%22fake+RAID

Last edited by archtoad6; 06-14-2009 at 06:47 PM.
   
Old 04-27-2010, 11:35 PM   #6
SassyZ
LQ Newbie
 
Registered: Apr 2010
Distribution: CentOS
Posts: 1

Rep: Reputation: 0
This one gave me a little bit of a headache so I thought I'd post some notes from my experience with a RocketRaid 1740 PCI card on CentOS 5.4.

First, some clarification on the error. The message "No module sata_mv found for kernel..." is from mkinitrd. It is unhappy because the "sata_mv.ko" module is missing and there is still a dependency for it. The module is missing because the install script you just ran... deleted it. This is actually okay for the most part since that module is very incompatible with the one from highpoint. So basically, you don't have or want the sata_mv module, you just want to tell your system to ignore it.

The good thing about this error is that it happens at the very last stage of the install script. This means that the module is very likely already compiled and installed in the correct location. Your kernel version and card type will vary but the path is probably something like...
/lib/modules/2.6.18-164.el5/kernel/drivers/scsi/rr174x/rr174x.ko

I haven't figured out how to properly remove the dependency for sata_mv but was able to get around it by specifying the "--builtin=sata_mv" option to mkinitrd. I don't really like the idea of telling the system a module is built into the kernel when in fact it's actually missing. You may want to "blacklist" sata_mv which might help prevent devices even trying to bind to it. Anyway if you have the module in the correct location you can now run mkinitrd by hand or you can edit the install script and re-run "make install".

The install script is triggered by "make install". It is located at "osm/linux/install.sh" in the package folder and is also kinda lame. It actually renames your ramdisk module image in "/boot" before successfully creating a new image. That means that if you get this error you should NOT reboot your machine until renaming the boot image back to match your kernel. Anyway, whenever I use this script I modify it in a few ways. I replace any calls to "modinfo" with "/sbin/modinfo" and "mkinitrd" with "mkinitrd --builtin=sata_mv". I usually have the appropriate sbin folders in the path but, like I said, this script is kinda lame. Make sure you check the locations for those commands on your system before making changes. Also, when I run "make install" I don't use sudo but instead become root using "su -".

As a side note, it may be possible to totally avoid this issue by simply installing linux with your raid card detached. For obvious reasons, this isn't an option for everyone.


p.s. It's not related to compiling this module but with this card and my hardware I needed to add the kernel argument "edd=off" after my system began to hang during boot.

Last edited by SassyZ; 04-27-2010 at 11:43 PM.
   
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HighPoint RocketRaid Controller and sata_mv fof3 Linux - Software 0 12-14-2008 07:45 PM
RocketRaid 133 hpt372 driver compile errors on FC4 joshuas Linux - Hardware 2 06-17-2006 07:46 AM
highpoint rocketraid 1820a and debian melbell Debian 1 03-30-2006 09:58 AM
Highpoint rocketraid 2220 card kopite Linux - Hardware 2 11-03-2005 07:15 PM
Slackware 9.0 and Highpoint RocketRaid 133 MadRabbit Slackware 25 07-23-2003 08:00 PM


All times are GMT -5. The time now is 02:30 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Free Publications
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration