[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Scsi Tekram



Muchachos , de nuevo , ya  se  que  estoy  pesado con esto  pero  ya  estoy
a  punto de  renunciar.

En la pagina de www.tekram.com baje todo para instalar   la  controladora
scsi, segun el ayuda  qeu  copio mas  abajo ,  esto se  deberia  poder
compilar sin problemas.

yo   la  he  instalado de la  siguiente forma

1  - arranco  con  el disquette  que  genere  de  la imagen Resc1440.bin
2 -  Install Operating System Kernel and Modules (RETURN)  eleijo el
disquette  como dice  ahi
3 - luego me  pide  el disquette de los  driver s  como dice  ahi ( lo
genero de  drv1440.bin)

Hasta ahi todo bien.

Ahora  el problema esta  cuando me  pide instalar el sistema Base, yo ahi
elijo que lo voy a instalar desde el CD ( que es  una IDE) , cuando empieza
a leer el cd me  dice que no encuentra  un archivo. y se  para la
isntalacion.
Seguramente me estoy comiendo algun paso, por  mi ignorancia  en  el tema,
Otra  cosa  que realize  cuando estoy instalando es con ALT-F2 pasarme  a
otra  consola y ahi trate de  entrar como dice en /usr/src/  para  compilar
el Kernel. pero resulta  que  esta instalcion no me  crea  en  el disco
/usr/src  solo /usr/

Alguien le  paso  lo mismo.? o yo no interpreto bien el ayuda  y me  falta
agun paso..


####################################### Readmi Tekram DC-395/uw
#######################

    Tekram SCSI adapters:

           (AMD53C974) DC390(T)

           (NCR53C8XX) DC310/DC310U/DC390W/DC390U/DC390F
                       DC390U2B/DC390U2W/DC390U2D

           (TRM-S1040) DC395U/UW/F DC315/U

                          Debian 2.1 Linux

     ===================  Driver User's Guide  =======================

        Linux SCSI driver technical support

        mail address  Taiwan: erich@tekram.com.tw
        mail address Germany: garloff@suse.de

        The source drivers of DC390(T)            (AMD53C974)
                              DC395U/UW/F DC315/U (TRM-S1040)

        New version maintain by Kurt Garloff

        <garloff@suse.de>
        http://www.garloff.de/kurt/linux/dc390/
        http://www.garloff.de/kurt/linux/dc395/
         ftp://ftp.suse.com/pub/people/garloff/linux/dc395/

     =================================================================

1.  Contents

  readme.txt        - (This file)The readme file for
                      DC390(T)
                      DC310/DC310U
                      DC390W/DC390U/DC390F
                      DC390U2B/DC390U2W/DC390U2D
                      DC395U/UW/F DC315/U
                      Linux driver

  Resc1440.zip      - Debian 2.1 installation diskette image file
(Resc1440.bin)

  Drv1440.zip       - Debian 2.1 Driver diskette image file (Drv1440.bin)

  dc390x_amd.tar.gz - Source code for
                      DC390(T)
                      SCSI adapters
                      files include :tmscsim.c,tmscsim.h,sisiiom.c,dc390.h

  dc390x_ncr.tar.gz - Source code for
                      DC310/DC310U/DC390W/DC390U/DC390F
                      DC390U2B/DC390U2W/DC390U2D
                      SCSI adapters
                      files include :dc390x_ncr.c,dc390x_ncr.h

  dc395x_trm.tar.gz - Source code for
                      DC395U/DC395UW/DC395F DC315/DC315U
                      SCSI adapters
                      files include :dc395x_trm.c,dc395x_trm.h


  pMChpDb21.gz      - Please use "pMChpDb21" 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

2. The first time installation

  A. Before Installation - Under DOS environment
   %%%%%%%%%%%%%%%%%%%%%%%%%%%  DC390(T) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   %%%%%%% DC310/DC310U/DC390W/DC390U/DC390F/DC390U2B/DC390U2W/DC390U2D
%%%%%%%%
        ** 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.

   ****************************************************************
     *****      copy source code for remake new kernel       ****
   ****************************************************************

   IF YOU USED DC390(T) (am53c974 chip set)

      Copy dc390x_amd.tar.gz to MS-DOS formatted diskette
      Copy dc390x_amd.tar.gz A:
      Copy pMChpDb21.gz   A:
      =>> driver diskette (type:MSDOS,
contand:pMChpDb21.gz,dc390x_amd.tar.gz)

   IF YOU USED DC390W/DC390U/DC390F/DC390U2B/DC390U2W/DC390U2D
               DC310/DC310U (ncr53c8xx chip set)

      Copy dc390x_ncr.tar.gz to MS-DOS formatted diskette
      Copy dc390x_ncr.tar.gz A:
      Copy pMChpDb21.gz   A:
      =>> driver diskette (type:MSDOS,
contand:pMChpDb21.gz,dc390x_ncr.tar.gz)

   IF YOU USED DC395U/DC395UW/DC395F
               DC315/DC315U (TRM-S1040 chip set)

      Copy dc395x_trm.tar.gz to MS-DOS formatted diskette
      Copy dc395x_trm.tar.gz A:
      Copy pMChpDb21.gz   A:
      =>> driver diskette (type:MSDOS,
contand:pMChpDb21.gz,dc395x_trm.tar.gz)


  B. Installation

     >>>>>>>>>>>>>>>>>>>>>>>>>>>>>><< DC390(T)
>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
     >>>>>>>>>>>><<
DC310/DC310U/DC390W/DC390U/DC390F/DC390U2B/DC390U2W/DC390U2D >><<<<<<<<<<<

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


  *****************************************************
  *               Edit the following files
  *   for recompile 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
  *****************************************************
  ==============
  = automatic: =
  ==============

  # cd /usr/src
  # mcopy a:pMChpDb21.gz
  # gzip -d pMChpDb21.gz
  # patch -p0 < pMChpDb21
  ;
  ;  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,Config.in,host.c,proc_fs.h)
  ;  by yourself.
  ;  You could reference "pMChpDb21" & "*.rej" contand before edit those
