LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   ATI Linux Driver Question (2.6.9-mm1) (http://www.linuxquestions.org/questions/linux-software-2/ati-linux-driver-question-2-6-9-mm1-248123/)

aarontc 10-27-2004 06:35 PM

ATI Linux Driver Question (2.6.9-mm1)
 
I'm running Gentoo Linux on 2.6.9-mm1 (with SMP support - Hyperthreading).

I am unable to get the ATI drivers working after doing a clean install with 2.6 (had 2.4 previously)

The relevant kernel messages are:

Code:

fglrx: Unknown symbol remap_page_range
fglrx: Unknown symbol pci_find_class

I tried using portage's ati-drivers ebuild. The xorg logs show the module fglrx couldn't be loaded (and it didn't exist...) so I tried grabbing ATI's RPM for XFree 3.4 and building the module myself according to their instructions (which I can't post the URL to because I'm a new user...), which produces the following output:

Code:

zoomzoom fglrx # sh make_install.sh
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
FATAL: Error inserting fglrx (/lib/modules/2.6.9-mm1_aaron-3/kernel/drivers/char failed.

I've found few other reports of this problem, the only one with a resolution was someone using RedHat, and it was solved by using vanilla kernel sources instead of RedHat's.

I have no idea where to go from here... I didn't see any options related to the mentioned symbols in the kernel configuration, and ATI's scripts check for kernel version 2.6 so I can't believe they just plain wont run on 2.6.

Any ideas would be greatly appreciated! :)

LavaDevil94 10-27-2004 10:06 PM

Try using a stable release of 2.6 instead of a testing version. ATi has poor drivers, and they have been known not to work with 2.6.

textomat 10-28-2004 04:15 AM

Re: ATI Linux Driver Question (2.6.9-mm1)
 
Quote:

Originally posted by aarontc
I'm running Gentoo Linux on 2.6.9-mm1 (with SMP support - Hyperthreading).

I am unable to get the ATI drivers working after doing a clean install with 2.6 (had 2.4 previously)

The relevant kernel messages are:

Code:

fglrx: Unknown symbol remap_page_range
fglrx: Unknown symbol pci_find_class

I tried using portage's ati-drivers ebuild. The xorg logs show the module fglrx couldn't be loaded (and it didn't exist...) so I tried grabbing ATI's RPM for XFree 3.4 and building the module myself according to their instructions (which I can't post the URL to because I'm a new user...), which produces the following output:

Code:

zoomzoom fglrx # sh make_install.sh
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
FATAL: Error inserting fglrx (/lib/modules/2.6.9-mm1_aaron-3/kernel/drivers/char failed.

I've found few other reports of this problem, the only one with a resolution was someone using RedHat, and it was solved by using vanilla kernel sources instead of RedHat's.

I have no idea where to go from here... I didn't see any options related to the mentioned symbols in the kernel configuration, and ATI's scripts check for kernel version 2.6 so I can't believe they just plain wont run on 2.6.

Any ideas would be greatly appreciated! :)


ATI officially does not support kernel>2.4 but people have got it working with a patch. See http://www.rage3d.com

I hope you know that you need the kernel source to install and compile.

BTW ATI are crap with their development. They recently hired new developers but ...

retsamedoc 11-20-2004 02:17 AM

Actually the missing symbols are real problems that have to do with experimental code in the mm1 patch.

I've have successfully fixed the 'pci_get_class' symbole, where the code is searching for a function call that got it's name changed as of 2.6.9-mm1 and 2.6.10.

The other unresolved symbol, I assume will be the same thing. I'm working on it at the moment.

DocHoliday 12-22-2004 07:13 PM

As far as I know, the fglrx driver from ATI only works with Kernel 2.4.x, 2.6.x support will be added "in a future release".

Simon_6162 01-16-2005 11:53 PM

this worked for me :-P

install ATI driver
rpm -Uhv --force driver
#wait for the error to appear

#edit the file
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c
#replace all
"pci_find_class" with "pci_get_class" and save the changes. The function got renamed in the latest kernel's for some reason

cd /lib/modules/fglrx/build_mod
sh make.sh
cd /lib/modules/fglrx
chmod 755 ./make_install.sh
./make_install.sh

then i got an operation not allowed error when i ran "modprobe fglrx"
ignoring that run fglrxconfig
if your running xorg instead of XFree86 do the following :
cp /etc/X11/xorg.conf /etc/X11/xorg.conf,old
cp /ect/X11/XF86Config-4 /etc/X11/xorg.conf

IF you got the operation not permitted error then switch to command line mode (i think: init 3 )
unload the current driver with :
rmmod radeon

load the new module :
modprobe fglrx
startx

then when i rebooted the fglrx module was preloaded so you might be able to skip some of this

ths was done on a custom 2.6.10 kernel


All times are GMT -5. The time now is 02:40 AM.