From owner-freebsd-current Sun Nov 8 00:47:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA15432 for freebsd-current-outgoing; Sun, 8 Nov 1998 00:47:07 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA15424 for ; Sun, 8 Nov 1998 00:47:04 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.1/8.8.5) with ESMTP id JAA14431; Sun, 8 Nov 1998 09:42:56 +0100 (CET) To: Bruce Evans cc: wpaul@skynet.ctr.columbia.edu, current@FreeBSD.ORG Subject: Re: Grrr... calcru: negative time blah blah blah In-reply-to: Your message of "Sun, 08 Nov 1998 19:16:28 +1100." <199811080816.TAA18086@godzilla.zeta.org.au> Date: Sun, 08 Nov 1998 09:42:56 +0100 Message-ID: <14429.910514576@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199811080816.TAA18086@godzilla.zeta.org.au>, Bruce Evans writes: >Timecounter strangeness seems to be only a symptom here. I've seen >similar strangeness caused by ddb masking interrupts. However, >{micro|nano}[run]time() only have obvious problems when tco_delta() >overflows a u_int. Overflow occurs after only about 10 seconds for >a 400MHz tsc timecounter, but not for one hour for an i8254 timecounter. Uhm, it happens earlier for a i8254, in fact it happens whenever more than one interrupt is lost. The majority of the bits are software bits. >>Running sysctl debug _BEFORE_ triggering the problem by running the >>X server shows this: >>... >>debug.tc_diag_maxforward: -692379806 > >This apparently gets set to a bad value during initialization. There >must be some sign extension bugs for a negative value to be the maximum. sysctl doesnt know about unsigned ints. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message