Dec 15, 2012

openSUSE Forums: Yet another problem of the wrong time after start-up

openSUSE Forums
openSUSE Forums
Yet another problem of the wrong time after start-up
Dec 15th 2012, 21:10

We assume I turned on my laptop at around 10:30. Then the clock says the wrong time:
Code:

$ date ; uptime
Sat Nov 10 00:47:38 CET 2012
 00:47  up  0:02,  3 users,  load average: 5.64, 2.46, 0.94

The wrong time is almost same as the time when I turned off the laptop. After around 20 minutes, the clock says the correct time. (Maybe ntp makes it correct.)

I expected that this phenomena will not happen after applying updates, but it still occurs.

Can anyone have an idea to solve this problem? If you need additional information, please let me know.


Remark 1) Windows is also installed on the laptop, but it hardly ever boots, so I do not think that Windows relates to the problem.

Remark 2) After start-up, the clock often says the time when I turned off my laptop. But sometimes it says quite strange time (for example, around 90 minutes before, etc.). So I don't think that this problem relates to the settings for the time zone.

Remark 3) I found several thread which deal with similar problems. For example,
https://forums.opensuse.org/english/...er-reboot.html
The solution given in the above thread is: rm /etc/adjtime & mkinitrd. But this doesn't solve my problem.

Remark 4) I thought the hwclock gave some hint, but it is also not working:
Code:

$ sudo /sbin/hwclock --systohc --localtime
hwclock: select() to /dev/rtc to wait for clock tick timed out: No such file or directory
$ sudo /sbin/hwclock --debug
root's password:
hwclock from util-linux 2.21.2
Using /dev interface to clock.
Last drift adjustment done at 1355577328 seconds after 1969
Last calibration done at 1355577328 seconds after 1969
Hardware clock is on local time
Assuming hardware clock is kept in local time.
Waiting for clock tick...
hwclock: select() to /dev/rtc to wait for clock tick timed out: No such file or directory
...synchronization failed

Remark 5) Setting in /etc/sysconfig/clock
Code:

$ grep -v \# /etc/sysconfig/clock

SYSTOHC=""
FORCE_SYSTOHC="no"
BADYEAR="no"
HCTOSYS_DEVICE=""
USE_HWCLOCK="yes"
USE_ADJUST="no"

TIMEZONE="Europe/Berlin"
DEFAULT_TIMEZONE="US/Eastern"

Remark 6) /dev/rtc and /dev/rtc0 exist
Code:

$ ls -l /dev/rtc*
lrwxrwxrwx 1 root root      4 Dec 15 20:16 /dev/rtc -> rtc0
crw------- 1 root root 254, 0 Dec 15 20:16 /dev/rtc0

Remark 7) The current version of openSUSE is 12.2.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

No comments: