The following information is needed to boot the system under normal conditions:
The location of the root device. This must be indicated by a physical path specifier included in the bootstring.
The location of the primary swap device. This location must be specified in either the boot-time configuration file (/etc/system/boot) or the bootstring.
The location of the device naming database. This location can be specified either in the boot-time configuration file or in the bootstring. If the location is not specified in either of these locations, the default value, /etc/system/ndb, will be used.
If the boot-time configuration file is in a location other than /etc/system/boot, its location must be specified in the bootstring.
When you install DYNIX/ptx V4.5, a boot-time configuration file will be created for you. It will specify the location of both the primary swap device and the device naming database.
Also, the permanent and temporary bootstrings will be set to point to the root device on which the V4.5 software was installed.
To boot the system from run level 0, click the Boot button on SCI-based systems, or type bh at the monitor prompt on CSM-based systems.
For detailed information about booting the system, refer to the DYNIX/ptx System Administration Guide. Also review the boot(4), physpath(8), and unix(8) man pages.
A physical path specifier indicates the physical hardware path to a local SCSI device. The path can be derived by tracing the cabling from the device to the main system bus. The dumpconf -b device command can also be used on a system running V4.5 to determine the physical path specifier for a particular device.
Physical path specifiers are used to locate devices at boot time before the device naming database is available. When booting from the CD to install software, you must specify a physical path for both the CD-ROM device and the swap device.
A physical path specifier consists of a string of tokens that represent links in the physical path. (The tokens used depend on the system architecture.) Each token can be followed by optional arguments that are enclosed in parentheses. The parentheses must be entered even if no arguments are specified, such as quad(). Individual token arguments must be separated by commas; the arguments default to zero if they are not specified.
Only local SCSI devices connected to a PCI controller can be specified with physical paths. To specify a partition on a SCSI disk, use this syntax:
quad(quad_number)pci(slot,function)scsi(target,lun)disk(slice,offset,length)
The components of the physical path are as follows:
quad(quad_number)
The Quad number is printed on the LED display at the back of the MDC card.
pci(slot_number,function)
The slot_number is the physical slot number in the Quad. The function is currently unused and can be either omitted or specified as zero.
scsi(target,lun)
The target and logical unit number (lun) of the SCSI bus. The lun is always zero.
disk(slice,offset,length)
slice refers to the partition number of the device. The value disk(63) refers to the entire unpartitioned disk. The offset and length, in blocks, specify areas of the disk that do not fall on a partition boundary, such as ptx/SVM plexes. A length of zero implies the entire partition. You will typically not need to specify an offset or length.
The following example specifies the second partition on a disk located at SCSI target ID 4, LUN 0, on PCI slot 0 of Quad 0:
quad(0)pci(0,0)scsi(4,0)disk(2,0)
All arguments having a value of zero can be eliminated; however, for readability we suggest that you retain the first zero:
quad(0)pci(0)scsi(4)disk(2)
Only local SCSI devices connected to the HPSE portion of the CSM can be specified with physical paths. To specify a partition on a SCSI disk, use this syntax:
slic(slic_ID,bus_number)scsi(target,lun)disk(slice,offset,length)
The components of the physical path are as follows:
slic(slic_ID,bus_number)
The slic ID assigned to the HPSE portion of the CSM. You can obtain this ID by using the firmware config command or by examining the output from /etc/showcfg on a running system. The bus_number can be used to select between the two SCSI buses provided by the CSM controller.
scsi(target,lun)
The target and logical unit number (lun) of the SCSI bus. The lun is always zero.
disk(slice,offset,length)
slice refers to the partition number of the device. The value disk(63) refers to the entire unpartitioned disk. The offset and length, in blocks, specify areas of the disk that do not fall on a partition boundary, such as ptx/SVM plexes. A length of zero implies the entire partition. You will typically not need to specify an offset or length.
The following example specifies the second partition on a disk located at SCSI target ID 5, lun 0, on a CSM (HPSE controller) at slic ID 2:
slic(2)scsi(5,0)disk(2,0)
The zeros can be eliminated, allowing this specification to be abbreviated as follows:
slic(2)scsi(5)disk(2)
The boot-time configuration file, /etc/system/boot, must reside in the root filesystem and specifies the location of the primary swap partition and the device naming database. When you install the operating system, it will be created automatically for you. Following is an example of the file:
# # boot-time configuration file # set primaryswap = sd0s1 set ndb = /etc/system/ndb
Physical path specifiers cannot be used to specify devices when performing the following activities from Level-B of the monitor:
When performing these actions, use the following syntax to specify devices:
dd(u,p)filename
For the qd device, the unit number u is specified in hex as 0xBBbbSSLL. The variables have the following meanings:
For example, the device at SCSI ID 3 on channel 1 of the first QCIC board is identified as 0x00010300. You can omit any leading zeros; the previous value can be expressed as 0x10300.
As another example, the value 0x200 refers to the device located on channel 0, SCSI ID 2, on the CSM board.
The stand-alone boot program and the CSM firmware consider the CD-ROM device to be a qc device; the name specifies that the device is located on a QCIC channel. (The operating system considers the CD-ROM to be a cd device.)
When referring to the qc device, calculate u in the same manner as the qd device. For example, if the qc device is at SCSI ID 5, use qc(0x500,0)stand/CCSformat to boot the CCSformat program on the base operating system CD.