[asterisk-users] Zaptel kernel module load order
C. Chad Wallace
cwallace at lodgingcompany.com
Tue May 1 14:53:33 MST 2007
-----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
(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.
TTYL.
- --
C. Chad Wallace, B.Sc.
The Lodging Company
http://www.skihills.com/
OpenPGP Public Key ID: 0x262208A0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGN7bcKeSNHCYiCKARAoefAKDAh/V2W3cwd/ASfHH5JsMOdj3wOgCgnexb
yMh5TUnMZzHdM572J67oxmU=
=pHCB
-----END PGP SIGNATURE-----
More information about the asterisk-users
mailing list