From owner-freebsd-current@FreeBSD.ORG Wed Apr 28 13:48:30 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FF2516A4CE; Wed, 28 Apr 2004 13:48:30 -0700 (PDT) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 929DC43D49; Wed, 28 Apr 2004 13:48:29 -0700 (PDT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) i3SKmO6F086754; Wed, 28 Apr 2004 22:48:28 +0200 (CEST) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.10/8.12.10/Submit) id i3SKmJbT086753; Wed, 28 Apr 2004 22:48:19 +0200 (CEST) (envelope-from marius) Date: Wed, 28 Apr 2004 22:48:19 +0200 From: Marius Strobl To: Kris Kennaway Message-ID: <20040428224819.A86269@newtrinity.zeist.de> References: <200404281956.i3SJuZxU033263@repoman.freebsd.org> <20040428202237.GA49702@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20040428202237.GA49702@xor.obsecurity.org>; from kris@obsecurity.org on Wed, Apr 28, 2004 at 01:22:37PM -0700 X-AntiVirus: checked by AntiVir Milter 1.1-beta; AVE 6.25.0.2; VDF 6.25.0.38 (host: newtrinity.zeist.de) cc: current@freebsd.org cc: sparc64@freebsd.org Subject: Re: 32-bit time in (Re: cvs commit: ports/net/pppd23 Makefile ports/net/pppd23/files extra-patch-no-logf patch-ab) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 20:48:30 -0000 On Wed, Apr 28, 2004 at 01:22:37PM -0700, Kris Kennaway wrote: > > I wonder if this 32-bitness is related to the accounting problems > noticed on sparc64 since the 64-bit time_t changeover: > > struct lastlog { > int32_t ll_time; > char ll_line[UT_LINESIZE]; > char ll_host[UT_HOSTSIZE]; > }; > > struct utmp { > char ut_line[UT_LINESIZE]; > char ut_name[UT_NAMESIZE]; > char ut_host[UT_HOSTSIZE]; > int32_t ut_time; > }; > Like I said before, this isn't a sparc64 specific problem, I also see it on my -current i386 boxes: tristan# uname -a FreeBSD tristan.franken.de 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Apr 28 22:11:03 CEST 2004 root@tristan.franken.de:/usr/src/sys/i386/compile/tristan i386 tristan# /etc/periodic/monthly/200.accounting Doing login accounting: (Skipped 709 of 739 records due to invalid time values) (Changed 3 of 739 records to have a more likely time value) root -65080.69 marius -136664.62 total -201745.32 I think it's connected to SCHED_ULE, but haven't checked that closely, yet.