Beginning with Digital UNIX Version 4.0, DDR is preferred over the current, static method for recognizing SCSI devices. The current, static method, as described in Chapter 5, is to edit SCSI device customizations into the /sys/data/cam_data.c data file, reconfigure the kernel, and shut down and reboot the operating system.
Support for the static method of recognizing SCSI devices will be retired in a future release of Digital UNIX . Note
The information DDR provides about SCSI devices is needed by SCSI drivers. You can supply this information using DDR when you add new SCSI devices to the system, or you can use the /sys/data/cam_data.c data file and static configuration methods. The information provided by DDR and the cam_data.c file have the same objectives. When compared to the static method of providing SCSI device information, DDR minimizes the amount of information that is supplied by the device driver or subsystem to the operating system and maximizes the amount of information that is supplied by the device itself or by defaults specified in the DDR databases.
Frequently, these messages indicate that the kernel cannot read the DDR database. This error occurs when the system's firmware is not at the proper revision level. Upgrade to the correct revision level of the firmware.
Two common reasons for changes are:
Use the following procedure to compile the /etc/ddr.dbase database:
# /sbin/ddr_config -c #
# /sbin/ddr_config -x MACHINE > output.fileThe command uses as input the system configuration file that you used to build your running kernel. The procedure runs in multiuser mode and requires no input after it has been started. You should redirect output to a file in order to save the summary information. Compile errors are reported to standard error and the command terminates when the error is reported. Warnings are reported to standard error and do not terminate the command.
ddr.dbase
(4).
For some installations, the default number of pty devices is adequate. However, as your user community grows, and each user wants to run multiple sessions of one or more timesharing machines in your environment, the machines may run out of available pty lines.
To add pseudoterminals to your system:
The pseudodevice entry for STREAMS-based pseudoterminals is as follows:
pseudo-device rpty 655The pseudodevice entry for clist- based pseudoterminals is as follows:
pseudo-device pty 655For more information on the configuration file and its its pseudodevice keywords, refer to Chapter 5.
When the system is first installed, the configuration file contains a pseudodevice entry with the default number of 255 pseudoterminals. If for some reason the number is deleted and not replaced with another number, the system defaults to supporting 80 pseudoterminals.
./MAKEDEV pty#
The number sign (#) represents the set of pseudoterminals (0 to 101) you want to create. The first 51 sets (0 to 50) create 16 pseudoterminals for each set. The last 51 sets (51 to 101) create 46 pseudoterminals for each set. You can use the following syntax to create a large number of pseudoterminals:
./MAKEDEV PTY_#
The number sign (#) represents the set of pseudoterminals (1 to 9) you want to create. Each set creates 368 pseudoterminals, except the PTY_3 and PTY_9 sets, which create 356 and 230 pseudoterminals, respectively.
Refer to the Software Product Description (SPD) for the maximum number of supported pseudoterminals.
By default, the installation software creates device special files for the first two sets of pseudoterminals, pty0 and pty1. The pty0 pseudoterminals have corresponding device special files named /dev/ttyp0 through /dev/ttypf. The pty1 pseudoterminals have corresponding device special files named /dev/ttyq0 through /dev/ttyqf. Note
# ./MAKEDEV pty2The MAKEDEV command lists the device special files it has created. For example:
MAKEDEV: special file(s) for pty2: ptyr0 ttyr0 ptyr1 ttyr1 ptyr2 ttyr2 ptyr3 ttyr3 ptyr4 ttyr4 ptyr5 ttyr5 ptyr6 ttyr6 ptyr7 ttyr7 ptyr8 ttyr8 ptyr9 ttyr9 ptyra ttyra ptyrb ttyrb ptyrc ttyrc ptyrd ttyrd ptyre ttyre ptyrf ttyrf
/dev/tty08 # direct tty /dev/tty09 # direct tty /dev/tty10 # direct tty /dev/tty11 # direct tty ptysRefer to the
securettys
(4) reference page for more information.
/dev/pts/N
The variable N is a number from 0-9999.
This name space allows for more scalability than the BSD pty name space
(tty[a-zA-Z][0-9a-zA-Z]). The base system commands and utilities have been
modified to support both SVR4 and BSD pty name spaces. For binary compatibility
reasons, the default is the BSD name space. You can alter this behavior by
using the SYSV_PTY
(8) command. The invocation of the SVS_PTY command results in using the SVR4 name space as the default. To
revert back to the original default behavior (BSD pty name space), create
the BSD ptys as discussed in Section 6.4.1.
You will need the documentation that came with your system's hardware. This includes such documentation as the owner's guide, the disk drive guide, and the options guide. Note
To add a device for a static driver, see Section 5.4.1.
Next, you make the device special files for the device, by following these steps:
SCSI
(8) reference page. Use the following syntax to invoke
the MAKEDEV command:
./MAKEDEV device#
The device variable is the device mnemonic for the drive you are adding. Appendix A lists the device mnemonics for all supported disk and tape drives. The number sign (#) is the number of the device, 0 through 127 for SCSI disk and tape devices. For example, to create the device special files for two SCSI disk drives, enter the following command:
# ./MAKEDEV rz5 rz7 MAKEDEV: special file(s) for rz5: rz5a rrz5a rz5b rrz5b rz5c rrz5c rz5d rrz5d rz5e rrz5e rz5f rrz5f rz5g rrz5g rz5h rrz5h MAKEDEV: special file(s) for rz7: rz7a rrz7a rz7b rrz7b rz7c rrz7c rz7d rrz7d rz7e rrz7e rz7f rrz7f rz7g rrz7g rz7h rrz7h