           
    Tekram DC390(T)/DC310/DC310U/DC390W/DC390U/DC390F/DC390U2B/DC390U2W
                         S.u.S.E.  5.3   Linux 
     ===================  Driver User's Guide  =======================

1.  Contents

  SuSE390X.txt   - (This file)The readme file for  
                   DC390(T)
                   DC310/DC310U/DC390W/DC390U/DC390F/DC390U2B/DC390U2W
                   Linux driver

  Install.zip    -  S.u.S.E. Linux 5.3 installation diskette image file -> Install.144

  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
  
  <K.Garloff@ping.de>
  http://student.physik.uni-dortmund.de/homepages/garloff
  ftp://student.physik.uni-dortmund.de/pub/linux/kernel/dc390 

2. S.u.S.E. Linux 5.3 Installation

  A. Before Installation - Under DOS environment
     %%%%%%%%%%%%%%%%%%%%%%%%%%%  DC390(T)%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     %%%%%%%%%%%DC310/DC310U/DC390W/DC390U/DC390F/DC390U2B/DC390U2W%%%%%%%%%%

        ** You moust create a installation diskette first:

           pkunzip Install.zip --> Install.144   
           Rawrite Install.144 to floppy.....this is the installation diskette.
     
     +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
     +  File "linux" in installation diskette                          +
     +  is the S.u.S.E. Linux kernel that embed Tekram SCSI driver...  +
     +                                                                 +
     +        you must use it to change kernel before LILO             +
     +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

  B. Installation
   
     >>>>>>>>>>>>>>>>>>>>>>>><< DC390(T)>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<
     >>>>>><< DC310/DC310U/DC390W/DC390U/DC390F/DC390U2B/DC390U2W >><<<<<<<<<

     It is important for you to install Linux in your SCSI hard disk.

          **<< First 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 <ESC> to abort: 0
                            ........
     ....same process as try to boot from installation floppy.....

             %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
             %      install from floppy     %
             %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
         **<< if you try to boot form your installation Floppy >>**

      S.u.S.E Linux installation start...

          .....you don't need to load any SCSI MODULE......
                             .....
                            .......
                           .........
    step:            "Select Kernel" ==> select any one what you want....
    step:       "CREATE A BOOT DISK" ==> It's time for change kernel 
                                     with kernel "linux" ,
                                     the file in your installation diskette....    

              ************************  Method Of Change Kernel  ********************** 
              *                                                                       *
              *  push <Alt-F2> change console                                         *
              *  cd /                                                                 *
              *  mkdir /mnt2                                                          *
              *  ....... Please put your installation diskette in drive a: ........   *
              *  mount /dev/fd0 /mnt2                                                 *
              *  cp /mnt2/linux /mnt/vmlinuz                                          *
              *  umount /mnt2                                                         *
              *  push <Alt-F1>                                                        *
              *                                                                       *
              *  NORMAL installation procedure go ahead until .....END.....           *
              *************************************************************************    

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 ...

