Port-i386 archive

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

Re: [netbsd-5] machine losing time by the hour



At 15:15 Uhr +0100 23.03.2010, Matthias Drochner wrote:
>It could help if you tell the active timecounter
>(/sbin/sysctl -a|grep timecounter), and if you
>see any diagnostics related to this in the boot log.

% uname -a
NetBSD bounce 5.0_STABLE NetBSD 5.0_STABLE (GENERIC) #0: Mon Sep 21
19:58:28 CEST 2009
hf@Hochstuhl:/var/obj/netbsd-builds/5/i386/sys/arch/i386/compile/GENERIC
i386
% /sbin/sysctl -a | grep timecounter
kern.timecounter.choice = TSC(q=3000, f=2992666350 Hz) clockinterrupt(q=0,
f=100 Hz) ACPI-Fast(q=1000, f=3579545 Hz) lapic(q=-100, f=199580162 Hz)
i8254(q=100, f=1193182 Hz) dummy(q=-1000000, f=1000000 Hz)
kern.timecounter.hardware = TSC
kern.timecounter.timestepwarnings = 0
%

(whatever the y's are from - I guess it's the board name). The output from
the 2009-09 kernel is identical.

>You can also try to change the timecounter
>(/sbin/sysctl -w kern.timecounter.hardware=xxx with an xxx
>from kern.timecounter.choice) and see whether this helps.

It does.  :)

Basically, all counters but the 'TSC' one work correctly.

Thanks,
        hauke

-- 
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email            Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-3281


Home | Main Index | Thread Index | Old Index