Chapter 8. Configuring the System and Verifying the Installation

This chapter explains how to install the software needed for the Duo configuration and provides information on system setup and verifying various hardware installations.

The information in this chapter includes

About the Option Drive

Internal SCSI devices (drives) are automatically given an address when they are inserted. Bus 0 (internal devices) has addresses such as 0-1, 0-2, 0-3; the system drive is SCSI ID 0-1, the option drive above it is SCSI ID 0-2, and the option drive at the top of the workstation is SCSI ID 0-3.


Tip: To determine the total capacity and megabytes available on your disks, go to the Toolchest > System > File System Manager and click the Get Info button.


Verifying an Internal Drive Installation

The workstation automatically sets up the system software for most internal devices you install and places an icon on the desktop.

Once you install the drive, follow these steps to check that the system recognizes the new drive.

  1. Log in to the root account. For more information on logging in, refer to the OCTANE Workstation Owner's Guide, “Logging Into the OCTANE Workstation,” on page 20.

  2. If the device is installed correctly, you see an icon for it on the desktop. Double-click the icon to mount the drive.

  3. You can also use the System Manager to check that the drive is shown correctly.

    • From the Toolchest choose > System > System Manager > Hardware and Devices > Disk Manager. You see a list of installed drives.

    • Choose the drive, and click the Get Info button.

If the drive you installed does not appear, try opening a UNIX shell and typing hinv. Sometimes the Desktop does not cause the icon to appear. If the drive does not appear to be installed, power off the system and make sure the drive is completely seated in the slot. Then restart the system and check the System Manager listing again.

Mounting the Second Drive

For the second drive to be usable, it needs to be mounted. To mount the drive, follow these steps:

  1. Log in as root.

  2. Double-click the icon representing the second hard drive. The icon is identified, for example, as Disk(0,2) or Disk(0,3). The Disk Panel dialog box appears.

  3. From the Common Task List, double-click on the Mount Local File System icon.

  4. Click Next.

  5. In the window that appears, type a mount point, for example, /d2.

  6. Click Next.

  7. Set up the disk to allow the users to change the contents of the second disk's filesystem.

  8. Choose to mount the second disk with each system start.

  9. Click OK twice.

The disk is now mounted.

Adding Swap Space

The following procedure is a recommendation for creating a swap file on the second drive. Create more swap space only if you believe the 128 MB of swap space on the system disk is insufficient and you know how much more disk space you want to add.


Note: The swap space on the system disk must have a different priority number than the swap space on the second (option) disk.

To set up additional swap space, determine the amount of swap space on the system disk, and use that as a guideline to set up more swap space.

  1. From the Toolchest, choose System > System Manager > System Performance > Swap Manager.

  2. When the Swap Manager window appears, note the amount of swap space (found in the Physical column) that exists on the system disk.

  3. Click Add.

  4. Click Next.


    Note: At this point you can choose to add additional swap space to either disk.

    The Add Real Swap Space dialog box appears. (Read all the information in every dialog box.)

  5. At step 2 in the dialog box, type in your chosen amount of swap space. You may enter the same amount that was on the system disk, 128 MB. You can enter a different value.

  6. At step 3 in the dialog box, select the filesystem that represents the disk to which you've chosen to add the swap file, for example, /dev/dsk/sks0d3s7.

  7. Click Next.

  8. Click OK twice.

You are finished adding swap space.

For additional information on adding swap space, from the Toolchest > Help > Online books > SGI Admin > IRIX Admin: System Configuration and Operation, see Chapter 6, “Configuring Disk and Swap Space,” and IRIX Admin: Disks and Filesystems.

Adding Users

It is recommended that you place all user accounts on the second disk.

To add an additional user, follow these instructions:

  1. From the Toolchest, choose System > System Manager > Select Security and Access Control.

  2. Double-click the Add a User Account icon.

    The dialog box appears. Read the information in this and every dialog box before proceeding.

  3. Click Next.

  4. Type a login name for the new user.

  5. Click Next.

  6. Type the new user's full name.

  7. Click Next.

  8. Press Next to accept the Local Account default.

  9. Choose one of the Password options.

  10. Click Next.

  11. To accept the unique, automatically generated User ID (number), click Next.

  12. To accept the default Primary Group of the second user, click Next.

  13. In the Home Directory window, remove the default “/usr/people/login” name.

    Because it is recommended that you place all users on the option disk, rather than the system disk, replace the default “/usr/people/login” name with the home directory of the new user on the option disk.

  14. In the Home Directory window, type the path to a location on the disk to which you added the additional user. For example, /mountpoint/loginname, /d2/username.

  15. To accept the default Shell Program, csh, click Next.

  16. Confirm that the settings are correct, and click OK.

You are finished adding the additional user.

Configuring Input Devices

The IRIX operating system includes support for a number of input devices. Support for additional devices can be added; see man in put - input devices, Custom Input Devices. This man page also contains the most current listing of supported devices.

  1. Choose the serial port (1 or 2) to which you will connect the serial device for head 1.


    Tip: Configure the serial device for head 1, the secondary head first. Then configure the serial device for head 0, the primary head.


  2. Use head 0, the primary head, to do the configuration. (All system administration tasks are done from head 0.)

