Linux AGP GART Prerequisites ------------- This AGP code should not be needed if you have Linux kernel 2.6.21 or later. Otherwise... If your current kernel has AGP support compiled in (not a module) you'll need to build a new kernel with modular AGP support first. Compiling --------- Compile with: make Install (as root): make install Note that if your kernel uses symbol versioning, after the new AGPGART module is intalled DRM may not load, complaining about missing symbols since DRM still uses the old agpgart symbols. To work around this problem, either: 1. Remove the Module.symvers file from the kernel sources. Then recompile and reinstall DRM. or, 2. Append the Module.symvers file generated when compiling linux-agp-compat to the kernel's Module.symvers file (i.e. "cat Module.symvers >> /usr/src/kernels/2.6.x/Module.symvers") before rebuilding the DRM. or, 3. The following shell script can be used to replace the agp-related symbols in your Module.symvers file (contributed by Sergio M. Bast): #!/bin/bash cat Module.symvers | perl -pe 's/.{11}(\w+).*/\1/' | xargs | perl -pe 's/ /\\s|\\s/g' > tmp1 echo "cat /usr/src/kernels/`uname -r`-i686/Module.symvers | grep -vP \"\\s`cat tmp1`\\s\"" > cm (sh cm; cat Module.symvers ) > Module.symvers2 echo diff -up /usr/src/kernels/`uname -r`-i686/Module.symvers Module.symvers2 echo \#if ok echo cp Module.symvers2 /usr/src/kernels/`uname -r`-i686/Module.symvers Installing ---------- To install the kernel modules in your kernel modules directory: cp agpgart.ko intel-agp.ko /lib/modules/`uname -r`/kernel/drivers/char/agp/ depmod -a