n00blar Posted October 19, 2004 Report Share Posted October 19, 2004 (edited) I've searched a bit on this forum, but I can't seem to find pointers or clues to my problem. I'm trying to install the latest ATI linux drivers for Mandrake 10, and here's the message I get: *** 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. *** Warning *** The QT based control panel application did not load in any version. === ATI display drivers successfully installed please run 'fglrxconfig' now === Now, I try to run ... sh make.sh in the dir /lib/modules/fglrx/build_mod - and I get this error message: 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-p3-smp-64GB". you might need to adjust your symlinks: - /usr/include - /usr/src/linux Now, in /usr/src I have the fhe following link: linux -> linux-2.6.3-19mdk/ Also under /usr/src I have these directories: drwxr-xr-x 2 root root 4096 Oct 18 23:26 ATI/ lrwxrwxrwx 1 root root 17 Oct 9 17:25 linux -> linux-2.6.3-19mdk/ drwxr-xr-x 19 root root 4096 Oct 9 17:25 linux-2.6.3-16mdk/ drwxr-xr-x 21 root root 4096 Oct 18 22:53 linux-2.6.3-19mdk/ drwxr-xr-x 7 root root 4096 Oct 5 15:05 RPM/ I'm really at a loss now; I don't know exactly how to get these drivers loaded. I do know that my CPU has HyperThreading enabled; which is the reason why Mandrake loaded a bunch of kernels that come up as options on my lilo.conf file. Lilo.conf is set to: default="linux" and image=/boot/vmlinuz label="linux" root=/dev/sda5 initrd=/boot/initrd.img append="devfs=mount acpi=ht splash=silent" vga=788 read-only Hopefully all this information can give you an idea as to what it may be going on with my configuration that it won't allow me to install ATI drivers. Thanks for your help and time reading this long message :) Edited October 19, 2004 by n00blar Quote Link to comment Share on other sites More sharing options...
thac Posted October 19, 2004 Report Share Posted October 19, 2004 Get my fglrx srpm file from http://rpm.nyvalls.se and do a rpm --rebuild *.src.rpm It will build om any Mandrake sds tmb and multimedia kernel /Torbjörn Turpeinen (Thac) Quote Link to comment Share on other sites More sharing options...
n00blar Posted October 19, 2004 Author Report Share Posted October 19, 2004 (edited) Thanks, so much :) Now, pardon my n00bness, my linux link on /usr/src reads... linux -> linux-2.6.3-19mdk/ So, I downloaded - fglrx-3.12.0-2thac.src.rpm ( I don't know if this is the right file) I ran it as you mentioned...it took about 5 minutes of compiling. Now I went ahead and tried to run: rpm -Uh --force fglrx-4.3.0-3.14.1.i386.rpm (ATI driver file) and I'm getting the same error message. Did I download the wrong src file? Thanks so much for your reply. Edited October 19, 2004 by n00blar Quote Link to comment Share on other sites More sharing options...
n00blar Posted October 20, 2004 Author Report Share Posted October 20, 2004 Ok, after some playing around with 'uname -r' I found out that I had loaded the wrong kernel-source RPMs. My machine has HT enabled at the BIOS level, so Mandrake created many boot options for me, such as: image=/boot/vmlinuz label="linux" root=/dev/sda5 initrd=/boot/initrd.img append="devfs=mount acpi=ht splash=silent" vga=788 read-only image=/boot/vmlinuz label="linux-nonfb" root=/dev/sda5 initrd=/boot/initrd.img append="devfs=mount acpi=ht" read-only image=/boot/vmlinuz-i686-up-4GB label="linux-i686-up-4GB" root=/dev/sda5 initrd=/boot/initrd-i686-up-4GB.img append="devfs=mount acpi=ht splash=silent" read-only image=/boot/vmlinuz-p3-smp-64GB label="linux-p3-smp-64GB" root=/dev/sda5 initrd=/boot/initrd-p3-smp-64GB.img append="devfs=mount acpi=ht splash=silent" read-only image=/boot/vmlinuz-2.6.3-7mdk label="263-7" root=/dev/sda5 initrd=/boot/initrd-2.6.3-7mdk.img append="devfs=mount acpi=ht splash=silent" read-only image=/boot/vmlinuz-smp label="linux-smp" root=/dev/sda5 initrd=/boot/initrd-smp.img append="devfs=mount acpi=ht splash=silent" read-only It appears that initrd=/boot/initrd-p3-smp-64GB.img is my default image; however, I don't have, or at least I can't find, source RPMs for initrd=/boot/initrd-p3-smp-64GB.img. That's why the ATI drivers are not loading properly. If I'm to boot using 2.6.3-7mdk image, then the drivers load up and install just fine. Now, my question is...am I still taking advantage of the HT feature set in my BIOS if I use this image? Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.