[Asterisk-Users] Problem with Playback sound in 64 bit machine
Nitin Gupta
niting at gmail.com
Sun Feb 12 17:11:31 MST 2006
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
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 <jalsot at gmail.com> 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* <niting at gmail.com <mailto:niting at gmail.com>>
> > 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* <niting at gmail.com
> > <mailto:niting at gmail.com>> wrote:
> >
> > sorry can you elaborate a little, what exactly is timing issue?
> > Thanks
> >
> >
> > On 2/12/06, *Martin Joseph* <ast at stillnewt.org
> > <mailto:ast at stillnewt.org>> 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....
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060212/3e988530/attachment.htm
More information about the asterisk-users
mailing list