The "hwclock" command times out (output listed below). I'm running
Ubuntu Lucid 10.04 on Beagleboard rev C4 with no zippy board and
backup battery installed. Any idea why it times out on "select" call
(strace output listed below)? Is there a tarball of SDcard image that
I can try out to see hwclock actually works on my board?
Thanks,
root@beagleboard:~# hwclock -Dr
hwclock from util-linux-ng 2.17.2
Using /dev interface to clock.
Assuming hardware clock is kept in local time.
Waiting for clock tick...
select() to /dev/rtc0 to wait for clock tick timed out
...synchronization failed
root@beagleboard:~# dmesg|grep -i rtc
[ 0.000000] Kernel command line: console=ttyS2,115200n8
console=tty0 root=/dev/mmcblk0p2 rootwait ro vram=12MB omapfb.mode=dvi:
1280x720MR-16@60 fixrtc buddy=unknown mpurate=720
[ 12.619781] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[ 12.753570] twl_rtc twl_rtc: Enabling TWL-RTC.
root@beagleboard:~# uname -a
Linux beagleboard 2.6.35.6-l5 #1 PREEMPT Mon Sep 27 15:05:25 UTC 2010
armv7l GNU/Linux
root@beagleboard:~# lsmod|grep rtc
rtc_twl 5306 0
rtc_core 18220 1 rtc_twl
root@beagleboard:~# strace hwclock
:
:
open("/dev/rtc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
open("/dev/rtc0", O_RDONLY|O_LARGEFILE) =
3
stat64("/etc/adjtime", 0xbee7a2b0) = -1 ENOENT (No such file or
directory)
ioctl(3, RTC_UIE_ON, 0) =
0
select(4, [3], NULL, NULL, {5, 0}) = 0
(Timeout)
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/util-linux-ng.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/util-linux-ng.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
:
: