[asterisk-bugs] [Zaptel 0010919]: TE220 and TDM400P, random module load order on reboot, channels swap!

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Oct 11 13:01:50 CDT 2007


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10919 
====================================================================== 
Reported By:                alecdavis
Assigned To:                russell
====================================================================== 
Project:                    Zaptel
Issue ID:                   10919
Category:                   wct4xxp
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Zaptel Version:              1.4.4  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             10-08-2007 23:36 CDT
Last Modified:              10-11-2007 13:01 CDT
====================================================================== 
Summary:                    TE220 and TDM400P, random module load order on
reboot, channels swap!
Description: 
On reboot udev configures one or the other card first. Which results in the
spans moving arround.

If TE220 is found first, 'span 1 and 2' are assigned to this card.

If TDM400P is found first, 'span 1' is assigned to this card, and spans 2
and 3 are assigned to TE220P. This results in asterisk not loading
'chan_zap.so' as channels are misconfigured, if (in our case) the
configuration expects TE220 first.

This can be seen by running zttool after reboot:
(Working)
   |     OK              T2XXP (PCI) Card 0 Span 1                      
|
   |     RED             T2XXP (PCI) Card 0 Span 2                      
|
   |     OK              Wildcard TDM400P REV I Board 1                 
|

(Broken)
   |     OK              Wildcard TDM400P REV I Board 1                 
|
   |     OK              T2XXP (PCI) Card 0 Span 1                      
|
   |     OK              T2XXP (PCI) Card 0 Span 2                      
|

current workaround in /etc/init.d/fixzaptel is to unload and reload
modules in a predicatable order.
        /sbin/rmmod -a wctdm wct4xxp zttranscode zaptel
        /sbin/modprobe -q -a zaptel wct4xxp wctdm
        /sbin/ztcfg


====================================================================== 

---------------------------------------------------------------------- 
 russell - 10-11-07 13:01  
---------------------------------------------------------------------- 
Please contact Digium technical support for help with this issue -
support at digium.com 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-11-07 13:01  russell        Assigned To               => russell         
10-11-07 13:01  russell        Note Added: 0071827                          
======================================================================




More information about the asterisk-bugs mailing list