OVH Community, your new community space.

hwclock on debian etch


iSO
12.10.08, 18:25
sind die entsprechenden module geladen? ich hatte irgendwie nie probleme mit hwclock, aber hab meine kernels auch häufig selbst gebacken

sieht bei mir so aus:
Code:
$ hwclock --debug
hwclock from util-linux-ng 2.13.1.1
Using /dev interface to clock.
Last drift adjustment done at 0 seconds after 1969
Last calibration done at 0 seconds after 1969
Hardware clock is on unknown time
Assuming hardware clock is kept in local time.
Waiting for clock tick...
...got clock tick
Time read from Hardware Clock: 2008/10/12 16:25:59
Hw clock time : 2008/10/12 16:25:59 = 1223821559 seconds since 1969
Sun Oct 12 16:25:59 2008  -0.012940 seconds
und so:
Code:
$ grep RTC /usr/src/linux/.config
CONFIG_HPET_EMULATE_RTC=y
CONFIG_RTC=y
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set
# RTC interfaces
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set
# SPI RTC drivers
# Platform RTC drivers
# CONFIG_RTC_DRV_CMOS is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_STK17TA8 is not set
# CONFIG_RTC_DRV_DS1742 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T59 is not set
# CONFIG_RTC_DRV_V3020 is not set
# on-CPU RTC drivers

aymanghost
12.10.08, 14:34
Hi Leute,

kann mir jemand helfen.

wenn ich hwclock --debug ausfürher erhalte ich:
Code:
nsxxxx:~# hwclock --debug
hwclock from util-linux-2.12r
hwclock: Open of /dev/rtc failed, errno=19: Kein passendes Gerät gefunden.
No usable clock interface found.
Cannot access the Hardware Clock via any known method.

Kernel config:
Code:
#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set

#
# SPI RTC drivers
#

#
# Platform RTC drivers
#
CONFIG_RTC_DRV_CMOS=m
CONFIG_RTC_DRV_DS1511=m
CONFIG_RTC_DRV_DS1553=m
CONFIG_RTC_DRV_DS1742=m
CONFIG_RTC_DRV_STK17TA8=m
CONFIG_RTC_DRV_M48T86=m
CONFIG_RTC_DRV_M48T59=m
CONFIG_RTC_DRV_V3020=m
Was ist falsch ?