Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Clock Error!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
grofaz
Guru
Guru


Joined: 18 Sep 2005
Posts: 319

PostPosted: Sun Oct 29, 2006 7:36 pm    Post subject: Clock Error! Reply with quote

Last night we set our clocks back one hour but gentoo still shows the old time and strange things are happening such as windows failing to minimize to the toolbar (I'm running fluxbox).

/etc/conf.d/clock is set to:
Code:
CLOCK="local"


Local time is supposed to be set to Anchorage time but when I view localtime it's a bunch of gibberrish. How do I fix
this??

grofaz

P.S. Another bit of trouble that's been going on since my last gentoo install foray each bootup:

Code:
/dev/hda4:Superblock last write time is in the future. FIXED.
/dev/hda2:Superblock last write time is in the future. FIXED.


What gives??
Back to top
View user's profile Send private message
Rad
Guru
Guru


Joined: 11 Feb 2004
Posts: 401
Location: Bern, Switzerland

PostPosted: Sun Oct 29, 2006 7:50 pm    Post subject: Reply with quote

"ls -la /etc/localtime" should be symlinked (ln -sf) with the correct time zone file in /usr/share/zoneinfo/.

Also, you may have to run an ntp client like "ntpdate" to get the correct time from a time server, or use "date" to set your clock manually.

EDIT: Furthermore, you should put CLOCK_SYSTOHC="yes" or use "hwclock --systohc" if you want the time you just set using *date synchronized to your computer's hardware clock and hence be persistant between reboots.

Your problems with fluxbox are probably not related to this clock issue, whereas the ones related to the message about your filesystem's superblock probably are.
Back to top
View user's profile Send private message
grofaz
Guru
Guru


Joined: 18 Sep 2005
Posts: 319

PostPosted: Sun Oct 29, 2006 8:07 pm    Post subject: Reply with quote

How do I do this:
Code:
"ls -la /etc/localtime" should be symlinked (ln -sf) with the correct time zone file in /usr/share/zoneinfo/.
Back to top
View user's profile Send private message
grofaz
Guru
Guru


Joined: 18 Sep 2005
Posts: 319

PostPosted: Sun Oct 29, 2006 9:20 pm    Post subject: Reply with quote

I did everything listed except the symlink bit and I still get the bootup Superblock errors.

I've never set CLOCK_SYSTOHC="yes" in the past and never had this problem before.

I emerged "netdate" but I have no clue how to set it up properly.

As for fluxbox, issue resolved! :) I must have accidentally selected an unwanted iconbar option.

Now let's fix the time issues... how do I force a file system check at bootup ?? I forgot the command.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum