*BSD News Article 44808


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news1.oakland.edu!vtc.tacom.army.mil!agis!gatech!EU.net!Germany.EU.net!Dortmund.Germany.EU.net!Materna.DE!root
From: Juergen.Schuck@Materna.DE (Juergen Schuck)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: system clock "ticks" five times slower than it should
Date: 1 Jun 1995 15:42:06 GMT
Organization: Dr. Materna GmbH
Lines: 12
Message-ID: <3qkn4e$k0t@peanuts.Materna.DE>
NNTP-Posting-Host: tuennes.materna.de
Mime-Version: 1.0
X-Newsreader: WinVN 0.93.14

I´m running FreeBSD 2.0R on a 386DX/20Mhz. Everything concerned with
"time" is almost exactly five times slower than it should.
"sleep 2" sleeps 10 seconds, "time sleep 10" says "sleep" slept for two 
seconds. During boot the system waits about 80 seconds for scsi devices 
to settle (instead of 15). I browsed through the kernel sources without 
success.
There is a TIMER_FREQ constant in i386/isa/clock.c where the comment says 
the value is what the X-tal is. There is no X-tal with that frequency in 
my machine. Near the timer circuit there is a X-tal with a value of
approx. TIMER_FREQ/8 seeming to be too small.
Thanks in advance for anny ideas, Juergen.