As the subject says, udev doesn't create /dev/rtc on amd64, which
means hwclock fails:
frobnitz:~# hwclock --show --debug
hwclock from util-linux-2.12p
hwclock: Open of /dev/rtc failed, errno=2: No such file or directory.
No usable clock interface found.
Cannot access the Hardware Clock via any known method.
This in turn causes a setting of UTC=no in /etc/default/rcS not to
work.
Creating /dev/rtc by hand allows hwclock to work again.
-- Package-specific info:
-- /etc/udev/rules.d/:
/etc/udev/rules.d/:
total 0
lrwxrwxrwx 1 root root 20 2005-04-09 20:27 020_permissions.rules -> ../permissions.rules
lrwxrwxrwx 1 root root 19 2005-03-24 18:07 cd-aliases.rules -> ../cd-aliases.rules
lrwxrwxrwx 1 root root 13 2005-03-24 18:07 udev.rules -> ../udev.rules
-- /sys/:
/sys/block/hda/dev
/sys/block/ram0/dev
/sys/block/ram10/dev
/sys/block/ram11/dev
/sys/block/ram12/dev
/sys/block/ram13/dev
/sys/block/ram14/dev
/sys/block/ram15/dev
/sys/block/ram1/dev
/sys/block/ram2/dev
/sys/block/ram3/dev
/sys/block/ram4/dev
/sys/block/ram5/dev
/sys/block/ram6/dev
/sys/block/ram7/dev
/sys/block/ram8/dev
/sys/block/ram9/dev
/sys/block/sda/dev
/sys/block/sda/sda1/dev
/sys/block/sda/sda2/dev
/sys/block/sda/sda3/dev
/sys/class/input/event0/dev
/sys/class/input/event1/dev
/sys/class/input/mice/dev
/sys/class/input/mouse0/dev
/sys/class/input/ts0/dev
/sys/class/misc/agpgart/dev
/sys/class/misc/hpet/dev
/sys/class/misc/mcelog/dev
/sys/class/misc/psaux/dev
/sys/class/nvidia/nvidia0/dev
/sys/class/nvidia/nvidiactl/dev
/sys/class/ppp/ppp/dev
/sys/class/printer/lp0/dev
/sys/class/sound/admmidi/dev
/sys/class/sound/adsp/dev
/sys/class/sound/amidi/dev
/sys/class/sound/audio/dev
/sys/class/sound/controlC0/dev
/sys/class/sound/dmmidi/dev
/sys/class/sound/dsp/dev
/sys/class/sound/hwC0D0/dev
/sys/class/sound/hwC0D2/dev
/sys/class/sound/midiC0D0/dev
/sys/class/sound/midiC0D1/dev
/sys/class/sound/midiC0D2/dev
/sys/class/sound/midiC0D3/dev
/sys/class/sound/midi/dev
/sys/class/sound/mixer/dev
/sys/class/sound/pcmC0D0c/dev
/sys/class/sound/pcmC0D0p/dev
/sys/class/sound/pcmC0D1c/dev
/sys/class/sound/pcmC0D2c/dev
/sys/class/sound/pcmC0D2p/dev
/sys/class/sound/seq/dev
/sys/class/sound/sequencer2/dev
/sys/class/sound/sequencer/dev
/sys/class/sound/timer/dev
-- Kernel configuration:
isapnp_init not present.
-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.11-9-amd64-k8
Locale: LANG=en, LC_CTYPE=en (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Versions of packages udev depends on:
ii hotplug 0.0.20040329-22 Linux Hotplug Scripts
ii initscripts 2.86.ds1-1 Standard scripts needed for bootin
ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an
ii makedev 2.3.1-78 creates device files in /dev
ii sed 4.1.4-2 The GNU sed stream editor
-- no debconf information
--
Daniel Schepler "Please don't disillusion me. I
sche...@math.berkeley.edu haven't had breakfast yet."
-- Orson Scott Card
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
On May 12, Daniel Schepler <sche...@math.berkeley.edu> wrote:
> As the subject says, udev doesn't create /dev/rtc on amd64, which
> means hwclock fails:
Looks like you failed to read README.Debian. udev can create a device
only if the driver providing it has been loaded.
--
ciao,
Marco
hwclockfirst.sh must run before modules are loaded [1], therefore, any
kernel which is foolish enough to have CONFIG_RTC=m will have errors in
hwclockfirst.sh, and the accompanying issues found in Bug#50572.
The good news is that hwclock.sh runs shortly after that, and will set
the time, providing pre-hwclockfirst.sh behavior.
Thanks to Adrian Bunk for the pointer.
lamont
[1] http://bugs.debian.org/50572