Technical data

43
During installation and configuration, the divas_cfg.rc script is automatically generated. This script is used to
load protocol, CAPI, and TTY interfaces. On system startup, the Dialogic
®
Diva
®
Media Boards will be started by
symbolic links named "S03DIVAS4LINUX" and "S06DIVAS4LINUX_NETWORK". These links are created as part of
the installation process and are located in the runlevels 2, 3, and 5 of the following directories (system and
version dependent): /etc/rc.d/ directories for Red Hat, in the /sbin/init.d/ or /etc/init.d/ directories for SuSE and
in the /etc/rcX.d/ directories for Debian and others.
If you wish to remove these links, execute: sh /usr/lib/opendiva/divas/cfg_util.sh 2. If you wish to
restore these links, execute: sh /usr/lib/opendiva/divas/cfg_util.sh 1.
If you have changed the configuration or wish to stop or restart the Diva Media Boards without restarting
your system, you can use the /usr/lib/opendiva/divas/Stop script to stop the Diva Media Board and
unload the Dialogic
®
Diva
®
drivers.
You can run the /usr/lib/opendiva/divas/Start script to load the Diva drivers and start the Diva Media
Boards.
If you wish to restart only one specific Diva Media Board, you can do so without unloading the drivers by
executing the /usr/lib/opendiva/divas/divas_cfg.rc restart <x> command, where <x> is the logical
board number.
If boards support multiple interfaces (e.g., 4BRI), the board number should be the number of the master
board. After the board was stopped, you can load and start it again without affecting other boards.
If boards support multiple interfaces, the logical boards that belong to the same physical board are affected.
An updated configuration can be written to the drivers by executing the
/usr/lib/opendiva/divas/divas_cfg.rc restart -1 command.
To interpret the Diva Media Board, driver, and trace data the following information is necessary:
Physical and logical Dialogic® Diva® Media Board number on page 43
"/proc" file system on page 44
Physical and logical Dialogic® Diva® Media Board number
Every Dialogic
®
Diva
®
Media Board that is installed in the system is a "physical" board. Every physical board
contains one or more ISDN or analog interfaces. Each interface is represented in the system by a "logical"
board. Example: Three physical Diva Media Boards are installed in the system: a Dialogic
®
Diva
®
BRI Media
Board, a Dialogic
®
Diva
®
PRI Media Board, and a Dialogic
®
Diva
®
4BRI Media Board. The Diva BRI Media Board
and the Diva PRI Media Board add one logical board each. The Diva 4BRI Media Boards adds four logical boards
to the system. If one physical board contains multiple logical boards, a continuous block of board numbers is
allocated to these boards. The first logical Diva Media Board is the "master" board. This board is responsible for
the hardware resources of the physical board and for loading, starting, and stopping the logical boards provided
by the physical board. In the other aspects (functionality, configuration, selected protocol, debug buffers, and
features), the logical boards are independent from the location of their physical boards: on different physical
boards or on the same physical board.
Loading the Dialogic® Diva® modules
Dialogic® Diva® Media Board information