![]() |
HP OpenVMS systems documentation |
| Previous | Contents | Index |
Removes an entry in the system images file SYS$UPDATE:VMS$SYSTEM_IMAGES.IDX.
The SYS_LOADABLE REMOVE command is not intended for general use. Only advanced system programmers should use this command. |
SYS_LOADABLE REMOVE product
image
product
A 1- to 8-character product mnemonic that uniquely identifies a loadable image. For user-written images this should typically contain the string _LOCAL_.image
The file name of the system loadable image you want to remove. A file name is the only value you can specify for this parameter. Do not specify a device, directory, file type, or wildcard characters.
/LOG
/NOLOG (default)
Controls whether the SYS_LOADABLE REMOVE command displays a notification after the entry has been removed.
The SYS_LOADABLE REMOVE command removes an entry from the system images file SYS$UPDATE:VMS$SYSTEM_IMAGES.IDX. You can then process this file using the command procedure SYS$UPDATE:VMS$SYSTEM_IMAGES.COM. Processing the file with VMS$SYSTEM_IMAGES.COM generates a new system images data file that the system uses when it boots.If the file SYS$UPDATE:VMS$SYSTEM_IMAGES.IDX does not exist, the SYS_LOADABLE REMOVE command creates a new, empty one.
21.4 RAD Example
The following example procedure shows how to use SYSMAN resource
affinity domain (RAD) qualifiers and options.
SYSMAN> reserved_memory list %SYSMAN-I-NODERR, error returned from node PIPERI -RMS-E-FNF, file not found |
SYSMAN> reserved_memory add ak_sec/gr=4711 /size=16 /zero /page_tables SYSMAN> reserved_memory list %SYSMAN-I-OUTPUT, command execution on node PIPERI Reservation Name Group RAD Size (MB) Pages Attributes AK_SEC 4711 ANY 16 2048 Allocated Zeroed AK_SEC 4711 2 PageTables Allocated |
SYSMAN> reserved_memory modify ak_sec/gr=4711 /new_rad=0 /size=4 SYSMAN> reserved_memory extend ak_sec/gr=4711 /rad=1 /size=4 SYSMAN> reserved_memory extend ak_sec/gr=4711 /rad=2 /size=4 SYSMAN> reserved_memory extend ak_sec/gr=4711 /rad=3 /size=4 SYSMAN> reserved_memory list %SYSMAN-I-OUTPUT, command execution on node PIPERI Reservation Name Group RAD Size (MB) Pages Attributes AK_SEC 4711 0 4 512 Allocated Zeroed AK_SEC 4711 1 4 512 Allocated Zeroed AK_SEC 4711 2 4 512 Allocated Zeroed AK_SEC 4711 3 4 512 Allocated Zeroed AK_SEC 4711 2 PageTables Allocated |
SYSMAN> reserved_memory modify ak_sec/gr=4711 /nozero SYSMAN> reserved_memory list %SYSMAN-I-OUTPUT, command execution on node PIPERI Reservation Name Group RAD Size (MB) Pages Attributes AK_SEC 4711 0 4 512 Allocated AK_SEC 4711 1 4 512 Allocated AK_SEC 4711 2 4 512 Allocated AK_SEC 4711 3 4 512 Allocated AK_SEC 4711 2 PageTables Allocated |
SYSMAN> reserved_memory modify ak_sec/gr=4711 /norad SYSMAN> reserved_memory list %SYSMAN-I-OUTPUT, command execution on node PIPERI Reservation Name Group RAD Size (MB) Pages Attributes AK_SEC 4711 ANY 16 2048 Allocated AK_SEC 4711 2 PageTables Allocated |
SYSMAN> reserved_memory list %SYSMAN-I-OUTPUT, command execution on node PIPERI Reservation Name Group RAD Size (MB) Pages Attributes AK_SEC 4711 0 4 512 Allocated AK_SEC 4711 1 4 512 Allocated AK_SEC 4711 2 4 512 Allocated AK_SEC 4711 3 4 512 Allocated AK_SEC 4711 2 PageTables Allocated |
SYSMAN> reserved_memory modify ak_sec/gr=4711 /noalloc |
SYSMAN> reserved_memory list %SYSMAN-I-OUTPUT, command execution on node PIPERI Reservation Name Group RAD Size (MB) Pages Attributes AK_SEC 4711 ANY 16 2048 AK_SEC 4711 2 PageTables |
SYSMAN> reserved_memory list %SYSMAN-I-OUTPUT, command execution on node PIPERI Reservation Name Group RAD Size (MB) Pages Attributes AK_SEC 4711 2 16 2048 Allocated AK_SEC 4711 2 PageTables Allocated |
SYSMAN> reserved_memory mod ak_sec/gr=4711 /size=20
%SYSMAN-I-NODERR, error returned from node PIPERI
-SMI-E-RMRNOMATCH, no records matched search criteria
Correct command:
SYSMAN> reserved_memory mod ak_sec/gr=4711 /rad=2 /size=20
|
SYSMAN> reserved_memory list %SYSMAN-I-OUTPUT, command execution on node PIPERI Reservation Name Group RAD Size (MB) Pages Attributes AK_SEC 4711 2 20 2560 Allocated AK_SEC 4711 3 PageTables Allocated |
22.1 UCM Description
The USB (Universal Serial Bus) Configuration Manager (UCM) utility
allows you to connect a computer to a variety of devices using a single
four-wire cable. More specifically, UCM does the following:
The following sections introduce and explain USB and UCM.
22.2.1 Introduction to USB
Universal Serial Bus (USB) is a communications architecture that enables a computer to interconnect a variety of devices using a single four-wire cable. The purpose of USB is to provide a user-friendly way to connect low- and medium-speed devices to host computers.
The USB connects USB devices to the USB host, which, in turn, connects with a host computer system. Each USB has only one host, labeled USB Host in Figure 22-1. (A host, however, can have multiple USBs.)
Figure 22-1 USB Configuration
The USB host is integrated with a root hub, which provides one or more attachment points for devices. The USB physical interconnections from each hub form a star, with a hub at the center of each star.
Point-to-point wire connections link the USB host to a hub or a function, or a hub to another hub or function. Hubs and functions are USB devices that do the following:
Figure 22-2 shows that up to six hubs can be chained to create a tiered configuration. The path of a device is determined by its location in the structure; for example, the path to the printer LPA0: in Figure 22-2 is 1.1.2.3.1.4. (Note, however, that the numbers printed on the physical hub might not match the numbers that UCM displays.)
Figure 22-2 Hub Tiers
The OpenVMS device names of USB devices are as follows:
| Device Name | Description |
|---|---|
| KBD n 1 | Keyboard |
| MOU n 1 | Mouse |
| TXA n 1 | Modem |
| LPA n 1 | Printer driver |
| HID0 | Special-case driver that users cannot access |
| UCM0 | Hub driver (one per system) |
The UCM works with the hub driver to configure USB-supported devices.
22.2.2 UCM Concepts and Operation
The UCM is made up of client and server layers. The user interacts with the client layer, and the client layer interacts with the server layer. It is the server layer that interacts with the USB. Figure 22-3 shows the interaction of these layers.
Figure 22-3 UCM Architecture
As the figure indicates, the UCM server maintains the event-logging
file and the generic and permanent list files. These files are passed
to the UCM client, which can display the files to the user. (The types
of lists that the UCM server uses are explained in Section 22.2.2.1.) The
UCM server is in contact with the UCM driver, SYS$HUBDRIVER, which
maintains connections with other layers of the architecture.
22.2.2.1 Types of UCM Lists
The UCM server has the following three types of lists:
Never delete USB$UCM_DEVICES.DAT. Deleting this file might result in the inability to use your USB attached devices. |
At system startup time, the following steps occur:
In configuring devices, keep in mind the following:
|
UCM uses the following log file to record disconnections, connections, and errors:
SYS$MANAGER:USB$UCM_EVENTS.LOG |
You do not need special permission to access the event log. However,
you do need OPER privilege to use the UCM command SET LOG/NEW command
to create a new log file. ( Section 22.5 contains a table listing UCM
commands and the privileges required to issue each command.)
22.3 Using UCM to Manage Devices and View Events
You can use UCM commands to select the devices you want to configure
and to view USB events such as connections, disconnections, and errors.
The following sections explain how to configure USB devices and how to
view USB device information.
22.3.1 Configuring Devices
Before the system can configure a USB device, the device must have a corresponding entry on the permanent list. Although a few entries are included as part of USB installation, these entries provide only minimal support for a mouse and a keyboard. For most devices, you need to take certain steps to add an entry to the permanent list.
When you connect a USB device of a known type that has no entry on the permanent list, UCM uses information in the read-only generic list to create an entry in the tentative list. You must approve the entry before UCM creates an entry in the permanent list.
The following section explains how to create an entry in the permanent list.
Creating an Entry in the Permanent List
To set up a device to be configured, add the device as an entry in the permanent list. Once you do this, UCM recognizes the device each time you connect it.
In the following example, you connect a printer to the USB. The printer is a known device type; in other words, it has an entry in the generic list. However, it does not yet have an entry in the permanent list.
Follow these steps to configure the device:
$ UCM UCM> |
$ UCM Universal Serial Bus Configuration Manager, Version V1.0 UCM> SHOW DEVICE /UNCONFIGURED DEVICE DEVICE_TYPE TENTATIVE DEVICE_NAME_ROOT LP UNIT_NUMBER 0 BUS 1 PATH 1.0.0.0.0.0 END_DEVICE UCM> |
UCM> ADD DEVICE LPA0: UCM> EXIT |
The UCM event logger records events such as device connections and disconnections and certain types of errors. To see this information, you use the UCM utility SHOW EVENTS command. You can also use qualifiers to limit the display of various types of events.
Events stored in the event log include the following:
The following sections explain how to display information about unknown
devices and configuration failures.
22.3.2.1 Information About Unknown Devices
The UCM records unknown device connections in its event log. You can view this information by adding the /TYPE=UNKNOWN qualifier to the SHOW EVENT command.
The information in the following example includes the vendor ID, the product ID, and other optional device-supplied information. If an unknown device is connected to the USB, you might want to view only events showing the activity of unknown devices for today; for example:
UCM> SHOW EVENTS /TYPE=UNKNOWN /SINCE=TODAY
Date Time Type Priority Component
--------------------------------------------------------------------------------
22-AUG-2002 13:04:23.26 UNKNOWN NORMAL UCM UNKNOWN DEVICE
Message: VENDOR_ID = 1118.PRODUCT_ID = 8.RELEASE_NUMBER = 256.BUS_NUMBER
= 1.PATH = 1.0.0.0.0.0.DEVICE_CLASS = 0.DEVICE_SUB_CLASS =
0.DEVICE_PROTOCOL = 0.NUMBER_OF_INTERFACES = 1.NUMBER_OF_CONFIGURATIONS
= 1.MANUFACTURER_STRING = Microsoft.PRODUCT_STRING =
Microsoft SideWinder Precision Pro (USB).CONFIGURATION_NUMBER = 0.
UCM>
|
Note that the display on your screen might be somewhat different from
the one you see here.
22.3.2.2 Information about Configuration Failures
When UCM does not configure a device---because UCM cannot find an entry in the permanent list or because of a driver error---it stores this information in the event log. You can view such information using the SHOW EVENTS command and a qualifier that limits the display. For example:
UCM> SHOW EVENTS /SINCE=YESTERDAY
Date Time Type Priority Component
-------------------------------------------------------------------------
28-AUG-2002 17:43:47.09 DRIVER NORMAL HUBDRIVER
Message: Find a driver for DeviceClass/DeviceSubClass = 0x2/0x0
28-AUG-2002 17:43:47.09 UNKNOWN NORMAL UCM UNKNOWN DEVICE
Message: VENDOR_ID = 4483.PRODUCT_ID = 16392.RELEASE_NUMBER =
256.BUS_NUMBER = 3.PATH = 1.1.4.4.0.0.DEVICE_CLASS =
2.DEVICE_SUB_CLASS = 0.DEVICE_PROTOCOL = 0.NUMBER_OF_INTERFACES =
2.NUMBER_OF_CONFIGURATIONS = 2.MANUFACTURER_STRING
= HP Computer Corp., Inc..PRODUCT_STRING = HP USB
Modem.CONFIGURATION_NUMBER = 0.
28-AUG-2002 17:43:47.24 DRIVER NORMAL HUBDRIVER
Message: hub_configure_device Unable to find Interface Driver
28-AUG-2002 17:43:47.24 DRIVER NORMAL HUBDRIVER
Message: Find a driver for InterfaceClass/InterfaceSubClass/
Protocol = 0xff/0xff/0xff
28-AUG-2002 17:43:49.17 UCM CRITICAL ucm_config_request
Message: %SYSTEM-W-DEVEXISTS, device unit already exists
28-AUG-2002 17:43:50.17 DRIVER NORMAL HUBDRIVER
Message: Configured device TXA3 using driver SYS$YCDRIVER:
28-AUG-2002 17:43:56.11 DRIVER NORMAL HUBDRIVER Message: Device on bus 3 at port 1 bus tier 4 can exceed the bus power available
UCM> exit
|
Note that the display on your screen might be somewhat different from the one you see here.
The last message in this example, which is in bold type, indicates that there is insufficient power in the hub to supply the device. Therefore, UCM will not configure the device.
If no entry for the device is in the generic list, the log displays what is known about the device. If an error caused the failure, the error code is listed in the log.
| Previous | Next | Contents | Index |