From owner-freebsd-current Thu Dec 16 16: 8:11 1999 Delivered-To: freebsd-current@freebsd.org Received: from mass.cdrom.com (mass.cdrom.com [204.216.28.184]) by hub.freebsd.org (Postfix) with ESMTP id E5FB315121 for ; Thu, 16 Dec 1999 16:07:53 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id QAA02326; Thu, 16 Dec 1999 16:10:40 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <199912170010.QAA02326@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Tom Bartol Cc: freebsd-current@FreeBSD.ORG Subject: Re: Serious server-side NFS problem In-reply-to: Your message of "Thu, 16 Dec 1999 12:37:02 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 16 Dec 1999 16:10:40 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > On Thu, 16 Dec 1999, Warner Losh wrote: > > > In message <16722.945365564@critter.freebsd.dk> Poul-Henning Kamp writes: > > : If people do a "settimeofday" we change the boot time since the > > : amount of time we've been up *IS* known for sure, whereas the boottime > > : is only an estimate. > > > > There is one problem with this. The amount of uptime isn't the same > > as the amount of time since the machine booted. How can this happen? > > When a laptop suspends, it doesn't update the update while it is > > asleep, nor does it update the uptime by the amount of time that has > > been slept. IS this a bug in the apm code? > > IIRC it does update uptime properly after a suspend in 2.2.8 but does not > do so in 3.X and -current on my ThinkPad 770. Not updating uptime to account for time slept is the "correct" behaviour given the way the kernel currently thinks about things, where "correct" is defined as "most survivable". -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message