On Tue, May 01, 2007 at 02:53:33PM -0700, C. Chad Wallace wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Mitch Jackson wrote: > > Evening, > > > > My latest asterisk box is having a difficult problem. It is > > configured with one TE210P and TDM400P with four FXO modules. I'm > > running FC6. > > > > The TE210P only has a single PRI. > > > > When the system boots, it is completely random what order the zaptel > > modules will get loaded in. Sometimes zttool shows the FXO as the > > last span, sometimes as the first. When it does load as the first, > > which happens more often, nothing will initialize properly. When this > > happens, I have to unload all the zaptel modules, and re-load them > > over and over again, until the hardware comes up in the correct order. > > The order it is loaded is in no way related to what order I load the > > modules on the command line. This problems makes it unlikely that > > asterisk will start properly if the system is rebooted. > > > > Is there something I can do to ensure the modules get loaded in the > > correct order? > If you use udev (and subsequently modprobe), you can override the > install command for the TDM card to load the T1 card first: > > Create a file in the /etc/modprobe.d directory, and put the following > line in it: > > install wctdm4xxp modprobe wcte21xp && modprobe --ignore-install > wctdm4xxp $CMDLINE_OPTS && /sbin/ztcfg
What happens if you want to pass module arguments to wctdm4xxp ? You actually pass it the same arguments you have passed to wcte21xp . Oh, and you still run the automatic ztcfg, which is bad. > > (Make sure it's all one line; your mail reader might break it.) > > This method works for me, with a TE110P and a TDM2400P in the same box. > However, I am using Debian, and I'm not sure if modprobe and udev work > the same way in FC6. I believe that they do. Maybe opt for the separation of span registration time from module load time? -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users