[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

System Management Guide: Operating System and Devices

Check the Device Software

Correct a device software problem by:

Checking the Error Log

Check the error log to see whether any errors are recorded for either the device, its adapter, or the application using the device. Go to Error Logging Facility for information about performing this check. Return to this step after completing the procedures.

Did you correct the problem with the device?

If you were not able to correct the correct the problem using the previous method, go to the next step, Listing All Devices.

Listing All Devices

Use the lsdev -C command to list all defined or available devices. This command shows the characteristics of all the devices in your system.

If the device is in the list of devices, go to the next step, Checking the State of a Device.

If the device is not in the list of devices, go to Defining a New Device.

Checking the State of a Device

Find the device in the list generated from the lsdev -C command. Check whether the device is in the Available state.

If the device is in the Available state, go to the next step, Checking the Attributes of a Device.

If the device is not in the Available state, go to Defining a New Device.

Checking the Attributes of a Device

Use the lsattr -E -l DeviceName command to list the attributes of your device.

The lsattr command shows attribute characteristics and possible values of attributes for devices in the system. Refer to the documentation for the specific device for the correct settings.

If the device attributes are set correctly, go to Using a Device with Another Application.

If the device attributes are not set correctly, go to the next step, Changing the Attributes of a Device.

Changing the Attributes of a Device

Use the chdev -l Name -a Attribute=Value command to change device attributes. Before you run this command, refer to AIX 5L Version 5.1 Commands Reference.

The chdev command changes the characteristics of the device you specify with the -l Name flag.

If changing the attributes did not correct the problem with the device, go to the next step, Using a Device with Another Application.

Using a Device with Another Application

Try using the device with another application. If the device works correctly with another application, there might be a problem with the first application.

If the device worked correctly with another application, you might have a problem with the first application. Report the problem to your software service representative.

If the device did not work correctly with another application, go to the next step, Defining a New Device.

Defining a New Device

Note: You must either have root user authority or be a member of the security group to use the mkdev command.

Use the mkdev command to add a device to the system.

The mkdev command can either define and make available a new device or make available a device that is already defined. You can uniquely identify the predefined device by using any combination of the -c, -s, and -t flags. Before you run this command, refer to the AIX 5L Version 5.1 Commands Reference.

If defining the device did not correct the problem, You can either stop and report the problem to your service representative or use a diagnostics program to test your device.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]