JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
System Administration Guide: Devices and File Systems     Oracle Solaris 10 1/13 Information Library
search filter icon
search icon

Document Information

Preface

1.  Managing Removable Media (Overview/Tasks)

2.  Writing CDs and DVDs (Tasks)

3.  Managing Devices (Tasks)

What's New in Device Management?

Support for USB 3.0 Devices

Where to Find Additional Device Management Tasks

Managing Devices in Oracle Solaris

x86: Identifying Device Support

About Device Drivers

Automatic Configuration of Devices

Features and Benefits of Autoconfiguration

What You Need for Unsupported Devices

Displaying Device Configuration Information

driver not attached Message

In-Use Device Error Checking

How to Display System Configuration Information

Resolving Faulty Devices

How to Resolve a Faulty Device

Adding a Peripheral Device to a System

How to Add a Peripheral Device

How to Add a Device Driver

Accessing Devices

How Device Information Is Created

How Devices Are Managed

Device Naming Conventions

Logical Disk Device Names

Specifying the Disk Subdirectory

Direct and Bus-Oriented Controllers

Disks With Direct Controllers

Disks With Bus-Oriented Controllers

Logical Tape Device Names

Logical Removable Media Device Names

4.  Dynamically Configuring Devices (Tasks)

5.  Managing USB Devices (Tasks)

6.  Using InfiniBand Devices (Overview/Tasks)

7.  Managing Disks (Overview)

8.  Managing Disk Use (Tasks)

9.  Administering Disks (Tasks)

10.  SPARC: Setting Up Disks (Tasks)

11.  x86: Setting Up Disks (Tasks)

12.  Configuring Oracle Solaris iSCSI Targets (Tasks)

13.  The format Utility (Reference)

14.  Managing File Systems (Overview)

15.  Creating and Mounting File Systems (Tasks)

16.  Configuring Additional Swap Space (Tasks)

17.  Checking UFS File System Consistency (Tasks)

18.  UFS File System (Reference)

19.  Backing Up and Restoring UFS File Systems (Overview/Tasks)

20.  Using UFS Snapshots (Tasks)

21.  Copying Files and File Systems (Tasks)

22.  Managing Tape Drives (Tasks)

23.  UFS Backup and Restore Commands (Reference)

Index

Adding a Peripheral Device to a System

Adding a new peripheral device that is not hot-pluggable usually involves the following:

Use How to Add a Peripheral Device to add the following devices that are not hot-pluggable to a system:

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

For information on hot-plugging devices, see Chapter 4, Dynamically Configuring Devices (Tasks).

How to Add a Peripheral Device

  1. Become superuser.
  2. (Optional) If you need to add a device driver to support the device, complete the procedure How to Add a Device Driver.
  3. Shut down the system.
    # shutdown -i0 -g30 -y
    -i0

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

    -g30

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

    -y

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

  4. Select one of the following to turn off power to the system after it is shut down:
    • For SPARC platforms, it is safe to turn off power if the ok prompt is displayed.

    • For x86 platforms, it is safe to turn off power if the type any key to continue prompt is displayed.

  5. Turn off power to all peripheral devices.

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

  6. Install the peripheral device, making sure that the hardware configuration adheres to manufacturer specifications.

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

  7. Turn on the power to the system.

    The system boots to multiuser mode, and the login prompt is displayed.

  8. Verify that the peripheral device has been added by attempting to access the device.

    For information on accessing the device, see Accessing Devices.

How to Add a Device Driver

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

  1. Become superuser.
  2. Place the media into the drive.
  3. Install the driver.
    # pkgadd [-d] device package-name
  4. Verify that the package has been added correctly.
    # pkgchk package-name
    #

    The system prompt returns with no response if the package is installed correctly.

Example 3-2 Adding a Device Driver

The following example shows how to install and verify a package called XYZdrv.

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