files.
  ;
  ==============
  = manual:    =
  ==============
  Please add some new text lines at those files:

     /usr/src/linux/drivers/scsi/Makefile
         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
         @
         @  ifeq ($(CONFIG_SCSI_AIC7XXX),y)
         @  L_OBJS += aic7xxx.o
         @  else
         @    ifeq ($(CONFIG_SCSI_AIC7XXX),m)
         @    M_OBJS += aic7xxx.o
         @    endif
         @  endif
         @
         @  ifeq ($(CONFIG_SCSI_DC390x_NCR53C8XX),y)    <----new
         @  L_OBJS += dc390x_ncr.o                      <----new
         @  else                                        <----new
         @    ifeq ($(CONFIG_SCSI_DC390x_NCR53C8XX),m)  <----new
         @    M_OBJS += dc390x_ncr.o                    <----new
         @    endif                                     <----new
         @  endif                                       <----new
         @
         @  ifeq ($(CONFIG_SCSI_DC395x_TRMS1040),y)     <----new
         @  L_OBJS += dc395x_trm.o                      <----new
         @  else                                        <----new
         @  ifeq ($(CONFIG_SCSI_DC395x_TRMS1040),m)     <----new
         @    M_OBJS += dc395x_trm.o                    <----new
         @    endif                                     <----new
         @  endif                                       <----new
         @
         @  ifeq ($(CONFIG_SCSI_DC390T),y)
         @  L_OBJS += tmscsim.o
         @  else
         @    ifeq ($(CONFIG_SCSI_DC390T),m)
         @    M_OBJS += tmscsim.o
         @    endif
         @  endif
         @
         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@


     /usr/src/linux/drivers/scsi/Config.in
         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
         @
         @  if [ "$CONFIG_PCI" = "y" ]; then
         @    dep_tristate 'Qlogic ISP SCSI support' CONFIG_SCSI_QLOGIC_ISP
$CONFIG_SCSI
         @    dep_tristate 'Qlogic ISP FC SCSI support'
CONFIG_SCSI_QLOGIC_FC $CONFIG_SCSI
         @  fi
         @  dep_tristate 'Seagate ST-02 and Future Domain TMC-8xx SCSI
support' CONFIG_SCSI_SEAGATE $CONFIG_SCSI
         @  if [ "$CONFIG_PCI" = "y" -a "$CONFIG_SCSI_NCR53C7xx" != "y" -a
"$CONFIG_SCSI_NCR53C8XX" != "y" ]; then            <----new
         @    dep_tristate 'Tekram DC390W/U/F/U2B/U2W/U2D and DC310/U SCSI
support' CONFIG_SCSI_DC390x_NCR53C8XX $CONFIG_SCSI <----new
         @  fi
