[ucw]prophet Posted March 14, 2004 Share Posted March 14, 2004 Okay, I'm at my first roadblock with Mandrake 10. I downloaded the most recent version of ATI drivers/modules from the ATI Web site and tried to install them. Here's the error that I received: *** 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. ------------------------------------------------ When I run make.sh, I get the following: ATI module generator V 2.0 ========================== initializing... kernel includes at /usr/src/linux/include not found or incomplete file: /usr/src/linux/include/linux/version.h ------------------------------------------------ Then running make_install.sh gives the following error again: *** 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. ------------------------------------ It appears that the ATI drivers are trying to locate the Linux source and use it to compile a new module. Mandrake doesn't have a Linux source directory under /usr/src, therefore it seems that might be part of the issue. I'm not sure where Mandrake would keep a Linux source at. I'm assuming that if I can find the source directory, I can put a symbolic link to that directory under /usr/src/ and this should work properly. Any feedback or a point in the right direction would be greatly appreciated. Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted March 14, 2004 Veteran Share Posted March 14, 2004 prophet,Mar 13 2004, 20:13] When I run make.sh, I get the following:ATI module generator V 2.0 ========================== initializing... kernel includes at /usr/src/linux/include not found or incomplete file: /usr/src/linux/include/linux/version.h I'm not an expert on this, but the part that I have quoted appears to indicate the maske.sh for your ATI module generator is looking for some source code to work with. It seems that you need to install your kernel's source code to do this. Link to comment Share on other sites More sharing options...
[ucw]prophet Posted March 14, 2004 Author Share Posted March 14, 2004 (edited) Yup ... that was exactly the problem. I just assumed that Mandrake would install the kernel source by default, when in fact it kept it on the 3rd CD. Simply used RPMdrake to search for "kernel", found the source, and installed it. The kernel source installed to the /usr/src/ directory and made a symbolic link called linux in that directory. Everything appears to be right with the world once again. BTW... I'm still blown away by how fast this new kernel is. Edited March 14, 2004 by [ucw]prophet Link to comment Share on other sites More sharing options...
Recommended Posts