天野と申します。
On Tue, 09 Sep 2003 15:36:00 +0900 (JST)
kouya kouya <kouya2000@xxxxxxxxxxx> wrote:
> はじめまして、こんにちはkouと申します。
>
> 今日から参加させていただきます。
>
> どうぞよろしくお願いします。
>
> KNOPPIXは自作機にHDDインストして
>
> 使用しています。
>
> 超初心者なので分からないことがたたあるんですが
>
> さっそく教えていただきたいことがあります。
>
> 現在、Tekram のSCSIボード DC315/Uというのを
>
> 使用しているのですが認識させようとDebian3.0用の
>
> ドライバーを入手しREAD.MEとにらめっこしているのですが
>
> お手上げ状態です。
これはきついですね。
お気持ち、良くわかります。
>
> 大変、申し訳ありませんがどなたかおたすけ願えません
>
> でしょうかよろしくお願いします。
添付を読ませて頂きましたが、かなりしんどいことをやってます。
カーネルの再構築をやっているのです。
どのようなものかご存知なければ、調べてみたほうが良いです。
ちゃんと設定しないと、不具合を生じる可能性があります。
ひとつづつ説明するのは、これまたしんどいので、
なにをやろうとしているかを簡単に説明致します。
1.は必要とするファイルの説明です。
2.は今回は関係ないと思います。
3.が今回必要な作業となります。
ここからその説明です。
ディレクトリの移動に注意して下さい。
私の説明では触れていません。
3.A.は必要なファイルのコピーです。
3.B.指定したファイル(/usr/src/linux-2.4/drivers/scsi/Makefile)の書き換えです。
@@@@@@@...
と
@@@@@@@...
ではさまれたところが実際に書き換える場所の抜粋。
3.C.設定、コンパイル、インストール。
# make config
とありますよね?これをタイプするとインタラクティブなプログラムが起動し、
このプログラムが聞いてくることに答えていきます。
Tips: Say "M" means...
と書かれているところ以下が、その"答え"です。つぎの、
# make dep
以下が、そのプログラムを抜けた後に打ち込んでいくコマンドです。そして、
# ( edit the lilo.conf...
とありますよね?
ファイルのツリーを調べるとどこかに"lilo.conf"というファイルがあるはずです
(/etc/の下かな)。このファイルを、
; Example:
以下の指示のように書き換えましょう。そして、
# lilo
# shutdown -r now
として下さい。システムがリブートされます。
リブート後に新しいシステムが起動します。
これ、かなり時間がかかります。速いPCでも30-60分くらいかかります。
>
> READ.MEつけたんですが長い文章でご迷惑おかけします。
>
> 現在 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@xxxxxxxxxxxxx
> mail address Germany: garloff@xxxxxxx
>
> The source drivers of DC390(T)
> (AMD53C974)
> DC395U/UW/F DC315/U
> (TRM-S1040)
>
> New version maintain by Kurt Garloff
>
> <garloff@xxxxxxx>
> 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
> $
> $
> $
>
> $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
>
>
> --[PR]------------------------------------------------------------------
> 【 FreeML ユーザー登録してますか?】
> ・メールアドレスとパスワードのカンタン登録!
> ・ニックネームもつけられるし、WEBメールも使える!
> ・MLだってカンタンに作れちゃう!
> ▼ いますぐ登録! => http://click.freeml.com/ad.php?id=934686
> ------------------------------------------------------------------[PR]--
> <GMO GROUP> Global Media Online www.gmo.jp
>
>
|