Here is my How-To for Tekram DC395UW PCI SCSI card under Fedora Core 1 distro. The author/moderator may want to include in the 'trouble-shooting guide'. Thanks.
================
How-to install driver for Tekram DC395UW PCI SCSI card:
This How-to discusses installation of this SCSI card under Fedora Core 1 distro only. I havent' tested elaborately, and I won't either claim this is the correct way. But it worked fine in my case. So, use it at your own risk.
1. Get sources for kernel in rpm form. Rebuild & install them
1.1. Get kernel sources rpm kernel-2.4.22-1.2115.nptl.src.rpm from
http://www.rpmfind.net//linux/RPM/ra...nptl.i586.html
1.2. You also need 'gcc32'. Get the rpm from
http://www.rpmfind.net//linux/RPM/ra...3-6.i386.html. Use command 'rpm -Uvh <rpm name>' to upgrade/intall
1.3. Use 'rpmbuild' on rpm package obtained in step 1.1. i.e. kernel sources. Use 'rpmbuild --rebuild <rpm pkg name>'. This runs for a while depending on your system's speed. At the end it leaves the kernel source code in rpm pkg form at /usr/src/redhat/RPMS/i386. This pkg has 'kernel-source' at the beginning of it's name
1.4. Use 'rpm --Uvh <kernel-source pkg name>'. This creates a dir 'linux-2.4.22-1.2115.nptl' in /usr/src, and a symbolic link 'linux-2.4' to it.
1.5. Create another symbolic link in /usr/src, using 'ln -s /usr/src/linux-2.4.22-1.2115.nptl linux'
So far we just prepared the kernel source code tree ready. Now, the following are DC395UW specific steps
2. Obtain DC395UW specific source files
2.1. The source files are available at
http://www.garloff.de/kurt/linux/dc395/. Copy the tar ball to some convenient location and extract the files
2.2. Run 'make' where these source files are extracted
2.3. After a brief period of time, this location will have dc395x_trm.o file. This is the module for your Tekram DC395UW PCI SCSI card
2.4. Copy or move to /lib/modules/2.4.2-1.2115.nptl/kernel/drivers/scsi sub-dir
2.5. Edit the /etc/modules.conf file to have this line
"alias scsi_hostadapter dc395x_trm"
2.6. Run '/sbin/depmod -ae'. If this output any errors about dc395x_trm, something went wrong. I don't know what it is.
3. In my case I edited the /etc/rc.d/init.d/rc.local file with this line, "/sbin/modprobe -k dc395x_trm". But you may have a better idea
4. You can delete the sysmbolic link 'linux' created in step 1.5., and if you want delete the kernel source tree installed in 1.4., and DC395UW source files installed in step 2.
Good luck !!!
================