LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
  Search this Thread
Old 08-01-2005, 08:16 PM   #1
PSIPHON
Member
 
Registered: Jul 2005
Distribution: SuSe 10.0
Posts: 39

Rep: Reputation: 15
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.
----------
 
Old 08-01-2005, 08:19 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
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.
 
Old 08-01-2005, 08:38 PM   #3
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
...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
 
Old 08-01-2005, 10:40 PM   #4
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
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
 
Old 08-04-2005, 11:45 AM   #5
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
Sweet!

Thanks for the links, Shade! They work fine for me so far.

--Dane
 
Old 08-04-2005, 12:51 PM   #6
objorkum
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware 10.0
Posts: 231

Rep: Reputation: 30
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?
 
Old 08-12-2005, 11:53 PM   #7
dhcolesj
LQ Newbie
 
Registered: Jul 2004
Location: Dickson TN
Distribution: RedHat Enterprise, Fedora, Kubuntu, Mint, and Debian
Posts: 21

Rep: Reputation: 0
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?
 
  


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 fglrx-driver hangs up the system Saquel Linux - Software 0 09-05-2005 04:31 AM
ATI fglrx driver trouble Alexey Andriyanov Linux - Hardware 4 08-17-2005 02:35 AM
ati fglrx 8.10.19 driver help please micker Linux - Software 7 03-13-2005 09:44 PM
I Need help to install fglrx driver for ATI Radeon 9600 reza_s Linux - Newbie 2 02-09-2004 11:38 AM
Request for ATI FGLrx Driver FAQ jpbarto LQ Suggestions & Feedback 2 10-16-2003 02:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:18 AM.

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