[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#535354: consider this bug again




reportbug is complicated and I can't get this bug number
below is the output when I try to sync system time to hardware clock. Current I write a time setting command in rc.local which make some application work and then re-adjust after boot, but it is really inconvinient.

debian:~# hwclock -w -D
hwclock from util-linux-ng 2.16
Using /dev interface to clock.
Last drift adjustment done at 1251968915 seconds after 1969
Last calibration done at 1251968915 seconds after 1969
Hardware clock is on UTC time
Assuming hardware clock is kept in UTC time.
Waiting for clock tick...
/dev/rtc0 does not have interrupt functions. Waiting in loop for time from /dev/rtc0 to change
RTC_RD_TIME: 无效的参数
ioctl() to /dev/rtc0 to read the time failed.
...synchronization failed


I have read the above solution and recompile kernel 2.6.31 with almost the same config file from 2.6.30 except drop a little module for success compilation. ofz I had the option compiled.

debian:~# uname -a
Linux debian 2.6.31-rc9 #1 Thu Sep 10 02:03:36 CST 2009 ppc GNU/Linux

# grep RTC .config|grep -i gener
CONFIG_RTC_DRV_GENERIC=y


below is copyed from reportbug ouput:

Subject:
Package: util-linux
Version: 2.16-3
Severity: normal

*** Please type your report below this line ***


-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.31-rc9
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to zh_CN.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages util-linux depends on:
ii libblkid1 2.16-3 block device id library
ii libc6 2.9-26 GNU C Library: Shared libraries
ii libncurses5 5.7+20090803-2 shared libraries for terminal hand
ii libselinux1 2.0.85-3 SELinux shared libraries
ii libslang2 2.2.1~14-1 The S-Lang programming library - r
ii libuuid1 2.16-3 Universally Unique ID library
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
ii tzdata 2009m-1 time zone and daylight-saving time
ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime

util-linux recommends no packages.











Reply to: