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.
I am trying to install the ATi drivers on my freshly built Slack 13 box.
I have compiled my own 2.6.31 and 2.6.33.1 kernels but both have given me errors.
Under 2.6.31 the drivers fail to compile. After checking dmesg, found an error messages regarding "find_task_by_vpid". Apparently the ATi drivers don't build against that kernel.
So I compiled 2.6.33.1 using the following:
Code:
make
cp System.map /boot/System.map-2.6.33.1
ln -sf /boot/System.map-2.6.33.1 /boot/System.map
make modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.33.1
nano /etc/lilo.conf
mkinitrd -k 2.6.33.1 -m ext4:ehci_hcd:uhci_hcd:usbhid -f ext4 -r /dev/cryptvg/root -C /dev/sda2 -L
lilo
These steps always work beautifully.
However now I get the following error when trying to install the ATi 9.8 drivers:
Code:
Error:
kernel includes at /lib/modules/2.6.33.1/build/include do not match current kernel.
they are versioned as ""
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
ERROR: i don't have make module
I've never had problems compiling a kernel before.
Does anyone have any suggestions as to where I might have gone wrong? Or better still, how to compile the fglrx driver for Slackware 13?
All seemed to be going well, but now I get an error saying:
Code:
ld: Relocatable linking with relocations from format elf64-x86-64 (/tmp/fglrx-installer-8.721/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4) to format elf32-i386 (/tmp/fglrx-installer-8.721/lib/modules/fglrx/build_mod/fglrx.o) is not supported
make[1]: *** [/tmp/fglrx-installer-8.721/lib/modules/fglrx/build_mod/fglrx.o] Error 1
make: *** [_module_/tmpfglrx-installer-8.721/lib/modules/fglrx/build_mod/] Error 2
make: Leaving directory '/root/linux-2.6.33.1'
You need to create an xorg.conf file in order to use fglrx. You can create one with 'Xorg -configure' and then edit the file that is generated so that it uses the 'fglrx' driver instead of the 'radeon' driver.
The package is created, and I install it and everything looks fine.
It should definitely compile against 2.6.31 (and 2.6.32) though I do believe that 2.6.33 still requires patching.
So maybe you should clarify exactly what you've done, exactly what kernel you are using, and exactly what problem you are having.
EDIT: Also, where did you get the version you are using? As far as I know, that version hasn't been officially released and is geared towards users with X server 1.7.*. I have my doubts that it would work on one of the 1.6.* X servers.
I am using ATI driver versions 9.3, 9.5 and 9.8. If I remember correctly, ATI released all of the above, but then rolled back to 9.3. This now is the only version available.
I tried to compile against kernel 2.6.31, but it failed and reported "find_task_by_vpid" errors in dmesg.
I then compiled kernel 2.6.33.1, and tried to build the ATI drivers against that. This too failed with the following error:
Code:
Error:
kernel includes at /lib/modules/2.6.33.1/build/include do not match current kernel.
they are versioned as ""
Then I followed the article given to me by Lucifer4o. Like I mentioned, the package builds and installs, but if I run lsmod I see no mention of fglrx, and glxgears runs like a 3-legged dog in treacle.
Even if I do get it to work, I'm at a loss with how to configure my dual monitors without an xorg.conf file. But I'm guessing this must be configured some other way and that I just need to RTFM / STFW.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.