Penguin
Note: You are viewing an old revision of this page. View the current version.

Everything has changed since my original page RadeonOnNforce.

These days, the radeon driver that you get from ATI's webpage is the most up to date version, and the latest stable kernels should have support for NVIDIA's AGPGART as it was released as open source by NVIDIA.

Thanks very much to Curtis Box (no relation) for pointing out the new ATI drivers originally.

Fix for error building Radeon driver on Linux 2.6

Do you get errors like

/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:1506: warning: implicit declaration of function `VMALLOC_VMADDR'
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.0-test11'
make: *** [kmod_build] Error 2

[root@test 2.6.x]# modprobe fglrx
Error inserting 'fglrx.ko': -1 Unknown symbol in module

Oct 26 16:11:46 [kernel] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
Oct 26 16:11:46 [kernel] fglrx: Unknown symbol VMALLOC_VMADDR
Oct 26 16:12:14 [kernel] [drm] Module unloaded

You need to make a change to /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: add

#ifndef VMALLOC_VMADDR
#define VMALLOC_VMADDR(x) ((unsigned long)(x))
#endif

to the beginning somewhere, and then cd .. back up to build_mod, run ./make.sh, cd back up to fglrx and run ./make_install.sh