Slackware This 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.
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.
|
|
08-01-2005, 08:16 PM
|
#1
|
Member
Registered: Jul 2005
Distribution: SuSe 10.0
Posts: 39
Rep:
|
ATI Driver Install fglrx error 2.6.12.3
I recived the following error message in /usr/share/fglrx/fglrx-install.log
I dont know what it all means, nor what i should do
----------
[Message] 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...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.12.3/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.12.3'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/agp3.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `agp_find_supported_device':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7136: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7156: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7161: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7187: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7207: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7227: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7232: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_init':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_cleanup':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12.3'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
----------
|
|
|
08-01-2005, 08:19 PM
|
#2
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
There was a change in 2.6.12.X kernels, slot_name is not used anymore so you get those errors. Try getting a newer version of the driver or searching for a patch on the web.
|
|
|
08-01-2005, 08:38 PM
|
#3
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
...or you could try to edit the source code and change any occurence
of "slot_name" to "pci_name"
( that should be just a few times... )
egag
|
|
|
08-01-2005, 10:40 PM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Rep:
|
I found two patches after much searching and am running fglrx just fine with 2.6.12.3.
The patches can be found here:
http://mshade.kicks-ass.net:8080/pub...-agpgart.patch
http://mshade.kicks-ass.net:8080/pub...dule_get.patch
Apply them like this:
Code:
cd /lib/modules/fglrx/build_mod/
patch -p0 < pathtopatch
Then make as normal. There will be a couple of warnings, but it's working for me
--Shade
|
|
|
08-04-2005, 11:45 AM
|
#5
|
Member
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881
Rep:
|
Sweet!
Thanks for the links, Shade! They work fine for me so far.
--Dane
|
|
|
08-04-2005, 12:51 PM
|
#6
|
Member
Registered: Aug 2003
Location: Norway
Distribution: Slackware 10.0
Posts: 231
Rep:
|
A new ATI-driver will be relaesed in early mid-August, and that driver will have kernel 2.6.12-support. Why don't you wait until then with using kernel 2.6.12?
|
|
|
08-12-2005, 11:53 PM
|
#7
|
LQ Newbie
Registered: Jul 2004
Location: Dickson TN
Distribution: RedHat Enterprise, Fedora, Kubuntu, Mint, and Debian
Posts: 21
Rep:
|
because its already mid august.
not only that but this is what I keep seeing even after applying the patches:
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.12-1-686-smp/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
/bin/sh: /usr/src/linux-headers-2.6.12-1-686-smp/scripts/gcc-version.sh: No such file or directory
make[1]: Entering directory `/usr/src/linux-headers-2.6.12-1-686-smp'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
/lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.c:57: error: static declaration of '__fgl_agp_try_unsupported' follows non-static declaration
/lib/modules/fglrx/build_mod/2.6.x/agp_backend.h:92: error: previous declaration of '__fgl_agp_try_unsupported' was here
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-1-686-smp'
make: *** [kmod_build] Error 2
build failed with return value 2
What do I do with that?
|
|
|
All times are GMT -5. The time now is 04:18 AM.
|
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
|
|