Click to See Complete Forum and Search --> : ATI Radeon 9200 & Kernel 2.6.5


Malikith
05-06-2004, 08:58 AM
This is just something I cannot understand at this point... I've been working on getting these drivers working, which are the ATI 3.7.6 drivers, the latest ones, and with the latest kernel, 2.6.5, i'm running Fedora Core 1, and well, whenever I try to compile the drivers by running the rpm supplied with it, or even if I go into the folder and use the make file, this is what I get, and i've tried changing kernel options around for the video card, i've tried just about everything I could think of, so here I am, looking for an answer, i've googled everywhere, and I don't think everyone has the same problem as me... And don't think the permissions are screwed up or i'm not on root, I have chmod 777 the file that it says operation cannot be permitted, i've done everything... lol but hey, maybe i'm blind and someone here knows what to do since someone here is destined to have came across this problem with a TI card and the 2.6 series kernels. Heres my problem as it appears in the console:

*** Trying to install a precompiled kernel module.
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
FATAL: Error inserting fglrx (/lib/modules/2.6.5/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
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.5/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.5'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
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:2246: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2264: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2271: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2278: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2287: warning: initialization from incompatible pointer type
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-2.6.5'
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.5/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
failed.
Installed: qt3 (gcc 3.2) based control panel application
===
ATI display drivers successfully installed
please run 'fglrxconfig' now

mdwatts
05-06-2004, 10:14 AM
Originally posted by Malikith

FATAL: Error inserting fglrx (/lib/modules/2.6.5/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
failed.
Installed: qt3 (gcc 3.2) based control panel application
===
ATI display drivers successfully installed
please run 'fglrxconfig' now

Are you root when doing this and have you tried running 'fglrxconfig' since it does say the drivers were installed successfully?

You could try manually loading the module (as root)

depmod -ae
modprobe fglrx

hard candy
05-06-2004, 10:15 AM
And don't think the permissions are screwed up or i'm not on root, I have chmod 777 the file that it says operation cannot be permitted, i've done everything...

Does this mean you are root or "su" when you run the make and make install? Now you have to have root privileges to write anything to /lib/modules. So just changing permissions on the file to be inserted would not solve anything.
Also, you are running a kernel that you compiled and installed and not just a kernel.rpm that was installed. Is this correct?

Malikith
05-06-2004, 11:24 AM
Thanks for the help but none of it worked, However, I just redid my kernel again, totally recompiled it, and left some options alone even though they shouldn't have anything to do with anything, but ATI cards are wierd themselves... heh. But yeah i'm up and running now with the 2.6.5 kernel, first time i've ever used this kernel, and its pretty quick, I notice the speed gain from the 2.4 kernel to the newest, this is also my first working compiled kernel hehe, kinda of a big day in history for me :) Been using linux for a year, and finally have accomplished something i've never been able to do, and alot of the thanks goes to my new cable modem hehe *Hates 56k modems in linux*

mdwatts
05-06-2004, 12:06 PM
Originally posted by Malikith
But yeah i'm up and running now with the 2.6.5 kernel.

Been using linux for a year, and finally have accomplished something i've never been able to do.

Congrats and well done.

Be sure to drop by JL everyday as you will now be assigned ALL the 2.6 kernel and ATI questions. :p