<----new
         @  dep_tristate 'Tekram DC395/U/UW and DC315/U SCSI support'
CONFIG_SCSI_DC395x_TRMS1040 $CONFIG_SCSI                <----new
         @  if [ "$CONFIG_PCI" = "y" ]; then
         @    dep_tristate 'Tekram DC390(T) and Am53/79C974 SCSI support'
CONFIG_SCSI_DC390T $CONFIG_SCSI
         @    if [ "$CONFIG_SCSI_DC390T" != "n" ]; then
         @      bool '  _omit_ support for non-DC390 adapters'
CONFIG_SCSI_DC390T_NOGENSUPP
         @    fi
         @  fi
         @  dep_tristate 'Trantor T128/T128F/T228 SCSI support'
CONFIG_SCSI_T128 $CONFIG_SCSI
         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

     /usr/src/linux/drivers/scsi/hosts.c
         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
         @  #ifdef CONFIG_SCSI_SYM53C416
         @  #include "sym53c416.h"
         @  #endif
         @
         @  #ifdef CONFIG_SCSI_DC390x_NCR53C8XX   <----new
         @  #include "dc390x_ncr.h"               <----new
         @  #endif                                <----new
         @
         @  #ifdef CONFIG_SCSI_DC395x_TRMS1040    <----new
         @  #include "dc395x_trm.h"               <----new
         @  #endif                                <----new
         @
         @  #ifdef CONFIG_SCSI_DC390T
         @  #include "dc390.h"
         @  #endif
         @
         @  #ifdef CONFIG_SCSI_AM53C974
         @  #include "AM53C974.h"
         @  #endif
         @  -----------------------
         @       ----
         @       ---
         @       --
         @  -----------------------
         @
         @  #ifdef CONFIG_SCSI_IBMMCA
         @      IBMMCA,
         @  #endif
         @  #ifdef CONFIG_SCSI_EATA
         @      EATA,
         @  #endif
         @  #ifdef CONFIG_SCSI_DC390x_NCR53C8XX   <----new
         @      DC390x_NCR53C8XX,                 <----new
         @  #endif                                <----new
         @  #ifdef CONFIG_SCSI_DC395x_TRMS1040    <----new
         @      DC395x_TRMS1040,                  <----new
         @  #endif                                <----new
         @  #ifdef CONFIG_SCSI_DC390T
         @      DC390_T,
         @  #endif
         @  #ifdef CONFIG_SCSI_AM53C974
         @      AM53C974,
         @  #endif
         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

     /usr/src/linux/include/linux/proc_fs.h
         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
         @
         @ PROC_SCSI_FD_MCS,
         @ PROC_SCSI_EATA2X,
         @ PROC_SCSI_DC390X_NCR53C8XX,   <----new
         @ PROC_SCSI_DC395X_TRMS1040,    <----new
         @ PROC_SCSI_DC390T,
         @ PROC_SCSI_AM53C974,
         @
         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@


****************************************************************************
*
  *
*
  *  Copy source code of your SCSI adapter driver
