NinjaSCSI.txt 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. WorkBiT NinjaSCSI-3/32Bi driver for Linux
  2. 1. Comment
  3. This is Workbit corp.'s(http://www.workbit.co.jp/) NinjaSCSI-3
  4. for Linux.
  5. 2. My Linux environment
  6. Linux kernel: 2.4.7 / 2.2.19
  7. pcmcia-cs: 3.1.27
  8. gcc: gcc-2.95.4
  9. PC card: I-O data PCSC-F (NinjaSCSI-3)
  10. I-O data CBSC-II in 16 bit mode (NinjaSCSI-32Bi)
  11. SCSI device: I-O data CDPS-PX24 (CD-ROM drive)
  12. Media Intelligent MMO-640GT (Optical disk drive)
  13. 3. Install
  14. [1] Check your PC card is true "NinjaSCSI-3" card.
  15. If you installed pcmcia-cs already, pcmcia reports your card as UNKNOWN
  16. card, and write ["WBT", "NinjaSCSI-3", "R1.0"] or some other string to
  17. your console or log file.
  18. You can also use "cardctl" program (this program is in pcmcia-cs source
  19. code) to get more info.
  20. # cat /var/log/messages
  21. ...
  22. Jan 2 03:45:06 lindberg cardmgr[78]: unsupported card in socket 1
  23. Jan 2 03:45:06 lindberg cardmgr[78]: product info: "WBT", "NinjaSCSI-3", "R1.0"
  24. ...
  25. # cardctl ident
  26. Socket 0:
  27. no product info available
  28. Socket 1:
  29. product info: "IO DATA", "CBSC16 ", "1"
  30. [2] Get the Linux kernel source, and extract it to /usr/src.
  31. Because the NinjaSCSI driver requires some SCSI header files in Linux
  32. kernel source, I recommend rebuilding your kernel; this eliminates
  33. some versioning problems.
  34. $ cd /usr/src
  35. $ tar -zxvf linux-x.x.x.tar.gz
  36. $ cd linux
  37. $ make config
  38. ...
  39. [3] If you use this driver with Kernel 2.2, unpack pcmcia-cs in some directory
  40. and make & install. This driver requires the pcmcia-cs header file.
  41. $ cd /usr/src
  42. $ tar zxvf cs-pcmcia-cs-3.x.x.tar.gz
  43. ...
  44. [4] Extract this driver's archive somewhere, and edit Makefile, then do make.
  45. $ tar -zxvf nsp_cs-x.x.tar.gz
  46. $ cd nsp_cs-x.x
  47. $ emacs Makefile
  48. ...
  49. $ make
  50. [5] Copy nsp_cs.ko to suitable place, like /lib/modules/<Kernel version>/pcmcia/ .
  51. [6] Add these lines to /etc/pcmcia/config .
  52. If you use pcmcia-cs-3.1.8 or later, we can use "nsp_cs.conf" file.
  53. So, you don't need to edit file. Just copy to /etc/pcmcia/ .
  54. -------------------------------------
  55. device "nsp_cs"
  56. class "scsi" module "nsp_cs"
  57. card "WorkBit NinjaSCSI-3"
  58. version "WBT", "NinjaSCSI-3", "R1.0"
  59. bind "nsp_cs"
  60. card "WorkBit NinjaSCSI-32Bi (16bit)"
  61. version "WORKBIT", "UltraNinja-16", "1"
  62. bind "nsp_cs"
  63. # OEM
  64. card "WorkBit NinjaSCSI-32Bi (16bit) / IO-DATA"
  65. version "IO DATA", "CBSC16 ", "1"
  66. bind "nsp_cs"
  67. # OEM
  68. card "WorkBit NinjaSCSI-32Bi (16bit) / KME-1"
  69. version "KME ", "SCSI-CARD-001", "1"
  70. bind "nsp_cs"
  71. card "WorkBit NinjaSCSI-32Bi (16bit) / KME-2"
  72. version "KME ", "SCSI-CARD-002", "1"
  73. bind "nsp_cs"
  74. card "WorkBit NinjaSCSI-32Bi (16bit) / KME-3"
  75. version "KME ", "SCSI-CARD-003", "1"
  76. bind "nsp_cs"
  77. card "WorkBit NinjaSCSI-32Bi (16bit) / KME-4"
  78. version "KME ", "SCSI-CARD-004", "1"
  79. bind "nsp_cs"
  80. -------------------------------------
  81. [7] Start (or restart) pcmcia-cs.
  82. # /etc/rc.d/rc.pcmcia start (BSD style)
  83. or
  84. # /etc/init.d/pcmcia start (SYSV style)
  85. 4. History
  86. See README.nin_cs .
  87. 5. Caution
  88. If you eject card when doing some operation for your SCSI device or suspend
  89. your computer, you encount some *BAD* error like disk crash.
  90. It works good when I using this driver right way. But I'm not guarantee
  91. your data. Please backup your data when you use this driver.
  92. 6. Known Bugs
  93. In 2.4 kernel, you can't use 640MB Optical disk. This error comes from
  94. high level SCSI driver.
  95. 7. Testing
  96. Please send me some reports(bug reports etc..) of this software.
  97. When you send report, please tell me these or more.
  98. card name
  99. kernel version
  100. your SCSI device name(hard drive, CD-ROM, etc...)
  101. 8. Copyright
  102. See GPL.
  103. 2001/08/08 yokota@netlab.is.tsukuba.ac.jp <YOKOTA Hiroshi>