LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-10-2002, 12:03 AM   #1
raid517
Member
 
Registered: Feb 2002
Posts: 393

Rep: Reputation: 30
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.

Last edited by raid517; 12-10-2002 at 12:06 AM.
 
Old 09-20-2003, 02:29 PM   #2
Armand
Member
 
Registered: Jun 2003
Location: albuquerque, new mexico
Distribution: Windows XP, Debian Linux
Posts: 34

Rep: Reputation: 15
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

Last edited by Armand; 09-20-2003 at 02:33 PM.
 
Old 09-20-2003, 02:49 PM   #3
Armand
Member
 
Registered: Jun 2003
Location: albuquerque, new mexico
Distribution: Windows XP, Debian Linux
Posts: 34

Rep: Reputation: 15
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Radeon 8500 3d rendering + mandrake 9.0 Mune Linux - Hardware 29 02-11-2004 11:05 PM
XF 4.3.99-2 & 2.4.23 Radeon 8500 Slow 2D DRI Enabled & Working GIJoe Linux - Software 2 12-04-2003 08:47 AM
Redhat 8.0 & Radeon 8500 UncleRobert Linux - Newbie 2 01-24-2003 02:52 PM
Mandrake 9.0 and Radeon 8500 buttercrunch Linux - General 4 10-27-2002 11:53 PM
Radeon 8500 & Redhat 7.2 massu Linux - General 2 01-21-2002 06:05 PM


All times are GMT -5. The time now is 04:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration