View Full Version : Installing Ati driver Error No kernel build enviroment
cpri
2007-09-30, 08:43 AM CDT
Hello,
when I try to install the latest ATI driver (8.41.7) I get the following errors in the
/usr/share/ati/fglrx-install.log
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Error] Kernel Module : No kernel module build environment - please consult readme.
As far as I can understand the fglrx kernel module isn't installed.
I tried to do this by hand by installing the kmod-fglrx for my kernel version
(2.6.22.9-91.fc7).
When I use yum to install this I get the following error
Error: Missing Dependency: kernel-x86_64 = 2.6.22.7-85.fc7 is needed by package kmod-fglrx
To avoid this I downloaded the right version from rpm.pbone.net
When I install the rpm I get the message
fglrx-kmod-common is missing.
When I continue downloading the right rpm's I got a circular reference.
fglrx-kmod-common is needed but istalling the module that contains this needs the kmod-fglrx.
The question now is how do I install the fglrx kernel module.
Another option is to build the right packags my self but I don't now how to do this
(I saw a line here on the forum from some day's a go but I can't find it anymore it was something like)
ati-driver-installer*.run --builpkg
cpri
2007-09-30, 09:10 AM CDT
I tried
/Data/Downloads/Linux/ati-driver-installer-8.41.7-x86.x86_64.run --buildpkg /Data
As far as I know this will buld the right packeges for my system. But I get an error
The distribution '' is not supported
How can I solve this
cpri
2007-09-30, 09:17 AM CDT
Sorry I solved it my self by typing
/Data/Downloads/Linux/ati-driver-installer-8.41.7-x86.x86_64.run --buildpkg Fedora/FC7
But now I get
Generating package: Fedora/FC7
Requested package is not supported.
I do I resolve this one
cpri
2007-09-30, 09:24 AM CDT
Ok I found that one myself as wel it's now /F7 and not /FC7 since there's no core anymore.
But now the output is like this
Generating package: Fedora/F7
Please install an appropriate Linux kernel module build package.
The package(s) you need are likely kernel-devel and/or kernel-headers.
If you've compiled a custom kernel, make sure /usr/src/linux exists
and the source tree matches the currently running kernel.
Removing temporary directory: fglrx-install.zX3709
This isn't clear by me. What do I have to do (I running a 64 bit version so maby that will help)
markkuk
2007-09-30, 09:29 AM CDT
Install the kernel-devel and kernel-headers packages, just as the message says.
cpri
2007-09-30, 09:56 AM CDT
Ok Installed them and now my package are builing, but I get an error
RPM build errors:
File not found by glob: /tmp/ATI-fglrx-8.41.7-1-3954-root/tmp/ATI-fglrx-8.41.7-1.f7-root-root/usr/X11R6/lib/modules/dri/*
How can I solve this
cpri
2007-09-30, 11:05 AM CDT
Ok I checked the ouput and there are 2 things that are interseeting (I think they are)
At the begining of the build I get the following messages
ln: creating symbolic link `x700': Operation not supported
ln: creating symbolic link `x700_64a': Operation not supported
Generating package: Fedora/F7
ln: creating symbolic link `./fglrx_dri.so': Operation not supported
ln: creating symbolic link `./fglrx_dri.so': Operation not supported
Package build failed!
And half way thebuilding process the following messages comes up
==============================
You must change your working directory to /tmp/ATI-fglrx-8.41.7-1-3700-root/tmp/ATI-fglrx-8.41.7-1.f7-root-root/lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================
How can I solve these errors
cpri
2007-09-30, 11:24 AM CDT
I found someone with the same error on
http://www.phoronix.com/forums/showpost.php?p=13025&postcount=63
But I'm not sure what I have to do
cpri
2007-09-30, 01:25 PM CDT
Ok I figured it out.
I extracted the ati-driver*.run to a temp folder.
I adjusted the fglrx_dri.so lines (just put a # in front of the line)
build the packages installed them and restarted X.
But there was a error (again)
from my /var/log/xorg.0.log
(EE) AIGLX error: dlopen of /usr/lib64/dri/fglrx_dri.so failed (/usr/lib64/dri/fglrx_dri.so: invalid ELF header)
(EE) AIGLX: reverting to software rendering
What to do about this one
cpri
2007-09-30, 02:08 PM CDT
Just stupid I forgot to add this section to my xorg.conf
Section "ServerFlags"
Option "AIGLX" "off"
EndSection
But still X won't start properly
I checked /var/log/xorg.0.conf but there were no error's there only this is my backtrace
Backtrace:
0: /usr/bin/Xorg(xf86SigHandler+0x6d) [0x48b99d]
1: /lib64/libc.so.6 [0x363c430620]
2: /usr/lib64/xorg/modules//glesx.so [0x2aaaae9bd792]
3: /usr/lib64/xorg/modules//glesx.so [0x2aaaae9bda68]
4: /usr/lib64/xorg/modules//glesx.so [0x2aaaae9b6e69]
5: /usr/lib64/xorg/modules//glesx.so [0x2aaaae93fc0e]
6: /usr/lib64/xorg/modules//glesx.so [0x2aaaae9547f7]
7: /usr/lib64/xorg/modules//glesx.so [0x2aaaae93e672]
8: /usr/lib64/xorg/modules//glesx.so [0x2aaaae96f7e4]
9: /usr/lib64/xorg/modules//glesx.so [0x2aaaae95a873]
10: /usr/lib64/xorg/modules//glesx.so [0x2aaaae95c487]
11: /usr/lib64/xorg/modules//glesx.so [0x2aaaae90278a]
12: /usr/lib64/xorg/modules//glesx.so [0x2aaaae8f99ca]
13: /usr/lib64/xorg/modules//glesx.so [0x2aaaae8f9ed9]
14: /usr/lib64/xorg/modules//glesx.so(esutInit+0x70) [0x2aaaae8f91f0]
15: /usr/lib64/xorg/modules//glesx.so [0x2aaaae8f50bb]
16: /usr/lib64/xorg/modules//glesx.so(GlesxExtensionInit+0x74) [0x2aaaae8f45b4]
17: /usr/bin/Xorg(InitExtensions+0x97) [0x4adbe7]
18: /usr/bin/Xorg(main+0x2a5) [0x434655]
19: /lib64/libc.so.6(__libc_start_main+0xf4) [0x363c41daa4]
20: /usr/bin/Xorg(FontFileCompleteXLFD+0x229) [0x433ad9]
Fatal server error:
Caught signal 11. Server aborting
When I check the /usr/lib64/dri/
There is a file called fglrx_dri.so but this is just a text file saying that ther real driver is comming soon
What is this
cpri
2007-10-01, 07:25 AM CDT
Ok this is what I got so far
I'm able to build the right packages from the ati-driver-8.41.7*.run file.
I can install these files (five in total)
There is no fglrx driver (although I don't know where I can find the driver)
When I type service fglrx start I get unreconized service
When I do rpm -qa |grep *ATI*
I get a list with the five rpm's that I build.
when I try to deinstall these files (to start the whole thing over) I get the message that these files are not installed ???????
I know it's sometimes though to get some things to work with Linux but this is getting %$#^&&^
sankaman2k
2007-10-03, 11:57 AM CDT
I found someone with the same error on
http://www.phoronix.com/forums/showpost.php?p=13025&postcount=63
But I'm not sure what I have to do
I too encountered the same issue. :(
OlafHerzig
2007-10-03, 01:51 PM CDT
I had the same (circular) problem.
I solved it by installing the rpm's in one action:
1) Download all rpm's and place them in /tmp
2) yum install /tmp/rpmA /tmp/rmpB /tmp/rpmC
And everything went ok :)
sankaman2k
2007-10-03, 01:57 PM CDT
Here's what I finally did to overcome this problem. The easiest by all means.
I downloaded
ati-x11-drv-8.41.7-1.fc7.src.rpm (ftp://ftp.de.freshrpms.net/pub/freshrpms/fedora/linux/testing/7/ati-x11-drv-8.41.7-1.fc7/ati-x11-drv-8.41.7-1.fc7.src.rpm)
. I then installed the source rpm and built it with rpmbuild -bb. I installed it with:
yum localinstall ati* --nogpgcheck
leigh123linux
2007-10-03, 02:12 PM CDT
Here's what I finally did to overcome this problem. The easiest by all means.
I downloaded
ati-x11-drv-8.41.7-1.fc7.src.rpm (ftp://ftp.de.freshrpms.net/pub/freshrpms/fedora/linux/testing/7/ati-x11-drv-8.41.7-1.fc7/ati-x11-drv-8.41.7-1.fc7.src.rpm)
. I then installed the source rpm and built it with rpmbuild -bb. I installed it with:
yum localinstall ati* --nogpgcheck
As you didn't want to make any changes to the spec file you can use this command to build without installing the srpm
rpmbuild --rebuild ati-x11-drv-8.41.7-1.fc7.src.rpm
cpri
2007-10-03, 11:39 PM CDT
Ok thanks I will try the src.rpm
The circullar reference indeed can be solved be installing them in one action.
(But still it won't work) I hope tonight I have some time to try some new things
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.