LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
LinkBack Search this Thread
Old 10-12-2005, 10:41 AM   #1
carbono
LQ Newbie
 
Registered: May 2004
Location: Quebec City, Canada
Distribution: RH9, Fedora Core 1
Posts: 10

Rep: Reputation: 0
Not unknown problem with /dev/rtc


Dear Linux community,

I have a problem with the clock on my desktop (Debian 2.4.27-2-386). Every time I boot up, my computer has its local time set to 4 hours late, relative to the actual time. If I:
Code:
hwclock --show
I get:
Code:
select() to /dev/rtc to wait for clock tick timed out
I changed the local time using the GUI (Adjust Date & Time, in Gnome) and then I tried:
Code:
hwclock --systohc
I got the same "seletc() ..." message.

I googled and find a few solution to this problem but none specific to Debian.

When I reboot, I can read that the system time tries to take the hardware time as a reference but fails (i.e. same "select() ..." message). But yet, I can read that the system time is set right. Then, after some other messages on the boot screen, it retries to adjust to the hardware time, again without success and with the same "select() ..." message. And then I can finally read that the system time is set wrong (i.e. 4 hours late).

How do I fix that? I could post the bootup messages but I don't know how or where to get them

Thanks for ideas.

Gui
 
Old 10-13-2005, 08:04 AM   #2
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 600

Rep: Reputation: 49
Is that some kind of an unusual hardware you have? It looks like linux is not able to read/write to your hardware clock.
If you have network connectivity, you could forget the hardware clock and use NTP protocol to synchronize time.
Install 'ntp-*' packages using aptitude and your clock will be synchronized up to a milisecond.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
missing /dev/rtc meres Linux - General 7 10-17-2005 01:37 PM
/dev/rtc problem with gmplayer on Slackware 10 alagenchev Linux - Software 29 07-18-2005 01:31 PM
mplayer: failed to open /dev/rtc no such device darkleaf Linux - Software 2 02-18-2005 05:07 PM
Share interrupts with /dev/rtc (IRQ 8) godOfThunder Linux - Software 1 08-03-2004 12:36 AM
/dev/rtc not currently available in VMWARE, Mandrake 9.2 Guitarist88 Linux - Software 1 04-11-2004 01:54 PM


All times are GMT -5. The time now is 07:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration