Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with RTClock ...



Title: Message
I am investigating some problems with my Darwin/OpenDarwin installation, and believe that I have found a problem in RTClock.  I'm trying to investigate further ...
 
When I boot and run my real-time clock is running *extremely* slow ... sleep 1 returns in ~45 seconds.  :-(
 
In digging around I found this same bug repeatedly reported in FreeBSD, with a fix of adding "kern.timecounter.hardware=i8254" to sysctl.  I'm trying to locate where I can do this same type of operation in Darwin/Mach ... or can I?
 
When I boot, this is what I get:
 
Kernel virtual space from 0x0 to 0x40000000.
Available physical space from 0x6a8000 to 0x10000000
standard timeslicing quantum is 10000 us
vm_page_bootstrap: 61600 free pages
mig_table_max_displ = 68
CPU identification: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
CPU features: FPU VME PSE TSC MSR PAE CX8 SEP PGE CMOV ACPI MMX FXSR SSE SSE2
Enabling XMM register save/restore and SSE/SSE2 opcodes
realtime clock configured
battery clock configured
Hey we are going backwards! 65535, 14
Hey we are going backwards! 65535, 6
Hey we are going backwards! 65535, 27
Hey we are going backwards! 65535, 15
Hey we are going backwards! 65535, 21
Hey we are going backwards! 65535, 42
Hey we are going backwards! 65535, 21
Hey we are going backwards! 65535, 15
Hey we are going backwards! 65535, 19
Hey we are going backwards! 65535, 42
Hey we are going backwards! 65535, 47
Hey we are going backwards! 65535, 442
Hey we are going backwards! 65535, 11
Hey we are going backwards! 65535, 19
Hey we are going backwards! 65535, 29
Hey we are going backwards! 65535, 397
Hey we are going backwards! 65535, 20
Hey we are going backwards! 65535, 10
Hey we are going backwards! 65535, 39
Hey we are going backwards! 65535, 21
Timer value:0
intermediate 0x83db6250:0x00000005
saveTime 0xe5f02d0c:0x00000004
[RTCLOCK] rtc_set_cyc_per_sec:rtc_cyc_per_sec = 0x566e26e0
[RTCLOCK] leaving rtc_set_cyc_per_sec
IOKit Component Version 7.2:
Wed Jul 14 02:49:37 PDT 2004; root(rcbuilder):RELEASE_I386/iokit/RELEASE
Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California. All rights reserved.
 
I am guessing these errors might be related to my time/clock issues?  Anyone have ideas?
 
I am running the x86 version of code, within Virtual PC 2004 ... this is the same platform where the FreeBSD fix worked ...
 
Thanks in advance!
 
 
Scott C. Lemon
 
 
 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-x86 mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-x86/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.