Tekram DC390W/U/F(T) SLACKWARE LINUX driver User's Guide ============================================================== 1. Contents lnx390w.txt - The readme file for DC-390W/U/F Linux driver b390_144.zip - Boot diskette(1.44M) image for DC-390(T), DC-390W/U/F(T) pw2_0_0.zip - DC-390W/U/F(T) Linux driver patch file for kernel 2.0.0 or later 2. The first time installation A. Before Installation - Under DOS environment a. Get 1 MS-DOS formatted diskettes b. Decompress the Boot diskette image file by: pkunzip b390_144.zip gzip -d b390_144.gz c. Decompress the patch file by: pkunzip pw2_0_0.zip d. Insert a formatted and empty diskette to floppy drive A e. Write boot diskette image to floppy diskette by: rawrite b390_144 A: f. Remove floppy diskette B. Installation a. Using boot diskette that you made as the Booting diskette and follow the Linux installation procedures to install. b. When the installing screen display " INSTALL LINUX KERNEL ". - Select "bootdisk Use the kernel from the installation bootdisk", - and re-insert the bootdisk diskette to floppy drive A. c. Exit Slackware Linux Setup while the installation is completed e. Press Ctrl-Alt-Del to reboot system 3. Configure the system and Remake the kernel # cd /usr/src # gzip -d pw2_0_0.gz # patch -p0 < pw2_0_0 # cd 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 DC-390W/U/F (T) SCSI support" say "Yes". ;When prompt for "NCR53c7,8xx SCSI support" say "No". ;When prompt for "NCR53C8XX SCSI support" say "No". # make dep; make clean # make zImage # cp arch/i386/boot/zImage / ; Add an entry for "zImage" in /etc/lilo.conf ; Example: ; ... ; # Linux bootable partition config begins ; image = /zImage # <--- NEW ; root = /dev/sda1 # <--- NEW ; label = DC390W # <--- NEW ; read-only # <--- NEW ; # Linux bootable partition config ends ; # Linux bootable partition config begins ; image = /vmlinuz ; root = /dev/sda1 ; label = default ; read-only ; # Linux bootable partition config ends ; ... ; # lilo # shutdown -r now ;reboot the system ... ... boot: DC390W ;when system Rebooting ... First-time to patch driver sources into the kernel source =================================================================== This case means that you are not ever patch the Tekram driver source code to /usr/src/linux/drivers/scsi. copy pw2_0_0.gz to /usr/src 1. # gzip -d pw2_0_0.gz 2. # patch -p0 < pw2_0_0 To re-patch/update driver sources to the kernel source ================================================================== This case means that you are ever patch the Tekram driver source code to /usr/src/linux/drivers/scsi. 1. # cd /usr/src 2. # mkdir tmp 3. # cd tmp copy pw2_0_0.gz to /usr/src/tmp 4. # patch < pw2_0_0 When prompt for "File to patch:", just press Enter. When prompt for "No file found--skip this patch? [n]", type y, then Enter. 5. # cp *.c /usr/src/linux/drivers/scsi 6. # cp *.h /usr/src/linux/drivers/scsi 7. # cd .. 8. # rm -r tmp To re-patch/update driver sources to a upgraded kernel source ===================================================================== This case means that you are ever patch the Tekram driver source code to /usr/src/linux/drivers/scsi before update the kernel. 1. copy pw2_0_0.gz to /usr/src 2. # cd /usr/src/linux/drivers/scsi 3. # rm tmscsiw.c 4. # rm tmscsiw.h 5. # rm scsiiow.c 6. # rm dc390w.h 7. # rm scripts.h 8. # cd /usr/src 9. # gzip -d pw2_0_0.gz 10. # patch -p0 < pw2_0_0