Adding a SCSI peripheral device
Use the Hardware/Kernel Manager or a
mkdev(ADM)
command (such as mkdev tape) to inform the system
that you have added a peripheral device to the
SCSI bus. This updates the system configuration
files that are used in building a new kernel to support the
new device:
-
/etc/conf/cf.d/mscsi defines the host adapter type,
peripheral type, host adapter number, peripheral controller
ID, LUN, and bus number for each
device on every SCSI bus.
-
/etc/conf/sdevice.d/xnamex contains
information about the hardware settings of each host
adapter of type xnamex.
Supply the following information about the device
to update the mscsi file:
-
Host adapter type (the internal name of the device driver
for the host adapter). Supported types are listed in
/etc/default/scsihas. For example, eiad
is the driver for the Adaptec AHA-174x.
If you have installed a host adapter driver
using a BTLD, the host adapter type is the same as the
name of the driver that you linked into the kernel.
-
Host adapter number. Use 0 for the first adapter of a given
type, 1 for the second, and so on.
-
Peripheral's SCSI bus number. Use 0 for the primary
bus, 1 for the secondary
bus. This information is required for host adapters that
control more than one SCSI bus, such as those
that use the Adaptec 7770 chipset.
The bus number for host adapters with only a single bus
is 0.
-
Target ID of the device's controller.
ID 7 is usually reserved for the
host adapter.
-
Logical unit number (LUN). Set this to 0 for devices
with embedded controllers.
If the disk is the first peripheral device that you are
adding to the SCSI bus, you must also supply some
of the following information about the hardware
configuration of the host adapter (this information is used
to update the file /etc/conf/sdevice.d/xnamex):
-
Interrupt vector (IRQ) (needed for ISA
bus machines only).
-
Start I/O hexadecimal address (needed for
ISA and some MCA bus machines).
-
End I/O hexadecimal address (needed for
ISA and some MCA bus machines).
You are presented with the default values for the first
host adapter of this type or the values for the previous
host adapter of this type that was configured on the
system. If you have changed the values physically set on
the host adapter, you must enter these instead of the
displayed values.
You are not prompted for configuration values for most
EISA and PCI bus host adapters.
These are assigned by the EISA or PCI
configuration utility into CMOS RAM and
read by the device driver at boot time.
See also:
Next topic:
Boot time messages from host adapter drivers
Previous topic:
SCSI bus addressing
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005