Something Wicked (with my hdwr clock) This Way Comes

Dean S. Messing deanm at sharplabs.com
Thu Dec 27 23:18:23 UTC 2007


Aaron Konstam wrote:
: On Thu, 2007-12-27 at 01:36 -0800, Dean S. Messing wrote:
: > As root, I just tried doing: `hwclock --show' for the first time on my
: > new Dell Precision 490 running F7 and it just hung.  Cntl-C broke me out.
: > 
: > I then tried `hwclock --show  --debug' and got:
: > 
: >   hwclock from util-linux-2.13-pre7
: >   Using /dev/rtc interface to clock.
: >   Last drift adjustment done at 1198717263 seconds after 1969
: >   Last calibration done at 1198717263 seconds after 1969
: >   Hardware clock is on UTC time
: >   Assuming hardware clock is kept in UTC time.
: >   Waiting for clock tick...
: >   /dev/rtc does not have interrupt functions. 
: >   Waiting in loop for time from /dev/rtc to change
:
: Yout problem is (compared to my results) on the line /dev/rtc does not
: have interrupt function.
: The end of my output is as follows:
: 
: --Hardware clock is on local time
: Assuming hardware clock is kept in local time.
: Waiting for clock tick...
: ...got clock tick
: Time read from Hardware Clock: 2007/12/27 08:00:14
: Hw clock time : 2007/12/27 08:00:14 = 1198764014 seconds since 1969
: Thu 27 Dec 2007 08:00:14 AM CST  -0.605349 seconds
: 
: I would then look at the characteristics of /dev/rtc for the answer.
: On my machine:
: [root at cyrus ~]# ls -l /dev/rtc
: crw-r--r-- 1 root root 10, 135 2007-12-27 01:37 /dev/rtc

On my system:

[root at medulla ~]# ls -l /dev/rtc
crw-r--r-- 1 root root 10, 135 2007-12-26 17:04 /dev/rtc

Would you post (or send me in private mail) the output of 
uname -r please?

Mine:

[root at medulla ~]# uname -r
2.6.23.8-34.fc7

I wonder if this is a kernel bug?

When I search in "/var/log/dmesg" for "Real Time" I get the
following (with surrounding context):

ACPI Exception (processor_core-0818): AE_NOT_FOUND, Processor Device is not present [20070126]
ACPI Exception (processor_core-0818): AE_NOT_FOUND, Processor Device is not present [20070126]
ACPI Exception (processor_core-0818): AE_NOT_FOUND, Processor Device is not present [20070126]
ACPI Exception (processor_core-0818): AE_NOT_FOUND, Processor Device is not present [20070126]
Real Time Clock Driver v1.12ac
hpet_resources: 0xfed00000 is busy
Non-volatile memory driver v1.2
Linux agpgart interface v0.102

Search on "clock" also turns up (with context):

hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
hpet0: 3 64-bit timers, 14318180 Hz
Time: tsc clocksource has been installed.
pnp: 00:01: ioport range 0x800-0x85f has been reserved
pnp: 00:01: ioport range 0xc00-0xc7f has been reserved
pnp: 00:01: ioport range 0x860-0x8ff has been reserved

I'm not sure what any this means. "hpet" is the "high precision timer"
and the

hpet_resources: 0xfed00000 is busy

line is suspicious. I don't know what AE_NOT_FOUND refers to.

Anyway, I'm at the end of my knowledge here, but would very much
like to find a solution.

Thanks for your help.

Dean




More information about the users mailing list