LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-12-2003, 08:19 PM   #1
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
ATI Driver's Tailored Kernel Module


As in ATI Driver's Readme file had explained that the reason why there is no 3d was cause by there is no Tailored Kernel Module available on your system at
http://www2.ati.com/drivers/linux/readme0328.txt.

After i read the doc. It said that i could actually manully compile a tailored kernel modules. and the major steps was
Perform the following steps:
- get the matching Linux kernel source
- run "make distclean"
- setup that kernel source with the config file matching your kernel
- run "make dep" on the kernel source tree
- go to "/lib/module/fglrx/build_mod" and enter "./make.sh"
- go to "/lib/module/fglrx" and enter "./make_install.sh"
.

This is what i did, under my understanding.
$cd /usr/src/linux-2.4.20-8/
$make distclean
bla,blalba.....
$make dep
bla,bla,bla .....
$cd /lib/modules/fglrx/build_mod
$./make.sh
ATI module generator V 2.0
==========================
Error:
kernel includes at /lib/modules/2.4.20-8/build/include do not match current kernel.
they are versioned as "2.4.20-8custom"
instead of "2.4.20-8".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux


That's the end!
Actually, before i cleanup, or did make distclean & make dep. I can actually proform this task, but just doesn't get the right things though.

Before this i have no trouble running in 2d mode, but just don't want to wast my ati radeon 9600 in 2d mode!
Where is the custom version comes from?
I did compile my kernel before, but i don't know when did it add a custom kernel in my /lib/modues!
But it's not in /usr/src though!
Any ideas?
Please help!
 
Old 10-15-2003, 05:32 AM   #2
bootloader
LQ Newbie
 
Registered: Oct 2003
Location: Braga
Distribution: RedHat
Posts: 9

Rep: Reputation: 0
go to /usr/src/linux/include/linux
(assuming you have you kernel source at /usr/src/linux/)
and change version.h to meet your needs

#define UTS_RELEASE `uname -a | gawk -F" " '{print $3}'

Think that's it
 
Old 10-15-2003, 04:08 PM   #3
dsnuggs
Member
 
Registered: Aug 2003
Location: West Sussex. UK
Distribution: SuSE 11.2-0
Posts: 60

Rep: Reputation: 15
Unhappy

I have the same problem with my ATI Radeon 9700. One minute it's my symlinks, then it's my version.h is wrong. I actually e-mailed SuSE, mines SuSE 8.1, and they told me that they want me to pay for the information.
Seeing this, though, I'll give it a go also.
 
Old 10-15-2003, 04:40 PM   #4
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Rep: Reputation: 30
I had this problem too. MY mistake was that I installed the wrong kernel source (one that didn't match my kernel). I suggest you uninstall the kernel source, and go back and make sure you install the source that matches your kernel.
 
Old 10-17-2003, 09:45 AM   #5
imroberts
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
I'm tyring to do this same thing, however I'm relatively new to Linux. Can someone please explain the following

- get the matching Linux kernel source
 
Old 10-17-2003, 04:43 PM   #6
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Rep: Reputation: 30
Well, it sort of depends on what distro your using. With madrake, just use the control center, go to system, and it says what kernel your using. After that, go to the application updater and search for the matching source in there, it'll be under the development section. I'm not that familiar with the other distros update system, debian has the apt-get, and I think you can use Up2date in redhat.

Last edited by Inexactitude; 10-17-2003 at 04:44 PM.
 
Old 10-18-2003, 05:27 PM   #7
dsnuggs
Member
 
Registered: Aug 2003
Location: West Sussex. UK
Distribution: SuSE 11.2-0
Posts: 60

Rep: Reputation: 15
I believe that I have used the correct source for the kernal, as I have to update my kernal for the Radeon9700. But as you say, I don't think my kernal updated correctly, as I get a message saying that the source does not match the kernal version. It says something like, 'This is for kernal2.4.20 and you're using 2.4.19-4GB.
I'm not finishing off the installation, and don't know how to.
Help. Please?
 
Old 10-18-2003, 06:47 PM   #8
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Rep: Reputation: 30
Try uninstalling the source, then reinstall it.
 
Old 10-18-2003, 11:08 PM   #9
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Original Poster
Rep: Reputation: 30
In my opinion,the best way was to do a clean reinstall of your whole system and when you bootup first thing was to go to your source folder or /usr/src/ in my redhatlinux9.
and do "tar cvzfz <the name of backup you want to creat with the extension of .tar.gz> <the version of kernel you are using, you would know that by typing `uname -r ` which was a folder>.
then do your graphics upgrade right now!
That's the best time!
Good luck
 
Old 10-20-2003, 08:40 AM   #10
dsnuggs
Member
 
Registered: Aug 2003
Location: West Sussex. UK
Distribution: SuSE 11.2-0
Posts: 60

Rep: Reputation: 15
Ok Tricky. I will try that.
I will get back to you if it works.

Thanks all for your help.
 
  


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
ATI driver kernel module bmorgan98 Mandriva 1 08-23-2005 01:32 PM
checking for ati fglrx kernel module...........failed MicahCarrick Linux - Hardware 1 05-06-2005 02:50 PM
ATI Remote kernel module CrazyYoyimbo Linux - Hardware 1 02-09-2005 11:21 AM
Setting up ATI Remote kernel module smiler_jerg Linux - Hardware 6 10-05-2004 10:38 AM
Problem with fglrx module (ati-drivers-3.9.0-r1) with kernel 2.6.7 in Gentoo Mitchua Linux - Hardware 1 07-10-2004 09:36 PM


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

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