<div>The problem is with my new machine's hardware clock, which was running twice as fast as normal(bios bug). After searching through google the fix for it I could find is to disable apic in bios.<br> </div>
<div>This is my machine configuration:</div>
<div>HP a1230n<br>ATI XPress chipset<br>AMD Athlon 64 X2 3700+<br>ATI X800 XL<br>Linux kernel 2.6.11-1.1369_FC4</div>
<div> </div>
<div>basically added "noapic acpi=noirq" in grub kernel option</div>
<div>
<p>i.e in /etc/grub.etc append "noapic acpi=noirq" for kernel</p>
<p><em>kernel /boot/vmlinuz-<a href="http://2.6.15.1">2.6.15.1</a> ro root=LABAL=/ rhgb quiet <strong>noapic acpi=noirq</strong></em></p></div>
<div>After reboot of machine clock was normal.</div>
<div>Nitin<br> </div>
<div><span class="gmail_quote">On 2/12/06, <b class="gmail_sendername">Tamas</b> <<a href="mailto:jalsot@gmail.com">jalsot@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Hi,<br><br>how did you come to that? :)<br>How did you fix it?<br><br>Regards,<br> Tamas<br><br>Nitin Gupta wrote:
<br>> got the answer ---- the gettimeofday() is twice as fast as the one in<br>> older box, problem with system clock.<br>><br>> Nitin<br>><br>><br>> On 2/12/06, *Nitin Gupta* <<a href="mailto:niting@gmail.com">
niting@gmail.com</a> <mailto:<a href="mailto:niting@gmail.com">niting@gmail.com</a>>><br>> wrote:<br>><br>> well if I pass the parameter as whennext/4 instead of whennext/8<br>> in file.c => ast_readaudio_callback() =>
<br>> ast_sched_add( .....,whennext/4,...)<br>> things start working fine.<br>><br>> I debugged the sched.c and time.c didn't find why this should happen.<br>> Since the scheduler calculates time-interval and keeps schedule
<br>> queue item wrt timeval struct, so changing the machine clock<br>> frequency as long as gettimeofday() returns the same value should<br>> not matter.<br>><br>> I compared the whennext value in my new machine with the one in
<br>> old machine where asterisk as it is works fine - the values in<br>> both machine are same.<br>><br>> Anyone willing to debug things further??<br>><br>> Nitin<br>><br>><br>>
<br>> On 2/12/06, *Nitin Gupta* <<a href="mailto:niting@gmail.com">niting@gmail.com</a><br>> <mailto:<a href="mailto:niting@gmail.com">niting@gmail.com</a>>> wrote:<br>><br>> sorry can you elaborate a little, what exactly is timing issue?
<br>> Thanks<br>><br>><br>> On 2/12/06, *Martin Joseph* <<a href="mailto:ast@stillnewt.org">ast@stillnewt.org</a><br>> <mailto:<a href="mailto:ast@stillnewt.org">ast@stillnewt.org
</a>>> wrote:<br>><br>><br>> On Feb 12, 2006, at 1:05 AM, Nitin Gupta wrote:<br>><br>> > Sorry for re-posting this message -<br>> > Iam trying to run the latest stable Asterix version
<br>> 1.2.4. on 64 bit<br>> > amd procesor.<br>> > Things are working but the playback sounds that I hear<br>> when tring to<br>> > connect over IAX are of very high frequency.
<br>> > i.e a sentence which should finish in 4 secs finishes in<br>> much lesser<br>> > time. Where can be the problem? any configuration issue?<br>> >
<br>> A timing issue with your linux distro? Whatever that is....<br>><br><br></blockquote></div><br>