Re: [Asterisk-Users] zaprtc on Debian Sarge 2.4.27
On Tue, Feb 22, 2005 at 01:54:37AM +0100, Philipp von Klitzing wrote: > Hi there, > > since I found a couple of reports with complaints concerning zaprtc I > thought that one or the other user might be glad to know that it works > indeed. All that was necessary was to copy all *.h files from /zaptel > into /zaptelrtc and then do "make" followed by "make load". > > Of course you'll need to make sure to not have rtc compiled into your > kernel, or loaded as a module. The debian packages of Asterisk and zaptel are changing a bit. In the future you should generally install zaptel-source and zaptel.h will be placed under /usr/include/linux . -- Tzafrir Cohen | New signature for new address and | VIM is http://tzafrir.org.il | new homepage | a Mutt's [EMAIL PROTECTED] || best ICQ# 16849755 | Space reserved for other protocols | friend ___ 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
[Asterisk-Users] zaprtc on Debian Sarge 2.4.27
Hi there, since I found a couple of reports with complaints concerning zaprtc I thought that one or the other user might be glad to know that it works indeed. All that was necessary was to copy all *.h files from /zaptel into /zaptelrtc and then do "make" followed by "make load". Of course you'll need to make sure to not have rtc compiled into your kernel, or loaded as a module. Cheers, Philipp ___ 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
[Asterisk-Users] zaprtc from bristuff? not there?
I'm trying to take advice to use "zaprtc from bristuff" (from both a posting here and references on voip-info) because I have a 2.4 kernel SMP machine. I've downloaded and installed bristuff-0.2.0-RC3a and now have the modules zaphfc and zaptel loaded. Running meetme says the extension is invalid (I've double checked meetme.conf and extensions.conf). There is no zaprtc version in that bristuff package (I thought there would be based on other posts). Trying to load zaprtc 0.0.1 gives the same error as the standard asterisk distribution. Do I download something more recent than zaprtc 0.0.1? Can anyone tell me were (no luck googling)? Other insights? Thanks much! Spencer ___ 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
Re: [Asterisk-Users] zaprtc load issue (different that other postings)
zaprtc does not work with smp systems, unfortunately. There is some discussion on the wiki about the bristuff zaprtc module working with multi cpu systems, however. Link: http://www.voip-info.org/wiki-Asterisk+timer Brian On Sat, 22 Jan 2005 22:37:42 -0800, Spencer Nassar <[EMAIL PROTECTED]> wrote: > zaprtc 'load' is failing on my machine (the make was fine, same output > as other posts to this list) >[EMAIL PROTECTED] zaptelrtc]# make load >sync >modprobe zaptel >insmod ./zaprtc.o >./zaprtc.o: init_module: Input/output error >Hint: insmod errors can be caused by incorrect module parameters, > including invalid IO or IRQ parameters. > You may find more information in syslog or the output from dmesg > > I've seen other references to ensuring that rtc is unloaded first, but > it's not loaded on my machine >[EMAIL PROTECTED] zaptelrtc]# lsmod >Module Size Used byNot tainted >zaptel181856 0 >soundcore 7012 0 (autoclean) >e1000 75744 1 >iptable_nat22744 0 (autoclean) (unused) >iptable_mangle 2776 0 (autoclean) (unused) >ipt_REJECT 4632 1 (autoclean) >ipt_multiport 1176 2 (autoclean) >ipt_state 1080 3 (autoclean) >ip_conntrack 29704 2 (autoclean) [iptable_nat ipt_state] >iptable_filter 2412 1 (autoclean) >ip_tables 16544 8 [iptable_nat iptable_mangle > ipt_REJECT ipt_multiport ipt_state iptable_filter] >microcode 6848 0 (autoclean) >keybdev 2976 0 (unused) >mousedev5624 0 (unused) >hid22276 0 (unused) >input 6144 0 [keybdev mousedev hid] >usb-ohci 23176 0 (unused) >usbcore80928 1 [hid usb-ohci] >ext3 89960 2 >jbd55060 2 [ext3] >mptscsih 41780 3 >mptbase43936 3 [mptscsih] >sd_mod 13360 6 >scsi_mod 112680 2 [mptscsih sd_mod] > > I'm running Redhat ES3 on a dual xeon system > Kernel is linux-2.4 -> linux-2.4.21-15.EL > > Any ideas? > > Thanks! > Spencer > > ___ > 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 > ___ 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
[Asterisk-Users] zaprtc load issue (different that other postings)
zaprtc 'load' is failing on my machine (the make was fine, same output as other posts to this list) [EMAIL PROTECTED] zaptelrtc]# make load sync modprobe zaptel insmod ./zaprtc.o ./zaprtc.o: init_module: Input/output error Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg I've seen other references to ensuring that rtc is unloaded first, but it's not loaded on my machine [EMAIL PROTECTED] zaptelrtc]# lsmod Module Size Used byNot tainted zaptel181856 0 soundcore 7012 0 (autoclean) e1000 75744 1 iptable_nat22744 0 (autoclean) (unused) iptable_mangle 2776 0 (autoclean) (unused) ipt_REJECT 4632 1 (autoclean) ipt_multiport 1176 2 (autoclean) ipt_state 1080 3 (autoclean) ip_conntrack 29704 2 (autoclean) [iptable_nat ipt_state] iptable_filter 2412 1 (autoclean) ip_tables 16544 8 [iptable_nat iptable_mangle ipt_REJECT ipt_multiport ipt_state iptable_filter] microcode 6848 0 (autoclean) keybdev 2976 0 (unused) mousedev5624 0 (unused) hid22276 0 (unused) input 6144 0 [keybdev mousedev hid] usb-ohci 23176 0 (unused) usbcore80928 1 [hid usb-ohci] ext3 89960 2 jbd55060 2 [ext3] mptscsih 41780 3 mptbase43936 3 [mptscsih] sd_mod 13360 6 scsi_mod 112680 2 [mptscsih sd_mod] I'm running Redhat ES3 on a dual xeon system Kernel is linux-2.4 -> linux-2.4.21-15.EL Any ideas? Thanks! Spencer ___ 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
RE: [Asterisk-Users] Zaprtc seems unsupported, Asterisk in productionenvironment without Digium cards
I'm having a similar issue to this in that the USB ports on the system are ohci based, not uhci, therefore ztdummy will not work. My system is also running the SMP kernel so zaprtc will not work. To me it looks like the only good solution is a hardware timer, even if it's as simple as an x100p card. Kelly PS. If you read Jon's message again, the answer given is not acceptable for the question asked. He wrote that he "does not" have USB in his server, therefore ztdummy will not work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kristian Kielhofner Sent: Tuesday, November 30, 2004 9:15 AM To: [EMAIL PROTECTED]; Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Zaprtc seems unsupported, Asterisk in productionenvironment without Digium cards Jon Brüel wrote: > I feel there is some unclarity about the need for a timer in Asterisk. As > Asterisk moves into production environments, this needs to be sorted out. > > I'm setting up an Asterisk in a production environment with no Digium cards > at all. It is planned to be used as a clean SIP hosted PABX, where we > connect to the PSTN via gateways with proper echo cancellation. There is no > USB driver on the card. Running Linux 2.6 > >>From some of the documents, I understand that some applications such as > music on hold need a timer to function well and to function in order to > achieve a good sound quality without high processor overhead. > > In our test environment, zaprtc seems to be the right solution, but there > are no places, where I can find a functioning and well tested timer for > Asterisk on Linux 2.6 without having to go through diff-files and patch > commands. And still, I can't get it to work. Much has been wiritten about > this without any solutions. In any case, zaprtc does not seem to be built > into Asterisk on the same level as e.g. the well tested applications. > > My questions are: > > 1) Is a timer such as zaprtc required? > 2) Where can I acquire such a timer which will work with Linux 2.6? > 3) Is it generally recommended to use Asterisk with at least one Digium > card? > 4) Will future versions of Asterisk be designed with a "build in" timing > source? > Use ztdummy. http://www.voip-info.org/tiki-index.php?page=Asterisk+timer+ztdummy Check out "ztdummy with kernel 2.6" -- Kristian Kielhofner ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users smime.p7s Description: S/MIME cryptographic signature ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Zaprtc seems unsupported, Asterisk in production environment without Digium cards
Jon Brüel wrote: I feel there is some unclarity about the need for a timer in Asterisk. As Asterisk moves into production environments, this needs to be sorted out. I'm setting up an Asterisk in a production environment with no Digium cards at all. It is planned to be used as a clean SIP hosted PABX, where we connect to the PSTN via gateways with proper echo cancellation. There is no USB driver on the card. Running Linux 2.6 From some of the documents, I understand that some applications such as music on hold need a timer to function well and to function in order to achieve a good sound quality without high processor overhead. In our test environment, zaprtc seems to be the right solution, but there are no places, where I can find a functioning and well tested timer for Asterisk on Linux 2.6 without having to go through diff-files and patch commands. And still, I can't get it to work. Much has been wiritten about this without any solutions. In any case, zaprtc does not seem to be built into Asterisk on the same level as e.g. the well tested applications. My questions are: 1) Is a timer such as zaprtc required? 2) Where can I acquire such a timer which will work with Linux 2.6? 3) Is it generally recommended to use Asterisk with at least one Digium card? 4) Will future versions of Asterisk be designed with a "build in" timing source? Use ztdummy. http://www.voip-info.org/tiki-index.php?page=Asterisk+timer+ztdummy Check out "ztdummy with kernel 2.6" -- Kristian Kielhofner ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Zaprtc seems unsupported, Asterisk in production environment without Digium cards
I feel there is some unclarity about the need for a timer in Asterisk. As Asterisk moves into production environments, this needs to be sorted out. I'm setting up an Asterisk in a production environment with no Digium cards at all. It is planned to be used as a clean SIP hosted PABX, where we connect to the PSTN via gateways with proper echo cancellation. There is no USB driver on the card. Running Linux 2.6 >From some of the documents, I understand that some applications such as music on hold need a timer to function well and to function in order to achieve a good sound quality without high processor overhead. In our test environment, zaprtc seems to be the right solution, but there are no places, where I can find a functioning and well tested timer for Asterisk on Linux 2.6 without having to go through diff-files and patch commands. And still, I can't get it to work. Much has been wiritten about this without any solutions. In any case, zaprtc does not seem to be built into Asterisk on the same level as e.g. the well tested applications. My questions are: 1) Is a timer such as zaprtc required? 2) Where can I acquire such a timer which will work with Linux 2.6? 3) Is it generally recommended to use Asterisk with at least one Digium card? 4) Will future versions of Asterisk be designed with a "build in" timing source? ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] ZapRTC loading problems
genius..pure genius.. ThomasNiesel=>karma = karma++ Thanks, Matthew - Original Message - From: "Thomas Niesel" <[EMAIL PROTECTED]> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <[EMAIL PROTECTED]> Sent: Tuesday, September 21, 2004 12:48 AM Subject: Re: [Asterisk-Users] ZapRTC loading problems > Hallo Matthew Boehm > On Mon, 20 Sep 2004 16:54:33 -0500 you wrote: > > > I finally got 2.4 recompiled with RTC as a module: > > Module Size Used byNot tainted > > autofs 13684 0 (autoclean) (unused) > > acenic241092 0 (unused) > > iptable_filter 2412 0 (autoclean) (unused) > > ip_tables 15864 1 [iptable_filter] > > e100 62340 1 > > rtc 9084 0 (autoclean) > > > > Here is my compile/load output from zaptelrtc: > > > > [EMAIL PROTECTED] zaptelrtc]# make > > cc -c > > zaprtc.c -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -O2 > > -Wal l -I/usr/src/linux-2.4/include -I../zaptel -Wall -DMODVERSIONS > > -include/usr/src/linux-2.4/include/linux/modversions.h > > gcc -s -Wall -Wstrict-prototypes rtctest.c -o rtctest > > rtctest.c: In function `main': > > rtctest.c:30: warning: implicit declaration of function `exit' > > gcc -s -Wall -Wstrict-prototypes rtcsetup.c -o rtcsetup > > rtcsetup.c: In function `main': > > rtcsetup.c:31: warning: implicit declaration of function `exit' > > rtcsetup.c:23: warning: unused variable `i' > > rtcsetup.c:23: warning: unused variable `irqcount' > > rtcsetup.c:24: warning: unused variable `tmp' > > rtcsetup.c:24: warning: unused variable `data' > > rtcsetup.c:25: warning: unused variable `rtc_tm' > > sync > > > > [EMAIL PROTECTED] zaptelrtc]# ls > > Makefile README rtcsetup rtcsetup.c rtctest rtctest.c zaprtc.c > > zaprtc.o > > > > [EMAIL PROTECTED] zaptelrtc]# make load > > sync > > modprobe zaptel > > insmod ./zaprtc.o > > ./zaprtc.o: init_module: Input/output error > > Hint: insmod errors can be caused by incorrect module parameters, > > including invalid IO or IRQ parameters. > > IMHO you have to _replace_ rtc with zaprtc (unload rtc first, load > zaprtc second) > > > You may find more information in syslog or the output from dmesg > > make: *** [load] Error 1 > > > > [EMAIL PROTECTED] zaptelrtc]# insmod ./zaprtc.o > > ./zaprtc.o: init_module: Input/output error > > Hint: insmod errors can be caused by incorrect module parameters, > > including invalid IO or IRQ parameters. > > You may find more information in syslog or the output from dmesg > > > > [EMAIL PROTECTED] zaptelrtc]# uname -a > > Linux localhost.localdomain 2.4.20-8custom #1 SMP Mon Sep 20 14:39:43 > > CDT 2004 i686 i686 i386 GNU/Linux > > > > Any ideas on the I/O error? syslog and dmesg show the same error. > > Nothing extra. > > > > Thanks, > > Matthew > > > > ___ > > Asterisk-Users mailing list > > [EMAIL PROTECTED] > > http://lists.digium.com/mailman/listinfo/asterisk-users > > To UNSUBSCRIBE or update options visit: > >http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > -- > Tho/\/\as > ___ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] ZapRTC loading problems
Hallo Matthew Boehm On Mon, 20 Sep 2004 16:54:33 -0500 you wrote: > I finally got 2.4 recompiled with RTC as a module: > Module Size Used byNot tainted > autofs 13684 0 (autoclean) (unused) > acenic241092 0 (unused) > iptable_filter 2412 0 (autoclean) (unused) > ip_tables 15864 1 [iptable_filter] > e100 62340 1 > rtc 9084 0 (autoclean) > > Here is my compile/load output from zaptelrtc: > > [EMAIL PROTECTED] zaptelrtc]# make > cc -c > zaprtc.c -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -O2 > -Wal l -I/usr/src/linux-2.4/include -I../zaptel -Wall -DMODVERSIONS > -include/usr/src/linux-2.4/include/linux/modversions.h > gcc -s -Wall -Wstrict-prototypes rtctest.c -o rtctest > rtctest.c: In function `main': > rtctest.c:30: warning: implicit declaration of function `exit' > gcc -s -Wall -Wstrict-prototypes rtcsetup.c -o rtcsetup > rtcsetup.c: In function `main': > rtcsetup.c:31: warning: implicit declaration of function `exit' > rtcsetup.c:23: warning: unused variable `i' > rtcsetup.c:23: warning: unused variable `irqcount' > rtcsetup.c:24: warning: unused variable `tmp' > rtcsetup.c:24: warning: unused variable `data' > rtcsetup.c:25: warning: unused variable `rtc_tm' > sync > > [EMAIL PROTECTED] zaptelrtc]# ls > Makefile README rtcsetup rtcsetup.c rtctest rtctest.c zaprtc.c > zaprtc.o > > [EMAIL PROTECTED] zaptelrtc]# make load > sync > modprobe zaptel > insmod ./zaprtc.o > ./zaprtc.o: init_module: Input/output error > Hint: insmod errors can be caused by incorrect module parameters, > including invalid IO or IRQ parameters. IMHO you have to _replace_ rtc with zaprtc (unload rtc first, load zaprtc second) > You may find more information in syslog or the output from dmesg > make: *** [load] Error 1 > > [EMAIL PROTECTED] zaptelrtc]# insmod ./zaprtc.o > ./zaprtc.o: init_module: Input/output error > Hint: insmod errors can be caused by incorrect module parameters, > including invalid IO or IRQ parameters. > You may find more information in syslog or the output from dmesg > > [EMAIL PROTECTED] zaptelrtc]# uname -a > Linux localhost.localdomain 2.4.20-8custom #1 SMP Mon Sep 20 14:39:43 > CDT 2004 i686 i686 i386 GNU/Linux > > Any ideas on the I/O error? syslog and dmesg show the same error. > Nothing extra. > > Thanks, > Matthew > > ___ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > -- Tho/\/\as ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] ZapRTC loading problems
I finally got 2.4 recompiled with RTC as a module: Module Size Used byNot tainted autofs 13684 0 (autoclean) (unused) acenic241092 0 (unused) iptable_filter 2412 0 (autoclean) (unused) ip_tables 15864 1 [iptable_filter] e100 62340 1 rtc 9084 0 (autoclean) Here is my compile/load output from zaptelrtc: [EMAIL PROTECTED] zaptelrtc]# make cc -c zaprtc.c -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -O2 -Wal l -I/usr/src/linux-2.4/include -I../zaptel -Wall -DMODVERSIONS -include /usr/src/linux-2.4/include/linux/modversions.h gcc -s -Wall -Wstrict-prototypes rtctest.c -o rtctest rtctest.c: In function `main': rtctest.c:30: warning: implicit declaration of function `exit' gcc -s -Wall -Wstrict-prototypes rtcsetup.c -o rtcsetup rtcsetup.c: In function `main': rtcsetup.c:31: warning: implicit declaration of function `exit' rtcsetup.c:23: warning: unused variable `i' rtcsetup.c:23: warning: unused variable `irqcount' rtcsetup.c:24: warning: unused variable `tmp' rtcsetup.c:24: warning: unused variable `data' rtcsetup.c:25: warning: unused variable `rtc_tm' sync [EMAIL PROTECTED] zaptelrtc]# ls Makefile README rtcsetup rtcsetup.c rtctest rtctest.c zaprtc.c zaprtc.o [EMAIL PROTECTED] zaptelrtc]# make load sync modprobe zaptel insmod ./zaprtc.o ./zaprtc.o: init_module: Input/output error Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg make: *** [load] Error 1 [EMAIL PROTECTED] zaptelrtc]# insmod ./zaprtc.o ./zaprtc.o: init_module: Input/output error Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg [EMAIL PROTECTED] zaptelrtc]# uname -a Linux localhost.localdomain 2.4.20-8custom #1 SMP Mon Sep 20 14:39:43 CDT 2004 i686 i686 i386 GNU/Linux Any ideas on the I/O error? syslog and dmesg show the same error. Nothing extra. Thanks, Matthew ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Zaprtc help
I am still stuck, anyone got any ideas ? Hi, Having no digium hardware in my box and two cpus and a ohci usb bus im forced to use zaprtc. I have recompiled the kernel and removed enhanced rtc support. When I attempt to compile zaprtc I get the following error. zaprtc.c:1077: warning: implicit declaration of function `barrier' zaprtc.c:1078: warning: implicit declaration of function `cpu_relax' zaprtc.c: At top level: zaprtc.c:109: storage size of `rtc_irq_timer' isn't known zaprtc.c:719: storage size of `rtc_fops' isn't known zaprtc.c:107: warning: `DECLARE_WAIT_QUEUE_HEAD' declared `static' but never defined make: *** [zaprtc.o] Error 1 Can anyone offer advice on where to start . Thanks David Counting the days to astricon. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Zaprtc help
Hi, Having no digium hardware in my box and two cpus and a ohci usb bus im forced to use zaprtc. I have recompiled the kernel and removed enhanced rtc support. When I attempt to compile zaprtc I get the following error. zaprtc.c:1077: warning: implicit declaration of function `barrier' zaprtc.c:1078: warning: implicit declaration of function `cpu_relax' zaprtc.c: At top level: zaprtc.c:109: storage size of `rtc_irq_timer' isn't known zaprtc.c:719: storage size of `rtc_fops' isn't known zaprtc.c:107: warning: `DECLARE_WAIT_QUEUE_HEAD' declared `static' but never defined make: *** [zaprtc.o] Error 1 Can anyone offer advice on where to start . Thanks David Counting the days to astricon. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] zaprtc-for-2.6
Hi > I just installed * via bri-stuff from junghanns.net. I also use Kernel > 2.6.5 and it seems to work fine. > I saw the directory "zaprtc-for-2.6" coming with bri-stuff and noticed > that it is not used by the install scripts. I have absolutely no idea > what this software does. Can anybody clear me up? it looks like the "dummy-timer-programm" (like ztdummy or zaprtc) if you have no FXS or other digenum-card in your Asterisk. You need that for some MP3 / music-on-hold issues. these seems the version vor kernel 2.6 regards thorsten gehrig ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] zaprtc-for-2.6
Hello, I just installed * via bri-stuff from junghanns.net. I also use Kernel 2.6.5 and it seems to work fine. I saw the directory "zaprtc-for-2.6" coming with bri-stuff and noticed that it is not used by the install scripts. I have absolutely no idea what this software does. Can anybody clear me up? Regards, Julian ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] zaprtc on 2.6
The warning is harmless. I built on the existing work for compiling modules for 2.6, which required the source in linux-2.6 (which you could mod in the makefile), but you also need for the makefile in ../zaptelrtc to setup the rest of the build environment. Using the command make -C /usr/src/linux SUBDIRS=`pwd` modules will bypass the zaptelrtc makefile. If you want to send me the output of the patch attempt, I can try to fix it up, but I don't see why it would fail against zaprtc 0.1 since I used that for my base and diff. Feel free to send the diff privately, as I'm sure no-one here would be too interested. Dan -Original Message- From: Gavin Hamill [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 3:22 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] zaprtc on 2.6 On Friday 23 April 2004 22:58, Dan Austin wrote: > I should add a small readme to the patch. The 2.6 series build process > creates a symlink to identify the correct irq_vectors.h during the build > process then clears it once the build is complete. I modified the file > ../include/asm/irq.h to have an absolute reference to irq_vectors.h to > resolve those errors. Ahhh I see now :) For the list archives, I changed /usr/src/linux/include/asm/irq.h line 16 from #include "irq_vectors.h" to #include "mach-default/irq_vectors.h" and now a simple 'make' compiles zaprtc.o and rtcsetup just fine :) Now, I have a zaprtc.o, but not the .ko that 2.6 seems to like - I've tried to substitute the 'make modules' bit from your patch into: eddie:/usr/src/zaptelrtc# make -C /usr/src/linux SUBDIRS=`pwd` modules make: Entering directory `/usr/src/kernel-source-2.6.5' CHK include/linux/version.h *** Warning: Overriding SUBDIRS on the command line can cause *** inconsistencies make[1]: `arch/i386/kernel/asm-offsets.s' is up to date. CHK include/asm-i386/asm_offsets.h Building modules, stage 2. make: Leaving directory `/usr/src/kernel-source-2.6.5' And whilst this doesn't generate errors, it doesn't generate a zaprtc.ko either :( Again, I'm at your mercy :) Cheers, Gavin. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] zaprtc on 2.6
On Friday 23 April 2004 22:58, Dan Austin wrote: > I should add a small readme to the patch. The 2.6 series build process > creates a symlink to identify the correct irq_vectors.h during the build > process then clears it once the build is complete. I modified the file > ../include/asm/irq.h to have an absolute reference to irq_vectors.h to > resolve those errors. Ahhh I see now :) For the list archives, I changed /usr/src/linux/include/asm/irq.h line 16 from #include "irq_vectors.h" to #include "mach-default/irq_vectors.h" and now a simple 'make' compiles zaprtc.o and rtcsetup just fine :) Now, I have a zaprtc.o, but not the .ko that 2.6 seems to like - I've tried to substitute the 'make modules' bit from your patch into: eddie:/usr/src/zaptelrtc# make -C /usr/src/linux SUBDIRS=`pwd` modules make: Entering directory `/usr/src/kernel-source-2.6.5' CHK include/linux/version.h *** Warning: Overriding SUBDIRS on the command line can cause *** inconsistencies make[1]: `arch/i386/kernel/asm-offsets.s' is up to date. CHK include/asm-i386/asm_offsets.h Building modules, stage 2. make: Leaving directory `/usr/src/kernel-source-2.6.5' And whilst this doesn't generate errors, it doesn't generate a zaprtc.ko either :( Again, I'm at your mercy :) Cheers, Gavin. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] zaprtc on 2.6
I should add a small readme to the patch. The 2.6 series build process creates a symlink to identify the correct irq_vectors.h during the build process then clears it once the build is complete. I modified the file ../include/asm/irq.h to have an absolute reference to irq_vectors.h to resolve those errors. There has been a recent discussion on the kernel developers list about out-of-tree modules and problems like this. The top level kernel makefile is being tweaked to eliminate these issues, but does not appear that the changes will make it into 2.6.6. So my process would be to build the new kernel, modify the #include in irq.h and then build zaprtc. Dan -Original Message- From: Gavin Hamill [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 2:45 PM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] zaprtc on 2.6 Hullo. Having found http://bugs.digium.com/bug_view_page.php?bug_id=875 I grabbed the original 0.0.1 and Dan's patch, and whilst it didn't apply, I was able to patch the zaprtc.c manually - the Makefile has changed a lot, and I wasn't able to understand the changes. (this is all on a machine that's never had any * on it before, and has a 2.6.5 kernel with a matching source tree in /usr/src/linux) So I checked out zaptel and libpri, and these compiled perfectly, but zaprtc didn't go so well: eddie:/usr/src/zaptelrtc# make cc -c zaprtc.c -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -O2 -Wall -I/usr/src/linux/include -I../zaptel -Wall In file included from /usr/src/linux/include/linux/irq.h:20, from /usr/src/linux/include/asm/hardirq.h:6, from /usr/src/linux/include/linux/interrupt.h:11, from zaprtc.c:72: /usr/src/linux/include/asm/irq.h:16: irq_vectors.h: No such file or directory make: *** [zaprtc.o] Error 1 Eek I'm a little out of my depth here with such involved kernel stuff - I can see irq_vectors.h in asm-i386 dirs of the kernel source, but Idon't know what I should do from here :( Any takers? Cheers, Gavin. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] zaprtc on 2.6
Hullo. Having found http://bugs.digium.com/bug_view_page.php?bug_id=875 I grabbed the original 0.0.1 and Dan's patch, and whilst it didn't apply, I was able to patch the zaprtc.c manually - the Makefile has changed a lot, and I wasn't able to understand the changes. (this is all on a machine that's never had any * on it before, and has a 2.6.5 kernel with a matching source tree in /usr/src/linux) So I checked out zaptel and libpri, and these compiled perfectly, but zaprtc didn't go so well: eddie:/usr/src/zaptelrtc# make cc -c zaprtc.c -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -O2 -Wall -I/usr/src/linux/include -I../zaptel -Wall In file included from /usr/src/linux/include/linux/irq.h:20, from /usr/src/linux/include/asm/hardirq.h:6, from /usr/src/linux/include/linux/interrupt.h:11, from zaprtc.c:72: /usr/src/linux/include/asm/irq.h:16: irq_vectors.h: No such file or directory make: *** [zaprtc.o] Error 1 Eek I'm a little out of my depth here with such involved kernel stuff - I can see irq_vectors.h in asm-i386 dirs of the kernel source, but Idon't know what I should do from here :( Any takers? Cheers, Gavin. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] zaprtc
Fran, Thanks for the message. In between my original message and your response I actually did something a bit different. From within /etc/init.d/asterisk (which I call from chkconfig) I added the following lines: start) echo -n "Starting Asterisk PBX: " #/sbin/modprobe ixj /sbin/modprobe zaptel /sbin/insmod zaprtc /sbin/rtcsetup & daemon /usr/sbin/safe_asterisk RETVAL=$? echo [ $RETVAL -eq 0 ] && touch /var/lock/subsys/asterisk ;; stop) echo -n "Shutting Asterisk PBX: " killproc safe_asterisk killproc asterisk killproc rtcsetup #/sbin/rmmod -r ixj /sbin/rmmod -r zaptel /sbin/rmmod -r zaprtc RETVAL=$? echo [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/asterisk ;; This works for me as well, and has the added bonus (at least in my case) of keeping the asterisk related items more self-contained. -Steve > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Fran Boon > Sent: Tuesday, April 20, 2004 6:58 PM > To: [EMAIL PROTECTED] > Subject: Re: [Asterisk-Users] zaprtc > > On Tue, 2004-04-20 at 17:23, Steven Kokinos wrote: > > does anyone out there using zaprtc know how to go about > initializing > > it at boot time? i have it compiled and working properly, > but there is > > very limited documentation. > > Yup, works great for me :) > > Add this to rc.local to get it initialised at boot: > insmod /lib/modules/2.4.21-9.ELcustom/misc/zaprtc.o > /usr/local/bin/rtcsetup & > > (Obviously modify the kernel path if required - this is for RHES3) > > F > > > ___ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > > ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] zaprtc
On Tue, 2004-04-20 at 17:23, Steven Kokinos wrote: > does anyone out there using zaprtc know how to go about initializing > it at boot time? i have it compiled and working properly, but there is > very limited documentation. Yup, works great for me :) Add this to rc.local to get it initialised at boot: insmod /lib/modules/2.4.21-9.ELcustom/misc/zaprtc.o /usr/local/bin/rtcsetup & (Obviously modify the kernel path if required - this is for RHES3) F ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] zaprtc
does anyone out there using zaprtc know how to go about initializing it at boot time? i have it compiled and working properly, but there is very limited documentation. -Steve
[Asterisk-Users] ZAPRTC question(s)
I have a system with no Digium hardware in it (two others with 2 X100P cards in each of them as well). I'm interested in using MeetMe in the one without the hardware (it works great in the ones with the hardware). I can't use ztdummy, because the system has usb-ohci drivers, rather than usb-uhci. I have read the little there is about zaprtc, and I am wondering whether there is a downside in turning off RTC support in the kernel, and recompiling. Are there other things that might break if I do this (it simply feels like a more "drastic" step than the ztdummy approach)? (I am running Red Hat 9.0) Finally, and this will show my complete naivete for linux programming, I am curious as to why no one has written a timer that simply hooks the standard kernel installed RTC? From the rtc.txt file in the Documentation directory of the kernel source, it seems that one can "hook" the interrupt and get the clock ticks delivered via interrupt directly to your c code. Isn't that what is needed to get a stable timing device in *? Just curious, as I'm sure that it's way more sophisticated than that... Thanks in advance. P.S. The system with no Digium hardware in it is in a colo facility that is 250 miles from my house, and besides, I don't have physical access to the machine. So, it would be painful, and expensive, for me to arrange for a Digium card to be installed in the machine, and it would be used for nothing other than the clock, since there are no other interfaces available for me to plug into the card. This was just to nip the "why don't you just pony up for a Digium card?" responses :-) ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] ZAPRTC load error
On Friday 30 January 2004 07:04, [EMAIL PROTECTED] wrote: > I have compiled the zaptel library and zaprtc on a system that > gives the following from "uname -a": > Linux fxx76.mydomain.de 2.4.18-64GB-SMP #1 SMP Wed Mar 27 > 13:58:12 UTC 2002 i686 unknown > > Makefile for zaptel had the following line uncommented: > # > KFLAGS+=-D__SMP__ > > > When doing the "make load" for zaprtc I get the following error: > > modprobe zaptel > /lib/modules/2.4.18-64GB-SMP/misc/zaptel.o: kernel-module version > mismatch /lib/modules/2.4.18-64GB-SMP/misc/zaptel.o was compiled > for kernel version 2.4.18-4GB > while this kernel is version 2.4.18-64GB-SMP. > > Any ideas on where to look for the solution would be appreciated. > Have checked the Makefiles but didn't see anything related. Recompile your kernel or install the kernel source which exactly matches the running kernel, then recompile and reinstall zaptel. -Tilghman ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] ZAPRTC load error
I have compiled the zaptel library and zaprtc on a system that gives the following from "uname -a": Linux fxx76.mydomain.de 2.4.18-64GB-SMP #1 SMP Wed Mar 27 13:58:12 UTC 2002 i686 unknown Makefile for zaptel had the following line uncommented: # KFLAGS+=-D__SMP__ When doing the "make load" for zaprtc I get the following error: modprobe zaptel /lib/modules/2.4.18-64GB-SMP/misc/zaptel.o: kernel-module version mismatch /lib/modules/2.4.18-64GB-SMP/misc/zaptel.o was compiled for kernel version 2.4.18-4GB while this kernel is version 2.4.18-64GB-SMP. Any ideas on where to look for the solution would be appreciated. Have checked the Makefiles but didn't see anything related. Thanks, Robert ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] zaprtc install problem
On Wed, 2004-01-07 at 12:46, Yannick DESSERTENNE wrote: > Hi, > > I'm trying to intall zaprtc on my machine (I don't have UHCI_USB nor Zaptel) > > and I have a strange behaviour during loading. > > When I do >make load > I have : > ./zaprtc.o: init_module: Input/ouput error > With a quick dmesg got: > rtc: I/O port 112 in not free > > Is someone have any idea to solve this ? > > I saw on the README file that rtc support should not be enabled in the > kernel, > but I don't know how to verify/modify that... Did you compile your kernel? If so go to your kernel source and issue this command "grep -i rtc .config" If the line is commented out then you didn't compile rtc support. Now you just need to verify you are on your kernel. If you didn't compile your kernel, it is a good chance you have rtc support already. Somewhere near where your kernel is located, you should find a file config-2.4.* this file should have a matching version name as your running kernel. It should contain your running kernel config used during compile time. So issue the same command above but use the config-2.4 file instead of .config. Same rules apply. You may also wish to pole around in /proc. If you find rtc in /proc/interupts it means your kernel knows about the rtc driver and is has determined it's IRQ. Same thing goes for /proc/ioports. You should even be able to find a reference to it in /proc/ksyms if it was compiled in. -- Steven Critchfield <[EMAIL PROTECTED]> ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] zaprtc install problem
he... this is a kernel question, not * one :) btw, making "make menuconfig" in kernel src dir, will bring a nice ncurses menu, where you will find RTC support (don't rember now if under devices or char devices... search it) then disable RTC support, rebuild & install kernel and you're done. most distro have RTC enabled by default. matteo. Il mer, 2004-01-07 alle 19:46, Yannick DESSERTENNE ha scritto: > Hi, > > I'm trying to intall zaprtc on my machine (I don't have UHCI_USB nor Zaptel) > > and I have a strange behaviour during loading. > > When I do >make load > I have : > ./zaprtc.o: init_module: Input/ouput error > With a quick dmesg got: > rtc: I/O port 112 in not free > > Is someone have any idea to solve this ? > > I saw on the README file that rtc support should not be enabled in the > kernel, > but I don't know how to verify/modify that... > > Best regards, > > Yannick > > > ___ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users -- Brancaleoni Matteo <[EMAIL PROTECTED]> Espia - Emmegi Srl ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] zaprtc install problem
Hi, I'm trying to intall zaprtc on my machine (I don't have UHCI_USB nor Zaptel) and I have a strange behaviour during loading. When I do >make load I have : ./zaprtc.o: init_module: Input/ouput error With a quick dmesg got: rtc: I/O port 112 in not free Is someone have any idea to solve this ? I saw on the README file that rtc support should not be enabled in the kernel, but I don't know how to verify/modify that... Best regards, Yannick ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Zaprtc compile error - virtual device for conferencing
- Original Message - From: "Kannaiyan Natesan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 18, 2003 9:52 AM Subject: [Asterisk-Users] Zaprtc compile error - virtual device for conferencing > Hi, > >I don't have a zaptel device for conferencing. >I read from the lists, that > > ztdummy and zaprtc need to be installed to get conferencing. > > I could able to compile successfully with ztdummy and when i receive the > call it says, > > -- Goto (13732,s,1) > -- Executing MeetMe("SIP/-08118800", "1234") in new stack > == Parsing '/etc/asterisk/meetme.conf': Found > WARNING[245776]: File app_meetme.c, Line 162 (build_conf): Unable to open > pseudo channel > -- Playing 'conf-invalid' (language 'en') > > i read from the lists, that I need to install zaprtc to solve this > problem. > > when i try to compile zaprtc, which i got from > > http://www.junghanns.net/asterisk/downloads/zaprtc.0.0.1.tar.gz > > It gives me the following error, > > zaprtc.c:1077: warning: implicit declaration of function `barrier' > zaprtc.c:1078: warning: implicit declaration of function `cpu_relax' > zaprtc.c: At top level: > zaprtc.c:109: storage size of `rtc_irq_timer' isn't known > zaprtc.c:719: storage size of `rtc_fops' isn't known > zaprtc.c:107: warning: `DECLARE_WAIT_QUEUE_HEAD' declared `static' but never > defined > make: *** [zaprtc.o] Error 1 > > Can anyone please guide me how to compile zaprtc. > > Did you modprobe ztdummy? It should return nothing(successfully). Confirm that it is loaded with lsmod. You'll also need to put that line in an init script so that it gets loaded into memory again when you reboot. ztdummy and zaprtc serve the same purpose, but go about it different ways. They both provide a timing source. ztdummy uses info from the USB bus. zaprtc uses the realtime clock of your pc. - Andrew Thompson http://aktzero.com/ Your eyes are weary from staring at the CRT. You feel sleepy. Notice how restful it is to watch the cursor blink. Close your eyes. The opinions stated above are yours. You cannot imagine why you ever felt otherwise. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Zaprtc compile error - virtual device for conferencing
Hi, I don't have a zaptel device for conferencing. I read from the lists, that ztdummy and zaprtc need to be installed to get conferencing. I could able to compile successfully with ztdummy and when i receive the call it says, -- Goto (13732,s,1) -- Executing MeetMe("SIP/-08118800", "1234") in new stack == Parsing '/etc/asterisk/meetme.conf': Found WARNING[245776]: File app_meetme.c, Line 162 (build_conf): Unable to open pseudo channel -- Playing 'conf-invalid' (language 'en') i read from the lists, that I need to install zaprtc to solve this problem. when i try to compile zaprtc, which i got from http://www.junghanns.net/asterisk/downloads/zaprtc.0.0.1.tar.gz It gives me the following error, zaprtc.c:1077: warning: implicit declaration of function `barrier' zaprtc.c:1078: warning: implicit declaration of function `cpu_relax' zaprtc.c: At top level: zaprtc.c:109: storage size of `rtc_irq_timer' isn't known zaprtc.c:719: storage size of `rtc_fops' isn't known zaprtc.c:107: warning: `DECLARE_WAIT_QUEUE_HEAD' declared `static' but never defined make: *** [zaprtc.o] Error 1 Can anyone please guide me how to compile zaprtc. Thanks in advance. Best Regards, Kannaiyan ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users