Package: util-linux Version: 2.13-10 Severity: normal Due to a problem[1] with the kernel implementation of /dev/rtc on my laptop, hwclock cannot set the time here:
[EMAIL PROTECTED]:~# hwclock
select() to /dev/rtc to wait for clock tick timed out
However the --directisa option works:
[EMAIL PROTECTED]:~# hwclock --directisa
Mon Nov 5 13:35:06 2007 -0.543591 seconds
The manual page for hwclock says about --directisa:
> This option tells hwclock to use explicit I/O instructions to access
> the Hardware Clock. Without this option, hwclock will try to use
> the /dev/rtc device (which it assumes to be driven by the rtc device
> driver). If it is unable to open the device (for read), it will use
> the explicit I/O instructions anyway.
Obviously this is not true in all cases, since hwclock cannot set the
time properly unless run with --directisa on my machine. Please fix
either the manual page or hwclock (preferably hwclock should use
directisa when /dev/rtc isn't available).
1. http://bugzilla.kernel.org/show_bug.cgi?id=7014
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages util-linux depends on:
ii libc6 2.6.1-6 GNU C Library: Shared libraries
ii libncurses5 5.6+20071013-1 Shared libraries for terminal hand
ii libselinux1 2.0.15-2+b1 SELinux shared libraries
ii libslang2 2.0.7-5 The S-Lang programming library - r
ii libuuid1 1.40.2-1 universally unique id library
ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip
ii tzdata 2007h-2 time zone and daylight-saving time
ii zlib1g 1:1.2.3.3.dfsg-7 compression library - runtime
--
bye,
pabs
http://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part

