Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52940 - BIOS clock is set to system time of last shutdown on boot
Summary: BIOS clock is set to system time of last shutdown on boot
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-03 20:30 UTC by n0ne
Modified: 2004-09-25 20:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description n0ne 2004-06-03 20:30:54 UTC
when i boot my toshiba satellite 1105 the BIOS clock is set to the time of the last system time of linux running.  if i shutdown june 1 2004 at 13:24:42 and i boot my laptop into linux on june 3 2004 at 17:43:52 the BIOS clock and system clock start at june 1 2004 at 13:24:42.

Reproducible: Always
Steps to Reproduce:
1.check time in bios
2.boot linux 
3.kill power in any way
4.wait any amount of time
5.check bios time again
5.boot linux hwclock and date both show date and time ~when the shutdown/system kill happened

Actual Results:  
the bios clock is set to the "system time" on boot

Expected Results:  
BIOS clock should not change on boot 

durring boot up VT0 sayes setting the system time to what is stored in the bios
while it is doing just the oppisite
Comment 1 Cameron Crothers 2004-06-08 00:00:01 UTC
This sounds alot like my proble with my dual boot system with my rc.conf set to "local"

If this is the case try running

hwclock --localtime
Comment 2 n0ne 2004-06-08 20:35:57 UTC
when i run hwclock --localtime first thing on boot up it is the same as system time.
but system time is the time of when i shutdown linux and the time date that is saved at shutdown. if i dont shutdown properly it is the time and date of the last sucessful shutdown
and yes i have rc.conf set to "local".  i don't know if it matters but i know in my dmesg it desplayes...
ACPI-0179: *** Warning: The ACPI AML in your computer contains errors, please nag the manufacturer to correct it.
    ACPI-0182: *** Warning: Allowing relaxed access to fields; turn on CONFIG_ACPI_DEBUG for details.
Comment 3 n0ne 2004-07-03 13:58:56 UTC
well i booted up today and i was shocked to find my system time was set right i havent canged any thing that i can rember. i dont even think i have synced in a wile... but it was set right before i rdate ran so i guess if fixed itself
Comment 4 n0ne 2004-09-25 20:45:25 UTC
for some reasion it just works now so im closing the bug