LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   driver installation (https://www.linuxquestions.org/questions/linux-newbie-8/driver-installation-103881/)

holdenowen 10-14-2003 01:26 PM

driver installation
 
Hope someone can point me in the right direction here, I am trying to install some Radeon 9800 pro drivers and seem to be having trouble installing the kernel source rpms.
I have installed the package OK which now resides at /usr/src/redhat but when I try to execute this command as directed, this happens....

[root@localhost mike]# cd /lib/modules/fglrx/build_mod subdir
[root@localhost build_mod]# ./make.sh
ATI module generator V 2.0
==========================
initializing...
kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h
[root@localhost build_mod]#

Can someone tell me why this is happening? Is this because the kernel sources are installed in the wrong place or under the incorrect filename.
Any advice on how to set this right appreciated.

Pete M 10-14-2003 02:11 PM

holdenowen

You should have a directory relating to your Kernel such as /usr/src/linux-2.4.22

Pete

holdenowen 10-14-2003 02:23 PM

Yes that what I thought but why didnt the kernel-2.4.20-20.9.src.rpm package I installed create this directory, it created a redhat directory with SOURCES BUILD RPMS SPECS SRPMS ,the sources folder has all the files in it and the others are empty, do I need to modify this structure or have I downloaded the wrong package?

LooseCanon 10-14-2003 02:30 PM

@ holdenowen

hi!

Take a look at this thread in the Linux/Distributions/Redhat forum. I wrote this up a while back to help people out with driver installation - it's specifically written up for a NIC driver install, but the same principle is used for any other driver install. Hope this helps out a bit:

http://www.linuxquestions.org/questi...threadid=91814

Cheers

//Canon

holdenowen 10-14-2003 03:29 PM

OK I know what I was doing wrong there now I receive this output

[root@localhost build_mod]# ./make.sh
ATI module generator V 2.0
==========================
initializing...
probing for VMA API version...
check results are inconsistent!!!
none of the probed versions did succeed.
aborting module build.

Is there a simple explanation for this or is this not enough info.

LooseCanon 10-15-2003 11:10 AM

you should use the "sh" command to make .sh files not "./" ... If there's a readme file along with the lot be sure to read that. heh - most source programs come with a readme which offer important information on how to install stuff.


All times are GMT -5. The time now is 01:02 PM.