Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Clock goes twice fast as a normal one
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Mod^
n00b
n00b


Joined: 07 Apr 2005
Posts: 14
Location: /dev/EU/Finland

PostPosted: Thu Mar 02, 2006 7:11 pm    Post subject: Clock goes twice fast as a normal one Reply with quote

Ok, my problem is that my system's clock goes twice as fast as a normal one, which is really odd. and I do not have NTP or any other installed.

edit: Ok, I realised that most of the things are x2 faster than usually, like Xine when I tried to play a movie, the framerate were faster, and amarok plays songs too fast too.

/etc/conf.d/clock

Code:
# /etc/conf.d/clock

# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# Greenwich Mean Time).  If your clock is set to the local time, then
# set CLOCK to "local".  Note that if you dual boot with Windows, then
# you should set it to "local".

CLOCK="UTC"
#CLOCK="local"
# If you wish to pass any other arguments to hwclock during bootup,
# you may do so here.

CLOCK_OPTS=""

# If you want to set the Hardware Clock to the current System Time
# during shutdown, then say "yes" here.

CLOCK_SYSTOHC="no"


### ALPHA SPECIFIC OPTIONS ###

# If your alpha uses the SRM console, set this to "yes".
SRM="no"

# If your alpha uses the ARC console, set this to "yes".
ARC="no"
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Thu Mar 02, 2006 8:06 pm    Post subject: Reply with quote

Which kernel version ? You can try to upgrade to 2.6.15, they fixed a few "fast clock" problems. Also which CPU and chipset (ATI chipsets have weird interrupt routing problems, and Athlon X2 CPUs have unsynced TSCs, both of which can cause strange clock problems) ?
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Fri Mar 03, 2006 4:55 am    Post subject: Reply with quote

I have this problem too, but when i try to upgrade then i dont have network connection, even if i use the same config :?
Back to top
View user's profile Send private message
Mod^
n00b
n00b


Joined: 07 Apr 2005
Posts: 14
Location: /dev/EU/Finland

PostPosted: Fri Mar 03, 2006 6:57 am    Post subject: Reply with quote

zietbukuel wrote:
I have this problem too, but when i try to upgrade then i dont have network connection, even if i use the same config :?


I had the same problem some time ago, I compiled the drivers into kernel, not as modules, then it worked.

Now I have 2.6.14-hardened-r5.. so prolly should update it today.


edit:

The kernel update did not work,

uname -a
2.6.15-gentoo-r5 #1 SMP Fri Mar 3 14:36:21 EET 2006 i686 AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Fri Mar 03, 2006 3:08 pm    Post subject: Reply with quote

This problem came when i stop overclocking my pc... weird... :?
Back to top
View user's profile Send private message
jbinto
n00b
n00b


Joined: 21 Aug 2005
Posts: 74

PostPosted: Sat Mar 04, 2006 6:16 am    Post subject: Reply with quote

I have this problem on a Compaq Presario v2405.

Although a BIOS flash is available to address this problem, I've just been appending noapic to my kernel options and that has fixed it. No need for me to flash.
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Sat Mar 04, 2006 7:02 am    Post subject: Reply with quote

jbinto wrote:
I have this problem on a Compaq Presario v2405.

Although a BIOS flash is available to address this problem, I've just been appending noapic to my kernel options and that has fixed it. No need for me to flash.


I have noapic, but it's not helping :(
Back to top
View user's profile Send private message
halfgaar
l33t
l33t


Joined: 22 Feb 2004
Posts: 781
Location: Netherlands

PostPosted: Sat Mar 04, 2006 12:14 pm    Post subject: Reply with quote

I have this problem with Unreal Tournament when I enable Cool'n'Quiet. The CPU first runs at 1000 MHz, then the game starts, it does some kind of timing still using the 1000 MHz clock, and then when the clock is increased, UT suddenly speeds up enormously.

Does disabling Cool'n'Quiet help? If you have the "performance" governor compiled in your kernel, you can do:

Code:
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor


Which will set the CPU at max speed at all times.

widan wrote:
and Athlon X2 CPUs have unsynced TSCs, both of which can cause strange clock problems


I use NTP, so I don't know if I suffer from this with my X2, but is there a fix for it? Perhaps, solving my UT problem as well?
Back to top
View user's profile Send private message
Mod^
n00b
n00b


Joined: 07 Apr 2005
Posts: 14
Location: /dev/EU/Finland

PostPosted: Sat Mar 04, 2006 1:47 pm    Post subject: Reply with quote

I used "disable_timer_pin_1" as grub's parameter, that works too.

I have Athlon64/Opteron
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Sat Mar 04, 2006 2:28 pm    Post subject: Reply with quote

halfgaar wrote:
widan wrote:
and Athlon X2 CPUs have unsynced TSCs, both of which can cause strange clock problems

I use NTP, so I don't know if I suffer from this with my X2, but is there a fix for it? Perhaps, solving my UT problem as well?

Kernel 2.6.15 already has the fix (using ACPI PM timer instead of TSC for kernel timekeeping). For older kernels, you can add "notsc" to the kernel parameters.
Back to top
View user's profile Send private message
halfgaar
l33t
l33t


Joined: 22 Feb 2004
Posts: 781
Location: Netherlands

PostPosted: Sat Mar 04, 2006 2:38 pm    Post subject: Reply with quote

I have kernel 2.6.15, so I guess I'm OK.

BTW, in case anyone was wondering, it doesn't fix my UT problem :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum