LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Radeon 8500 & Mandrake 9.0 (https://www.linuxquestions.org/questions/linux-newbie-8/radeon-8500-and-mandrake-9-0-a-37807/)

raid517 12-09-2002 11:03 PM

Radeon 8500 & Mandrake 9.0
 
ATI Driver 2.5.1

Linux Version Mandrake 9.0

Kernel Version 2.4.19-mdksmp

Free86 Version 4.2x

Other Software installed: Standard full Mandrake install

Asus 266-D Motherboard,
Dual (2x) 1800 + Athlon CPUs,
240 Gig HDD (120 external),
Radeon 8500 Graphics card
512Mb Corsair PC 2400 DDR Ram,
Audigy 5.1 digital Soundcard,
Pioneer A04 DVD-R/RW drive
48x12x48 Lite on CDR/W

Hi

My problem, being an Linux ultra newbi is associated with installing the official ATI Linux drivers for my Radeon 8500 graphics card.

I managed to install the driver in non graphical mode (which I thought was reasonably neat, as i had never really used a command promt before) using the rpm -i <appname> command. When I did this I got a warning:

Warning tailored kernel module for fglrx (which I think is the driver name) not present in your system. You must go to /lib/modules/fglrx/build_mod subdirectory and execute ./make.sh to make a fully customised kernel module. Afterwards go to /lib/modules/fglrx and run run ./make_install.sh

So I do this (having finally figued out how to navigate) and run the first part of these instructions ./make.sh and I get:

Error. No kernel Module build environment.

So I ignore this seemingly obscure message and go to /lib/modules/fglrx and run .make_install.sh

When I do this I get:

Error. Kernel includes at /usr/src/linux/include not found or incomplete

file:/usr/src/linux/include/linux/version.h

So I boot to XP (since the graphical server isn't working by this time) and do a search of my Linux drive (yeah I know its neat that I can, I will explain how if anyone is interested) for a file called version.h I finally find it in a slightly different location and since in Linux Mandrake the named directories after /usr/src do not exist I create them and copy version.sh to the directory ~/include/linux

Then I reboot and Install the driver again. I repeat all the steps above until I go to ~modules/fglrx and run .make.sh

I do this and Error!

Kernel includes at /usr/src/linux/include do not match the current kernel. They are versioned as "2.4.18" instead of 2.4.19-mdksmp
You might have to adjust your symblinks:

-/usr/include
-/usr/src/linux

So I ignore this and go to the second part again L/lib/modules/fglrx and run ./make_install.sh

I do this and error:

Tailored kernel module for fglrx not present please repeat everything you just did ad infinitum. (I am of course just paraphrsing here).

So I think about what's being said and finally figure that since the message includes a mention of src, maybe it needs the source files to compile the new xf86config file.

So I open software manager and click on install sofware and look for any files that metion source. I find one that matches called 2.4.19.mdk (which I discover after some reading also contains the SMP version of my kernel), so I opt to install it.

Once done I check to see if it has been installed in the default location that the driver is looking in. I find the file, but not in the correct location (again slightly different) so since the required directory doesn't exist I create it and copy all of the contents of this file to the newly created directory.

Now when I look it seems that everything that is required is exactly where it should be.

So I quit x (killall kdm) and reinstall the driver with the rpm -i --force <appname> command. Things begin to look more hopeful until during the install/compiling stage I get:

2 out of 2 hunks failed - saving rejects to file drmp .h.reg
compliling 'agpgart_be.d'...
compiling 'agp3.c'...
compiling 'i7505-agp.c'...
compiling 'firegl-public.c'...

duplicating results into driver repository.

done.

______________________________________________________________________________

-creating sylink
-recreating module dependancy list
-trying a sample load of the kernel module

Warning: Loading /lib/modules/2.4.19-16mdksmp/kernel/drivers/char/drm/fglx.o will taint the kernel: non-GPL licence

-Propretory. (C) 2002 - ATI technologies, Starnberg, Germany.

See http://www.tux.org/lkml/#export-tainted for information about tainted modules.

Module fglrx loaded with warnings.

So I try startx and... Nothing error meaage:

No screens found.

Still at least its not complaining any more about not finding files.

So what to do next I wonder? Please advise.

QWell ok so it didn't really... But its certainly burst a few brain cells on my part.

My problem, being an ultra newbi is associated with installing the official ATI Linux drivers for my Radeon 8500 graphics card. (see my sig for a list of relevant specs).

I managed to install the driver in non graphical mode (which I thought was reasonably neat, as i had never really used a command promt before) using the rpm -i <appname> command. When I did this I got a warning:

Warning tailored kernel module for fglrx (which I think is the driver name) not present in your system. You must go to /lib/modules/fglrx/build_mod subdirectory and execute ./make.sh to make a fully customised kernel module. Afterwards go to /lib/modules/fglrx and run run ./make_install.sh

So I do this (having finally figued out how to navigate) and run the first part of these instructions ./make.sh and I get:

Error. No kernel Module build environment.

So I ignore this seemingly obscure message and go to /lib/modules/fglrx and run .make_install.sh

When I do this I get:

Error. Kernel includes at /usr/src/linux/include not found or incomplete

file:/usr/src/linux/include/linux/version.h

So I boot to XP (since the graphical server isn't working by this time) and do a search of my Linux drive (yeah I know its neat that I can, I will explain how if anyone is interested) for a file called version.h I finally find it in a slightly different location and since in Linux Mandrake the named directories after /usr/src do not exist I create them and copy version.sh to the directory ~/include/linux

Then I reboot and Install the driver again. I repeat all the steps above until I go to ~modules/fglrx and run .make.sh

I do this and Error!

Kernel includes at /usr/src/linux/include do not match the current kernel. They are versioned as "2.4.18" instead of 2.4.19-mdksmp
You might have to adjust your symblinks:

-/usr/include
-/usr/src/linux

So I ignore this and go to the second part again L/lib/modules/fglrx and run ./make_install.sh

I do this and error:

Tailored kernel module for fglrx not present please repeat everything you just did ad infinitum. (I am of course just paraphrsing here).

So I think about what's being said (and due to some suggestions that were made here) and finally figure that since the message includes a mention of src, maybe it needs the source files to compile the new xf86config file.

So I open software manager and click on install sofware and look for any files that metion source. I find one that matches called 2.4.19.mdk (which I discover after some reading also contains the SMP version of my kernel), so I opt to install it.

Once done I check to see if it has been installed in the default location that the driver is looking in. I find the file, but not in the correct location (again slightly different) so since the required directory doesn't exist I create it and copy all of the contents of this file to the newly created directory.

Now when I look it seems that everything that is required is exactly where it should be.

So I quit x (killall kdm) and reinstall the driver with the rpm -i --force <appname> command. Things begin to look more hopeful until during the install/compiling stage I get:

2 out of 2 hunks failed - saving rejects to file drmp .h.reg
compliling 'agpgart_be.d'...
compiling 'agp3.c'...
compiling 'i7505-agp.c'...
compiling 'firegl-public.c'...

duplicating results into driver repository.

done.

______________________________________________________________________________

-creating sylink
-recreating module dependancy list
-trying a sample load of the kernel module

Warning: Loading /lib/modules/2.4.19-16mdksmp/kernel/drivers/char/drm/fglx.o will taint the kernel: non-GPL licence

-Propretory. (C) 2002 - ATI technologies, Starnberg, Germany.

See http://www.tux.org/lkml/#export-tainted for information about tainted modules.

Module fglrx loaded with warnings.

So I try startx and... Nothing error message:

No screens found.

Still at least its not complaining any more about not finding files.

So what to do next I wonder?

Q

Ps

I'm sorry for all the detail, but better too much detail than too little. :)

Armand 09-20-2003 01:29 PM

http://archives.mandrakelinux.com/ne...8/msg02015.php
go here
when he says "drop into init3" he means goto the command promt (ctrl alt F1) and type telinit 3

Armand 09-20-2003 01:49 PM

I got it to work on mine so if you need more help just email me.

Make sure you restart X, just reboot the computer to be sure (you may do it right, but it won't take effect until X restarts)


All times are GMT -5. The time now is 05:46 AM.