User`s manual

158
Chapter G - GDT User's Manual
chapter B, Hardware Installation). In addition, the GDT BIOS must not be disabled and the
boot drive must be connected with the GDT controller having the lowest BIOS address.
When the UNIX installation has been completed, the driver is installed, too, and you may
install further devices with mkdev hd (ADM).
G.4.1 GDT as additional Controller
The installation of the driver is carried out with installpkg.
G.5 Instructions on mkdev (ADM) for 3.2v2.0 & 3.2v4.x
Whenever the program mkdev hd (ADM) is started, you will be asked for the coordinates of
the device you wish to install. The driver does not automatically display all devices co n-
nected, so after the installation you will find a tool named
GDTSCAN
in the directory '/etc'.
The scanning can take up to several seconds, especially when there is more than one co n-
troller in the system. The devices are displayed together with their host adapter num ber,
target-ID and LUN. These values are to be used in mkdev (ADM). Let's have a brief look at
how the HA-no., target-ID and LUN are determined. Please note that the UNIX driver a l-
ways maps the first detected host drive with target-ID 0, LUN 0. Exactly this drive would be
used as a boot drive when it is the GDT controller to make the boot drive available.
Host adapter Number (HA)
The host adapter number assigned to the GDT controller is derived from the DPMEM
starting address of the GDT controller. Therefore, if there is only one GDT controller i n-
stalled in the PCI computer system, the host adapter number is = 0. If there are two GDT
controllers installed, the GDT controller with the lower DPMEM address is assigned host
adapter number 0 and the GDT controller with the higher DPMEM address is assigned host
adapter number 1. (Note: After a cold boot the GDT BIOS displays a couple of messages,
each beginning with the controller's PCI slot number. This boot message includes the
DPMEM address of the GDT controller, too. This helps you determine the host adapter
number of the GDT controller. Also see chapter B, Hardware Installation).
UNIX Target-ID and LUN
Target-IDs 0 and 1 with LUN 0 to 7 are reserved for
"Direct Access Devices"
(devices be-
having like a hard disk or a removable hard and therefore configurable with GDTSETUP).
There is a correlation between the host drive number GDTSETUP assigns (menu Configure
Host Drives), and the assigned target-ID and LUN:
Host-Drive Number = 8 * Target-ID + LUN
The host drive number is the number the drive is given in the list of avail able host drives in
the GDTSETUP program. The following screen exemplarily shows a list of host drives. In
this example, there is only one host drive installed.