From owner-freebsd-current@FreeBSD.ORG Wed Apr 28 13:54: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 DCE1616A4CE; Wed, 28 Apr 2004 13:54:30 -0700 (PDT) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 975AB43D49; Wed, 28 Apr 2004 13:54:30 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (c725bb69b9de4b2484569928d8a944be@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128])i3SKsKQZ014360; Wed, 28 Apr 2004 13:54:24 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C364F5220D; Wed, 28 Apr 2004 13:54:19 -0700 (PDT) Date: Wed, 28 Apr 2004 13:54:19 -0700 From: Kris Kennaway To: Marius Strobl Message-ID: <20040428205419.GA50080@xor.obsecurity.org> References: <200404281956.i3SJuZxU033263@repoman.freebsd.org> <20040428202237.GA49702@xor.obsecurity.org> <20040428224819.A86269@newtrinity.zeist.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: <20040428224819.A86269@newtrinity.zeist.de> User-Agent: Mutt/1.4.2.1i cc: sparc64@freebsd.org cc: current@freebsd.org cc: Kris Kennaway 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:54:31 -0000 --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 28, 2004 at 10:48:19PM +0200, Marius Strobl wrote: > On Wed, Apr 28, 2004 at 01:22:37PM -0700, Kris Kennaway wrote: > >=20 > > I wonder if this 32-bitness is related to the accounting problems > > noticed on sparc64 since the 64-bit time_t changeover: > >=20 > > struct lastlog { > > int32_t ll_time; > > char ll_line[UT_LINESIZE]; > > char ll_host[UT_HOSTSIZE]; > > }; > >=20 > > struct utmp { > > char ut_line[UT_LINESIZE]; > > char ut_name[UT_NAMESIZE]; > > char ut_host[UT_HOSTSIZE]; > > int32_t ut_time; > > }; > >=20 >=20 > Like I said before, this isn't a sparc64 specific problem, I also see > it on my -current i386 boxes: >=20 > 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/t= ristan i386 > tristan# /etc/periodic/monthly/200.accounting >=20 > 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 >=20 > I think it's connected to SCHED_ULE, but haven't checked that closely, > yet. OK, perhaps a general PR should be opened about this. Kris --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAkBn7Wry0BWjoQKURAvKNAJ9XIs7AJEvo/aqMTv+Jh/n06FqMkACg17fg mhpa6uguAtYyWQsEdNKIgHk= =PIzy -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--