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.
This is my machine configuration:
HP a1230n
ATI XPress chipset
AMD Athlon 64 X2 3700+
ATI X800 XL
Linux kernel 2.6.11-1.1369_FC4
ATI XPress chipset
AMD Athlon 64 X2 3700+
ATI X800 XL
Linux kernel 2.6.11-1.1369_FC4
basically added "noapic acpi=noirq" in grub kernel option
i.e in /etc/grub.etc append "noapic acpi=noirq" for kernel
kernel /boot/vmlinuz-2.6.15.1 ro root=LABAL=/ rhgb quiet noapic acpi=noirq
After reboot of machine clock was normal.
Nitin
On 2/12/06, Tamas <[EMAIL PROTECTED]> wrote:
Hi,
how did you come to that? :)
How did you fix it?
Regards,
Tamas
Nitin Gupta wrote:
> got the answer ---- the gettimeofday() is twice as fast as the one in
> older box, problem with system clock.
>
> Nitin
>
>
> On 2/12/06, *Nitin Gupta* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> wrote:
>
> well if I pass the parameter as whennext/4 instead of whennext/8
> in file.c => ast_readaudio_callback() =>
> ast_sched_add( .....,whennext/4,...)
> things start working fine.
>
> I debugged the sched.c and time.c didn't find why this should happen.
> Since the scheduler calculates time-interval and keeps schedule
> queue item wrt timeval struct, so changing the machine clock
> frequency as long as gettimeofday() returns the same value should
> not matter.
>
> I compared the whennext value in my new machine with the one in
> old machine where asterisk as it is works fine - the values in
> both machine are same.
>
> Anyone willing to debug things further??
>
> Nitin
>
>
>
> On 2/12/06, *Nitin Gupta* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> sorry can you elaborate a little, what exactly is timing issue?
> Thanks
>
>
> On 2/12/06, *Martin Joseph* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED] >> wrote:
>
>
> On Feb 12, 2006, at 1:05 AM, Nitin Gupta wrote:
>
> > Sorry for re-posting this message -
> > Iam trying to run the latest stable Asterix version
> 1.2.4. on 64 bit
> > amd procesor.
> > Things are working but the playback sounds that I hear
> when tring to
> > connect over IAX are of very high frequency.
> > i.e a sentence which should finish in 4 secs finishes in
> much lesser
> > time. Where can be the problem? any configuration issue?
> >
> A timing issue with your linux distro? Whatever that is....
>
_______________________________________________ --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
