LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ATI Driver's Tailored Kernel Module (https://www.linuxquestions.org/questions/linux-software-2/ati-drivers-tailored-kernel-module-103219/)

tricky_linux 10-12-2003 07:19 PM

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!

bootloader 10-15-2003 04:32 AM

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

dsnuggs 10-15-2003 03:08 PM

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.

Inexactitude 10-15-2003 03:40 PM

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.

imroberts 10-17-2003 08:45 AM

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

Inexactitude 10-17-2003 03:43 PM

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.

dsnuggs 10-18-2003 04:27 PM

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?

Inexactitude 10-18-2003 05:47 PM

Try uninstalling the source, then reinstall it.

tricky_linux 10-18-2003 10:08 PM

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

dsnuggs 10-20-2003 07:40 AM

Ok Tricky. I will try that.
I will get back to you if it works.

Thanks all for your help.


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