Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi Folks,
I installed xorg6.8 on my mandrake10.1CE box last night and everything went well so I then downloaded the latest fglrx driver from ati (fglrx_6_8_0-8.10.19-1.i386.rpm) and attempted to install that. I stopped the x server, went rpm -Uhv --force fglrx_6_8_0-8.10.19-1.i386.rpm and then rebooted. When the system came up everything looked OK but glxinfo reported that direct rendering wasn't working. I decided to try to build the fglrx module manually. I went to /lib/modules/build_mod and went sh ./make.sh and got the following message.
sh ./make.sh
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.1-10mdk/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/include/linux'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/include/linux'
make: *** [kmod_build] Error 2
build failed with return value 2
I've managed to get previous versions of the fglrx driver to work but I've never seen this error before. Anybody got any ideas.
Harishankar,
Thanks for yor reply but unforunately the solution isn't so simple. The kernel source code is installed and the required symbolic link does already exist. I'm assuming (maybe incorrectly) that the problem is in the fglrx source. However, I suppose if that were the case then this thread would have been red hot with other people reporting the same problem.
Anyway, thanks for your help.
Cheers,
Mick.
Originally posted by micker Harishankar,
Thanks for yor reply but unforunately the solution isn't so simple. The kernel source code is installed and the required symbolic link does already exist. I'm assuming (maybe incorrectly) that the problem is in the fglrx source. However, I suppose if that were the case then this thread would have been red hot with other people reporting the same problem.
Anyway, thanks for your help.
Cheers,
Mick.
You haven't changed your kernel .config file by chance? I've had no problems at all doing the upgrade (modules built perfectly) and have seen a +100 fps boost in glxgears (radeon 9600). Makes me happy to see ati actually doing something . If you haven't messed around with your kernel since the last install (updates, recompiles, installing new binarys), then i have no idea what messed up. I'd just try doing a recompile with the official kernel.org kernel (2.6.10 or whatever you want) using the current .config file to make sure.
Bobbens,
I've already tried getting an updated kernel ( I got it from Mandrakes cooker (2.6.11-2mdk)). As luck would have it, the error I was getting has be replaced by the following.
package fglrx_6_8_0-8.10.19-1.i386.rpm is not installed.
So it looks like the install failed.
If I now cd to /lib/modules/fglrx/build_mod and go sh ./make.sh I get reams of errors all complaining about errors in /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c.
Short of a mini-miracle I think my best bet is to live without hardware 3d until Mandrake 10.2CE comes out.
Yeah it sucks that you're having soo many problems. Short of reinstalling linux i don't know what you can do. Are people in the mandrak forum having the same error?
ATi drivers are incompatible with kernels > 2.6.11 - you would need to find a patch for the drivers to persuade them to build. Downgrade to an older kernel if you're not happy patching, else two patches are apparently available from the BugZilla - http://ati.cchtml.com/show_bug.cgi?id=110
Also, try removing the /lib/modules/fglrx directory before reinstalling the drivers again (rm -rf /lib/modules/fglrx)
Must be that 2.6.11 is definitely incompatible with ATi's latest drivers. I'm using 2.6.10 with ATi drivers and no problems.
Must investigate this further.
The best solution seems to be sticking on with kernel 2.4. It may be old, but many things still work properly with this kernel. 2.6 series seem to be giving a lot of problems for quite a few people (although not for me -- lucky me )
Just for the record.
I'm using 2.4.27 kernel in Debian and ATi drivers work fine with 3d.
I'm also using 2.6.10 kernel in Gentoo and ATi drivers work fine there also.
I think using 2.6.10 and less is the best solution for the moment.
Last edited by vharishankar; 03-13-2005 at 08:45 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.