installing ATI driver 8.32.5 gives module build error
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
installing ATI driver 8.32.5 gives module build error
I decided to finally tackle getting the ATI drivers working on my Slack 11 install. I downloaded the latest (8.32.5) driver from ATI's site. When I follow the directions in ATI's how to I get:
Code:
There were errors during installation.
Details can be found in
/usr/share/ati/fglrx-install.log
Which reads:
Code:
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Error] Kernel Module : No kernel module build environment - please consult readme.
I'm running a custom built 2.6.19.1 kernel. and I dont see a readme, so...
What I'd like to know is how do I fix it so there is a kernel module build environment?
(and I feel good, cuz I'd thought about symlinking /src to /source (saw a reference to it in my googling), just didn't want to go blindly tossing commands around.
ok. on to the results:
it appeared to install fine, and then I got a similar error message referencing the same logfile which gives a bunch of stuff, the end of which reads:
Code:
- recreating module dependency list
- trying a sample load of the kernel modules
failed.
[Error] Kernel Module : Failed to install compiled kernel module - please consult readme.
Thanks a million for the help so far. any ideas on this latest error?
did you run the installer as root ? if not then you have to.
sure did.
I wish it was that simple. problem is I dont see a "readme" anywhere, or I might have a clue what to start looking at next. The install notes on the ATI website provide me no clues, and the error refrences the mystery readme. I'm about to give up unless someone can give me a hint or clue.
Wait, I think I know what's wrong (it must have slipped me last time). When you were building the custom kernel did you run:
Code:
make modules
make modules_install
If not, then run it. If you already ran it, then copy the directory tree from /lib/modules/2.4.33.3/kernel to /lib/modules/`uname -r` so you get a new directory /lib/modules/`uname -r`/kernel with lots of subdirectories.
Wait, I think I know what's wrong (it must have slipped me last time). When you were building the custom kernel did you run:
Code:
make modules
make modules_install
If not, then run it. If you already ran it, then copy the directory tree from /lib/modules/2.4.33.3/kernel to /lib/modules/`uname -r` so you get a new directory /lib/modules/`uname -r`/kernel with lots of subdirectories.
I'm about to try it as you suggest. When I built the kernel I followed Alien Bob's how to, and used these comands (comments from the how to I didn't type them when building my kernel ):
Code:
make bzImage modules # compile the kernel and the modules
make modules_install # installs the modules to /lib/modules/<kernelversion>
gonna try it now. brb.
Edit: ok, I did the make modules, make modules_install and it rolled through a bunch of stuff, but I still get blank output from lsmod.
I looked in /lib/modules/2.6.19.1 and see a directory structure similar to that in /lib/modules/2.4.33.3. Will I still benefit from copying the directory from 2.4.33.3?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.