LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-16-2014, 07:07 AM   #1
SolusUmbra
LQ Newbie
 
Registered: Mar 2014
Posts: 16

Rep: Reputation: Disabled
BIOS clock


I didn't know if this needed to go under hardware or software so I put it in this forum. I have noticed that ever since I installed Linux Lite that my BIOS clock keeps changing. I have looked around online and found that if the date and time where wrong it might be the battery. But my problem is just the time, most of the time it is just the hour. I knew to go look at the BIOS time because I have my computer set up to turn on at a certain time every morning, and wasn't all that happy when it turns on at the wrong time. I have read that it might be a program messing with the BIOS time, or some kind of time zone problem?
 
Old 03-16-2014, 08:56 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
This could be related to a kernel setting that sets the hardware clock whenever an NTP synchronization takes place. It will result in your BIOS clock being set to UTC. Does that match what you're seeing?
 
Old 03-16-2014, 09:03 AM   #3
SolusUmbra
LQ Newbie
 
Registered: Mar 2014
Posts: 16

Original Poster
Rep: Reputation: Disabled
I'm pretty new to Linux so i don't know much about the kennel, however I do have noticed that the time clock on the OS (desktop) does stay correct when the BIOS one changes.
 
Old 03-16-2014, 09:12 AM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
How much off is the BIOS clock? Does it match the difference between UTC and your local time zone?
 
Old 03-16-2014, 09:20 AM   #5
SolusUmbra
LQ Newbie
 
Registered: Mar 2014
Posts: 16

Original Poster
Rep: Reputation: Disabled
My best guess is that it is around 4 hours off so yes I think it matches the different.
 
Old 03-16-2014, 09:26 AM   #6
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
Sounds like the BIOS real-time clock is being set by the kernel. That kernel function doesn't support local time zones, and will always use UTC.

If your distribution contains the file /proc/config.gz (which is a virtual file containing the kernel configuration), the following command should return the relevant settings:
Code:
zcat /proc/config.gz | grep "_RTC.*HC"
Run that command in a terminal window and post the results.

Which distribution are you using?
 
Old 03-16-2014, 09:37 AM   #7
SolusUmbra
LQ Newbie
 
Registered: Mar 2014
Posts: 16

Original Poster
Rep: Reputation: Disabled
Distrabution is Linux Lite

Termainal Window
gzip: /proc/config.gz: No such file or directory
 
Old 03-16-2014, 09:47 AM   #8
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
OK, yet another distribution using a kernel configured not to give out its parameters.

The Linux Lite website is very slick, but basically devoid of any in-depth technical information. I searched through their forums for information about the kernel configuration, but came up empty.

If the kernel is indeed configured to update the BIOS clock (the configuration parameter in question is called CONFIG_RTC_SYSTOHC), there's not much you can do about it short of replacing the kernel.

I suggest you register on the Linux Lite forums and post a question there.
 
Old 03-16-2014, 09:54 AM   #9
SolusUmbra
LQ Newbie
 
Registered: Mar 2014
Posts: 16

Original Poster
Rep: Reputation: Disabled
Alright thanks for all your help.
 
  


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
[SOLVED] Gigabyte BIOS clock is six 6 hours ahead of desktop clock. 1sweetwater! Linux - Desktop 13 04-18-2013 12:48 PM
setting bios clock? skoinga Linux - General 3 09-28-2010 05:32 AM
BYE Clock skew detected. Check the clock on the file server Guardian-Mage Linux - Server 7 04-21-2009 09:48 AM
Setting system date and time affecting the clock and date on BIOS satimis Ubuntu 7 09-21-2007 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:47 PM.

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