From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 28 Aug 2008 20:07:10 +0200 From: John Soros To: 9fans@9fans.net Message-ID: <20080828200710.6ed40745@dazone> In-Reply-To: <5bb2fcc60808281024v1c5dd236se6e7fa5034ec9642@mail.gmail.com> References: <20080825110330.10b075c6@dazone> <03694148c5c6c547f42b236ff8e57618@quanstro.net> <13426df10808250752o475c689fr4306be6f865079be@mail.gmail.com> <70babc1dbfdd8db3637a493869aa3726@coraid.com> <20080825204841.3806af18@dazone> <13426df10808251544k23efd6d6qf121915d34d56cab@mail.gmail.com> <20080826084405.2e853049@dazone> <5bb2fcc60808271928m40da8c01ld9ee4dc0f94720e9@mail.gmail.com> <20080828102127.542af38f@dazone> <13426df10808280838s20d6b5aeq72dee812c949bbe8@mail.gmail.com> <5bb2fcc60808281024v1c5dd236se6e7fa5034ec9642@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [9fans] lguest on 2.6.25 Topicbox-Message-UUID: 09f3fa3a-ead4-11e9-9d60-3106f5b1d025 yep, i get exactly the same: plan9: % date Thu Aug 28 23:40:17 CET 2008 Linux host: $ date Thu Aug 28 20:06:02 CEST 2008 even the time difference seems to be the same. strange! rgds John On Thu, 28 Aug 2008 12:24:32 -0500 "Alex Lee" wrote: > On Thu, Aug 28, 2008 at 10:38 AM, ron minnich 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 > >