Configuring a Serial Device for Head 1

  1. From head 0, choose the Toolchest > System > System Manager > Hardware and Devices > Serial Device Manager > Add a Serial Device.

  2. Read all the information in each dialog box that appears, and follow the directions in each dialog box.

    You have configured the device to head 0. You next open a shell and enter a command to change the configuration to head 1.

  3. Check Table 8-1 for the module name of the serial device you have configured.

  4. From the Toolchest > Desktop, open a UNIX shell.

  5. At the prompt, type mv /dev/input/ module name /dev/input1/ module name.

    Example: mv /dev/input/sball /dev/input1/sball. 
    

    In this example, /input/ refers to head 0, and sball to Spaceball; /input1/ refers to 
    head 1.

  6. Log out, and log in on the head for which the device was configured.

You are finished configuring a serial device to head 1.

Configuring a Serial Device for Head 0

  1. From head 0, choose the Toolchest > System > System Manager > Hardware and Devices > Serial Device Manager > Add a Serial Device.

  2. Read all the information in each dialog box that appears, and follow the directions in each dialog box.

  3. Log out, and log in on head 0.

You are finished configuring a serial device to head 0.

Listing Serial Devices

To get a list of devices configured to head 0 or head 1, follow these steps:

  1. From the Toolchest > Desktop, open a UNIX shell.

  2. For devices configured for head 0, the primary head, at the prompt type

    cd /dev/input/. 
    

    For devices configured for head 1, the secondary head, at the prompt type

    cd /dev/input1/.
    

  3. At the prompt type ls -l .

You see something like:

keyboard -> /hw/input/keyboard

mouse -> /hw/input/mouse

sball -> /hw/ttys/ttyd1

Sball is the module name for Spaceball, supported on head 0 and connected to serial port 1. See Table 8-1 for the module names of supported serial devices. See man input - input devices for the most current listing of supported devices.

Table 8-1. Serial Devices and Their Modular Names

Device

Module Name

Calcomp tablet

tablet

Hitachi HDG-J tablets

hitachi

Other Hitachi tablets

tablet

Wacom tablets

wacom

Dial box

dialbox

Button box

dial

Dial and button box combination

dial

Imp infra-red presentation mouse

imp

Logitech Magellan 3D controller

magellan

Spaceball

sball


Verifying the Memory Installation

  1. From the Toolchest, choose System Manager > Hardware and Devices > About This System and check the amount of memory listed after the Main Memory heading.

    The amount of memory shown should equal the amount of memory you installed. For example, if you originally had 64 MB, then installed two 32 MB DIMMs, the System Manager should show that you have 128 MB of memory.

  2. If the amount of memory is incorrect, follow the directions in Chapters 1 and 2 to power off your system and check the installation or removal procedure.

    • Check the angle of the DIMMs. They should be upright and completely seated.

    • Check that each bank is populated with two DIMMs, and that they are the same type. You must have an even number of DIMMs installed.

    • Check the color of the label on the DIMM. Both DIMMs in a bank must be the same with the same colored label.

    • Complete the installation or removal procedure. If, after you have powered on the OCTANE workstation, checked the amount of memory in “About This System,” and found that the amount of memory that is registered is still incorrect, see Chapter 10, “Troubleshooting.”

Verifying the PCI and Graphics Board Installations

You can verify your PCI and graphics board installations by using the hinv command

To verify that your PCI and graphics boards are recognized, follow these instructions:

  1. From the Toolchest > Desktop, open a UNIX shell.

  2. At the prompt, type hinv

  3. Look for two lines similar to this:

    Integral Fast Ethernet: ef0, version 1

    Integral Fast Ethernet: ef1, version 1

    The first line tells you that the Ethernet port on the system module is recognized. It is designated ef0. The second line gives you confirmation that the PCI board with Ethernet, keyboard, and mouse is recognized. This is the ef1 designation.

  4. Look for two lines similar to: Graphics board: MXI or MXE and Graphics board: SI or SE. The first graphics board listed is the primary graphics board (head 0). In this example the primary graphics board is OCTANE/MXI or /MXE and the secondary graphics board is OCTANE/SI or /SE (head 1).

See Chapter 10, “Troubleshooting,” if your Duo system is not operating properly.

Go to Chapter 9, “Using the Duo System,” and read the information about using the Duo system.

Selecting the Head on Which a Program Runs

During an interactive session with the Window Manager, you can use the DISPLAY environment variable to control the head on which newly started graphics programs run. When DISPLAY is set to “:0.0,” programs you start run on head 0 (the primary head); when it is set to “:1.0,” programs you start run on head 1 (the secondary head).

For convenience, the default startup files (.login, .profile) for root and guest shells set DISPLAY to a reasonable initial value, if it is not already set. Each head has a toolchest that can be used to invoke graphics programs. Each toolchest has the DISPLAY variable in its environment set to the correct value for the head on which it appears, so any application you invoke from a toolchest inherits this DISPLAY value, and thus appears on the same head as the toolchest from which it was invoked.

Similarly, programs started by clicking an icon appear on the head from which you invoked them.

Once a program has been launched, it is impossible to move it from one head to another from the Window Manager.

Go to Chapter 9, “Using the Duo System,” and read the information about using Duo. Also see Appendix C, “Programming Tips.”

Changing to a Dual Head System

To change your Duo system to a Dual Head system, follow these instructions:

  1. From the Toolchest > Desktop, open a UNIX shell.

  2. At the prompt, type: cp /var/x11/xdm/Xserver.orig /var/x11/xdm/Xserver.

  3. Shutdown the system.

  4. Unplug the second keyboard and mouse.

  5. Restart the system.

  6. Refer to the Dual Head Installation Guide for information about the Dual Head system. To access the online Technical Publications Library, open your Web browser and enter http://techpubs.sgi.com/library/.