Tekram DC390(T)/DC310/DC310U/DC390W/DC390U/DC390F/DC390U2B/DC390U2W Debian 2.0 Linux =================== Driver User's Guide ======================= 1. Contents Deb390X.txt - (This file)The readme file for DC390(T) DC310/DC310U/DC390W/DC390U/DC390F/DC390U2B/DC390U2W Linux driver Resc1440.zip - Debian 2.0 installation diskette image file (Resc1440.bin) Drv1440.zip - Debian 2.0 Driver diskette image file (Drv1440.bin) pDC390x_amd.gz - Source code of DC390(T)SCSI driver pDC390x_ncr.gz - Source code of DC310/DC310U/DC390W/DC390U/DC390F/DC390U2B/DC390U2W SCSI driver pMChp2_0_0.gz - If your Linux kernel version between 2.0.0 to 2.0.30 Please use "pMChp2_0_0" patch the following files /usr/src/linux/drivers/scsi/Makefile /usr/src/linux/drivers/scsi/Config.in /usr/src/linux/drivers/scsi/hosts.c /usr/src/linux/include/linux/proc_fs.h pMChp2_0_31.gz - If your Linux kernel version more than 2.0.30 Please use "pMChp2_0_31" patch the following files /usr/src/linux/drivers/scsi/Makefile /usr/src/linux/drivers/scsi/Config.in /usr/src/linux/drivers/scsi/hosts.c /usr/src/linux/include/linux/proc_fs.h The source of DC390(T)/AMD53C974 driver..... New version maintain by Kurt Garloff http://student.physik.uni-dortmund.de/homepages/garloff ftp://student.physik.uni-dortmund.de/pub/linux/kernel/dc390 2. The first time installation A. Before Installation - Under DOS environment %%%%%%%%%%%%%%%%%%%%%%%%%%% DC390(T) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%% DC310/DC310U/DC390W/DC390U/DC390F/DC390U2B/DC390U2W %%%%%%%%%%% ** first: You moust create a installation (Rescue)diskette pkunzip Resc1440.zip --> Resc1440.bin Rawrite Resc1440.bin to floppy.....this is the installation diskette. ** second: You moust create a Driver diskette pkunzip Drv1440.zip --> Drv1440.bin Rawrite Drv1440.bin to floppy.....this is the Driver diskette. >>>>>>>>>>>>><< If you need to make new kernel >><<<<<<<<<<<<<<<<< Decompress the patch file by: ** DC310/DC310U/DC390W/DC390U/DC390F/DC390U2B/DC390U2W ** pkunzip Pw2_0_31.zip => Pw2_0_31.gz ...copy it to DOS floppy ** DC390(T) pkunzip Pm2_0_31.zip => Pm2_0_31.gz ...copy it to DOS floppy B. Installation >>>>>>>>>>>>>>>>>>>>>>>>>>>>>><< DC390(T) >><<<<<<<<<<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>><< DC310/DC310U/DC390W/DC390U/DC390F/DC390U2B/DC390U2W >><<<<<<<<<<< It is important for you to install Debian GNU/Linux in your SCSI hard disk. #############**<< if you try to boot form your SCSI CDROM >>**########### You must enable your adapter Option: Boot From CDROM ..... Enable Boot Device ID ..... (same as your SCSI CDROM ID) Then ==>select the section to boot to abort: 0 ........ ....same process as try to boot from installation floppy..... ........ #############**<< if you try to boot form your IDE CDROM >>**########### You must enable your motherboard bios 'CDROM BOOT' Option.... ........ ....same process as try to boot from installation floppy..... ........ #########**<< If you try to boot form your installation floppy >>**######### Debian GNU/Linux installation start... ..... ..... ############################################################################ # Next :Install Operating System Kernel and Modules (RETURN) # # ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # # @@@@@@@ Select Installation Medium @@@@@@@@ # # Please select the medium you will use to install the # # System # # _____________________________________________ # # --> /dev/fd0 :First floppy drive | <--Please select it # # /dev/fd1 :Second floppy drive | # # cdrom :CD-ROM drive | # # harddisk :filesystem on the hard disk | # # mounted :already mounted filesystem | # # _____________________________________________| # # it will copy (kernel & driver) from (Rescue floppy & Driver floppy) # # to your hard disk # ############################################################################ 3. Remake new kernel P.S: You must install your Linux system by developmental environment and include kernel source first. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Example of DC310/DC310U/DC390W/DC390U/DC390F/DC390U2B/DC390U2W % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ***************************************************** * Edit the following files * for compile the kernel that embed Tekram SCSI drivers * * /usr/src/linux/drivers/scsi/Makefile * /usr/src/linux/drivers/scsi/Config.in * /usr/src/linux/drivers/scsi/hosts.c * /usr/src/linux/include/linux/proc_fs.h ***************************************************** # cd /usr/src # mcopy a:pMChp2_0_31.gz # gzip -d pMChp2_0_31.gz # patch -p0 < pMChp2_0_31 ; ; you colud use command: find / -name *.rej ; to find any rejection file. ; ; If there were any "*.rej" created after this procedure, ; you need to edit those files (Makefile,Confiig.in,hosts.c,proc_fs.h) ; by yourself. ; You could reference "pMChp2_0_*" & "*.rej" contand before edit those files. ; ********************************************************************* * * * Copy source code of SCSI driver to /usr/src/linux/drivers/scsi * * * ********************************************************************* ; ; Make sure souce code of Tekram SCSI drivers did not release in ; /usr/src/linux/drivers/scsi ; ; If there were source files in directory /usr/src/linux/drivers/scsi ; Please delete them first. ; ; pDC390x_ncr: pDC390x_amd: ; # rm tmscsiw.c # rm tmscsim.c ; # rm tmscsiw.h # rm tmscsim.h ; # rm scsiiow.c # rm scsiiom.c ; # rm dc390w.h # rm dc390.h ; # rm scripts.h ; # mcopy a:pDC390x_ncr.gz # gzip -d pDC390x_ncr.gz # patch -p0 < pDC390x_ncr # cd linux # make mrproper # make config ;When prompt for "PCI bios support" say "Yes". ;When prompt for "SCSI support" say "Yes". ;When prompt for "SCSI disk support" say "Yes". ;When prompt for "SCSI tape support" say "Yes". ;When prompt for "SCSI CD-ROM support" say "Yes". ;When prompt for "SCSI generic support" say "Yes". ;When prompt for "Tekram DC-390W/U/F (T) SCSI support" say "Yes". ;When prompt for "NCR53c7,8xx SCSI support" say "No". ;When prompt for "NCR53C8XX SCSI support" say "No". # make dep clean zImage # cp arch/i386/boot/zImage / # ( edit the lilo.conf file under path /etc as follow...) ; Add an entry for "zImage" in /etc/lilo.conf ; Example: ; ... ; # Linux bootable partition config begins ; image = /zImage # <--- NEW ; root = /dev/sda1 # <--- NEW ; label = DC390W # <--- NEW ; read-only # <--- NEW ; # Linux bootable partition config ends ; # Linux bootable partition config begins ; image = /vmlinuz ; root = /dev/sda1 ; label = default ; read-only ; # Linux bootable partition config ends ; ... ; # lilo # shutdown -r now ;reboot the system ... ... boot: DC390W ;when system Rebooting ...