LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-19-2008, 10:24 AM   #1
okar
LQ Newbie
 
Registered: Apr 2008
Posts: 16

Rep: Reputation: 0
setting up time


hi,
I have to change the time of my distribution.
using date is no problem but after each reboot it is set back to the wrong time.

the problem is that
Code:
hwclock --systohc
results in the following:
Code:
select() to /dev/rtc to wait for clock tick timed out
does anyone know how to solve this issue.

(it's a fresh debian 4.0r3 installation)

thx
 
Old 04-19-2008, 10:40 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
You can try the option --directisa, which on some machines is able to pass explicit instructions to the hardware clock without passing through the /dev/rtc device. If it works for you, you can specify this option in /etc/sysconfig/clock as
Code:
CLOCKFLAGS="--directisa"
 
Old 04-19-2008, 10:46 AM   #3
okar
LQ Newbie
 
Registered: Apr 2008
Posts: 16

Original Poster
Rep: Reputation: 0
I have found this bug report:
http://lists.debian.org/debian-kerne.../msg00397.html
now I have added HWCLOCKPARS="--directisa"
to /etc/default/rcS

which seems to be the debian equivalent, at least its working
ty
 
Old 04-19-2008, 10:52 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Well done!
 
  


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
Setting Time Verbal Kint Linux - General 5 01-31-2008 06:46 AM
Setting System Time: kernel in wrong time zone warrenweiss Linux - General 7 05-15-2004 03:25 PM
setting time vwal_13 Slackware 2 04-19-2004 11:40 AM
Time setting problem guygriffiths Linux - Software 3 11-21-2003 05:02 AM
Setting Time monte Linux - Software 4 08-05-2003 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:38 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration