NetBSD-Users archive

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

Re: WARNING: negative runtime; monotonic clock has gone backwards



In article <20171223145733.GA2034%gmail.com@localhost>,
Gua Chung Lim  <gua.chunglim%gmail.com@localhost> wrote:
>Few minutes after boot, I usually get...
>WARNING: negative runtime; monotonic clock has gone backwards
>It is in green text on /dev/console, but everything works pretty fine,
>no problems at all.
>Any comments?
>
>lim@netbsd:~% uname -a
>NetBSD netbsd.localdomain 7.1_STABLE NetBSD 7.1_STABLE (GENERIC) #4: Tue
>Dec 19 23:27:12 +07 2017 
>root@netbsd.localdomain:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>
>lime@netbsd:~% grep rtclocaltime /etc/rc.conf
># rtclocaltime=YES
>(It was commented out.)
>
>lim@netbsd:~% ls -l /etc/localtime
>lrwxr-xr-x  1 root  wheel  32 Nov  9  2016 /etc/localtime@ ->
>/usr/share/zoneinfo/Asia/Bangkok
>
>Thanks you,

What do these commands print on your system?

[11:07am] 240>sysctl -a | grep -w tick
kern.clockrate: tick = 10000, tickadj = 40, hz = 100, profhz = 100, stathz = 100
[11:08am] 241>sysctl -a | grep -w timecounter
kern.timecounter.choice = TSC(q=3000, f=3066878020 Hz) clockinterrupt(q=0, f=100 Hz) ichlpcib0(q=1000, f=3579545 Hz) hpet0(q=2000, f=14318180 Hz) ACPI-Fast(q=1000, f=3579545 Hz) lapic(q=-100, f=133386367 Hz) i8254(q=100, f=1193182 Hz) dummy(q=-1000000, f=1000000 Hz)
kern.timecounter.hardware = TSC
kern.timecounter.timestepwarnings = 0

christos




Home | Main Index | Thread Index | Old Index