DGAP driver, RedHat 9 booting problems

Hi,

I have an 8-port Digi Xr920 PCI card installed on RedHat 9, on a client’s server.

I have installed the DGAP driver. It is functioning at the moment, but I can not successfully make the serial devices start automatically at time of boot.

I believe that the DGAP driver is started by rc.d.

The server is also running a D3 (Pick) database. I have 8 lines in the /etc/inittab file, which connect D3 to the /dev/ttya* nodes (inittab line IDs d1 to d8).

When the system is started, I see Linux errors along these lines: “ID [d1-d8] respawning too fast, disabled for 5 minutes”.

However, if I let the system boot, I can then run “init q” successfully, without errors. This leads me to believe that it is possible that the /etc/inittab entries are being run before the DGAP driver has finished loading.

Then, I need to run a script manually within the database to initialise the serial printers. Usually, this is taken care of as D3 starts.

However, I believe that the inittab is used to call the rc.d scripts. It uses the action “wait” - implying that it will not carry on initialising things until the rc.d scripts have finished. This is causing me some confusion.

I can’t leave this server in this state - if the client needs to restart the server, all of the hardware needs to be working correctly without running anything manually.

Does anyone have any ideas?

Thanks
Michael Nelson
Softec Ltd
http://www.softecltd.com

To have the driver load automatically after a reboot:

chkconfig --add dgap

To start (or stop) the driver:

/etc/init.d/dgap start|stop

This command can be found within the DGAP driver release notes at the following link:
http://www.digi.com/support/productdetl.jsp?pid=1504&osvid=94&tp=1

Hope that helps :slight_smile:

It does appear that the gettys are spawning prior to the ports being initialized. You may want to add a delay in the inittab file to have the ports spawn after they are available.

I haven’t tested this, but you may want to try adding an entry similar to the following for the LAST Xr port prior to the getty entries:

xxx:2345:once:cat < /dev/ttyx07 > /dev/null