list of what you need:
a) suse 9.1 kernel source (2.6.4-52 or 2.6.4-54.3) (DVD, CDs, Suse FTP)
b) fglrx-4.3.0-3.7.6.i386.rpm (http://www2.ati.com/drivers/linux/fglrx-4.3.0-3.7.6.i386.rpm)
c) fglrx-3.7.6-regparm.patch (http://www.kaseorg.com/fglrx-3.7.6-regparm.patch)
1. get super user priveledges (su -)
2. install kernel source and goto that directory (cd /usr/src/linux)
3. always start with a fresh source (make mrproper then make clean)
4. start the kernel configuration (make xconfig or make menuconfig)
5. in the kernel configuration change these options
a) loadable module support --> loadable module support, module unloading, automatic kernel module = M
b) processor type and feature --> register of argument = N, MTRR = Y
c) character devices --> /dev/agpgart = M, select only your chipset = M, DRM = N
d) kernel hacking --- kernel debugging = N
6. save your configuration and compile your new kernel (make)
7. build your boot images (make bzImage)
8. build kernel modules (make modules)
9. install kernel modules (make modules_install)
10. prepares and installs boot images (make install)
11. pay attention to what the initrd and what vmlinuz images where created so you can edit the bootloader
12. now its time to install the ati driver (init 3 and login as root)
13. install the latest ati driver 3.76 (rpm -ivh --force fglrx-4.3.0-3.7.6.i386.rpm)
14. copy the driver patch to modules location (cp fglrx-3.7.6-regparm.patch /lib/modules/fglrx/build_mod)
15. apply the module patch (cd /lib/modules/fglrx/build_mod then patch -p1 < fglrx-3.7.6-regparm.patch)
16. edit lines 791, 1823, 3021 of the firegl_public.c file (vim firegl_public.c or pico firegl_public.c)
a) (*notifier) --> (*IP_LINKAGE notifier) 791
b) (*handler) --> (*IP_LINKAGE handler) 1823
c) (*func) --> (*IP_LINKAGE func) 3021
17. now build your kernel module (cd /lib/modules/fglrx/build_mod, sh make.sh)
18. now install the module you just built into kernel(cd /lib/modules/fglrx, sh make_install.sh)
19. add (/sbin/modprobe fglrx) to the boot.local file in (/etc/rc.d/boot.local)
20. run fglrxconfig and select approriate settings, edit your bootloader so it loads your new kernel, then reboot
By: LiQuID (Nu7s4cK)
AIM: LiQuID0624
EMAIL: rj.birnesser@comcast.net