Assistance needed with installing ATI Radeon 8500 linux driver under Mandrake 9.0..

adlep

Diamond Member
Mar 25, 2001
5,287
6
81
I am a relativley new to linux, so sorry for n00b questions...
I was able to successfully extract the .rpm package to
/lib/modules/fglr200...
But it gave me an errors durring the extraction process saying that I should run ./ make.sh command
But when I am trying to do that it gives me an error...
I go to lib/modules/fglr200/build_mod
then trying to execute ./make.sh, and I can't... Help
I can not ./make_install.sh without running ./make.sh first...
Maybe someone has similar configuration and can tell me what should I do to finish the install?
I am going away for few hours, but feel free to leave the feedback...
 

adlep

Diamond Member
Mar 25, 2001
5,287
6
81
0 replies...
Maybe it is difficult to understand my question?
I am having problems installing official ATI linux driver for Radeon 8500 in my mandrake 9.0 distro.....
It weird, because I got no feedback from Video section as well...:(
 

spamsk8r

Golden Member
Jul 11, 2001
1,787
0
76
I remember when I set up ATI's fireGL drivers (they're mostly compatible with Radeon 8500s) I had to run a program that built a new XF86Config file...other than that I can't really offer any help, sorry :(
 

adlep

Diamond Member
Mar 25, 2001
5,287
6
81
Here is the exact error when I am trying to execute ./make.sh
Error:
kernel includes at /lib/modules/2.4.19-16mdk/build/include do not match current kernel.
They are versioned as "2.4.19-16mdkcustom" instead of "2.4.19-16mdk".
You might need to adjust your symlinks:
- /usr/include
-/usr/src/linux

Any insight would be very helpfull
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
Ah... that makes all the difference. The problem comes from the way Mandrake (and RH also) handle kernel and/or module compilation. If you compile the kernel yourself (instead of using the rpm-installed one), it gets it's version marked as 2.4.XX-XXcustom instead of just 2.4.XX-XX. This can be reversed by removing the "custom" from the EXTRAVERSION line in /usr/src/linux/Makefile.

So, what does this have to do with you? Well, uninstall the driver rpm to start with, then it depends... Have you compiled your own kernel to replace the rpm version? If so, recompile it, but edit the top Makefile as mentioned above. If you're running the stock Mandrake kernel, maybe the driver installer is just reading versions out of /usr/src/linux. So modify /usr/src/linux/Makefile as mentioned above. Then reinstall the drivers.
 

adlep

Diamond Member
Mar 25, 2001
5,287
6
81
So modify /usr/src/linux/Makefile as mentioned above. Then reinstall the drivers

Could you maybe tell me how should I do that?
This is kinnda confusing 4 me....
Thanks
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
You need to edit the text file called "Makefile", which is in the directory /usr/src/linux. I don't know what kind of simple editor is included in Mandrake - probably pico. So try

cd /usr/src/linux
pico Makefile

Remove the "custom" from the EXTRAVERSION line, save and exit.

If you need more help than that, find some books or web articles on command line basics.
 

adlep

Diamond Member
Mar 25, 2001
5,287
6
81
There is no Pico in Mnadrake :(... but fear not!
mc to the rescue or vi :)
Basically I have edited out the custom extension to the mdk in EXTRAVERSION line, but the problem is still there....
Dammint!

Thanks for any inmput!!!!
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
OK, so it sounds like what's happening is that the drivers are precompiled, and the "custom" tag is already built into them. So you have 2 choices: 1) recompile your kernel, leaving the "custom" tag in the makefile, so that the versions match, or 2) compile the drivers from sources, if they're available.
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
There are lots of articles on compiling a kernel out there. Here's one.

edit: You might poke around your source and boot directories to see if Drake left you a kernel config file that you can load up, instead of sifting through all the options yourself. In RH, those files live in /usr/src/linux/configs, maybe Drake is similar.
 

spamsk8r

Golden Member
Jul 11, 2001
1,787
0
76
If the Mandrake kernel was built with gcc 3.x then nothing is really gonna help you except recompiling a new kernel using gcc 2.x since the ATI module is built with gcc2 and it won't allow itself to be integrated with a gcc 3 kernel.
 

adlep

Diamond Member
Mar 25, 2001
5,287
6
81
He he fellas!
Got X up and runnin again!
Didnt have to recompile anything!
The bug I had was easly removed....
Just went back to /usr/src/linux and run
make xconfig
again..
That took away the problem!
If any problems... PM me, and I will help you out with Radeon 8500 install under Linux!