I found the Linux driver of the card on the net. But this was for Red hat Linux and it is not in packaged format. There is an install.sh script in it. When I run the script., the install log file gives me the following output.

make -C /lib/modules/2.6.17/build SUBDIRS=/home/deepak/Desktop/Desktop/dripkg/agpgart-2.0 modules
make[1]: Entering directory `/usr/src/linux-2.6.17'
make[1]: Leaving directory `/usr/src/linux-2.6.17'
make -f Makefile.linux DRM_MODULES=gdg.ko modules
make[1]: Entering directory `/home/deepak/Desktop/Desktop/dripkg/drm'
make -C /lib/modules/2.6.17/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/linux-2.6.17'
make[2]: Leaving directory `/usr/src/linux-2.6.17'
make[1]: Leaving directory `/home/deepak/Desktop/Desktop/dripkg/drm'




When I run the install script, the errors on the screen are as folows:-
I verified that the /usr/src/linux-2.6.17/scripts directory does not exist and that is what the error below says.
I have to modify the script with Knoppix kernel paths and try to run it now.

DIRECT RENDERING OPEN SOURCE PROJECT - DRIVER INSTALLATION SCRIPT

[ http://dri.sourceforge.net ]

================================================== ========================
The script will now compile the agpgart module and DRM kernel modules
for your machine.

Press ENTER to continue or CTRL-C to exit.


Compiling new agpgart module...Makefile:266: /usr/src/linux-2.6.17/scripts/Kbuild.include: No such file or directory.
Makefile:486: /usr/src/linux-2.6.17/arch/i386/Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-2.6.17/arch/i386/Makefile'. Stop.
make: *** [default] Error 2


ERROR: AGPGART module did not compile

Compiling DRM module...Makefile:266: /usr/src/linux-2.6.17/scripts/Kbuild.include: No such file or directory
Makefile:486: /usr/src/linux-2.6.17/arch/i386/Makefile: No such file or directory
make[2]: *** No rule to make target `/usr/src/linux-2.6.17/arch/i386/Makefile'. Stop.
make[1]: *** [modules] Error 2
make: *** [gdg.ko] Error 2


ERROR: Kernel modules did not compile

The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.