LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-09-2008, 12:13 PM   #1
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Rep: Reputation: 30
Slackware 12.1 and ATI Drivers


Today I've installed Slackware 12.1 instead of 12.0 which I had

But I've got a problem with the ati drivers, downloaded from :
http://ati.amd.com/support/drivers/l...ux-radeon.html

Code:
root@Zukmeister:/home/zuki/Desktop# ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg Slackware/All
Created directory fglrx-install.m9cKah
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.476.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
==================================================
 ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Slackware/All

ATI SlackBuild Ver. 1.2.0
--------------------------------------------
by: Emanuele Tomasi <tomasiATcli.di.unipi.it>
    Ezio Ghibaudo<ekxiusATgmail.com>
    Federico Rota<federico.rota01ATgmail.com>

ATI module generator V 2.0
==========================
initializing...
Error:
kernel includes at /lib/modules/2.6.24.5/build/include do not match current kernel.
they are versioned as ""
instead of "2.6.24.5".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
Error -> I don't have make module
Removing temporary directory: fglrx-install.m9cKah
/usr/src/linux points to /usr/src/linux-2.6.24.5

I've Googled it and found out that it happened to other people as-well but havn't seen a working solution.

Thanks for your help!
 
Old 05-09-2008, 01:54 PM   #2
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
what kernel are you running? It is using the none smp "/lib/modules". I'm gonna assume you are using the non-smp? I built it using the generic-smp kernel and it works without any problems. If you are using the non-smp you will have to /extra on the dvd/cd and install/patch the kernel source. I don't imagine you are using that kernel on purpose, but that is what I am assuming.
 
Old 05-09-2008, 05:07 PM   #3
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.0
Posts: 2,231

Rep: Reputation: 573Reputation: 573Reputation: 573Reputation: 573Reputation: 573Reputation: 573
Quote:
Originally Posted by CHANGES_AND_HINTS.TXT
As stated earlier, it is recommended that you use one of the generic kernels
rather than the huge kernels; the huge kernels are primarily intended as
"installer" and "emergency" kernels in case you forget to make an initrd.
For most systems, you should use the generic SMP kernel if it will run,
even if your system is not SMP-capable. Some newer hardware needs the
local APIC enabled in the SMP kernel, and theoretically there should not be
a performance penalty with using the SMP-capable kernel on a uniprocessor
machine, as the SMP kernel tests for this and makes necessary adjustments.
Furthermore, the kernel sources shipped with Slackware are configured for
SMP usage, so you won't have to modify those to build external modules
(such as NVidia or ATI proprietary drivers) if you use the SMP kernel.

If you decide to use one of the non-SMP kernels, you will need to follow the
instructions in /extra/linux-2.6.24.5-nosmp-sdk/README.TXT to modify your
kernel sources for non-SMP usage. Note that this only applies if you are
using the Slackware-provided non-SMP kernel - if you build a custom kernel,
the symlinks at /lib/modules/$(uname -r)/{build,source} will point to the
correct kernel source so long as you don't (re)move it.
Follow symatic's advice (or switch to the generic-smp kernel)
 
Old 05-09-2008, 08:20 PM   #4
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
I did in-fact installed the huge.s kernel.


Is there a nice way to use the other kernels with the pkgtool, I wouldn't have asked it unless
Code:
root@Zukmeister:/mnt/dvd# for i in $(find /mnt/dvd/ -iname *.tgz -print | grep -i kernel | grep -i smp); do upgradepkg --dry-run $i; done
kernel-headers-2.6.24.5-x86-2 would upgrade: kernel-headers-2.6.24.5_smp-x86-2
kernel-modules-smp-2.6.24.5_smp-i686-2 would be skipped (already installed).
kernel-huge-smp-2.6.24.5_smp-i686-2 would be skipped (already installed).
kernel-generic-smp-2.6.24.5_smp-i686-2 would be skipped (already installed).
kernel-headers-2.6.24.5_smp-x86-2 would be skipped (already installed).
kernel-source-2.6.24.5_smp-noarch-2 would be skipped (already installed).
root@Zukmeister:/mnt/dvd# uname -a
Linux Zukmeister 2.6.24.5 #2 Wed Apr 30 14:13:52 CDT 2008 i686 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
 
Old 05-09-2008, 09:09 PM   #5
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.0
Posts: 2,231

Rep: Reputation: 573Reputation: 573Reputation: 573Reputation: 573Reputation: 573Reputation: 573
It looks like the generic-smp kernel is already installed. Check /boot to see if there exists vmlinuz-generic-smp-2.6.24.5-smp and System.map-generic-smp-2.6.24.5-smp. If they do exist, add a stanza in /etc/lilo.conf such as the following (change /dev/sda1 to point to your Slackware root partition):
Code:
image = /boot/vmlinuz-generic-smp-2.6.24.5-smp
  initrd = /boot/initrd.gz
  root = /dev/sda1
  label = Generic
  read-only
Then make an initrd (read /boot/README.initrd for help on that) and run `lilo` as root. That should get you booted into the generic-smp kernel if it exists on your machine.
 
Old 05-09-2008, 11:13 PM   #6
subgenius
Member
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 41

Rep: Reputation: 15
Slackware 12.1 and ATI Drivers

T3slider had it exactly right. Once I switched to the smp kernel, the driver installed
with no problems. If you read the referenced file
(/extra/linux-2.6.24.5-nosmp-sdk/README.TXT) you will see that the smp kernels are
recommended.

And if you want to stay with your non-smp kernel there is a script to run (patch-to-non-smp.sh) in /extra to convert your kernel sources.
 
Old 05-14-2008, 11:05 PM   #7
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,441

Rep: Reputation: 70
Btw, there are ATI slackBuilds out now at slackBuilds.org.
 
Old 05-15-2008, 02:38 AM   #8
Alstare
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 79

Rep: Reputation: 15
kudos on the Slackbuild ATI Packages!

I will have to give them a shot on the next box I setup.
 
Old 05-15-2008, 02:54 AM   #9
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
You also seem to be installing a 64-bit driver on a 32-bit OS:
Code:
ati-driver-installer-8-4-x86.x86_64.run
Maybe I'm wrong, but if not, will it work?
 
Old 05-15-2008, 03:30 AM   #10
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by Bruce Hill View Post
You also seem to be installing a 64-bit driver on a 32-bit OS:
Code:
ati-driver-installer-8-4-x86.x86_64.run
Maybe I'm wrong, but if not, will it work?
That's just ATI's naming . I actually (re) downloaded the package 3 times because it had x86_64 in the name.

Shame my x1600 is still only on par with an nVidia fx5500, but that's another story .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATi drivers on Slackware 12.0 Sn!per[SWE] Slackware 14 08-08-2007 01:48 PM
new to slackware, help with ati drivers swooshonln Slackware 7 04-27-2006 11:27 AM
Slackware 10.2 and fglrx (ATI Drivers) cythrawll Slackware 7 10-18-2005 05:44 PM
ATI Drivers and Slackware 10.2 Question zeroz52 Slackware 2 09-19-2005 07:29 AM
ATI drivers on Slackware c_olin3404 Linux - Software 17 05-23-2005 03:05 PM


All times are GMT -5. The time now is 01:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration