ALL RIGHT!  This I might be able to pull-off.

Many thanks, Michael!


> -----Original Message-----
> From: Michael Fratoni [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 27, 2003 6:04 PM
> To: [EMAIL PROTECTED]
> Subject: Re: how difficult is compiling a driver?
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Thursday 27 March 2003 03:18 pm, Douglas, Stuart wrote:
> > My situation is this, I'm using some HighPoint Rocket133 
> IDE controller
> > cards to support larger HDDs on some systems but the only 
> RH8 driver is
> > compiled for the initial kernel release.  The vendor can't 
> give me any
> > useful information as to when I might expect a driver that 
> is compiled
> > for the latest kernel so I thought I'd look into doing it myself. 
> > Being a total Linux noob, am I asking the equivalent of how 
> to perform
> > brain surgery, or is it actually not too difficult?
> 
> 
> If the driver source code is availble, it shouldn't be very hard.
> It appears the source is available for the Rocket133 at:
> http://www.highpoint-tech.com/hpt302-opensource-v10.tgz
> You'll have to verify that this is the correct file. The 
> drivers I found 
> are listed here:
> http://www.highpoint-tech.com/drivers.htm
> 
> Once you have the correct file downloaded...
> 
> make a temporary directory, I used 'highpoint'.
> $ mkdir highpoint
> Move the driver archive to the new directory.
> $ mv hpt302-opensource-v10.tgz highpoint
> cd to the directory
> $ cd highpoint
> Extract the archive
> $ tar -xvzf hpt302-opensource-v10.tgz
> 
> Edit the Makefile, and fix the define for KERNELDIR. Currently, it is 
> probably defined as KERNELDIR=/usr/src/linux (Which is wrong)
> It should be defined as:
> KERNELDIR=/lib/modules/`uname -r`/build 
> (KERNELDIR=/usr/src/linux-2.4 would work as well, but the 
> above is more 
> correct)
> 
> You need to have the kernel-source rpm package installed that 
> matches your 
> running kernel. For example, I have:
> $ rpm -q kernel kernel-source
> kernel-2.4.18-27.8.0
> kernel-source-2.4.18-27.8.0
> 
> Once you have done all that, you can build the driver with
> $ make
> 
> Once it has finished compiling, the .o file(s) need to be 
> copied someplace 
> suitable in /lib/modules/{version}/kernel/drivers/(ide perhaps?)
> 
> There are instructions in the readme.txt file for loading the drivers.
> 
> Hope that helps,
> - -- 
> - -Michael
> 
> pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
> Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
> - --
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
> 
> iD8DBQE+g4NKn/07WoAb/SsRAhjqAJwJN6FjRjjpIxrHWk3OvgDWj8MS7gCeIgoo
> M9KH7lkAzV0w7sAzc2NmCZg=
> =Ufkn
> -----END PGP SIGNATURE-----
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to