DragonFly BSD
DragonFly bugs List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Problems with clock on 1.1-CURRENT


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Jul 2004 20:46:50 -0700 (PDT)

:Strangely, I have a system running an older version of DragonFly that I
:updated on the 22nd, and it's been having the same clock problems since.  
:
:I'll update again, just in case.

    Justin, I've got some debugging in there... it will report the TSC
    and 8254 clock frequency on boot and there's a sysctl that reports
    the system's core timestamp.

    While your clock is going nuts, run this script:

    #!/bin/csh
    #
    set i = 0
    while ( $i < 200 ) 
	sysctl hw.i8254.timestamp
	sysctl kern.boottime
	sysctl kern.cp_time
	sysctl kern.basetime
	@ i = $i + 1
    end

    ./runthescript > somefile.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



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