Re: [asterisk-users] ztdummy: rtc: lost some interrupts at 1024Hz
Hi JR, Tried with another motherboard: it works!! Tried with Asterisk 1.2 and 1.4: it works!! I cannot still believeit works...IT WORKS!!! Need to make some other tests with other kernels/machines/cards but I'm sure this is the right way! Thank you thank you thank you!!! ::-)) Giorgio. JR Richardson wrote: I'm getting crazy about ztdummy. I have to replicate a PBX where ztdummy is working fine but for some reason I cannot. The two machines have the same kernel, motherboard, the same gcc version and the same zaptel 1.4.8. On the second machine zaptel compiles without errors and ztdummy.ko is generated but when I modprobe it I get the following error in messages: rtc: lost some interrupts at 1024Hz. Since modules sizes are slighly different I copied the working ztdummy on the new machine so the files are the same.nothing changes!! Your mother boards are probably not 100% the same, maybe a chipset is newer and causing an interrupt problem. I've seen this before. Put 'acpi=off' in your kernel boot parameter line in the grub menu.lst like this: title Debian GNU/Linux, kernel 2.6.18-686 root(hd0,0) kernel /boot/vmlinuz-2.6.18--686 root=/dev/sda1 ro acpi=off initrd /boot/initrd.img-2.6.18-686 savedefault Reboot, and that should do it. JR ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ztdummy: rtc: lost some interrupts at 1024Hz.
I remember having that issue once and I fixed it by changing a configuration in the motherboard BIOS. It was related to the SATA hard drive mode it was running on. The default configuration was set to legacy mode I believe and when I changed it to enhanced mode the lost of interrupts problem I was having went away. I had a Supermicro motherboard in case you were curious. Remi Quezada Giorgio Incantalupo wrote: Hi, I'm getting crazy about ztdummy. I have to replicate a PBX where ztdummy is working fine but for some reason I cannot. The two machines have the same kernel, motherboard, the same gcc version and the same zaptel 1.4.8. On the second machine zaptel compiles without errors and ztdummy.ko is generated but when I modprobe it I get the following error in messages: rtc: lost some interrupts at 1024Hz. Since modules sizes are slighly different I copied the working ztdummy on the new machine so the files are the same.nothing changes!! Any help is appreciated. Thank you. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ztdummy: rtc: lost some interrupts at 1024Hz
I'm getting crazy about ztdummy. I have to replicate a PBX where ztdummy is working fine but for some reason I cannot. The two machines have the same kernel, motherboard, the same gcc version and the same zaptel 1.4.8. On the second machine zaptel compiles without errors and ztdummy.ko is generated but when I modprobe it I get the following error in messages: rtc: lost some interrupts at 1024Hz. Since modules sizes are slighly different I copied the working ztdummy on the new machine so the files are the same.nothing changes!! Your mother boards are probably not 100% the same, maybe a chipset is newer and causing an interrupt problem. I've seen this before. Put 'acpi=off' in your kernel boot parameter line in the grub menu.lst like this: title Debian GNU/Linux, kernel 2.6.18-686 root(hd0,0) kernel /boot/vmlinuz-2.6.18--686 root=/dev/sda1 ro acpi=off initrd /boot/initrd.img-2.6.18-686 savedefault Reboot, and that should do it. JR -- JR Richardson Engineering for the Masses ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] ztdummy: rtc: lost some interrupts at 1024Hz.
Hi, I'm getting crazy about ztdummy. I have to replicate a PBX where ztdummy is working fine but for some reason I cannot. The two machines have the same kernel, motherboard, the same gcc version and the same zaptel 1.4.8. On the second machine zaptel compiles without errors and ztdummy.ko is generated but when I modprobe it I get the following error in messages: rtc: lost some interrupts at 1024Hz. Since modules sizes are slighly different I copied the working ztdummy on the new machine so the files are the same.nothing changes!! Any help is appreciated. Thank you. -- _ Giorgio Incantalupo, mailto:[EMAIL PROTECTED] FGA srl - http://www.fgasoftware.com - [EMAIL PROTECTED] - The Agile PBX http://www.voiceatwork.eu Tel: 02997663.14, Fax: 0291390172 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] ztdummy / RTC error
It's taken me about a day just to get ztdummy to compile into a module that the amazon ec2 xen kernel will accept (you have to downgrade the version of gcc among other things), but now I'm getting the following error and I'm stumped: rtc: IRQ 8 is not free. WARNING: Error inserting rtc (/lib/modules/2.6.16.19-xen/kernel/drivers/char/rtc.ko): Input/output error ztdummy: Unknown symbol rtc_register ztdummy: Unknown symbol rtc_unregister ztdummy: Unknown symbol rtc_control FATAL: Error inserting ztdummy (/lib/modules/2.6.16.33-xenU/misc/ztdummy.ko): Unknown symbol in module, or unknown parameter (see dmesg) Any idea where I can go from here? -- Drew Miller Iowa Democratic Party Information Technology Director Office: (515) 974-1682 Cell: (515) 451-4509 AIM: ItsDrewMiller MSN: [EMAIL PROTECTED] ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] ztdummy/rtc
Hello, Maybe I'm missing something here. What is the proper way to use RTC with ztdummy now? I'm using -HEAD from a day or two ago on Linux 2.6.11.11. In zaptel/Makefile, I changed CFLAGS to: CFLAGS+=-I. -O4 -g -Wall -DBUILDING_TONEZONE -DUSE_RTC #-DTONEZONE_DRIVER and I get.. make -C /lib/modules/2.6.11.11/build SUBDIRS=/usr/src/zaptel modules make[1]: Entering directory `/usr/src/linux-2.6.11.11' Building modules, stage 2. MODPOST *** Warning: rtc_unregister [/usr/src/zaptel/ztdummy.ko] undefined! *** Warning: rtc_control [/usr/src/zaptel/ztdummy.ko] undefined! *** Warning: rtc_register [/usr/src/zaptel/ztdummy.ko] undefined! make[1]: Leaving directory `/usr/src/linux-2.6.11.11' when I run make linux26 I would like to compare ztdummy with and without RTC. I will be continuing to muck with the source files, but I don't see what the problem is from here since linux/rtc.h should be included since I am running 2.6 and defined USE_RTC. I checked and /usr/include/linux/rtc.h is there and is the same as the one from 2.6.11.11 sources. Thanks, Kevin Bockman ___ 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