Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!zib-berlin.de!news.tu-chemnitz.de!irz401!narcisa.sax.de!not-for-mail From: j@narcisa.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: system clock "ticks" five times slower than it should Date: 2 Jun 1995 12:55:55 +0200 Organization: Private U**x site, Dresden. Lines: 30 Message-ID: <3qmqnr$sr8@bonnie.tcd-dresden.de> References: <3qkn4e$k0t@peanuts.materna.de> Reply-To: joerg_wunsch@uriah.heep.sax.de NNTP-Posting-Host: 192.109.108.139 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Juergen Schuck <Juergen.Schuck@Materna.DE> wrote: >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. > :-) Nope, there isn't necessarily needed such a crystal. It's the input frequency of the timer circuits, and normally derived from the 14.XXX MHz bus clock (BUSCLK/8). Is your DOS internal clock (not the CMOS one) also wrong? It's hard to believe that this is a FreeBSD only problem. I suspect you've got something wrong with your BIOS/Chipset setup. -- cheers, J"org private: joerg_wunsch@uriah.heep.sax.de http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)