openSUSE Forums > Install/Boot/Login » Clock Setting Problem

Go Back   openSUSE Forums > Install/Boot/Login
Forums FAQ Members List Search Today's Posts Mark Forums Read


Install/Boot/Login Questions about installation, login, boot issues, partitioning, file systems, software that runs at boot (GRUB, LILO, boot scripts)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-Nov-2009, 02:34
Puzzled Penguin
 
Join Date: Nov 2009
Posts: 3
PrakashC hasn't been rated much yet
Default Clock Setting Problem

Open SUSE 11.2 Milestone -
I have installed Dual Boot (through Grub), Windows Vista and Linux (now Open Suse 11.2 Milestone)

I have run into a problem with the clock. Under environment, I have set the hardware clock time to local time, Time Zone to (Asia/Kolkata) and the Default Time Zone also to Asia/Kolkata. Each time I boot in the clock goes back by 5 Hrs 30 min.

My observations are:

a) UTC off (i.e. hardware clock set to local time, Time Zone (Asia Kolkata) and default Time Zone any the clock goes slow by 5:30 Hrs.

b) Hardware clock set to -u, the clock goes ahead by 11:00 Hrs.

c) A check of the boot log shows the point at which the clock is being reset while booting :
“<notice -- Oct 30 21:54:50.548956000> service boot.clock startSet System Time to the current Hardware Clockdone
<notice -- Oct 30 16:24:50.704945000> service boot.clock done”
The command comes from the file etc/boot.d/K02boot.clock.

There is obviously a bug in this file or one of the files it calls up.

Makes no difference whether I am on line (Broad Band) or operating as stand alone.

At the moment I resort to resetting the time each time I start SUSE 11.2.
Reply With Quote
  #2 (permalink)  
Old 03-Nov-2009, 06:46
Knurpht's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: groningen, netherlands
Posts: 1,804
Knurpht 's reputation will be famous soon enoughKnurpht 's reputation will be famous soon enoughKnurpht 's reputation will be famous soon enough
Default Re: Clock Setting Problem

Welcome to the forum !!!!

First: there should be some setting to get it right, better is to use NTP. NTP can be configured from Yast, and syncs your system's time from a time-server.
__________________
- AMD Athlon X2 6.0 GHz, 8 GB DDR2-800, 30 GB SSD, 1.5 TB, EVGA 9800GT, openSUSE 11.2 KDE4 4.3.3
- ASUS K70IO laptop, GT120M-1GB, 4 GB, 64 GB SSD, opensuse Factory, KDE4 4.3.3

R.E.S.T.E.C.P.
Reply With Quote
  #3 (permalink)  
Old 03-Nov-2009, 08:06
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,683
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
Default Re: Clock Setting Problem

Quote:
Originally Posted by PrakashC
Open SUSE 11.2 Milestone -
I have installed Dual Boot (through Grub), Windows Vista and Linux (now
Open Suse 11.2 Milestone)

I have run into a problem with the clock. Under environment, I have
set the hardware clock time to local time, Time Zone to (Asia/Kolkata)
and the Default Time Zone also to Asia/Kolkata. Each time I boot in the
clock goes back by 5 Hrs 30 min.

My observations are:

a) UTC off (i.e. hardware clock set to local time, Time Zone (Asia
Kolkata) and default Time Zone any the clock goes slow by 5:30 Hrs.

b) Hardware clock set to -u, the clock goes ahead by 11:00 Hrs.

c) A check of the boot log shows the point at which the clock is being
reset while booting :
“<notice -- Oct 30 21:54:50.548956000> service boot.clock startSet
System Time to the current Hardware Clockdone
<notice -- Oct 30 16:24:50.704945000> service boot.clock doneâ€
The command comes from the file etc/boot.d/K02boot.clock.

There is obviously a bug in this file or one of the files it calls up.

Makes no difference whether I am on line (Broad Band) or operating as
stand alone.

At the moment I resort to resetting the time each time I start SUSE
11.2.
Hi and welcome to the forum

What milestone, this was a known bug from a few milestones ago.
http://forums.opensuse.org/pre-relea...s-a7k-esp.html

Run mkinitrd as root user and all should be fine.

You could look at installing RC2 or wait until next week for the
release.....

PS: since it's a pre-release/beta you should post issue in
http://forums.opensuse.org/pre-release-beta/

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 10:41, 2 users, load average: 0.02, 0.06, 0.11
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

Reply With Quote
  #4 (permalink)  
Old 04-Nov-2009, 07:52
Puzzled Penguin
 
Join Date: Nov 2009
Posts: 3
PrakashC hasn't been rated much yet
Default Re: Clock Setting Problem

Sorry mkinitrd doesnt solve the problem.

PrakashC
Reply With Quote
  #5 (permalink)  
Old 05-Nov-2009, 04:17
Puzzled Penguin
 
Join Date: Nov 2009
Posts: 3
PrakashC hasn't been rated much yet
Default Re: Clock Setting Problem

I had been resigned to live with the clock problem till the Final Release (in a few day?). However, yesterday, I ran the online update and noticed that one of the packages updated was mkinitrd. Obviously the next step was to run mkinitrd as root. And that did the trick. Thanks.

PrakashC
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

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




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2