早速のお返事ありがとうございます。
自分が細かく理解できなかった点を
書かなかったのがいけないのですが、
回答していただいたことはだいたい
文を読めば理解できたんです。
意味がわからないのはread.meに書かれている
指定のファイルもフォルダーもないのです。
> 1.は必要とするファイルの説明です。
> 2.は今回は関係ないと思います。
> 3.が今回必要な作業となります。
> ここからその説明です。
> ディレクトリの移動に注意して下さい。
> 私の説明では触れていません。
> 3.A.は必要なファイルのコピーです。
> 3.B.指定したファイル(/usr/src/linux-2.4/drivers/scsi/Makefile)の書き換
えです。
上記のファイルは実際にはなく、
(/usr/src/linux-2.4.20/include/scsi/scsi.h)とかはある。
cofig.inなんてファイルもどこにあるのかさっぱり??
てなかんじで、書き換えたいファイルがどこにあるのか
わからない現状です。
ドライバーの対象にしているカーネルがやっぱり違うからなんですかね?
どなたか、おちえを下さい。
よろしくお願いします。
From kou
現在 KNOPPIX3.2日本語版使用
Tekram DC315/U
> >
> >
> > Tekram SCSI adapters:
> >
> > (AMD53C974) DC390(T)
> >
> > (NCR53C8XX) DC310/DC310U/DC390W/DC390U/DC390F
> > DC390U2B/DC390U2W/DC390U2D
> >
> > (TRM-S1040) DC395U/UW/F DC315/U
> >
> > Debian 3.0 Linux
> >
> > =================== Driver User's Guide
> > =======================
> >
> > Linux SCSI driver technical support
> >
> > mail address China: freeos@...
> > mail address Germany: garloff@...
> >
> > The source drivers of DC390(T)
> > (AMD53C974)
> > DC395U/UW/F DC315/U
> > (TRM-S1040)
> >
> > New version maintain by Kurt Garloff
> >
> > <garloff@...>
> > 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
> >
> > driver.zip - Debian 3.0 driver 1.44M diskette
> > image file (driver.img)
> > Source code
included.
> >
> > dc395x_trm.tar.gz - Source code for
> > DC395U/DC395UW/DC395F DC315/DC315U
> >
> > SCSI adapters
> > files include
> > :dc395x_trm.c,dc395x_trm.h
> >
> > 2. Install a fresh system with a SCSI disk attached to
> > DC3X5
> >
> > A. Before Installation - Under DOS/Windows environment
> > a. Unzip driver disk
> > X:\PATH\pkunzip.exe driver.zip =>> driver.img
> > Tips: You can download pkunzip.exe from
> > ftp://ftp.tekram.com.tw
> >
> > b. Dump it into a floppy disk.
> > X:\PATH\rawrite.exe driver.img A:
> >
> > B. Installation
> > 1. Boot from CD-ROM
> > 2. Type "bf24" at "boot:" prompt to start
> > installation with a 2.4 kernel.
> > 3. When goes to "Preload essential modules from a
> > floppy"
> > 4. Insert the driver disk into floppy
> > 5. Answer "Yes" twice to proceed.
> > 6. Select Module "dc395x_trm" at "Modules Selection"
> > screen.
> > 7. No arguments needed to load the module.
> > 8. Perform NORMAL installation procedures.
> > 9. Don't forget to do a "Make System Bootable" to
> > install LILO to your SCSI HDD.
> > 10.Installation finished and reboot.
> >
> >
> > 3. Add DC3X5 support to your own kernel.
> > Note: We assume that your root dir of kernel source tree
> > is /usr/src/linux-2.4
> >
> > A. Prepare installtion
> > a. Insert driver disk into drive a:, mount it to
> > directory. For example:
> > #mount /dev/fd0 /mnt/floppy
> > b. Copy file
> > #cp /mnt/floppy/src/*.*
> > /usr/src/linux-2.4/drivers/scsi/
> >
> > B. Modify make and config files
> >
> > In /usr/src/linux-2.4/drivers/scsi/Makefile
> >
> > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> > @ ......
> > @obj-$(CONFIG_SCSI_DC390T) +=tmscsim.o
> > @obj-$(CONFIG_SCSI_DC395x_TRMS1040)
> > +=dc395x_trm.o <----Insert this line
> > @obj-$(CONFIG_SCSI_AM53C974) += AM53C974.o
> > @ ......
> >
> > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> >
> > In /usr/src/linux-2.4/drivers/scsi/Config.in
> >
> > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> > @ ......
> > @ dep_tristate 'Seagate ST-02 and Future Domain
> > TMC-8xx SCSI support' CONFIG_SCSI_SEAGATE $CONFIG_SCSI
> > @ if [ "$CONFIG_PCI" = "y" ]; then
> > @ dep_tristate 'Tekram DC395U/UW/F and DC315/U
> > SCSI support' <----Insert this line
> > @ CONFIG_SCSI_DC395x_TRMS1040 $CONFIG_SCSI
> > <----Insert this line
> > @ 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
> > @ ......
> >
> > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> >
> > C. Make new kernel
> > # cd /usr/src/linux-2.4
> > # make mrproper
> > # make config
> >
> > Tips: Say "M" means configure this driver as a module.
> > ;When prompt for "SCSI support" say "Y" or "M".
> > ;When prompt for "SCSI disk support" say "Y" or "M".
> > ;When prompt for "SCSI tape support" say "Y" or "M".
> > ;When prompt for "SCSI CD-ROM support" say "Y" or "M".
> > ;When prompt for "SCSI generic support" say "Y" or
> > "M".
> >
> > ;When prompt for "SYM53C8XX SCSI support"
> > ;say "Y" or "M"
> > ;When prompt for "Tekram DC395/U/UW/F and DC315/U SCSI
> > support"
> > ;say "Y" or "M".
> > ;When prompt for "Tekram DC390(T) and Am53/79C974 SCSI
> > support"
> > ;say "Y" or "M".
> >
> > # make dep
> > # make clean
> > # make bzImage
> > # make modules
> > # make modules_install
> >
> >
> > # 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
> > $
> > $
> > $
> >
> > $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
> >
|