9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Alex Lee" <alexlee@uchicago.edu>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: Re: [9fans] lguest on 2.6.25
Date: Thu, 28 Aug 2008 12:24:32 -0500	[thread overview]
Message-ID: <5bb2fcc60808281024v1c5dd236se6e7fa5034ec9642@mail.gmail.com> (raw)
In-Reply-To: <13426df10808280838s20d6b5aeq72dee812c949bbe8@mail.gmail.com>

On Thu, Aug 28, 2008 at 10:38 AM, ron minnich <rminnich@gmail.com> wrote:
> this is weird. So, to recap, your timezone is set correctly, and yet
> you are four hours off.
>
> A useful thing to do is cat /dev/time and see how it changes.
>
> The time from lguest is simple: you read a 64-bit # which is time.
> It's just like Xen that way.
>
> Also, try this to test another issue:
>
> date && sleep 60 && date
>
> Two things: should take 60 seconds by the watch and the two dates
> should report 60 seconds apart.
>
> Do they?
>
> ron

I've doublechecked the timezone setting, and it appears to be correct.
The 'date' test seems to work fine:

# date && sleep 60 && date
Thu Aug 28 15:52:19 CDT 2008
Thu Aug 28 15:53:19 CDT 2008

Within a second of one another, I ran:

lguest: cat /dev/time
 1219956674   1219956674748050432   1219956674748050432            4294967296
host: date +%s
1219943774

So lguest is 12900 seconds ahead (= 215 minutes, = 3 hrs 35 minutes).
John, are you getting the same?

Best,
Alex


--
Alex Lee <alexlee@uchicago.edu>



  parent reply	other threads:[~2008-08-28 17:24 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-24 23:23 Alex Lee
2008-08-25  4:26 ` ron minnich
2008-08-25  4:32 ` ron minnich
2008-08-25  4:58   ` Alex Lee
2008-08-25  9:03     ` John Soros
2008-08-25 10:56       ` erik quanstrom
2008-08-25 14:52         ` ron minnich
2008-08-25 14:52           ` ron minnich
2008-08-25 14:59           ` erik quanstrom
2008-08-25 15:09             ` ron minnich
2008-08-25 18:48             ` John Soros
2008-08-25 18:54               ` lucio
2008-08-25 20:39                 ` John Soros
2008-08-25 21:27                 ` John Soros
2008-08-25 23:53                   ` [9fans] Anyone handy with Alpha assembler? Benjamin Huntsman
2008-08-26 15:24                     ` Paweł Lasek
2008-08-26 17:56                       ` Benjamin Huntsman
2008-08-26 22:03                         ` Paweł Lasek
2008-08-26 23:09                           ` Benjamin Huntsman
2008-08-25 22:44               ` [9fans] lguest on 2.6.25 ron minnich
2008-08-26  6:44                 ` John Soros
2008-08-28  2:28                   ` Alex Lee
2008-08-28  2:38                     ` ron minnich
2008-08-28 12:06                       ` erik quanstrom
2008-08-28  8:21                     ` John Soros
2008-08-28 15:38                       ` ron minnich
2008-08-28 16:50                         ` John Soros
2008-08-28 16:59                           ` erik quanstrom
2008-08-28 17:24                         ` Alex Lee [this message]
2008-08-28 18:07                           ` John Soros
2008-08-28  8:27                     ` Richard Miller
2008-08-28 11:55                     ` erik quanstrom
2008-08-28 17:34                       ` Alex Lee
2008-08-28  2:39                   ` ron minnich

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=5bb2fcc60808281024v1c5dd236se6e7fa5034ec9642@mail.gmail.com \
    --to=alexlee@uchicago.edu \
    --cc=9fans@9fans.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).