*
  *  into     /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 old source files in directory /usr/src/linux/drivers/scsi
  ; Please delete them first.
  ;
  ; pDC390x_ncr:         pDC390x_amd:      pDC395x_trm:
  ; # rm dc390x_ncr.c    # rm tmscsim.c    # rm dc395x_trm.c
  ; # rm dc390x_ncr.h    # rm tmscsim.h    # rm dc395x_trm.h
  ;                      # rm scsiiom.c
  ;                      # rm dc390.h
  ;

    =====================================
          IF YOUR SCSI adapters are
                DC390(T) (am53c974 SCSI chip set)
    =====================================
  # mcopy a:dc390x_amd.tar.gz /tmp
  # tar zxvf /tmp/dc390x_amd.tar.gz
  # cp /tmp/dc390x_amd/tmscsim.c /usr/src/linux/drivers/scsi
  # cp /tmp/dc390x_amd/tmscsim.h /usr/src/linux/drivers/scsi
  # cp /tmp/dc390x_amd/scsiiom.c /usr/src/linux/drivers/scsi
  # cp /tmp/dc390x_amd/dc390.h   /usr/src/linux/drivers/scsi
  # cd /usr/src/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 "AMD53C974 SCSI support" say "No".
    ;When prompt for "Tekram DC390(T) SCSI support'
     CONFIG_SCSI_DC390x_AM53C974" say "Yes".

  # make dep clean bzImage

  # cp arch/i386/boot/bzImage /
  # ( edit the lilo.conf file under path /etc as follow...)
    ; Add an entry for "bzImage" in /etc/lilo.conf
    ; Example:
    ;    ...
    ;  # Linux bootable partition config begins
    ;  image = /bzImage #  <--- NEW
    ;    root = /dev/sda1 #  <--- NEW
    ;    label = DC390x_amd #  <--- NEW
    ;    read-only  #  <--- NEW
    ;  # Linux bootable partition config ends
    ;  # Linux bootable partition config begins
    ;  image = /vmlinuz
    ;    root = /dev/sda1
    ;    label = linux
    ;    read-only
    ;  # Linux bootable partition config ends
    ;    ...
    ;
  # lilo
  # shutdown -r now ;reboot the system
    ...
    ...
    boot: DC390x_amd ;when system Rebooting ...


    =====================================
          IF YOUR SCSI adapters are
               DC390W/DC390U/DC390F
        DC390U2B/DC390U2W/DC390U2D
                      DC310/DC310U (ncr53c8xx SCSI chip set)
    =====================================

  # mcopy a:dc390x_ncr.tar.gz /tmp
  # tar zxvf /tmp/dc390x_ncr.tar.gz
  # cp /tmp/dc390x_ncr/dc390x_ncr.c /usr/src/linux/drivers/scsi
  # cp /tmp/dc390x_ncr/dc390x_ncr.h /usr/src/linux/drivers/scsi
  # cd /usr/src/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 "NCR53c7,8xx SCSI support" say "No".
    ;When prompt for "NCR53C8XX SCSI support" say "No".
    ;When prompt for "'Tekram DC390W/U/F/U2B/U2W/U2D and DC310/U SCSI
support'
     CONFIG_SCSI_DC390x_NCR53C8XX" say "Yes".

  # make dep clean bzImage

  # cp arch/i386/boot/bzImage /
  # ( edit the lilo.conf file under path /etc as follow...)
    ; Add an entry for "bzImage" in /etc/lilo.conf
    ; Example:
    ;    ...
    ;  # Linux bootable partition config begins
    ;  image = /bzImage #  <--- NEW
    ;    root = /dev/sda1 #  <--- NEW
    ;    label = DC390x_ncr #  <--- NEW
    ;    read-only  #  <--- NEW
    ;  # Linux bootable partition config ends
    ;  # Linux bootable partition config begins
    ;  image = /vmlinuz
    ;    root = /dev/sda1
    ;    label = linux
    ;    read-only
    ;  # Linux bootable partition config ends
    ;    ...
    ;
  # lilo
  # shutdown -r now ;reboot the system
    ...
    ...
    boot: DC390x_ncr ;when system Rebooting ...


    =====================================
          IF YOUR SCSI adapters are
        DC395U/DC395UW/DC395F
                      DC315/DC315U (TRM-S1040 SCSI chip set)
    =====================================
  # mcopy a:dc395x_trm.tar.gz /tmp
  # tar zxvf /tmp/dc395x_trm.tar.gz
  # cp /tmp/dc395x_trm/dc395x_trm.c /usr/src/linux/drivers/scsi
  # cp /tmp/dc395x_trm/dc395x_trm.h /usr/src/linux/drivers/scsi
  # cd /usr/src/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 DC395/U/UW/F and DC315/U SCSI support'
     CONFIG_SCSI_DC395x_TRMS1040" say "Yes".

  # make dep clean bzImage

  # cp arch/i386/boot/bzImage /
  # ( edit the lilo.conf file under path /etc as follow...)
    ; Add an entry for "bzImage" in /etc/lilo.conf
    ; Example:
    ;    ...
    ;  # Linux bootable partition config begins
    ;  image = /bzImage #  <--- NEW
    ;    root = /dev/sda1 #  <--- NEW
    ;    label = DC395x_trm #  <--- NEW
    ;    read-only  #  <--- NEW
    ;  # Linux bootable partition config ends
    ;  # Linux bootable partition config begins
    ;  image = /vmlinuz
    ;    root = /dev/sda1
    ;    label = linux
    ;    read-only
    ;  # Linux bootable partition config ends
    ;    ...
    ;
  # lilo
  # shutdown -r now ;reboot the system
    ...
    ...
    boot: DC395x_trm ;when system Rebooting ...

  $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
  $                                                          $
  $ ALL Tekram SCSI adapters features control by SCSI BIOS   $
  $                                                          $
  $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$





Reply to: