📄 00000001.htm
字号:
to /usr/src/linux/drivers/scsi before update the kernel. <BR> <BR> 1. copy pw2_0_0.gz to /usr/src <BR> 2. # cd /usr/src/linux/drivers/scsi <BR> 3. # rm tmscsiw.c <BR> 4. # rm tmscsiw.h <BR> 5. # rm scsiiow.c <BR> 6. # rm dc390w.h <BR> 7. # rm scripts.h <BR> 8. # cd /usr/src <BR> 9. # gzip -d pw2_0_0.gz <BR> 10. # patch -p0 < pw2_0_0 <BR> <BR> <BR> <BR>----------------------------------------------------------------------------- <BR> <BR> Tekram DC390W/U/F(T) SLACKWARE LINUX driver User's Guide <BR>============================================================== <BR> <BR>1. Contents <BR> <BR> lnx390w.txt - The readme file for DC-390W/U/F Linux driver <BR> b390_144.zip - Boot diskette(1.44M) image for DC-390(T), <BR>DC-390W/U/F(T) <BR> pw2_0_0.zip - DC-390W/U/F(T) Linux driver patch file for kernel <BR>2.0.0 or later <BR> <BR>2. The first time installation <BR> <BR> A. Before Installation - Under DOS environment <BR> <BR> a. Get 1 MS-DOS formatted diskettes <BR> b. Decompress the Boot diskette image file by: <BR> pkunzip b390_144.zip <BR> gzip -d b390_144.gz <BR> c. Decompress the patch file by: <BR> pkunzip pw2_0_0.zip <BR> d. Insert a formatted and empty diskette to floppy drive A <BR> e. Write boot diskette image to floppy diskette by: <BR> rawrite b390_144 A: <BR> f. Remove floppy diskette <BR> <BR> <BR> B. Installation <BR> <BR> a. Using boot diskette that you made as the Booting diskette and <BR>follow the <BR> Linux installation procedures to install. <BR> b. When the installing screen display " INSTALL LINUX KERNEL ". <BR> - Select "bootdisk Use the kernel from the installation <BR>bootdisk", <BR> - and re-insert the bootdisk diskette to floppy drive A. <BR> c. Exit Slackware Linux Setup while the installation is completed <BR> e. Press Ctrl-Alt-Del to reboot system <BR> <BR>3. Configure the system and Remake the kernel <BR> <BR> # cd /usr/src <BR> # gzip -d pw2_0_0.gz <BR> # patch -p0 < pw2_0_0 <BR> # cd linux <BR> # make mrproper <BR> # make config <BR> ;When prompt for "PCI bios support" say "Yes". <BR> ;When prompt for "SCSI support" say "Yes". <BR> ;When prompt for "SCSI disk support" say "Yes". <BR> ;When prompt for "SCSI tape support" say "Yes". <BR> ;When prompt for "SCSI CD-ROM support" say "Yes". <BR> ;When prompt for "SCSI generic support" say "Yes". <BR> ;When prompt for "Tekram DC-390W/U/F (T) SCSI support" say "Yes". <BR> ;When prompt for "NCR53c7,8xx SCSI support" say "No". <BR> ;When prompt for "NCR53C8XX SCSI support" say "No". <BR> # make dep; make clean <BR> # make zImage <BR> # cp arch/i386/boot/zImage / <BR> ; Add an entry for "zImage" in /etc/lilo.conf <BR> ; Example: <BR> ; ... <BR> ; # Linux bootable partition config begins <BR> ; image = /zImage # <--- NEW <BR> ; root = /dev/sda1 # <--- NEW <BR> ; label = DC390W # <--- NEW <BR> ; read-only # <--- NEW <BR> ; # Linux bootable partition config ends <BR> ; # Linux bootable partition config begins <BR> ; image = /vmlinuz <BR> ; root = /dev/sda1 <BR> ; label = default <BR> ; read-only <BR> ; # Linux bootable partition config ends <BR> ; ... <BR> ; <BR> # lilo <BR> # shutdown -r now ;reboot the system <BR> ... <BR> ... <BR> boot: DC390W ;when system Rebooting ... <BR> <BR> <BR> <BR> First-time to patch driver sources into the kernel source <BR> <BR>=================================================================== <BR> <BR> This case means that you are not ever patch the Tekram driver <BR>source code <BR> to /usr/src/linux/drivers/scsi. <BR> <BR> copy pw2_0_0.gz to /usr/src <BR> 1. # gzip -d pw2_0_0.gz <BR> 2. # patch -p0 < pw2_0_0 <BR> <BR> <BR> <BR> To re-patch/update driver sources to the kernel source <BR> <BR>================================================================== <BR> <BR> This case means that you are ever patch the Tekram driver source <BR>code <BR> to /usr/src/linux/drivers/scsi. <BR> <BR> 1. # cd /usr/src <BR> 2. # mkdir tmp <BR> 3. # cd tmp <BR> copy pw2_0_0.gz to /usr/src/tmp <BR> 4. # patch < pw2_0_0 <BR> When prompt for "File to patch:", just press Enter. <BR> When prompt for "No file found--skip this patch? [n]", type y, then <BR>Enter. <BR> 5. # cp *.c /usr/src/linux/drivers/scsi <BR> 6. # cp *.h /usr/src/linux/drivers/scsi <BR> 7. # cd .. <BR> 8. # rm -r tmp <BR> <BR> <BR> <BR> To re-patch/update driver sources to a upgraded kernel source <BR> <BR>===================================================================== <BR> <BR> This case means that you are ever patch the Tekram driver source <BR>code <BR> to /usr/src/linux/drivers/scsi before update the kernel. <BR> <BR> 1. copy pw2_0_0.gz to /usr/src <BR> 2. # cd /usr/src/linux/drivers/scsi <BR> 3. # rm tmscsiw.c <BR> 4. # rm tmscsiw.h <BR> 5. # rm scsiiow.c <BR> 6. # rm dc390w.h <BR> 7. # rm scripts.h <BR> 8. # cd /usr/src <BR> 9. # gzip -d pw2_0_0.gz <BR> 10. # patch -p0 < pw2_0_0 <BR> <BR> <BR><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -