SlackwareThis 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.
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.
Ok I've been trying to get this thing working for a few days on Slack 10.1, with little success.
I've installed the latest version of the ATi drivers (from their site). I've compiled my kernel with PCI-E support built-in. Also even though it's a PCI-E card do I need agpgart? I've trying leaving it in, taking it out, and modulizing it, nothing seems to help.
I'm probably making some newb mistake ... :P plz don't beat on me too hard if I am ...
Here's the errors the ATi installer keeps generating:
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/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux'
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'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
~
Hm, your problem is same as mine.
Errors are generated, because structure "dev" has no member slot_name.
/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'
Editing file agpgart_be.c may help compiler compile module. If you replace dev->slot_name on lines 7136,7156 ... 7232 with " " or some other string constant, driver will be compiled.
I did this, but still not working because another error:
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
fglrx: Unknown symbol inter_module_get
You'll have to change all calls to dev->slot_name, because this is not supported by the newer linux kernels anymore. You can use the function pci_name() instead. So just change dev->slot_name to pci_name(dev) and it should compile
Edit:
The other problem is caused by firegl_public.c. It uses the function inter_module_get, you'll have to replace it with the function inter_module_get_request. But inter_module_get_request accepts 2 parameters, inter_module_get appears 3 times in the file. The first time it has to be changed to inter_module_get_request(x,y), the second inter_module_get_request("drm","drm") and the last to inter_module_get_request("drm_agp","drm_agp"). And that's is
I'm still trying to get the thing to not suck. I once had 2700+ FPS in glxgears and then I rebooted and some how I've lost most DRI capability ... or something like that cause I went down to ~350 FPS in glxgears.
I didn't change anything .. I've the module built and confiured properly now. But now I'm really lost ... lol I'm tempted to throw this thing up on eBay and get an nVidia ...
Thanks for the tips. they helped me too. I ended up just commenting out the references to the slots, since your fix didn't help, but the second issue worked. Perhaps writing a patch would be nice so that others can just apply it, but unfortunately I don't know how to do that myself.
Edit: It turns out you really need to fix all those problems otherwise I would hang when it tried to load X. So I found my mistakes and corrected them... so much for being lazy!
Last edited by Atmchicago; 07-04-2005 at 01:05 PM.
Well ,
I've tried to use built in agpgart module...
after stratx screan goes black and computer freezes , only "resset" helps
Maybe someone knows what to do ...... ?
thank YOU !
Vlad
what does it mean "(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV"" ?
Perhaps external agpgart (ati 8.14.13) is not compatible with 2.6.12 kernel !?
someone ???
Originally posted by v1_ad Well ,
I've tried to use built in agpgart module...
after stratx screan goes black and computer freezes , only "resset" helps
Maybe someone knows what to do ...... ?
thank YOU !
Vlad
Glad it isn't just me that gets this... I have even gone back to the world of windows while i save for a high-end nvidia rather than have an ATI
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.