[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

hwclock not working on 2.1 kernels



Hi,

Using 2.1 kernels breaks hwclock on my alpha XL300.
The hwclock.sh script only works about 1 out of 20 times.

The output I get most of the time:
  # hwclock --hctosys --utc --debug
  Using /dev/rtc interface to clock.
  Waiting for clock tick...
(nothing happens until I press ctrl-c)

The output I get if I'm lucky:
  # hwclock --hctosys --utc --debug
  Using /dev/rtc interface to clock.
  Waiting for clock tick...
  ...got clock tick
  Time read from Hardware Clock: 23:11:38
  Hw clock time : 23:11:38 = 911603498 seconds since 1969
  Calling settimeofday:
          tv.tv_sec = 911603498, tv.tv_usec = 0
(everything is fine, clock is set correctly)

I have RTC support compiled in the kernel, and a read-write /dev/rtc.
hwclock works ok with the 2.0.35 kernel on the rescue disk.

Anyone knows what's wrong?

Thanks,

Henk-Jan.


Reply to: