LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   compile from source a driver for IDE/RAID controller (https://www.linuxquestions.org/questions/linux-software-2/compile-from-source-a-driver-for-ide-raid-controller-323967/)

asmar 05-16-2005 06:20 AM

compile from source a driver for IDE/RAID controller
 
Hello all,

I bought recently a RAID controller and unfortunatelly it has binaries files only for 2.4 kernels.
However, I am using a 2.6 series in my system and for that purpose they suggest in their web site to download the source and compile the driver.

I did that and also opened the zip file which includes 3 files:

iteraid.c
iteraid.h
Makefile

My question is how can I compile and include that driver in order to be able to see the disks that are on RAID?

Any help is much appretiate.

Thanks

jtshaw 05-16-2005 07:20 AM

Ok, extract the zip into a directory (say, /usr/src/ideraid). Go to that directory and attempt to compile the driver by typing make.

Your going to need to make sure you have the kernel source package installed for your running kernel as well as the development tools. Seeing as your a Debian user I'm going to assume you fit that criteria.

If it compiles cleanly then all you probably need to do is a make install, or copy the .ko file created to /lib/modules/<your kernel version>/kernel/drivers/ide or something like that and try and load it.

asmar 05-16-2005 09:11 AM

Thanks a lot jtshaw.
I just installed the driver.

Cheers


All times are GMT -5. The time now is 08:45 PM.