From: george anzinger <george@mvista.com>
To: "Martin J. Bligh" <mbligh@aracnet.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [Bug 819] New: uptime wrong on x86-64 (fwd)
Date: Tue, 17 Jun 2003 14:09:14 -0700 [thread overview]
Message-ID: <3EEF837A.8010806@mvista.com> (raw)
In-Reply-To: <38850000.1055882259@[10.10.2.4]>
Martin J. Bligh wrote:
> Summary: uptime wrong on x86-64
> Kernel Version: 2.5.72
> Status: NEW
> Severity: normal
> Owner: johnstul@us.ibm.com
> Submitter: johnstul@us.ibm.com
>
>
> Distribution: SLES8
> Hardware Environment: AMD64 Melody box
> Software Environment: 2.5.72
> Problem Description:
>
> uptime reports wrong value after booting
>
> Steps to reproduce:
> jstultz@elm3b31:~/linux-2.5> uptime
>
> Actual result:
> 1:19pm up 12220 days, 20:19, 1 user, load average: 0.00, 0.00, 0.00
>
> Expected result:
> 1:19pm up 15 min, 1 user, load average: 0.00, 0.01, 0.02
>
> Additional info:
> jstultz@elm3b31:~/linux-2.5> date +%s
> 1055881186
> jstultz@elm3b31:~/linux-2.5> cat /proc/stat | grep btime
> btime 1055880294
>
> I've been unable to reproduce the problem on i386, however this has also been
> reported against sparc64 by Daniel Whitener.
>
> I suspect it might have something to do w/ do_posix_clock_monotonic_gettime() on
> these arches.
Yes, most likely not setting wall_to_monotonic to -xtime at boot (see
i386/kernel/time.c last few lines).
--
George Anzinger george@mvista.com
High-res-timers: http://sourceforge.net/projects/high-res-timers/
Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml
prev parent reply other threads:[~2003-06-17 20:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-17 20:37 [Bug 819] New: uptime wrong on x86-64 (fwd) Martin J. Bligh
2003-06-17 21:09 ` george anzinger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EEF837A.8010806@mvista.com \
--to=george@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@aracnet.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.