#11400 BLOC 1.75-so: Date resets to 1970 each boot

Zarro Boogs per Child bugtracker at laptop.org
Fri Dec 2 09:24:14 EST 2011

#11400: Date resets to 1970 each boot
           Reporter:  cjb        |       Owner:  martin.langhoff                  
               Type:  defect     |      Status:  closed                           
           Priority:  blocker    |   Milestone:  1.75-software                    
          Component:  kernel     |     Version:  Development build as of this date
         Resolution:  fixed      |    Keywords:                                   
        Next_action:  no action  |    Verified:  0                                
Deployment_affected:             |   Blockedby:                                   
           Blocking:             |  

Comment(by pgf):

 Replying to [comment:26 garysu]:
 > There is a little problem that I cannot test suspend & alarm wake up
 cause of hwclock & "cat /proc/driver/rtc" are different.

 there are two RTC clocks on the system.  rtc0 is used for alarms.   rtc1
 is used for time.  /proc/driver/rtc only represents /dev/rtc0.   if your
 test relies on /proc/driver/rtc, then the test will have to change.  you
 can use /sys/class/rtc1/date and /sys/class/rtc1/time if that is helpful.
 you can also use "hwclock -f /dev/rtc1".

Ticket URL: <http://dev.laptop.org/ticket/11400#comment:27>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system

More information about the Bugs mailing list