WorkBiT NinjaSCSI-3/32Bi driver for Linux 1. Comment This is Workbit corp.'s(http://www.workbit.co.jp/) NinjaSCSI-3 (http://www.workbit.co.jp/workbit/products/nscsi-3.html) and NinjaSCSI-32Bi PCMCIA card driver module for Linux. 2. My Linux environment Linux kernel: 2.2.x/2.3.x, (Not tested on 2.3.x) pcmcia-cs: 3.1.15 gcc: gcc-2.95.2 20000313 PC card: I-O data PCSC-F (NinjaSCSI-3) I-O data CBSC-II in 16 bit mode (NinjaSCSI-32Bi) SCSI device: I-O data CDPS-PX24 (CD-ROM drive) Media Intelligent MMO-640GT (MO drive) 3. Install [1] Check your PC card is true "NinjaSCSI-3" card. If you installed pcmcia-cs already, pcmcia reports your card as UNKNOWN card, and write ["WBT", "NinjaSCSI-3", "R1.0"] or some other string to your console or log file. You can also use "cardctl" program (this program is in pcmcia-cs source code) to get more info. # cat /var/log/messgaes ... Jan 2 03:45:06 lindberg cardmgr[78]: unsupported card in socket 1 Jan 2 03:45:06 lindberg cardmgr[78]: product info: "WBT", "NinjaSCSI-3", "R1.0" ... # cardctl ident Socket 0: no product info available Socket 1: product info: "IO DATA", "CBSC16 ", "1" [2] Get Linux kernel source, and extract it to /usr/src. Because NinjaSCSI driver requiers some SCSI header files in Linux kernel source. I recomend rebuilding your kernel. This eliminate some versioning problem. $ cd /usr/src $ tar -zxvf linux-2.2.x.tar.gz $ cd linux $ make config ... [3] Unpack pcmcia-cs in some directory. $ cd /usr/src $ tar zxvf cs-pcmcia-cs-3.x.x.tar.gz [4] Unpack NinjaSCSI-3 driver source code. "nin_cs.mk" is the makefile of NinjaSCSI driver. You can edit this file. $ cd pcmcia-cs-3.x.x $ tar zxvf NinjaSCSI3-x.x.tar.gz [5] make & install as usual. $ make config $ make all $ su # make install [6] Add these lines to /etc/pcmcia/config . If you yse pcmcia-cs-3.1.8 or later, we can use "nin_cs.conf" file. So, you don't need to edit file. ------------------------------------- device "nin_cs" class "scsi" module "nin_cs" card "Workbit NinjaSCSI-3" version "WBT", "NinjaSCSI-3", "R1.0" bind "nin_cs" card "WorkBit NinjaSCSI-32Bi (16bit)" version "WORKBIT", "UltraNinja-16", "1" bind "nin_cs" ------------------------------------- [7] Boot (or reboot) pcmcia-cs. # /etc/rc.d/rc.pcmcia start (BSD style) or # /etc/init.d/pcmcia start (SYSV style) 4. History See README.nin_cs . 5. Caution If you eject card when doing some operation for your SCSI device or suspend your computer, you encount some *BAD* error like disk crash. It looks good when you using this driver right way. But I'm not guarantee your data. Please make backup when you use this driver. 6. Known Bugs There are some known bugs. 7. Testing Please send me some reports(bug reports etc..) of this software. When you send report, please tell me these or more. card name kernel version your SCSI device name(hard drive, CD-ROM, etc...) 8. Copyright See GPL. 2000/06/02 yokota@netlab.is.tsukuba.ac.jp