[asterisk-users] Problem with the loading of the cards in Debian
MCelo
mcelooliveira at gmail.com
Mon May 7 13:15:26 MST 2007
Cohen,
> On different boots you get the modules loaded with a different order?
>
Yes, thats it.
> What do you have in /etc/modules ? This should take effect on boot.
I have the following in /etc/modules :
asterisk:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
zaptel
wcte11xp
wctdm
wcfxo
loop
This is the order that I want. I don't know what loop means.
> What do you have in /etc/sysconfig/zaptel ? This should take efect if
> you unloaded all modules and want to reload them.
>
I don't have the file /etc/sysconfig/zaptel, but I have
/etc/default/zaptel. Where I can find some information about the
loading modules. In this file I un-commented the modules that I want,
and I left commented the modules that I don't want. I have the
following in /etc/default/zaptel :
asterisk:~# cat /etc/default/zaptel
TELEPHONY=yes
#DEBUG=yes
# Un-comment as per your requirements; modules to load/unload
#Module Name Hardware
#MODULES="$MODULES tor2" # T400P - Quad Span T1 Card
# E400P - Quad Span E1 Card
#MODULES="$MODULES wct4xxp" # TE405P - Quad Span T1/E1 Card (5v version)
# TE410P - Quad Span T1/E1 Card (3.3v version)
#MODULES="$MODULES wct1xxp" # T100P - Single Span T1 Card
# E100P - Single Span E1 Card
MODULES="$MODULES wcte11xp" # TE110P - Single Span T1/E1 Card
#MODULES="$MODULES wctdm24xxp" # TDM2400P - Modular FXS/FXO interface
(1-24 ports)
MODULES="$MODULES wcfxo" # X100P - Single port FXO interface
# X101P - Single port FXO interface
MODULES="$MODULES wctdm" # TDM400P - Modular FXS/FXO interface
(1-4 ports)
#MODULES="$MODULES wcfxs" # either above or this
#MODULES="$MODULES wcusb" # S100U - Single port FXS USB Interface
#MODULES="$MODULES wcfxsusb" # either above or this
#MODULES="$MODULES torisa" # Old Tormenta1 ISA Card
#MODULES="$MODULES ztdummy" # UHCI USB Zaptel Timing Only Interface
#MODULES="$MODULES xpp_usb" # Xorcom Astribank Device
Thanks, to try to help me.
MCelo.
2007/5/7, Tzafrir Cohen <tzafrir.cohen at xorcom.com>:
> On Mon, May 07, 2007 at 02:54:00PM -0300, MCelo wrote:
> > Hi Cohen,
> >
> >
> > Yes, this distribution is a single Debian 4.0 with kernel 2.6. I'm
> > trying to install Asterisk from the begin. But I'm having some
> > problems like this one. I tryed to put the modules in /etc/modules and
> > tryed to change the /etc/default/zaptel too, but with no success. I
> > don't know more what it can be.
>
> Please be more specific:
>
> On different boots you get the modules loaded with a different order?
>
> What do you have in /etc/modules ? This should take effect on boot.
>
> What do you have in /etc/sysconfig/zaptel ? This should take efect if
> you unloaded all modules and want to reload them.
>
> >
> > When I compiled the zaptel, I didn't use the command 'make linux26'
> > because its command was showing an error, like 'Stop.. no rules'.
> > Could be because of this that the cards are not loading in the same
> > order every time that I reboot?
>
> No. This should not matter. The target linux26 is indeed gone.
>
> >
> >
> > MCelo.
> >
> >
> > 2007/5/7, Tzafrir Cohen <tzafrir.cohen at xorcom.com>:
> > >On Mon, May 07, 2007 at 11:16:37AM -0300, MCelo wrote:
> > >> Hi people,
> > >>
> > >>
> > >> I'm having some problem when I reboot my machine. Every time that I
> > >> reboot the system, the zaptel changes the order loading of the cards.
> > >> I have 3 cards (wcte11xp, wctdm and wcfxo).
> > >
> > >I should read properly next itme.
> > >
> > >As this is debian: put the modules in the order you want them to load in
> > >/etc/modules .
> > >
> > >(this is what genzaptelconf -d does in Debian systems)
> > >
> > >--
> > > Tzafrir Cohen
> > >icq#16849755 jabber:tzafrir at jabber.org
> > >+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
> > >http://www.xorcom.com iax:guest at local.xorcom.com/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
> > >
> > _______________________________________________
> > --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
>
> --
> Tzafrir Cohen
> icq#16849755 jabber:tzafrir at jabber.org
> +972-50-7952406 mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com iax:guest at local.xorcom.com/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
>
More information about the asterisk-users
mailing list