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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
06-28-2006, 04:08 PM
|
#1
|
Member
Registered: Mar 2004
Distribution: FC5,Slackware
Posts: 53
Rep:
|
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
|
|
|
06-29-2006, 12:14 AM
|
#2
|
Member
Registered: Dec 2005
Distribution: Slackware
Posts: 250
Rep:
|
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?
|
|
|
06-29-2006, 01:02 PM
|
#3
|
Member
Registered: Mar 2004
Distribution: FC5,Slackware
Posts: 53
Original Poster
Rep:
|
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.
|
|
|
06-30-2006, 12:21 AM
|
#4
|
Member
Registered: Dec 2005
Distribution: Slackware
Posts: 250
Rep:
|
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.
|
|
|
06-30-2006, 04:35 AM
|
#5
|
Member
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248
Rep:
|
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.
|
|
|
06-30-2006, 11:41 AM
|
#6
|
Member
Registered: Mar 2004
Distribution: FC5,Slackware
Posts: 53
Original Poster
Rep:
|
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.
|
|
|
07-01-2006, 02:40 AM
|
#7
|
Member
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248
Rep:
|
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?
|
|
|
07-02-2006, 02:39 PM
|
#8
|
Member
Registered: Mar 2004
Distribution: FC5,Slackware
Posts: 53
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 12:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|