LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [Suse 9.2] Installing kernel-module (ATI Drivers) problem (https://www.linuxquestions.org/questions/linux-software-2/%5Bsuse-9-2%5D-installing-kernel-module-ati-drivers-problem-284375/)

Simkin 01-31-2005 03:58 AM

[Suse 9.2] Installing kernel-module (ATI Drivers) problem
 
Hi all,

I have a problem building a kernel module, needed in order to install x.org drivers for my ATI radeon 9800 pro. I followed all steps in the how-to`s but now I am stuck, and I don`t see what I did wrong…

Here is where it all started:
rpm -Uh --force fglrx_6_8_0-8.8.25-1.i386.rpm

Which returned the following:
Code:

########################################### [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.
*** Error: no kernel module build environment - please consult readme.
/sbin/ldconfig: File /usr/X11R6/lib/FGL.renamed.libGL.so.1.2 is too small, not checked.
*** Warning ***
The QT based control panel application did not load in any version.
 ===
ATI display drivers successfully installed
please run 'fglrxconfig' now
 ===

I went to /lib/modules/fglrx/build_mod directory and ran (as root):
./make.sh
Code:

ATI module generator V 2.0
==========================
initializing...
Error:
kernel includes at /usr/src/linux/include do not match current kernel.
they are versioned as "2.6.8-24.11-default"
instead of "2.6.8-24-default".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux

I check if the sym link exists (it does):
linux -> linux-2.6.8-24.11

uname -a tells me:
Linux linux 2.6.8-24-default #1 Wed Oct 6 09:16:23 UTC 2004 i686 athlon i386 GNU/Linux

I notice that “.11” part is missing, but I am unsure if that is of any importance..

My next step was:
export LINUXDIR=/usr/src/linux

then:
cd $LINUXDIR
(that command navigated me to /usr/src/linux)

then:
make cloneconfig

then:
make prepare-all

I went back to /lib/modules/fglrx/build_mod en ran:
./make.sh
Which returned the following:
Code:

ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
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.8-24-default/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make: *** /lib/modules/2.6.8-24-default/build: No such file or directory.  Stop.
make: *** [kmod_build] Error 2
build failed with return value 2

What is this error 2 telling me, am I doing something wrong and how can I fix this? :|

So when I go to /lib/modules/fglrx and run sh make_install.sh I get the message:
Code:

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

I can’t seem to get the kernel-module to be installed.
Can anybody please push me in the right direction? (Help!)

When I now reboot the machine X is no longer starting...

Thanks in advance for your time and effort!


All times are GMT -5. The time now is 03:10 PM.