Summary: | ASTERISK-03535: zaptel.init fails regularly on FC3 (/dev/zap doesn't exist) | ||
Reporter: | zebble (zebble) | Labels: | |
Date Opened: | 2005-02-17 18:36:20.000-0600 | Date Closed: | 2008-06-07 10:49:00 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Starting up Zaptel is unreliable. An error occurs saying /dev/zap doesn't exist. Modifying zaptel.init to check if /dev/zap has been created after modprobing zaptel, but BEFORE modprobing the rest of the modules fixes the problems. ****** ADDITIONAL INFORMATION ****** This is just a slight tweak of zaptel.init. Changing the position of the following block: TMOUT=10 # max secs to wait while [ ! -d /dev/zap ] ; do sleep 1 TMOUT=`expr $TMOUT - 1` if [ $TMOUT -eq 0 ] ; then echo "Error: missing /dev/zap!" exit 1 fi done To right after the modprobe zaptel block instead of after modprobing all drivers. | ||
Comments: | By: Mark Spencer (markster) 2005-02-17 19:32:11.000-0600 Added to CVS, thanks. By: Russell Bryant (russell) 2005-02-20 15:47:27.000-0600 fixed in 1.0 By: Digium Subversion (svnbot) 2008-06-07 10:48:59 Repository: dahdi Revision: 591 U trunk/zaptel.init ------------------------------------------------------------------------ r591 | markster | 2008-06-07 10:48:58 -0500 (Sat, 07 Jun 2008) | 2 lines Update zaptel.init for FC3 (bug ASTERISK-3535) ------------------------------------------------------------------------ http://svn.digium.com/view/dahdi?view=rev&revision=591 By: Digium Subversion (svnbot) 2008-06-07 10:49:00 Repository: dahdi Revision: 592 U branches/v1-0/zaptel.init ------------------------------------------------------------------------ r592 | russell | 2008-06-07 10:48:59 -0500 (Sat, 07 Jun 2008) | 2 lines wait for /dev/zap after zaptel, but before the rest of the modules (bug ASTERISK-3535) ------------------------------------------------------------------------ http://svn.digium.com/view/dahdi?view=rev&revision=592 |