LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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-27-2004, 06:35 PM   #1
aarontc
LQ Newbie
 
Registered: Oct 2004
Location: Klamath Falls, Oregon
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
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!
 
Old 10-27-2004, 10:06 PM   #2
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
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.
 
Old 10-28-2004, 04:15 AM   #3
textomat
LQ Newbie
 
Registered: Sep 2004
Posts: 27

Rep: Reputation: 15
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 ...
 
Old 11-20-2004, 02:17 AM   #4
retsamedoc
LQ Newbie
 
Registered: Nov 2004
Location: Arizona
Distribution: Gentoo, Fedora
Posts: 1

Rep: Reputation: 0
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.
 
Old 12-22-2004, 07:13 PM   #5
DocHoliday
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
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".
 
Old 01-16-2005, 11:53 PM   #6
Simon_6162
Member
 
Registered: Jul 2004
Location: UK
Distribution: Fedora, Gentoo, Redhat Enterprise
Posts: 141

Rep: Reputation: 16
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

Last edited by Simon_6162; 01-16-2005 at 11:54 PM.
 
  


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 question and console question kholdstayr Slackware 2 07-18-2005 04:30 PM
ATI 9800 Pro driver question spyder Linux - Hardware 1 04-07-2004 11:05 PM
ATI Linux Driver 3.7.6 is OUT! Finalnight Linux - Software 5 03-11-2004 09:38 PM
Help :( ATI driver install & another question Ckret_01 Linux - Newbie 10 03-06-2004 07:08 PM
yet another ATI driver question e1000 Slackware 4 02-11-2004 07:22 PM


All times are GMT -5. The time now is 11:36 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration