System Administration Guide, Volume 1

Adding a Peripheral Device to a System

Adding a new peripheral device usually involves:

Use the procedure below to add the following devices to a system:

In some cases, you might have to add a third-party device driver to support the new device.

How to Add a Peripheral Device

  1. Become superuser.

  2. Follow steps 2 and 3 of "How to Add a Device Driver" if you need to add a device driver to support the device.

  3. Create the /reconfigure file.

    # touch /reconfigure

    The /reconfigure file will cause the Solaris software to check for the presence of any newly installed devices the next time you turn on or boot your system.

  4. Shut down the system.

    # shutdown -i0 -g30 -y


    Brings the system to the 0 init state, which is the appropriate state for turning the system power off for adding and removing devices. 


    Shuts the system down in 30 seconds. The default is 60 seconds. 


    Continues the system shutdown without user intervention; otherwise, you are prompted to continue the shutdown process. 

  5. Turn off power to the system after it is shut down.

    On SPARC based Platforms ... 

    On Intel based Platforms ... 

    It is safe to turn off power if the ok or > prompt is displayed.

    It is safe to turn off power if the type any key to continue prompt is displayed.

    Refer to the hardware installation guide that accompanies your system for the location of the power switch.

  6. Turn off power to all external devices.

    For location of power switches on any peripheral devices, refer to the hardware installation guides that accompany your peripheral devices.

  7. Install the peripheral device, making sure the device you are adding has a different target number than the other devices on the system.

    You often will find a small switch located at the back of the disk for this purpose.

    Refer to the hardware installation guide that accompanies the peripheral device for information on installing and connecting the device.

  8. Turn on the power to the system.

    The system will boot to multiuser mode and the login prompt will be displayed.

  9. Verify that the peripheral device has been added by attempting to access the device. See Chapter 26, Accessing Devices (Overview) for information on accessing the device.

How to Add a Device Driver

This procedure assumes that the device has already been added to the system. If not, see "Adding a Peripheral Device to a System".

  1. Become superuser.

  2. Place the tape, diskette, or CD-ROM into the drive.

  3. Install the driver.

    # pkgadd -d device package-name

    -d device

    Identifies the device path name. 


    Identifies the package name that contains the device driver. 

  4. Verify that the package has been added correctly by using the pkgchk command. The system prompt returns with no response if the package is installed correctly.

    # pkgchk packagename

Example--Adding a Device Driver

The following example installs and verifies a package called XYZdrv.

# pkgadd XYZdrv
(licensing messages displayed)
Installing XYZ Company driver as <XYZdrv>
Installation of <XYZdrv> was successful.
# pkgchk XYZdrv