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.
After --force ing the ATI driver installation, I'm trying to build and install a kernel module in order to get hardware acceleration, but I'm getting the following error when I "sh make.sh" in the fglrx/build_mod directory:
Code:
[root@x1-6-00-07-e9-c1-3c-84 build_mod]# sh make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
kernel includes at /usr/src/linux/include do not match current kernel.
they are versioned as ""
instead of "2.6.3-7mdk-i686-up-4GB".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
Ive set up my symlink using the following commands
Try to get a vanilla kernel (2.6.3 for example) and compile it with the exact same options as the one you have now. The try to do the "sh make.sh" again.
1. Get a vanilla(ftp.kernel.org) source
2. Unpack it in /usr/src
3. Copy the config file mandrake(redhat, debian, ...) used to compile your **RUNNING** kernel(this is generally found in /boot/config-...)
4. rename the config file to /usr/src/<linux version>/.config
5. cd into /usr/src/<linux version> and issue a "make oldconfig". If the kernel versions are the same it should answer all questions by itself.
6. issue a make dep(not needed for 2.6 kernels)
7. Now go run your installation for other drivers,
*OPTIONAL* 8. You may need to link /usr/src/linux to the kernel source, and/or link /lib/modules/<kernel-version>/build to the linux source.
Goto ftp.kernel.org(as I referenced above), find a local mirror, go into the appropriate version folder, find the appropriate version. Vanilla refers to a kernel that hasn't been patched by anyone.
Originally posted by jrmann1999 Goto ftp.kernel.org(as I referenced above), find a local mirror, go into the appropriate version folder, find the appropriate version. Vanilla refers to a kernel that hasn't been patched by anyone.
OK.
I'll follow the steps you outlined and report back.
One quick question though, I'm using the 2.6.3 up-4GB kernel because the default one doesn't recognize all my memory. Using this "vanilla" kernel will it find all my RAM?
Thanks for your help so far
Last edited by black hole sun; 07-26-2004 at 04:17 PM.
Are you using mandrake? If you are, use the package installation to get the source for the exact version of the kernel you're using. It should be relatively simple.
Originally posted by jrmann1999 4. rename the config file to /usr/src/<linux version>/.config
Confused on this one. You want me to name the copied config file as "config-2.6.3-7", which would be my linux kernel version, and then paste it in /boot? Or in /usr/src/<linux version>?
Sorry for being a bit dense, I'm relatively new to the linux scene.
Last edited by black hole sun; 07-27-2004 at 12:17 PM.
i downloaded the drivers frm ATI site..
i m doin everythin as it is given in the HOW TO file on the ATI SITE
everythin goes smooth... i answer all the question in fglrxconfig
dat too goes ok
but whn i reboot n try Fglrxinfo... it still says MESA drivers
whereas the ATI site goes like this...
Quote:
Run fglrxinfo to verify the driver is installed correctly
If the output reads OpenGL vendor string: ATI Technologies Inc. then your ATI drivers are installed and configured correctly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.