Tekram DC390(T)/DC310/DC310U/DC390W/DC390U/DC390F/DC390U2B/DC390U2W SLACKWARE Linux =================== Driver User's Guide ======================= 1. Contents Lnx390X.txt - (This file)The readme file for DC390(T) DC310/DC310U/DC390W/DC390U/DC390F/DC390U2B/DC390U2W Linux driver Boot144.zip - Slackware Installation diskette image file -> Boot144.img 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. SlackWare Linux installation A. Before Installation - Under DOS environment %%%%%%%%%%%%%%%%%%%%%%%%%%% DC390(T) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%DC310/DC310U/DC390W/DC390U/DC390F/DC390U2B/DC390U2W%%%%%%%%%%%%% pkunzip Boot144.zip =>> Boot144.img rawrite Boot144.img A: =>> Installation diskette >>>>>>>>>>>>><< If you desire to remake new kernel >><<<<<<<<<<<<<<<<< if your kernel version is between 2.0.0 to 2.0.30 copy pMChp2_0_0.gz => A: .....copy it to DOS floppy if your kernel version more than 2.0.30 copy pMChp2_0_31.gz => A: .....copy it to DOS floppy B. Installation a. Using installation diskette that you made to install SlackWare Linux. Following the Linux installation procedures to install. b. When the installing screen display " INSTALL LINUX KERNEL ". - Select "bootdisk Use the kernel from the installation bootdisk", - and re-insert the installation diskette to floppy drive A: c. Exit Slackware Linux Setup while the installation is completed e. Press Ctrl-Alt-Del to reboot system 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,host.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 ...