[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 System Management Guide: Operating System and Devices

Installing an IDE Device

This section outlines the procedure used to install an IDE device on your system. The procedure has been divided into several tasks that must be performed in order.

Prerequisites

Task 1 - Determine the Number and Location of the IDE Controllers

Determine how many IDE controllers are attached to your system unit and where the IDE controllers are located. An IDE adapter may be in an adapter slot or built into the system planar. Remember that IDE adapters have two IDE controllers (IDE buses). Thus, two IDE controllers are found in an adapter slot or built into the system planar.

You can obtain this information three different ways:

Using a Software Configuration Command

This method applies to a system that already has the operating system installed.

To list the IDE I/O controllers on the system, enter the following commands:

lscfg -l ide*

Examine the list of IDE controllers that are displayed. The following sample display from the lscfg -l ide command shows two IDE I/O controllers. Controller ide0 and ide1 are located on the system planar. The planar indicator is the second digit in the location value with a value of 1.

DEVICE    LOCATION      DESCRIPTION
 
ide0      01-00-00      ATA/IDE Controller Device
ide1      01-00-01      ATA/IDE Controller Device
 
           |     | 
2nd digit is     6th digit indicates the controller number.
the adapter
slot number

Initial Setup

Use the About Your Machine document to determine the IDE I/O controllers on the system if the device is being installed during initial setup.

Note: Incorrect results are produced if controllers have been added since the system was shipped from the factory.

Determine whether the system unit has an IDE controller built into the planar board. A built-in IDE I/O controller is standard on some system units. Your system unit has a built-in IDE controller if About Your Machine document shows an internal media IDE device with a blank slot number.

Task 2 - Select an IDE Controller and an IDE Address on the Controller

After identifying the IDE controllers attached to the system unit, select the IDE I/O controller to which you want to connect a device. This IDE I/O controller must have at least one IDE setting that is not already assigned to another device.

Determine whether IDE device setting must be jumpered as master or slave. If no device is currently attached to the controller, the IDE device jumper must be set to master (some devices require no device ID setting in this situation). If an IDE device is already attached, the type of device must be determined. Disks are ATA devices. CD-ROM and tape are ATAPI devices. If ATA and ATAPI devices are both attached to the same IDE controller, the ATA device must be set to master ID and the ATAPI device must be set to slave ID.

Determine what IDE devices are attached to a controller by viewing information about the devices already connected to the IDE controllers.

You can use two methods to select an IDE I/O controller and an IDE address on the controller that is not already assigned to another device:

Using a Software Configuration Command

This method applies to a system that already has the operating system installed.

  1. Enter the following command to list all the currently defined IDE devices:
    lsdev -C -s ide -H
  2. Examine the list of devices already assigned to each IDE controller. Each row in this display shows the logical name, status, location, and description of an IDE device. The location for each device begins with the location of the controller that the device is connected. In the sample below, the IDE I/O controller with address 01-00-00 has two IDE devices attached. The IDE I/O controller with location 01-00-01 has one IDE device attached.
    name     status       location       description
    hdisk0   Available    01-00-00-00    720 MB IDE Disk Drive
    hdisk1   Available    01-00-00-01    540 MB IDE Disk Drive
    cd0      Available    01-00-01-00    IDE CD-ROM Drive
                                 | 
                             IDE controller address (6th digit) 
  3. Select a controller that does not have two IDE devices already connected.
  4. If one device is already attached to the controller, determine the type of the device. Also determine the type of device to be installed. Disk devices are classified as ATA devices. CD-ROM and tape devices are classified as ATAPI devices.
  5. Determine the IDE jumper setting for the new device depending upon the combination of devices to be connected to the IDE controller. If the new device will be the only device connected to the controller, the device jumper setting must be set to the master position (some devices require no setting in this case). If both devices are the same type, the new device jumper setting can be set to the slave position. If there is a mix of devices (ATA and ATAPI), the ATA device jumper must be set to the master position and the ATAPI device jumper must be set to the slave position. If there is a mix of devices and the new device is an ATA device (disk), the device jumper for the currently existing ATAPI device must be changed to the slave position and the new ATA device jumper must be set to master. If there is a mix of devices and the new device is an ATAPI device (CD-ROM or tape), the device jumper for the new ATAPI device must be set to slave and if the ATA device does not currently have a jumper setting, it must be set to master.

Initial Setup

Use the About Your Machine document to determine the devices assigned to the IDE I/O controllers on the system if the device is being installed during initial setup.

Note: Incorrect results are produced if controllers have been added since the system was shipped from the factory.
  1. To determine the IDE devices assigned to addresses on the IDE controllers, see "Internal Media Devices" in About Your Machine.
  2. Select a controller that does not have two IDE devices already connected.
  3. If one device is already attached to the controller, determine the type of the device. Also determine the type of device to be installed. Disk devices are classified as ATA devices. CD-ROM and tape devices are classified as ATAPI devices.
  4. Determine the IDE jumper setting for the new device depending upon the combination of devices to be connected to the IDE controller. If the new device will be the only device connected to the controller, the device jumper setting must be set to the master position (some devices require no setting in this case). If both devices are the same type, the new device jumper setting can be set to the slave position. If there is a mix of devices (ATA and ATAPI), the ATA device jumper must be set to the master position and the ATAPI device jumper must be set to the slave position. If there is a mix of devices and the new device is an ATA device (disk), the device jumper for the currently existing ATAPI device must be changed to the slave position and the new ATA device jumper must be set to master. If there is a mix of devices and the new device is an ATAPI device (CD-ROM or tape), the device jumper for the new ATAPI device must be set to slave and if the ATA device does not currently have a jumper setting, it must be set to master.

Task 3 - Setting Up the Hardware

Prerequisites

Procedure

  1. Shut down the system unit using the shutdown command after stopping all applications that are currently running. Use shutdown -F to stop the system immediately without notifying other users.
  2. Wait for the message Halt Completed or a similar message to appear.
  3. Turn off the system unit and all attached devices.
  4. Unplug the system unit and all attached devices.
  5. Make the physical connections following the procedure described in the setup and operator guide.
    Note: Do not power on the system unit; proceed to the next task.

Task 4 - Add the Device to the Customized Configuration Database

This task makes the device known to the system. During system unit startup, the operating system reads the current configuration and detects new devices. A record of each new device is added to the customized configuration database and are given default attributes.

If the device is being installed on a new system unit, the operating system must be installed. Instructions for installing the operating system are included in the installation guide for the operating system.

Follow this procedure to add a device to the customized configuration database:

  1. Plug in the system unit and all attached devices.
  2. Turn on all the devices, but leave the system unit turned off.
  3. Turn on the system unit when all the attached devices have completed power-on self-tests (POSTs).
    Note: The startup process automatically detects and records the device in the customized configuration database.
  4. Confirm that the device was added to the customized configuration database using the Web-based System Manager fast path, wsm , or the SMIT fast path, smit lsdidea. A list of all defined devices is displayed. Look at the location field for the IDE adapter and IDE address values of the device you just installed.

Task 5 - Customize the Attributes for the Device (Optional)

Default attributes are assigned to a supported device when it is added to the customized configuration database. These attributes are appropriate for typical use of the device. You would change the device attributes when the device you are installing is not supported or when you need to customize some part of the device's operation. For example, you might need to change your tape drive to write tapes in a lower-density format.

To customize the attributes for a device, use the Web-based System Manager fast path, wsm devices, or the SMIT fast path, smit dev.


[ Previous | Next | Contents | Glossary | Home | Search ]