LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   System Clock is Wrong: It times out when trying to save/load (https://www.linuxquestions.org/questions/linux-newbie-8/system-clock-is-wrong-it-times-out-when-trying-to-save-load-607205/)

Virtuality 12-16-2007 07:58 PM

System Clock is Wrong: It times out when trying to save/load
 
Code:

Tue Dec 11 03:55:50 2007: Setting the system clock..
Tue Dec 11 03:55:55 2007: select() to /dev/rtc to wait for clock tick timed out

Anyone know how to fix this?

Has a similar error about timing out when shutting down but uh, I don't know where to find/enable my shutdown logs :P

Simon Bridge 12-17-2007 01:55 AM

How are you setting the clock?

http://www.debianhelp.org/node/6123
http://thinkhole.org/wp/2006/04/13/c...ick-timed-out/
http://linux.derkeiler.com/Mailing-L...5-04/4968.html

doc.nice 12-17-2007 07:09 AM

this may be a problem with SMP-Kernels (Mutlicore) and the RTC-Module.
1. call hwclock, this will reproduce the error.
2. call modprobe -r rtc
3. recall hwclock, now the clock can be read
4. wait for a reolution here...
5. inform me ;)

Virtuality 12-17-2007 05:19 PM

Fixed by editing /etc/init.d/hwclock.sh with ' hwclock --localtime --directisa ' (added --directisa)

'HWCLOCKPARS="--directisa"' (added "--directisa")

Make sure 'UTC=no'in /etc/default/rcS


All times are GMT -5. The time now is 11:40 AM.