Package: util-linux
Version: 2.12r-19
Followup-For: Bug #411888

I found this on my new laptop, where I decided to use localtime for the
hwclock due to some other installed OS.

I found that if I run hwclock before udev is started, everything works just 
fine, but after udev is started, I need to add --directisa to the hwclock-call. 

[EMAIL PROTECTED]:/etc/rcS.d$ time sudo hwclock -r -D
hwclock from util-linux-2.12r
Using /dev/rtc interface to clock.
Last drift adjustment done at 1156000000 seconds after 1969
Last calibration done at 1156000000 seconds after 1969
Hardware clock is on UTC time
Assuming hardware clock is kept in UTC time.
Waiting for clock tick...
select() to /dev/rtc to wait for clock tick timed out
...got clock tick

real    0m5.002s
user    0m0.000s
sys     0m0.004s
[EMAIL PROTECTED]:/etc/rcS.d$ time sudo hwclock -r -D --directisa
hwclock from util-linux-2.12r
Using direct I/O instructions to ISA clock.
Last drift adjustment done at 1156000000 seconds after 1969
Last calibration done at 1156000000 seconds after 1969
Hardware clock is on UTC time
Assuming hardware clock is kept in UTC time.
Waiting for clock tick...
...got clock tick
Time read from Hardware Clock: 2007/06/17 21:34:06
Hw clock time : 2007/06/17 21:34:06 = 1182116046 seconds since 1969
søn 17-06-2007 23:34:06 CEST  -0.135078 seconds

real    0m0.140s
user    0m0.140s
sys     0m0.000s


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)

Versions of packages util-linux depends on:
ii  libc6    2.3.6.ds1-13                    GNU C Library: Shared libraries
ii  libncurs 5.5-5                           Shared libraries for terminal hand
ii  libslang 2.0.6-4                         The S-Lang programming library - r
ii  libuuid1 1.39+1.40-WIP-2006.11.14+dfsg-2 universally unique id library
ii  lsb-base 3.1-23.1                        Linux Standard Base 3.1 init scrip
ii  tzdata   2007b-1                         Time Zone and Daylight Saving Time
ii  zlib1g   1:1.2.3-13                      compression library - runtime

util-linux recommends no packages.

-- no debconf information

Reply via email to