LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 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: 608

Rep: Reputation: 50
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



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
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

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

All times are GMT -5. The time now is 03:59 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
Open Source Consulting | Domain Registration