I have downloaded the latest rpm from
www.ati.com.
I have found a patch for the 2.6.7 kernel here
Patch
I adhere to the following instructions:
1. I've downloaded fglrx-4.3.0-3.9.0.i386.rpm from
http://www.ati.com
2. I've created file named fglrx.patch from the website text (just copy/paste)
3. rpm -Uvh --force fglrx-4.3.0-3.9.0.i386.rpm
4. cd /lib/modules/fglrx
5. patch -p1 < fglrx.patch
You should get message:
patching file agpgart_be.c
patching file firegl_public.c
6. bash make.sh
It should compile cleanly
7. bash ../make_install.sh
But this is what happens:
Step 5 gives me
[root@localhost build_mod]# patch -p1 < /tmp/fglrx-2.6.7.patch
patching file agpgart_be.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file firegl_public.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #1 succeeded at 2019 (offset 9 lines).
[root@localhost build_mod]# patch -p1 < /tmp/fglrx-2.6.7.patch
patching file agpgart_be.c
patching file firegl_public.c
Hunk #1 succeeded at 2019 (offset 9 lines)
If I do not assume -R the patch returns errors and is not applied at all.
Assuming I choose to use -R...I then move on to step 6.
I get this instead of a clean compile:
[root@localhost build_mod]# bash make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
XFree86 drm includes at /lib/modules/2.6.7-1.494.2.2/build/include/../drivers/char/drm do not fit this driver.
This driver is designed to only work with X4.1.0 or higher.
You can match this by getting Linux kernel 2.4.8 or higher.
Been working on this for a while and either need a step by step guide to fix it or a step by step guide to return everything back to normal. I really appreciate any help I can get.