Driver for the NCR 53c810/815/820/825 PCI SCSI Host adapter
Fsys.ncr8scsi [general_options...] [fsys fsys_options...] [ncr8scsi ncr8scsi_options...]...
If specified, the general_options must precede any fsys or ncr8scsi options:
The unit can be one of the following combinations (the number of commas affects how the unit information is interpreted):
Specify | Meaning |
---|---|
controller,target,lun | fully specified controller, target, and LUN |
controller,target | equivalent to controller,target,0 |
target | equivalent to 0,target,0 |
type | String equivalent |
---|---|
0 | direct-access (e.g. hard disk) |
1 | sequential-access (e.g. tape) |
2 | printer |
3 | processor |
4 | WORM |
5 | CD-ROM |
6 | scanner |
7 | optical |
8 | medium_changer |
9 | communications |
Not all of the above types are currently supported by the Filesystem Manager. See the -n option.
The fsys_options control the driver's interface to Fsys. If specified, they must follow the fsys keyword:
The value of num is the sum of all the buffers required for SCSI units that use sectors larger than 512 bytes. To obtain this value, you must repeat the following formula for each unit:
num = (2x(sector_size / 512)) + ...
Some ISA motherboards have problems when on-board DMA and bus-mastering DMA occur concurrently. To avoid those problems, Fsys drivers which use DMA perform I/O concurrently only if the -d option is specified to either or both drivers. In general, you shouldn't use -d on an ISA machine if the floppy is going to be used at the same time as the SCSI hard disk. This option may be used safely on MCA and EISA machines.
By default, the driver assigns names as follows:
type | String equivalent | Default name |
---|---|---|
0 | direct-access (e.g. hard disk) | hd |
1 | sequential-access (e.g. tape) | tp |
4 | WORM | wo |
5 | CD-ROM | cd |
7 | optical | mo |
As in the -a general option, you can specify the type using either the number or its string equivalent.
To have the driver ignore a type of device, specify an empty setting. For example, to ignore hard disks, specify -n 0.
Use this option with care since bad blocks could be erroneously reported by the device if the SCSI bus isn't properly terminated. If this occurs and you've specified -r, the defect-mapping table will be filled unnecessarily.
The ncr8scsi_options control the driver's interface to the NCR 8 series controllers.
Assume an NCR 53c810 controller, list all connected devices:
Fsys.ncr8scsi &
Assume an NCR 53c810 controller with a pci_index of 1, list all connected devices:
Fsys.ncr8scsi ncr8scsi -p1 &
Assume an NCR 53c810 controller, list all connected devices, and register direct access devices as /dev/hardn and sequential access devices as /dev/tapen:
Fsys.ncr8scsi fsys -n0=hard -n1=tape &
Fsys.ncr8scsi is the driver for the NCR53c810, NCR53c815, NCR53c820 and NCR53c825 SCSI adapters. The driver automatically scans the machine for controllers. Controllers are numbered from 0 to n, in the order they're found.
For each controller, the driver performs a scan, looking for installed units. All targets are scanned (0 to 6) and for each target, each LUN (Logical Unit Number) is scanned (0 to 6). Devices are numbered starting from 0, and each type of device is numbered separately. For example, if you have a hard disk and a CD-ROM device, they'll be numbered hd0 and cd0, respectively. The Fsys.ncr8scsi driver always sets the hosts SCSI ID to 7.
The filesystem manager supports only the following types of SCSI units:
Fsys.ncr8scsi will autodetect all PCI NCR53c810 adapters by default, therefore you must specify the -p pci_index option to the driver if you only require a specific SCSI adapter to be used.
This driver currently does not support synchronous or wide data transfers.
If a tape unit is found during the driver's scan or if you specify a sequential-access unit with the -a general option, two block special files are created under /dev. By default, they're named /dev/tp0 and /dev/tpr0. Both these files reference the same physical drive, but /dev/tpr0 will perform a rewind on a close.
To boot from a unit connected to the controller, make sure the controller is configured for a 64-head BIOS or specify the driver's fsys -h option.
Fsys.ncr8scsi will terminate only if an error occurs during startup, or if it has successfully forked itself upon startup because it had not been initially started in the background.
Fsys.ncr8scsi closes its standard input, standard output and standard error immediately after completing its initializations. Error messages may be produced during the initialization phase and will be written to standard error.
Fsys.ncr8scsi will cause Fsys to adopt various block special devices under /dev. These devices will normally be named according to the device types in the form typen, where type is the abbreviated device type and n is the physical unit number of the device. The names used for the abbreviated device type may be overridden via the -n type=n option.