📄 00000001.htm
字号:
<HTML><HEAD> <TITLE>BBS水木清华站∶精华区</TITLE></HEAD><BODY><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER>发信人: <A HREF="mailto:sftwayne@ms1.hinet.net">sftwayne@ms1.hinet.net</A> (樱花钩吻小小龟), 看板: Linux <BR>标 题: Re: 哪一个kernel支援dc390U scsi卡!! <BR>发信站: □的故乡 (Sat Jul 19 20:30:21 1997) <BR>转信站: sobee!netnews.ntu!news.ck.tp!jupiter.cksh.tp!news.csie.nctu!netnews.cs <BR> <BR>=>在 <A HREF="mailto:wangd.bbs@bbs.ee.nthu.edu.tw">wangd.bbs@bbs.ee.nthu.edu.tw</A> (nobody) 的大作中提到 : <BR> <BR>><I>==> 在 <A HREF="mailto:wangd.bbs@bbs.nsysu.edu.tw">wangd.bbs@bbs.nsysu.edu.tw</A> (nobody) 的文章中提到: </I><BR>><I>: 如题 因为我用tekram出的bookdisk惯linux虽然可以抓到 </I><BR>><I>: 但是我却不能patch kernel... </I><BR>><I>: patch 完之後就抓不到scsi卡了 </I><BR> <BR> Tekram DC390W/U/F(T) Red Hat LiNUX driver User's Guide <BR>============================================================== <BR> <BR>1. Contents <BR> <BR> RH390w.txt - The readme file for DC-390W/U/F(T) Linux driver <BR> RHb390x.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.18 <BR> 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 RHb390x.zip <BR> gzip -d RHb390x.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 RHb390x 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> Red Hat Linux installation procedures to install. <BR> b. When the installation was completely and the " Done "screen <BR>display with <BR> message <BR> <BR> " Congratulations, installation is complete. <BR> <BR> Remove the floppy from the drive and press return to reboot. <BR> ....... " <BR> <BR> , do NOT remove the floppy and do NOT press return at this <BR>moment. <BR> Press Alt+F2 to switch display to command prompt, go throught <BR>following <BR> steps to update the kernel that has drivers for the Tekram <BR>DC-390(T) and <BR> DC-390W/F/U. <BR> <BR> (1) bash# mkdir /mnt/mnt1 <BR> (2) bash# mount /mnt/dev/fd0 /mnt/mnt1 <BR> (3) bash# rm -rf /mnt/boot/vmlinuz <BR> (4) bash# cp /mnt/mnt1/vmlinuz /mnt/boot/vmlinuz <BR> (5) bash# /mnt/sbin/lilo -r /mnt <BR> (6) bash# umount /mnt/mnt1 <BR> <BR> Press Alt+F1 to switch back to installation done screen. <BR> Remove the floppy and press Enter to reboot. <BR> <BR> <BR>3. Configure the system and Remake the kernel <BR> <BR> # mcopy a:pw2_0_0.gz /usr/src <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 kernel for DC390W/F/U <BR> ; image = /zImage # <--- NEW <BR> ; label = DC390W # <--- NEW <BR> ; root = /dev/sda1 # <--- NEW <BR> ; read-only # <--- NEW <BR> ; image = /boot/vmlinuz <BR> ; label = linux <BR> ; root = /dev/sda1 <BR> ; read-only <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> 1. copy pw2_0_0.gz to /usr/src <BR> 2. # gzip -d pw2_0_0.gz <BR> 3. # patch -p0 < pw2_0_0 <BR> <BR> <BR> <BR> To re-patch/update driver sources to the kernel source <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 <BR>y, then 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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -