LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-28-2006, 04:08 PM   #1
FerkoPica
Member
 
Registered: Mar 2004
Distribution: FC5,Slackware
Posts: 53

Rep: Reputation: 15
Angry Ati driver installation problem on slackware 10.2


Hi, i've got some trouble with ati driver installation on my linux box (slack 10.2),
my card is radeon x700 so that card is supported by ati and its driver.

Here is some output from /usr/share/fglrx/fgrlx-install.log:

[Messqage] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
Assuming default VMAP API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.13/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.13'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST
CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-2.6.13'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
- 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.
/usr/share/fglrx/fglrx-install.log lines 1-28/28 (END)

As we can see above problem seems to be in installation of compiled kernel module, i'm asking why...
I've already got kernel headers and kernel sources for 2.6 kernel. I has founded in documentation for fglrx that 2.6 kernel support is not currently available and should be availlable in next release.

glxinfo reports "direct rendering: No" ...of course....

Could somebody help me, please with this problem...

thanks
 
Old 06-29-2006, 12:14 AM   #2
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Rep: Reputation: 34
Hmm ATI driver supports kernel 2.6.x, at least the newer versions. Did you get the newest driver from ati.com?

A few days ago a new one was released. It runs great on my Slackware current installation with kernel 2.6.16.20. Do you have an older driver installed and try to install a new one without uninstalling the old one?
 
Old 06-29-2006, 01:02 PM   #3
FerkoPica
Member
 
Registered: Mar 2004
Distribution: FC5,Slackware
Posts: 53

Original Poster
Rep: Reputation: 15
Yes, of course , i've got at least 4 versions of ati driver(proprietary) including new one, also i've tried dri (open source version), driver runs, but without 3d acceleraton. Current kernel what i am running on is 2.6.13, but it doesnt seems to be kernel issue because on FC4,5 i've got same troubles with driver. I dont know what to do, all the time it is same no 3d acceleration because compiled kernel module fails to install. I has read documentation and others threads, but still cannot find a solution.
 
Old 06-30-2006, 12:21 AM   #4
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Rep: Reputation: 34
What driver do you use?

The installer or the specific version for a specific xorg-version?

What I found about your problem was that:

Well it compiled the module, but failed to load it, which probably means your kernel was compiled with a different compiler that what you have installed, or that your kernel headers (in /usr/src/linux) do not match your running kernel.
 
Old 06-30-2006, 04:35 AM   #5
gkiagia
Member
 
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Rep: Reputation: 30
Was the kernel prepared for building new modules? Try this:
Code:
su
cd /usr/src/linux
make cloneconfig
make modules_prepare
It worked for me.
 
Old 06-30-2006, 11:41 AM   #6
FerkoPica
Member
 
Registered: Mar 2004
Distribution: FC5,Slackware
Posts: 53

Original Poster
Rep: Reputation: 15
vbisis
I'm using ati-driver-installer-8.26.18-x86.run, kernel-generic-2.6.13-i486-1, kernel-modules-2.6.13-i486-1,
kernel-headers-2.6.13-i386-1, kernel-source-2.6.13-noarch-1 all kernel* are from slackware 10.2 installation cd2 from linux-2.6.13 directory.

gkiagia i has tried your commands:

root@amd64:/usr/src/linux# su
root@amd64:/usr/src/linux# make cloneconfig ----> may be this works on another distro
make[1]: *** No rule to make target `cloneconfig'. Stop.
make: *** [cloneconfig] Error 2

root@amd64:/usr/src/linux# make modules_prepare
CHK include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.

I must use generic kernel because if i recompile my own kernel or use 2.4 kernel then i get very slow disk performace (cannot turn on dma), it is very strange on my laptop (acer Ferrari). Q: How can i know which compiler version was used for compiling my kernel?
My current compiler version>

root@amd64:/usr/src/linux# gcc -v
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/specs
Configured with: ../gcc-3.3.6/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.3.6

thanks

Last edited by FerkoPica; 06-30-2006 at 11:45 AM.
 
Old 07-01-2006, 02:40 AM   #7
gkiagia
Member
 
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Rep: Reputation: 30
In my system, /proc/version shows the gcc version that was used to build the kernel. (cat /proc/version).

Did you try to just shut down X, then do aticonfig --initial and reboot? If the kernel module failed to load then maybe there was a previous version of the module inserted in the kernel. Was there any previous ati driver in your system?
 
Old 07-02-2006, 02:39 PM   #8
FerkoPica
Member
 
Registered: Mar 2004
Distribution: FC5,Slackware
Posts: 53

Original Poster
Rep: Reputation: 15
Thank you, and all others for help, but all what i tried is not working and i haven't got more time for playing with ati drivers, after significant time what i spend on this issue i make decission that i will wait for proper drivers.
(simply I don't want to see any error message from ati driver all the time another reasons why this cannot be compiled and so...)
... i realy have not time.

thanks

but i like linux and this forum
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ati Driver Installation Problem (can't compile kernel module) verdeboy2k Linux - Hardware 3 05-16-2006 03:24 AM
Problem with installing ATI driver on Slackware Element9 Slackware 7 03-05-2006 11:12 AM
Ati Radeon 7000 Driver Installation Problem. rumi Linux - Hardware 6 05-04-2005 04:17 AM
ATI driver installation problem eltoro Linux - Newbie 1 10-09-2004 08:52 PM
ATI driver installation problem (Redahat 9) reza_s Linux - Hardware 0 02-08-2004 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:33 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration