Re-occuring ATI driver install problem
Edit: This first post's problem has been solved- please read to the second post for the real problem. Thanks.
I have recently tried to install the ATI drivers on two computers, and gotten the same error each time. Following the ATI Driver Install Tutorial (http://www.linuxquestions.org/questi...icle&artid=212), I come to installing the drivers after converting them to *.deb format with alien. Then, this occurs: Code:
LLJK:/home/gamezace# dpkg -i fglrx-4-3-0_8.8.25-2_i386.deb I tried fooling around the files a bit, but nothing I did seemed to work. I searched around the forums...but could not find another instance of this exact error - perhaps I just missed it though. Any help you could give would be greatly appreciated. Edit: Whoops, forgot system info: AMD 64 3400+ 2GB RAM Radeon 9700 Debian-Sarge Release Kernel 2.6.8 |
Okay, well, I fixed the first problem - all it needed was to do the following:
Code:
dpkg -i --force-all fglrx*.deb As discussed here, http://forums.gentoo.org/viewtopic.php?t=173239, some of the patch lines, specifically patch->flags, has been deprecated and no longer works - as is visible by the following error: Code:
LLJK:/lib/modules/fglrx/build_mod# patch -p1 < fglrx.patch Code:
--- agpgart_be.c.orig 2004-05-14 21:39:19.943584512 +0000 Code:
patch -p0 < /path/to/the/file Code:
LLJK:/lib/modules/fglrx/build_mod# patch -p0 < newpatch.patch |
::sighs::
As it turns out, I was running myself in circles, as the page->count error was one of the patches included in the install described in the tutorial...but when that didn't work, I ended up with a patch for the patch...and then a patch for another...and then got totally lost. Sorry for all the confusion - haha, I'm about to give up I think. I currently have 6 different patches, all of which fail - haha. If anyone could post their patched apggart_be.c and agpgart.h files, that would be great - because I'm done with the patches - none of them work - :-P |
----------
apggart_be.c ---------- hi there, all i did was exchange all occurences of " pci_find_class " with " pci_get_class " in the above file, and it compiled and loaded ok. egag |
Quote:
Thanks for your help! |
cd to /usr/local/bin
wget; http://kanotix.com/files/install-ker...rce-vanilla.sh chmod it ./install-kernel-source-vanilla.sh than grab http://kanotix.com/files/install-radeon-debian.sh downloading the above script to /usr/local/bin chmod it leave x (ctrl+alt+F1) log in do, install-radeon-debian.sh when done ctrl+alt+F7 to return to x Everything should be fine and installed and patched for you...if fonts are screwy do; http://kanotix.com/files/fix-fonts.sh download to /usr/local/bin chmod execute done:) run gxlinfo to see info and make sure glrender is on I know its Kanotix website and Kano's scripts but I have asked in #Kanotix if I can use the scripts for a pure debian box I have and he said yes. here are all his scripts; http://kanotix.com/files/ |
Quote:
Thinking it didn't like some of my modifications for some reason, I reran XFree86Config and xserver-xfree86 config - generating new config files - this didn't seem to work though...I still got the same error. Any ideas? I tried replacing pci_find_class with pci_get_class as described several posts above...but I still got the same error while patching: Code:
LLJK:/lib/modules/fglrx/build_mod# patch -p1 <kernelpatch.patch |
I also get the same error - if someone could post/host their agpgart_be.c file, I would be most appreciative.
|
All times are GMT -5. The time now is 12:37 PM. |