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.
EDIT:
This thread is regarding the 8.10.19 drivers.
Hi all,
The previous versions of the driver did managet to be compiled and installed.. But the new version (fglrx_6_8_0-8.8.25-1.i386) now is giving me a very strange error when i
sh make.sh
Anyone have any ideas on the cause of the error?
Btw, i'm on kernel 2.6.11
Code:
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.11/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.11'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_putminor':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:503: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:505: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:574)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_register':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:525: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:573)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:556: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_get_vm_phys_addr':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1578: warning: passing arg 1 of `pmd_offset' from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `do_vm_shm_nopage':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2073: warning: passing arg 1 of `pmd_offset' from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_vm_phys_addr_str':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2444: warning: passing arg 1 of `pmd_offset' from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2532: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_vm_map':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2593: warning: implicit declaration of function `remap_page_range'
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2747: error: parse error before '*' token
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2747: warning: type defaults to `int' in declaration of `drm_agp_module_stub'
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2747: warning: data definition has no type or storage class
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agpgart_available':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2889: error: `drm_agp_t' undeclared (first use in this function)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2889: error: (Each undeclared identifier is reported only once
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2889: error: for each function it appears in.)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2889: error: parse error before ')' token
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2910: error: request for member `free_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2912: error: request for member `free_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2915: error: request for member `allocate_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2917: error: request for member `allocate_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2920: error: request for member `bind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2922: error: request for member `bind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2925: error: request for member `unbind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2927: error: request for member `unbind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2930: error: request for member `enable' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2932: error: request for member `enable' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2935: error: request for member `acquire' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2937: error: request for member `acquire' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2940: error: request for member `release' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2942: error: request for member `release' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2945: error: request for member `copy_info' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2947: error: request for member `copy_info' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_uninit':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3018: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_free_memory':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3051: error: request for member `free_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3052: error: request for member `free_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_allocate_memory':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3061: error: request for member `allocate_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3062: error: request for member `allocate_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_bind_memory':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3072: error: request for member `bind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3073: error: request for member `bind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_unbind_memory':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3083: error: request for member `unbind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3084: error: request for member `unbind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_enable':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3094: error: request for member `enable' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3096: error: request for member `enable' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_acquire':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3142: error: request for member `acquire' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3143: error: request for member `acquire' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_release':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3153: error: request for member `release' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3154: error: request for member `release' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_copy_info':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3167: error: request for member `copy_info' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3174: error: request for member `copy_info' in something not a structure or union
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.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.11'
make: *** [kmod_build] Error 2
build failed with return value 2
It seems to be a problem with installed linux kernel sources or with their version conflict respectively.
Your system looks like to be running on 2.6.11 kernel. Check if your installed kernel sources package is the same version (ls /var/log/packages/kernel-source*).
I don't have my kernel listed in /var/log/packages. And i've deleted all the other versions, just keeping the 2.6.11 src. But still it doesn't like it (or something ..)
2) You *will* need a patch to install the ATi drivers on 2.6.11 (but I don't know of any yet since I'm still waiting for Reiser4 patches to 2.6.11 vanilla)
Originally posted by xushi And i've deleted all the other versions, just keeping the 2.6.11 src.
Did you delete the kernel-headers package as well (/var/log/packages/kernel-headers-2.4.xx-i386-1)? If so you'll need to re-install the kernel headers package.
Originally posted by MMYoung Did you delete the kernel-headers package as well (/var/log/packages/kernel-headers-2.4.xx-i386-1)? If so you'll need to re-install the kernel headers package.
HTH,
MMYoung
Luckely, no i havent deleted the headers yet. I'll keep everyone informed incase i do find the patch.
EDIT:
Cleared previous message.. Here's the problem.
patched successfully, but when i 'sh make.sh' i get this warning.
Code:
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.11/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.11'
Building modules, stage 2.
MODPOST
*** Warning: "remap_page_range" [/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko] undefined!
make[1]: Leaving directory `/usr/src/linux-2.6.11'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================
Fair enough... when i 'sh make_install.sh', i get this error
Code:
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
FATAL: Error inserting fglrx (/lib/modules/2.6.11/kernel/drivers/char/drm/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error running install command for fglrx
failed.
dmesg shows the following
Code:
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
fglrx: Unknown symbol remap_page_range
Hi there, I'm new to this board.. found this thread with google.
To load the fglrx module you first have to apply the patch attached to the post linked by morphus, then you have to replace any occurrence of remap_page_range with remap_pfn_range in firegl_public.c, then rebuild the module.
Let me now if it works for you, I didn't tested it yet with a full working Xorg but it seems to load flawlessly.
There is a new Kernel out 2.6.11.3. Installed that, running 10.1, latest fglrx-8.10.19 drivers, running a ati 9600 pro turbo(laptop).
Originally, Xorg would freeze on startup after applying the patch shown earlier in this thread and the remap_page_range to remap_pfn_range fix, while running 2.6.11.2.
After updating to 2.6.11.3 and applying only the two patches located here: http://www.rage3d.com/board/showthread.php?t=33806492 it is up and running. Only noticed one issue since, it doesn't return correctly to the console after exiting X, however runs fine in X. Hope this info helps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.