home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / KERNEL-S / V1.2 / LINUX-1.2 / LINUX-1 / linux / drivers / scsi / README.qlogic < prev    next >
Encoding:
Text File  |  1994-11-26  |  3.0 KB  |  66 lines

  1.  
  2. RANDOM NOTES ON THE QLOGIC SCSI DRIVER
  3.  
  4. This driver does NOT support the PCI version.  It is a different chip.
  5.  
  6. It DOES support the ISA, VLB, and PCMCIA versions of the Qlogic FastSCSI!
  7. cards as well as any other card based on the chip (including the Control
  8. Concepts SCSI/IDE/SIO/PIO/FDC cards).
  9.  
  10. PCMCIA SUPPORT
  11.  
  12. This currently only works if the card is enabled first from DOS.  This means
  13. you will have to load your socket and card services, and QL41DOS.SYS and
  14. QL40ENBL.SYS.  These are a minimum, but loading the rest of the modules
  15. won't interfere with the operation.  The next thing to do is load the kernel
  16. without resetting the hardware, which can be a simple ctrl-alt-delete with
  17. a boot floppy, or by using loadlin with the kernel image accessible from
  18. DOS.  If you are using the Linux PCMCIA driver, you will have to adjust
  19. it or otherwise stop it from configuring the card.
  20.  
  21. I am working with the PCMCIA group to make it more flexible, but that may
  22. take a while.
  23.  
  24. ALL CARDS
  25.  
  26. The top of the qlogic.c file has a number of defines that controls 
  27. configuration.  As shipped, it provides a balance between speed and
  28. function.  If there are any problems, try setting SLOW_CABLE to 1, and
  29. then try changing USE_IRQ and TURBO_PDMA to zero.  If you are familiar 
  30. with SCSI, there are other settings which can tune the bus.
  31.  
  32. It may be a good idea to enable RESET_AT_START, especially if the devices
  33. may not have been just powered up, or if you are restarting after a crash,
  34. since they may be busy trying to complete the last command or something.
  35. It comes up faster if this is set to zero, and if you have reliable
  36. hardware and connections it may be more useful to not reset things.
  37.  
  38. SOME TROUBLESHOOTING TIPS
  39.  
  40. Make sure it works properly under DOS.  You should also do an initial FDISK
  41. on a new drive if you want partitions.
  42.  
  43. Don't enable all the speedups first.  If anything is wrong, they will make
  44. any problem worse.
  45.  
  46. IMPORTANT
  47.  
  48. The best way to test if your cables, termination, etc. are good is to copy
  49. a very big file (e.g. a doublespace container file, or a very large executable
  50. or archive).  It should be at least 5 megabytes, but you can do multiple tests
  51. on smaller files.  Then do a COMP to verify that the file copied properly.
  52. (Turn off all caching when doing these tests, otherwise you will test your
  53. RAM and not the files).  Then do 10 COMPs, comparing the same file on the
  54. SCSI hard drive, i.e. "COMP realbig.doc realbig.doc".  Then do it after the
  55. computer gets warm.
  56.  
  57. I noticed my system which seems to work 100% would fail this test if the
  58. computer was left on for a few hours.  It was worse with longer cables, and
  59. more devices on the SCSI bus.  What seems to happen is that it gets a false
  60. ACK causing an extra byte to be inserted into the stream (and this is not
  61. detected).  This can be caused by bad termination (the ACK can be reflected),
  62. or by noise when the chips work less well because of the heat, or when cables
  63. get too long for the speed.
  64.  
  65. If it doesn't work under DOS, it won't work under Linux.
  66.