Vamsi Pottangi
2005-May-05 07:21 UTC
[Asterisk-Users] chan_zap.so: load_module fails: Fedora Core 3: SMP
Hi, I'm trying to install asterisk on Dell power edge 2800 running Fedora core 3. I don't have have any zaptel cards, so trying to use ztdummy. /dev/zap is successfuly created... but I see some problems while starting asterisk ... chan_zap fails to load. Can somebody please help me in overcoming this problem. I was able to run asterisk on other normal PCs running Fedora core 3. Is this something to do with SMP ? I compile zaptel using the link to smp source code only. lrwxrwxrwx 1 root root 34 May 5 21:22 linux-2.6 -> /lib/modules/2.6.9-1.667smp/source May 5 21:43:55 VERBOSE[12931]: [chan_zap.so]May 5 21:43:55 VERBOSE[12931]: [chan_zap.so] => (Zapata Telephony) May 5 21:43:55 DEBUG[12931]: Parsing /etc/asterisk/zapata.conf May 5 21:43:55 WARNING[12931]: Unable to specify channel 1: Device or resource busy May 5 21:43:55 ERROR[12931]: Unable to open channel 1: Device or resource busy here = 0, tmp->channel = 1, channel = 1 May 5 21:43:55 ERROR[12931]: Unable to register channel '1' May 5 21:43:55 WARNING[12931]: chan_zap.so: load_module failed, returning -1 May 5 21:43:55 DEBUG[12931]: Unregistering channel type 'Zap' May 5 21:43:55 VERBOSE[12931]: == Unregistered channel type 'Zap' May 5 21:43:55 WARNING[12931]: Loading module chan_zap.so failed! [root@noname11 ~]# uname -a Linux noname11 2.6.9-1.667smp #1 SMP Tue Nov 2 14:59:52 EST 2004 i686 i686 i386 GNU/Linux [root@noname11 ~]# [root@noname11 ~]# ls -l /dev/zap/ total 0 crw------- 1 asterisk asterisk 196, 254 May 5 21:31 channel crw------- 1 asterisk asterisk 196, 0 May 5 21:31 ctl crw------- 1 asterisk asterisk 196, 255 May 5 21:31 pseudo crw------- 1 asterisk asterisk 196, 253 May 5 21:31 timer [root@noname11 ~]# Thanks, ~Vamsi
Vamsi Pottangi
2005-May-06 20:49 UTC
[Asterisk-Users] Asterisk on SMP machine with ztdummy working ?
Hi All, Was any Asterisk installation on SMP machine successful. Were you able to get ztdummt working on it. If so please let me know which linux favour you are using and any important steps to follow. I have a Dell Power edge 2800 and wanted to try asterisk on it and also use meetme. Which Linux flavour should I go for and the timing source. I don't have a zaptel interface so wanted to use ztdummy. Please guide me. I tried with FC3 as mentioned in below mail but loading of zap module fails saying resource busy. Thanks, ~Vamsi ---------- Forwarded message ---------- From: Vamsi Pottangi <vamsipottangi@gmail.com> Date: May 5, 2005 7:51 PM Subject: chan_zap.so: load_module fails: Fedora Core 3: SMP To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com> Hi, I'm trying to install asterisk on Dell power edge 2800 running Fedora core 3. I don't have have any zaptel cards, so trying to use ztdummy. /dev/zap is successfuly created... but I see some problems while starting asterisk ... chan_zap fails to load. Can somebody please help me in overcoming this problem. I was able to run asterisk on other normal PCs running Fedora core 3. Is this something to do with SMP ? I compile zaptel using the link to smp source code only. lrwxrwxrwx 1 root root 34 May 5 21:22 linux-2.6 -> /lib/modules/2.6.9-1.667smp/source May 5 21:43:55 VERBOSE[12931]: [chan_zap.so]May 5 21:43:55 VERBOSE[12931]: [chan_zap.so] => (Zapata Telephony) May 5 21:43:55 DEBUG[12931]: Parsing /etc/asterisk/zapata.conf May 5 21:43:55 WARNING[12931]: Unable to specify channel 1: Device or resource busy May 5 21:43:55 ERROR[12931]: Unable to open channel 1: Device or resource busy here = 0, tmp->channel = 1, channel = 1 May 5 21:43:55 ERROR[12931]: Unable to register channel '1' May 5 21:43:55 WARNING[12931]: chan_zap.so: load_module failed, returning -1 May 5 21:43:55 DEBUG[12931]: Unregistering channel type 'Zap' May 5 21:43:55 VERBOSE[12931]: == Unregistered channel type 'Zap' May 5 21:43:55 WARNING[12931]: Loading module chan_zap.so failed! [root@noname11 ~]# uname -a Linux noname11 2.6.9-1.667smp #1 SMP Tue Nov 2 14:59:52 EST 2004 i686 i686 i386 GNU/Linux [root@noname11 ~]# [root@noname11 ~]# ls -l /dev/zap/ total 0 crw------- 1 asterisk asterisk 196, 254 May 5 21:31 channel crw------- 1 asterisk asterisk 196, 0 May 5 21:31 ctl crw------- 1 asterisk asterisk 196, 255 May 5 21:31 pseudo crw------- 1 asterisk asterisk 196, 253 May 5 21:31 timer [root@noname11 ~]# Thanks, ~Vamsi
Tony Mountifield
2005-May-07 00:55 UTC
[Asterisk-Users] Re: chan_zap.so: load_module fails: Fedora Core 3: SMP
In article <cd10de7705050507214349f607@mail.gmail.com>, Vamsi Pottangi <vamsipottangi@gmail.com> wrote:> > I'm trying to install asterisk on Dell power edge 2800 running Fedora core 3. > I don't have have any zaptel cards, so trying to use ztdummy. > /dev/zap is successfuly created... but I see some problems while > starting asterisk ... chan_zap fails to load. > Can somebody please help me in overcoming this problem. > I was able to run asterisk on other normal PCs running Fedora core 3. > Is this something to do with SMP ? I compile zaptel using the link > to smp source code only. > > lrwxrwxrwx 1 root root 34 May 5 21:22 linux-2.6 -> > /lib/modules/2.6.9-1.667smp/source > > May 5 21:43:55 VERBOSE[12931]: [chan_zap.so]May 5 21:43:55 > VERBOSE[12931]: [chan_zap.so] => (Zapata Telephony) > May 5 21:43:55 DEBUG[12931]: Parsing /etc/asterisk/zapata.conf > May 5 21:43:55 WARNING[12931]: Unable to specify channel 1: Device or > resource busy > May 5 21:43:55 ERROR[12931]: Unable to open channel 1: Device or resource busy > here = 0, tmp->channel = 1, channel = 1 > May 5 21:43:55 ERROR[12931]: Unable to register channel '1' > May 5 21:43:55 WARNING[12931]: chan_zap.so: load_module failed, returning -1 > May 5 21:43:55 DEBUG[12931]: Unregistering channel type 'Zap' > May 5 21:43:55 VERBOSE[12931]: == Unregistered channel type 'Zap' > May 5 21:43:55 WARNING[12931]: Loading module chan_zap.so failed!You need to edit zapata.conf. It evidently has a "channel => 1" directive somewhere, but if you're using ztdummy I assume you have no zaptel hardware. There should only be "channel" directives for hardware that exists, and if you DO have zaptel hardware, you don't need ztdummy. Cheers Tony -- Tony Mountifield Work: tony@softins.co.uk - http://www.softins.co.uk Play: tony@mountifield.org - http://tony.mountifield.org
Vamsi Pottangi
2005-May-07 03:56 UTC
[Asterisk-Users] Asterisk on SMP machine with ztdummy working ?
That is nice to hear. Congrats. Wondering who could help me out with this unique zap channel problem of mine. Thanks, ~Vamsi On 5/7/05, Tim Connolly <tim@timsnet.com> wrote:> I've got three dual Xeon's running Redhat Enterprise 4 with 2.6.9 > and CVS-HEAD from about a month ago. I didn't have any problems whatsoever, > other than the problems I blame on being reluctant to RTFM. No problems with > the SMP side whatsoever. > > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Vamsi Pottangi > Sent: Friday, May 06, 2005 10:50 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [Asterisk-Users] Asterisk on SMP machine with ztdummy working ? > > Hi All, > > Was any Asterisk installation on SMP machine successful. Were you able > to get ztdummt working on it. If so please let me know which linux > favour you are using and any important steps to follow. > I have a Dell Power edge 2800 and wanted to try asterisk on it and > also use meetme. Which Linux flavour should I go for and the timing > source. I don't have a zaptel interface so wanted to use ztdummy. > Please guide me. I tried with FC3 as mentioned in below mail but > loading of zap module fails saying resource busy. > > Thanks, > ~Vamsi > > ---------- Forwarded message ---------- > From: Vamsi Pottangi <vamsipottangi@gmail.com> > Date: May 5, 2005 7:51 PM > Subject: chan_zap.so: load_module fails: Fedora Core 3: SMP > To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> > > Hi, > > I'm trying to install asterisk on Dell power edge 2800 running Fedora core > 3. > I don't have have any zaptel cards, so trying to use ztdummy. > /dev/zap is successfuly created... but I see some problems while > starting asterisk ... chan_zap fails to load. > Can somebody please help me in overcoming this problem. > I was able to run asterisk on other normal PCs running Fedora core 3. > Is this something to do with SMP ? I compile zaptel using the link > to smp source code only. > > lrwxrwxrwx 1 root root 34 May 5 21:22 linux-2.6 -> > /lib/modules/2.6.9-1.667smp/source > > May 5 21:43:55 VERBOSE[12931]: [chan_zap.so]May 5 21:43:55 > VERBOSE[12931]: [chan_zap.so] => (Zapata Telephony) > May 5 21:43:55 DEBUG[12931]: Parsing /etc/asterisk/zapata.conf > May 5 21:43:55 WARNING[12931]: Unable to specify channel 1: Device or > resource busy > May 5 21:43:55 ERROR[12931]: Unable to open channel 1: Device or resource > busy > here = 0, tmp->channel = 1, channel = 1 > May 5 21:43:55 ERROR[12931]: Unable to register channel '1' > May 5 21:43:55 WARNING[12931]: chan_zap.so: load_module failed, returning > -1 > May 5 21:43:55 DEBUG[12931]: Unregistering channel type 'Zap' > May 5 21:43:55 VERBOSE[12931]: == Unregistered channel type 'Zap' > May 5 21:43:55 WARNING[12931]: Loading module chan_zap.so failed! > > [root@noname11 ~]# uname -a > Linux noname11 2.6.9-1.667smp #1 SMP Tue Nov 2 14:59:52 EST 2004 i686 > i686 i386 GNU/Linux > [root@noname11 ~]# > > [root@noname11 ~]# ls -l /dev/zap/ > total 0 > crw------- 1 asterisk asterisk 196, 254 May 5 21:31 channel > crw------- 1 asterisk asterisk 196, 0 May 5 21:31 ctl > crw------- 1 asterisk asterisk 196, 255 May 5 21:31 pseudo > crw------- 1 asterisk asterisk 196, 253 May 5 21:31 timer > [root@noname11 ~]# > > Thanks, > ~Vamsi > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >