LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-19-2004, 07:26 PM   #1
kmichal2
LQ Newbie
 
Registered: Nov 2004
Posts: 21

Rep: Reputation: 15
Problem to install ATI driver


I'm having a problem to update the driver for my ATI 9000 Pro on Mandrake 10.0. I followed the instruction posted on ATI web site. The build process went fine, however there is following error at the end:
- trying a sample load of the kernel module
FATAL: Error inserting fglrx (/lib/modules/2.6.3-4mdksmp/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
failed.
Did I missed something? Permissions? I'm root during the build.
Any ideas?
 
Old 12-19-2004, 10:29 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
How about posting EXACTLY what you did rather than just saying that you did everything ATI did say to. Sometimes people think that they did all the steps that so-and-so mentions, but it turns out that they missed a step. So it would be great if you could walk us through the things you did and show us the outputs of them.
 
Old 12-20-2004, 02:36 AM   #3
kmichal2
LQ Newbie
 
Registered: Nov 2004
Posts: 21

Original Poster
Rep: Reputation: 15
This is what I did.
I installed sources that match my kernel.
I run ./check.sh to get the version of XFree86.
Then I run rpm -Uh --force fglrx-4.3.0-3.14.6.i386.rpm as root.
I got following output:
########################################### [100%]
########################################### [100%]
*** Trying to install a precompiled kernel module.
*** WARNING ***
Tailored kernel module for fglrx not present in your system.
You must go to /lib/modules/fglrx/build_mod subdir
and execute './make.sh' to build a fully customed kernel module.
Afterwards go to /lib/modules/fglrx and run './make_install.sh'
in order to install the module into your kernel's module repository.
(see readme.txt for more details.)

As of now you can still run your XServer in 2D, but hardware acclerated
OpenGL will not work and 2D graphics will lack performance.

failed.
*** Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
skipping patch for 'drm_os_linux.h', not needed
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.3-4mdk/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.3-4mdk'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
CC [M] /lib/modules/fglrx/build_mod/2.6.x/agp3.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/i7505-agp.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2528: warning: initialization from incompatible pointer type
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST
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/linux-2.6.3-4mdk'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
FATAL: Error inserting fglrx (/lib/modules/2.6.3-4mdk/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
failed.
*** Warning ***
The QT based control panel application did not load in any version.
===
ATI display drivers successfully installed
please run 'fglrxconfig' now
===

Then CD into /lib/modules/fglrx/build_mod and run ./make.sh

ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
skipping patch for 'drm_os_linux.h', not needed
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.3-4mdk/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.3-4mdk'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/usr/src/linux-2.6.3-4mdk'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================

Then i CD into /lib/modules/fglrx and run ./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.3-4mdk/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
failed.
 
Old 12-20-2004, 03:07 AM   #4
javeree
Member
 
Registered: Jun 2004
Location: Belgium
Posts: 49

Rep: Reputation: 15
Are you doing this as root ?

I think you don't, so when the final result (fglrx.ko) is to be installed in the /lib/modules tree, you get the 'no permission' error.
 
Old 12-20-2004, 03:21 AM   #5
kmichal2
LQ Newbie
 
Registered: Nov 2004
Posts: 21

Original Poster
Rep: Reputation: 15
Yes, I am the root.
 
Old 12-20-2004, 04:14 AM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
I have nothing to add, But I am interested in the out come, as I have the same problem.

Good luck,



[edit]
ps, there's a few tutes here (at the top of the page) and I remember being told once not to use the ati drivers from ati, but from a developer somewhere......FireGL......X4.4.0-3.14.1.zip

http://www.linux-gamers.net/modules/...p?articleid=22

mentions getting drivers from here....http://www.schneider-digital.de/html/download_ati.php

Matching your x ver and ati chipset, ie: r200, r350 etc.

Hope this helps a bit.


Last edited by GlennsPref; 12-20-2004 at 04:41 AM.
 
Old 12-21-2004, 03:30 PM   #7
kmichal2
LQ Newbie
 
Registered: Nov 2004
Posts: 21

Original Poster
Rep: Reputation: 15
Hi,
Here I am again. I let it go. I installed Mandrake 10.1 instead. It has better support for ATI driver that is 3D acceleated. My glxgears score is 1800 now and in Mandrake 10.0 I had 350. It is not the full driver from ATI website but OGL works fine. In the future I may need the full ATI driver to support all features of my card. However, ATI setup is not working in X-org right now. I hope they will come up with something in the near future and it will work...
 
Old 12-21-2004, 05:03 PM   #8
setlec_seta
Member
 
Registered: Oct 2003
Location: somewhere around the world
Distribution: Mandriva 2010.1 pwp 64bit
Posts: 199

Rep: Reputation: 31
damned ATI ! they must build linux native drivers and not ported drivers as they actually do!
 
Old 12-22-2004, 03:45 AM   #9
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Here's another good how-to....

http://www.rage3d.com/content/articles/atilinuxhowto/
 
  


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
build and Install the module (ATI driver install) michapma Debian 5 11-13-2005 10:30 AM
Re-occuring ATI driver install problem Gamezace Linux - Hardware 7 02-11-2005 12:26 PM
ATI Driver prob: Black screen after driver install linuxboynz Linux - Laptop and Netbook 2 10-19-2004 02:52 AM
[yet another] ATI driver install problem -2.6.* carboncopy Slackware 16 06-18-2004 08:22 PM
problem to install an ATI driver setlec_seta Mandriva 9 06-18-2004 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:43 AM.

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