LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Problem to install ATI driver (https://www.linuxquestions.org/questions/mandriva-30/problem-to-install-ati-driver-268206/)

kmichal2 12-19-2004 07:26 PM

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?

Micro420 12-19-2004 10:29 PM

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.

kmichal2 12-20-2004 02:36 AM

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.

javeree 12-20-2004 03:07 AM

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.

kmichal2 12-20-2004 03:21 AM

Yes, I am the root.

GlennsPref 12-20-2004 04:14 AM

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

Good luck,

:study:

[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.

:cool:

kmichal2 12-21-2004 03:30 PM

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...

setlec_seta 12-21-2004 05:03 PM

damned ATI :tisk: ! they must build linux native drivers and not ported drivers as they actually do! :o

GlennsPref 12-22-2004 03:45 AM

Here's another good how-to....

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


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