OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [Documentation/] [README.nsp_cs.eng] - Diff between revs 1275 and 1765

Only display areas with differences | Details | Blame | View Log

Rev 1275 Rev 1765
         WorkBiT NinjaSCSI-3/32Bi driver for Linux
         WorkBiT NinjaSCSI-3/32Bi driver for Linux
1. Comment
1. Comment
 This is Workbit corp.'s(http://www.workbit.co.jp/) NinjaSCSI-3
 This is Workbit corp.'s(http://www.workbit.co.jp/) NinjaSCSI-3
(http://www.workbit.co.jp/ts/z_nj3r.html) and NinjaSCSI-32Bi
(http://www.workbit.co.jp/ts/z_nj3r.html) and NinjaSCSI-32Bi
(http://www.workbit.co.jp/ts/z_njsc32bi.html) PCMCIA card driver module
(http://www.workbit.co.jp/ts/z_njsc32bi.html) PCMCIA card driver module
for Linux.
for Linux.
2. My Linux environment
2. My Linux environment
Linux kernel: 2.4.20 / 2.5.63
Linux kernel: 2.4.20 / 2.5.63
pcmcia-cs:    3.1.33
pcmcia-cs:    3.1.33
gcc:          gcc-2.95.4
gcc:          gcc-2.95.4
PC card:      I-O data PCSC-F (NinjaSCSI-3)
PC card:      I-O data PCSC-F (NinjaSCSI-3)
              I-O data CBSC-II in 16 bit mode (NinjaSCSI-32Bi)
              I-O data CBSC-II in 16 bit mode (NinjaSCSI-32Bi)
SCSI device:  I-O data CDPS-PX24 (CD-ROM drive)
SCSI device:  I-O data CDPS-PX24 (CD-ROM drive)
              Media Intelligent MMO-640GT (Optical disk drive)
              Media Intelligent MMO-640GT (Optical disk drive)
3. Install
3. Install
[1] Check your PC card is true "NinjaSCSI-3" card.
[1] Check your PC card is true "NinjaSCSI-3" card.
    If you installed pcmcia-cs already, pcmcia reports your card as UNKNOWN
    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
    card, and write ["WBT", "NinjaSCSI-3", "R1.0"] or some other string to
    your console or log file.
    your console or log file.
    You can also use "cardctl" program (this program is in pcmcia-cs source
    You can also use "cardctl" program (this program is in pcmcia-cs source
    code) to get more info.
    code) to get more info.
# cat /var/log/messgaes
# 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]: unsupported card in socket 1
Jan  2 03:45:06 lindberg cardmgr[78]:   product info: "WBT", "NinjaSCSI-3", "R1.0"
Jan  2 03:45:06 lindberg cardmgr[78]:   product info: "WBT", "NinjaSCSI-3", "R1.0"
...
...
# cardctl ident
# cardctl ident
Socket 0:
Socket 0:
  no product info available
  no product info available
Socket 1:
Socket 1:
  product info: "IO DATA", "CBSC16       ", "1"
  product info: "IO DATA", "CBSC16       ", "1"
[2] Get Linux kernel source, and extract it to /usr/src.
[2] Get Linux kernel source, and extract it to /usr/src.
    Because NinjaSCSI driver requiers some SCSI header files in Linux kernel
    Because NinjaSCSI driver requiers some SCSI header files in Linux kernel
    source.
    source.
    I recomend rebuilding your kernel. This eliminate some versioning problem.
    I recomend rebuilding your kernel. This eliminate some versioning problem.
$ cd /usr/src
$ cd /usr/src
$ tar -zxvf linux-x.x.x.tar.gz
$ tar -zxvf linux-x.x.x.tar.gz
$ cd linux
$ cd linux
$ make config
$ make config
...
...
[3] Extract this driver's archive somewhere, and edit Makefile, then do make.
[3] Extract this driver's archive somewhere, and edit Makefile, then do make.
$ tar -zxvf nsp_cs-x.x.tar.gz
$ tar -zxvf nsp_cs-x.x.tar.gz
$ cd nsp_cs-x.x
$ cd nsp_cs-x.x
$ emacs Makefile
$ emacs Makefile
...
...
$ make
$ make
[4] Copy nsp_cs.o to suitable plase, like /lib/modules//pcmcia/ .
[4] Copy nsp_cs.o to suitable plase, like /lib/modules//pcmcia/ .
[5] Add these lines to /etc/pcmcia/config .
[5] Add these lines to /etc/pcmcia/config .
    If you yse pcmcia-cs-3.1.8 or later, we can use "nsp_cs.conf" file.
    If you yse pcmcia-cs-3.1.8 or later, we can use "nsp_cs.conf" file.
    So, you don't need to edit file. Just copy to /etc/pcmcia/ .
    So, you don't need to edit file. Just copy to /etc/pcmcia/ .
-------------------------------------
-------------------------------------
device "nsp_cs"
device "nsp_cs"
  class "scsi" module "nsp_cs"
  class "scsi" module "nsp_cs"
card "WorkBit NinjaSCSI-3"
card "WorkBit NinjaSCSI-3"
  version "WBT", "NinjaSCSI-3", "R1.0"
  version "WBT", "NinjaSCSI-3", "R1.0"
  bind "nsp_cs"
  bind "nsp_cs"
card "WorkBit NinjaSCSI-32Bi (16bit)"
card "WorkBit NinjaSCSI-32Bi (16bit)"
  version "WORKBIT", "UltraNinja-16", "1"
  version "WORKBIT", "UltraNinja-16", "1"
  bind "nsp_cs"
  bind "nsp_cs"
# OEM
# OEM
card "WorkBit NinjaSCSI-32Bi (16bit) / IO-DATA"
card "WorkBit NinjaSCSI-32Bi (16bit) / IO-DATA"
  version "IO DATA", "CBSC16       ", "1"
  version "IO DATA", "CBSC16       ", "1"
  bind "nsp_cs"
  bind "nsp_cs"
# OEM
# OEM
card "WorkBit NinjaSCSI-32Bi (16bit) / KME-1"
card "WorkBit NinjaSCSI-32Bi (16bit) / KME-1"
  version "KME    ", "SCSI-CARD-001", "1"
  version "KME    ", "SCSI-CARD-001", "1"
  bind "nsp_cs"
  bind "nsp_cs"
card "WorkBit NinjaSCSI-32Bi (16bit) / KME-2"
card "WorkBit NinjaSCSI-32Bi (16bit) / KME-2"
  version "KME    ", "SCSI-CARD-002", "1"
  version "KME    ", "SCSI-CARD-002", "1"
  bind "nsp_cs"
  bind "nsp_cs"
card "WorkBit NinjaSCSI-32Bi (16bit) / KME-3"
card "WorkBit NinjaSCSI-32Bi (16bit) / KME-3"
  version "KME    ", "SCSI-CARD-003", "1"
  version "KME    ", "SCSI-CARD-003", "1"
  bind "nsp_cs"
  bind "nsp_cs"
card "WorkBit NinjaSCSI-32Bi (16bit) / KME-4"
card "WorkBit NinjaSCSI-32Bi (16bit) / KME-4"
  version "KME    ", "SCSI-CARD-004", "1"
  version "KME    ", "SCSI-CARD-004", "1"
  bind "nsp_cs"
  bind "nsp_cs"
-------------------------------------
-------------------------------------
[6] Start (or restart) pcmcia-cs.
[6] Start (or restart) pcmcia-cs.
# /etc/rc.d/rc.pcmcia start        (BSD style)
# /etc/rc.d/rc.pcmcia start        (BSD style)
or
or
# /etc/init.d/pcmcia start         (SYSV style)
# /etc/init.d/pcmcia start         (SYSV style)
4. History
4. History
See README.nin_cs .
See README.nin_cs .
5. Caution
5. Caution
 If you eject card when doing some operation for your SCSI device or suspend
 If you eject card when doing some operation for your SCSI device or suspend
your computer, you encount some *BAD* error like disk crash.
your computer, you encount some *BAD* error like disk crash.
 It works good when I using this driver right way. But I'm not guarantee
 It works good when I using this driver right way. But I'm not guarantee
your data. Please backup your data when you use this driver.
your data. Please backup your data when you use this driver.
6. Known Bugs
6. Known Bugs
 Many bugs in this driver. Be careful!
 Many bugs in this driver. Be careful!
7. Testing
7. Testing
 Please send me some reports(bug reports etc..) of this software.
 Please send me some reports(bug reports etc..) of this software.
When you send report, please tell me these or more.
When you send report, please tell me these or more.
        card name
        card name
        kernel version
        kernel version
        your SCSI device name(hard drive, CD-ROM, etc...)
        your SCSI device name(hard drive, CD-ROM, etc...)
8. Copyright
8. Copyright
 See GPL.
 See GPL.
2002/01/17 yokota@netlab.is.tsukuba.ac.jp 
2002/01/17 yokota@netlab.is.tsukuba.ac.jp 
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.