LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-09-2006, 09:23 AM   #1
phracek
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Rep: Reputation: 0
ATI driver and kernel 2.6.16-2133 (FC5)


Hi all,

I would like to install ATI driver on my FC5 with kernel 2.6.16-2133_FC5, but after install
when I see on the /usr/share/fglrx/fglrx-install.log I can see that modules was not inserted.

Do you know everybody where I can have problem?
My notebook is Fujitsu-Siemens E8010 and graphic card is ATI MOBILITY RAGEON 9700

logfile is this:
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
Assuming default VMAP API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.16-1.2133_FC5/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/2.6.16-1.2133_FC5-i686'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2230: warning: 'deferred_flush' defined but not used
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST
Warning: could not find /lib/modules/fglrx/build_mod/2.6.x/.libfglrx_ip.a.GCC4.cmd for /lib/modules/fglrx/build_mod/2.6.x/libfglrx_ip.a.GCC4
CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.16-1.2133_FC5-i686'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
- recreating module dependency list
- trying a sample load of the kernel modules
failed.
[Error] Kernel Module : Failed to install compiled kernel module - please consult readme.


Thanks for your help
regards
Petr
 
Old 08-09-2006, 12:55 PM   #2
AzrielMacKay
Member
 
Registered: Jul 2001
Location: Moody, AL
Distribution: Debian and Kubuntu
Posts: 249

Rep: Reputation: 30
Try recompiling the fglrx by hand. The version you have isnt jiving with your kernel version. It looks like its trying to do that itself, but maybe if you do it by hand you can get some more useful output as to why its failing.
 
Old 08-10-2006, 01:08 AM   #3
phracek
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Where I can find source files for recompiling fglrx?
How I can recompile fglrx? I don't know where is a Makefile?

regards
Petr
 
Old 08-10-2006, 05:49 AM   #4
ingar
Member
 
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Studio
Posts: 42

Rep: Reputation: 15
I thought I might give you a tip of a website that explains very well how
to set up and fine-tune FC5. It tells you also how to get the ATI-driver installed properly.
I've used these tips myself, and it worked out great!

Here's the link:
http://www.stanton-finley.net/fedora...tes.html#Flash
 
Old 08-14-2006, 03:20 PM   #5
FerkoPica
Member
 
Registered: Mar 2004
Distribution: FC5,Slackware
Posts: 53

Rep: Reputation: 15
Hi, i've got same problem with latest ati drivers on fc5 and also with old versions on fc4:

dmesg output>

fglrx: Unknown symbol print_tainted

...and listing of /usr/share/fglrx/fglrx-install.log >>>

[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
Assuming default VMAP API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.15-1.2054_FC5/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/2.6.15-1.2054_FC5-x86_64'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘firegl_put_user_ptr’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1319: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1319: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1319: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1319: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_unregister_ioctl32_conversion’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2499: warning: ‘return’ with
a value, in function returning void
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST
Warning: could not find /lib/modules/fglrx/build_mod/2.6.x/.libfglrx_ip.a.GCC4.cmd for /lib/modules/fglrx/build_mod/2.6.x/libfglrx_ip.a.GCC4
CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.15-1.2054_FC5-x86_64'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
- recreating module dependency list
- trying a sample load of the kernel modules
failed.
[Error] Kernel Module : Failed to install compiled kernel module - please consult readme.



Problem will still occure when i have same version of gcc and kernel compiled yourself with same gcc and of couse i've got kernel headers and kernel sources.

I has been waiting for new version of driver and still not working properly, have somebody finally solution? because a can't find any.
Module seems to be compiled but it cannot be loaded into memory.

[root@amd64 Ati]# modinfo fglrx
filename: /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/char/drm/fglrx.ko
author: Fire GL - ATI Research GmbH, Germany
description: ATI Fire GL
license: Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY
vermagic: 2.6.15-1.2054_FC5 SMP gcc-4.1
depends:
parm: firegl:s

modprobe listing:

[root@amd64 Ati]# modprobe fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.15-1.2054_FC5/kernel/drivers/char/drm/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg)


my system os amd 64 and x64 bit fc5 installed.
i have no idea what's wrong....
thanx
 
Old 08-14-2006, 05:03 PM   #6
FerkoPica
Member
 
Registered: Mar 2004
Distribution: FC5,Slackware
Posts: 53

Rep: Reputation: 15
Only solution what i've founded is to install fglrx-kmod-8.27.10-2.2.6.17_1.2157_FC5.src.rpm and of course appropiate kernel 2.6.17-1.2157_FC5.
Now it seem to be working i've got quite good results from fgl_glxgears

6828 frames in 5.0 seconds = 1365.600 FPS
6840 frames in 5.0 seconds = 1368.000 FPS
6958 frames in 5.0 seconds = 1391.600 FPS
6954 frames in 5.0 seconds = 1390.800 FPS


bey
 
Old 08-15-2006, 04:31 AM   #7
phracek
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I've installed kernel 2.6.17-2157 and of course fglrx-kmod-8.27.10-2.6.17-2157.src.rpm

Can you tell correct way how to install fglrx driver to the system.
Which package should be first and so on.
 
Old 08-16-2006, 06:41 PM   #8
FerkoPica
Member
 
Registered: Mar 2004
Distribution: FC5,Slackware
Posts: 53

Rep: Reputation: 15
Hi, at first in email what you wrote me you mentioned that you get error fgl_glxgears: error while loading shared libraries: /usr/lib/libGL.so.1: cannot restore segment prot after reloc: Permission denied, i not sure what it means, have you got installed mesa-libGL ?

At first you need to install kernel and then fglrx. In my system it runs perfectly, i'm able to play games like et, quake, doom3 etc. But proprietary driver from ati web site is not working still for me.
 
  


Reply



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
Problems with driver make for Intel 537EP modem and kernel 2.6.16 (FC5). Findlegroodle Linux - Hardware 2 08-12-2007 10:37 PM
has anyone successfully installed ATI driver on FC5? baosheng Fedora 6 10-02-2006 03:54 AM
nvidia driver problems in fc5 and 2.6.16.7 kernel. sharma_deepak83 Linux - Laptop and Netbook 2 07-19-2006 03:38 AM
fglrx-driver vs ATI kernel driver for ATI Radeon 9200 in Debian Debian_Poland Debian 3 02-01-2006 01:10 PM
Is possible? ATI Driver + Kernel 2.6 robo_br Linux - Software 0 10-21-2003 10:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:07 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration