Package: util-linux
Version: 2.13-3
Severity: normal

hwclock --rtc is ineffective for me. I use kernel 2.6.22 and the new RTC
infrastructure. I have /dev/rtc0 and no /dev/rtc. So I can not use hwclock
without creating a symlink to /dev/rtc.

$ sudo hwclock --systohc --rtc=/dev/rtc0 
hwclock: open() of /dev/rtc failed, errno=2: No such file or directory.

As root:

$ strace -f -s 4096 -e open hwclock --rtc=/dev/rtc0 --systohc
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/i686/cmov/libc.so.6", O_RDONLY) = 3
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
open("/dev/rtc0", O_RDONLY|O_LARGEFILE) = 3
open("/etc/adjtime", O_RDONLY|O_LARGEFILE) = 3
open("/dev/rtc", O_RDONLY|O_LARGEFILE)  = -1 ENOENT (No such file or
directory)
hwclock: open() of /dev/rtc failed, errno=2: No such file or directory.
Process 2842 detached


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages util-linux depends on:
ii  libc6                   2.6.1-2          GNU C Library: Shared libraries
ii  libncurses5             5.6+20070908-1   Shared libraries for terminal hand
ii  libselinux1             2.0.15-2+b1      SELinux shared libraries
ii  libslang2               2.0.7-4          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                  2007g-1          time zone and daylight-saving time
ii  zlib1g                  1:1.2.3.3.dfsg-5 compression library - runtime

util-linux recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to