Problems with clock on 1.1-CURRENT

Matthew Dillon dillon at apollo.backplane.com
Tue Jul 27 20:47:58 PDT 2004


: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 at xxxxxxxxxxxxx>





More information about the Bugs mailing list