LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 09-02-2005, 06:15 PM   #1
JohnStormrider
Member
 
Registered: Aug 2005
Posts: 33

Rep: Reputation: 15
Annoing clock problem


I am using SuSE 9.3

My clock counts the seconds way faster then it should so my time is off.

How do I fix it. I am using a Compaq 4000 series Laptop with a AMD64 4000+ processor.
 
Old 09-03-2005, 08:10 AM   #2
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
You have the Network Time Protocol NTP system
or chrony to keep the clock synchronized with time servers via internet connexion.
Make a Google search on 'ntp' and 'chrony' to have detailed infos on these tools.
 
Old 09-03-2005, 09:45 AM   #3
JohnStormrider
Member
 
Registered: Aug 2005
Posts: 33

Original Poster
Rep: Reputation: 15
I have NTP installed. That stuff is not a fix for my problem. It starts up and then my clock is set to the correct time but it counts the seconds to fast so then it is not the correct time. for it to stay the correct time using NTP then it would need to be continuously connected to NTP ecery second that the laptop is powered on. Before when I used fedora I added "no_timer_check" to the kernel line in grub and it worked fine after that, but I tried that in SuSE 9.3 and it does not fix it.
 
Old 09-04-2005, 03:43 AM   #4
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
Personally I use chrony
Here is the description from 'man chrony' :
chrony is a pair of programs for keeping computer clocks
accurate. chronyd is a background (daemon) program and
chronyc is a command-line interface to it. Time reference
sources for chronyd can be RFC1305 NTP servers, human (via
keyboard and chronyc), or the computer's real-time clock
at boot time (Linux only). chronyd can determine the rate
at which the computer gains or loses time and compensate
for it while no external reference is present. Its use of
NTP servers can be switched on and off (through chronyc)
to support computers with dial-up/intermittent access to
the Internet, and it can also act as an RFC1305-compatible
NTP server.

Note in particular "chronyd can determine the rate
at which the computer gains or loses time and compensate
for it while no external reference is present."

With chrony it's not necessary to be continually connected to NTP servers
and it makes correction of the clock speed.

Is this not what you are looking for?
If not, I have not undertood well what you seek
I don't know of the "no_timer_check" option of grub
Good luck
 
Old 09-04-2005, 10:30 AM   #5
JohnStormrider
Member
 
Registered: Aug 2005
Posts: 33

Original Poster
Rep: Reputation: 15
I was just thinking chrony was like the NTP. Thanks.

I am getting an error after make install.

Code:
:/chrony # make install
[ -d /usr/local ] || mkdir -p /usr/local
[ -d /usr/local/sbin ] || mkdir -p /usr/local/sbin
[ -d /usr/local/bin ] || mkdir -p /usr/local/bin
[ -d /usr/local/doc ] || mkdir -p /usr/local/doc
[ -d /usr/local/man/man1 ] || mkdir -p /usr/local/man/man1
[ -d /usr/local/man/man5 ] || mkdir -p /usr/local/man/man5
[ -d /usr/local/man/man8 ] || mkdir -p /usr/local/man/man8
[ -d /usr/local/doc/chrony ] || mkdir -p /usr/local/doc/chrony
if [ -f /usr/local/sbin/chronyd ]; then rm -f /usr/local/sbin/chronyd ; fi
if [ -f /usr/local/bin/chronyc ]; then rm -f /usr/local/bin/chronyc ; fi
cp chronyd /usr/local/sbin/chronyd
chmod 555 /usr/local/sbin/chronyd
cp chronyc /usr/local/bin/chronyc
chmod 555 /usr/local/bin/chronyc
cp chrony.txt /usr/local/doc/chrony/chrony.txt
cp: cannot stat `chrony.txt': No such file or directory
make: *** [install] Error 1
 
Old 09-05-2005, 04:30 AM   #6
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
Have you run
'make docs'
before 'make install' ?
It's important to read the doc to configure and to see how to use this program.
Do the 'make docs' and after the 'make install'

Quote:
If you want to build the manual in plain text, HTML and info
versions, type

make docs

make install

This will install the binaries, plain text manual and manpages.

To install the HTML and info versions of the manual as well, enter
the command

make install-docs

Last edited by berbae; 09-05-2005 at 04:35 AM.
 
Old 09-05-2005, 11:26 AM   #7
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
I think I have misunderstood the problem with the clock being too fast.
Forget the chrony stuff and rather see Novell forum

or another thread

Last edited by berbae; 09-05-2005 at 11:33 AM.
 
Old 09-05-2005, 08:56 PM   #8
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Looks like you have tracked down the problem.Until you patch the kernel or install a new one with the patch to fix it you can change the time manually.You most likely know this but if not here it goes as root;[CODE]
date 090522002005[CODE]
that sets it as Mon Sep 5 22:00 2005
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System clock correct, hardware clock wrong karlovac Linux - General 5 01-16-2009 07:19 PM
Annoing -dist-upgrade SlackerLX Slackware 6 12-11-2004 08:19 AM
I have a very annoing problem... LinuxSeeker Mandriva 4 11-12-2004 03:24 PM
clock problem schurt Linux - Software 1 03-31-2004 01:32 PM
clock problem minor Linux - General 12 10-31-2003 04:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration