bbb ubuntu displays wrong log date

9 views
Skip to first unread message

Henry van Gestel

unread,
Jun 30, 2016, 11:16:31 AM6/30/16
to BeagleBoard
running Ubuntu on my BBB:
ubuntu@ubuntu-armhf:/var/log$ uname -a
Linux ubuntu-armhf 3.14.4.1-bone-armhf.com #1 SMP Tue Jun 3 12:37:22 UTC 2014 armv7l armv7l armv7l GNU/Linux

When I do last I get following output:
ubuntu@ubuntu-armhf:/var/log$ last -x reboot
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 16:49 (16982+14:49
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16982+05:59
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16981+05:59
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16981+05:59
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16980+05:59
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16980+05:59
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16979+05:59
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16979+05:59

thats not what I expect.

The filedate of /var/log/wtmp is correct:

ubuntu@ubuntu-armhf:/var/log$ ls -algtr wtmp
-rw-rw-r-- 1 utmp 239232 Jun 30 15:42 wtmp

The date of the system is also correct:
ubuntu@ubuntu-armhf:/var/log$ date
Thu Jun 30 16:51:43 CEST 2016


What could be the reason of having this output?

Graham

unread,
Jun 30, 2016, 12:43:02 PM6/30/16
to BeagleBoard
A BBB does not know what time it actually is, until it has booted to the point that it can go out on the Internet and get the actual time.
--- Graham

==
Reply all
Reply to author
Forward
0 new messages